|
@@ -268,7 +268,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
this.selectKeyAreaList();
|
|
|
this.getTreeselect();
|
|
|
- this.deptId = Cookies.get("deptId");
|
|
|
+ this.deptId = parseInt(Cookies.get("deptId"));
|
|
|
// this.getSensorListByDeptIds()
|
|
|
this.getMonitorDeviceAndDataLists(this.deptId);
|
|
|
this.getDlblistBydeptIds(this.deptId);
|
|
@@ -919,7 +919,7 @@ export default {
|
|
|
this.localMark = "la";
|
|
|
this.placeholderMsg = "请输入云广播名称";
|
|
|
clearInterval(this.cgqTimer);
|
|
|
- this.deptId = Cookies.get("deptId");
|
|
|
+ // this.deptId = Cookies.get("deptId");
|
|
|
this.getDlblistBydeptId(this.deptId);
|
|
|
},
|
|
|
chuanClick() {
|
|
@@ -928,7 +928,7 @@ export default {
|
|
|
this.onChuan = true;
|
|
|
this.localMark = "chuan";
|
|
|
this.placeholderMsg = "请输入传感器名称";
|
|
|
- this.deptId = Cookies.get("deptId");
|
|
|
+ // this.deptId = Cookies.get("deptId");
|
|
|
let that = this;
|
|
|
this.getMonitorDeviceAndDataList(this.deptId);
|
|
|
clearInterval(this.cgqTimer);
|