|
@@ -206,14 +206,14 @@
|
|
|
this.selectKeyAreaList()
|
|
|
this.getTreeselect();
|
|
|
this.bottomMenuList() //获取底部公共组件消息和任务
|
|
|
- this.getMonitorDeviceAndDataLists()
|
|
|
this.deptId = Cookies.get("deptId")
|
|
|
+ this.getMonitorDeviceAndDataLists()
|
|
|
// this.getSensorListByDeptId(-1)
|
|
|
// this.getDlblistBydeptId(-1)
|
|
|
- this.getMonitorDeviceAndDataList()
|
|
|
- this.cgqTimer = setInterval(() => {
|
|
|
- this.getMonitorDeviceAndDataList()
|
|
|
- }, 5 * 60 * 1000)
|
|
|
+ // this.getMonitorDeviceAndDataList()
|
|
|
+ // this.cgqTimer = setInterval(() => {
|
|
|
+ // this.getMonitorDeviceAndDataList()
|
|
|
+ // }, 5 * 60 * 1000)
|
|
|
this.getDlblistBydeptIds(-1)
|
|
|
this.selectDeviceType(-1)
|
|
|
},
|
|
@@ -428,12 +428,14 @@
|
|
|
this.onChuan = false
|
|
|
this.localMark = 'la'
|
|
|
this.placeholderMsg = "请输入大喇叭名称"
|
|
|
+ this.deptId = Cookies.get("deptId")
|
|
|
clearInterval(this.cgqTimer)
|
|
|
this.getDlblistBydeptId()
|
|
|
},
|
|
|
chuanClick() {
|
|
|
this.localMark = 'chuan'
|
|
|
this.placeholderMsg = "请输入传感器名称"
|
|
|
+ this.deptId = Cookies.get("deptId")
|
|
|
this.getMonitorDeviceAndDataList()
|
|
|
clearInterval(this.cgqTimer)
|
|
|
this.cgqTimer = setInterval(() => {
|