YYC
2023-06-19 0b27b9263ce721844d124ec4541a83b0f6db6c13
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");