[前台] 修改baja api 回傳架構修改錯誤
This commit is contained in:
		
							parent
							
								
									ed9add4f64
								
							
						
					
					
						commit
						c4f5548618
					
				@ -643,9 +643,11 @@
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		function refTable(data) {
 | 
			
		||||
				let tag = "#alertTable";
 | 
			
		||||
				$.each(data, function (i, v) {
 | 
			
		||||
						v.formId = AlertList(v.uuid);
 | 
			
		||||
			let tag = "#alertTable";
 | 
			
		||||
			
 | 
			
		||||
			$.each(data, function (i, v) {
 | 
			
		||||
					v.formId = AlertList(v.uuid.$val);
 | 
			
		||||
				
 | 
			
		||||
				});
 | 
			
		||||
 | 
			
		||||
				let column_defs = [
 | 
			
		||||
@ -680,7 +682,6 @@
 | 
			
		||||
								"title": "設備名稱",
 | 
			
		||||
								"data": "sourceName_zh",
 | 
			
		||||
								render: (data) => {
 | 
			
		||||
										console.log(data);
 | 
			
		||||
										return allDevices.find(d => d.device_number === data)?.full_name || ""
 | 
			
		||||
								}
 | 
			
		||||
						},
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user