| | |
| | | data1.data.depotId = self.depotId |
| | | // depotType = self.depotType |
| | | // depotName = self.depotName |
| | | getDeviceList(); |
| | | } |
| | | |
| | | //获取设备列表(空调) |
| | |
| | | success: function(result) { |
| | | if (result.code == "0000") { |
| | | deviceData = result.data; |
| | | renderDevice(); |
| | | } else { |
| | | mui.toast(result.msg); |
| | | renderDevice(); |
| | | } |
| | | }, |
| | | error: function() { |
| | |
| | | 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"); |