From 0b27b9263ce721844d124ec4541a83b0f6db6c13 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期一, 19 六月 2023 10:46:26 +0800
Subject: [PATCH] 电子巡更

---
 igds-app/js/admin/device-temp.js |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/igds-app/js/admin/device-temp.js b/igds-app/js/admin/device-temp.js
index 2afbb76..de8011a 100644
--- a/igds-app/js/admin/device-temp.js
+++ b/igds-app/js/admin/device-temp.js
@@ -48,6 +48,7 @@
 	data1.data.depotId = self.depotId
 	// depotType = self.depotType
 	// depotName = self.depotName
+	getDeviceList();
 }
 
 //鑾峰彇璁惧鍒楄〃锛堢┖璋冿級
@@ -61,8 +62,10 @@
 		success: function(result) {
 			if (result.code == "0000") {
 				deviceData = result.data;
+				renderDevice();
 			} else {
 				mui.toast(result.msg);
+				renderDevice();
 			}
 		},
 		error: function() {
@@ -192,14 +195,12 @@
 				html += '</ul></div>'
 			}
 		} else {
-			html +=
-				'<div class="m-tf"><div class="g-tittf1" style="text-align: center;font-size: 20px;color:#dd524d>鏆傛棤鏁版嵁</div>';
+		html += '<div class="m-tf"><div class="g-tittf1" style="text-align: center;font-size: 20px;color:#dd524d">鏆傛棤鏁版嵁</div></div>';
 		}
 	} else {
-		html +=
-			'<div class="m-tf"><div class="g-tittf1" style="text-align: center;font-size: 20px;color:#dd524d>鏆傛棤鏁版嵁</div>';
+html += '<div class="m-tf"><div class="g-tittf1" style="text-align: center;font-size: 20px;color:#dd524d">鏆傛棤鏁版嵁</div></div>';
 	}
-	// $("#recordList").html(html);
+	$("#recordList").html(html);
 }
 
 var slider = mui(".mui-slider");

--
Gitblit v1.9.3