|
@@ -202,6 +202,7 @@ import {
|
|
|
this.bottomMenuList() //获取底部公共组件消息和任务
|
|
|
this.getTreeselect()
|
|
|
this.deptId = Cookies.get("deptId")
|
|
|
+ this.chuanSet()
|
|
|
this.getMonitorDeviceAndDataList()
|
|
|
this.getDlblistBydeptIds()
|
|
|
this.selectDeviceType(-1)
|
|
@@ -414,6 +415,15 @@ import {
|
|
|
this.placeholderMsg = "请输入传感器名称"
|
|
|
this.getMonitorDeviceAndDataList()
|
|
|
},
|
|
|
+ chuanSet()
|
|
|
+ {
|
|
|
+ let that =this
|
|
|
+ setInterval(function() {
|
|
|
+
|
|
|
+ that.getMonitorDeviceAndDataList()
|
|
|
+
|
|
|
+ }, 300000)
|
|
|
+ },
|
|
|
// 大喇叭
|
|
|
getDlblistBydeptId() {
|
|
|
let that = this;
|
|
@@ -474,6 +484,7 @@ import {
|
|
|
console.error(error);
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
getMonitorDeviceAndDataList()
|
|
|
{
|
|
|
let list=[]
|