王通 1 rok pred
rodič
commit
21051b9f96
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      src/views/monitor.vue

+ 3 - 0
src/views/monitor.vue

@@ -509,6 +509,7 @@ export default {
       this.onShe = true;
       this.onChuan = false;
       this.localMark = "she";
+      this.deptId=Cookies.get("deptId")
       this.placeholderMsg = "请输入摄像头名称";
       clearInterval(this.cgqTimer);
       this.selectDeviceType();
@@ -518,6 +519,7 @@ export default {
       this.onShe = false;
       this.onChuan = false;
       this.localMark = "la";
+      this.deptId=Cookies.get("deptId")
       this.placeholderMsg = "请输入云广播名称";
       clearInterval(this.cgqTimer);
       this.getDlblistBydeptId();
@@ -528,6 +530,7 @@ export default {
       this.onChuan = true;
       this.localMark = "chuan";
       this.placeholderMsg = "请输入传感器名称";
+      this.deptId=Cookies.get("deptId")
       this.getMonitorDeviceAndDataList(this.deptId);
       clearInterval(this.cgqTimer);
       this.cgqTimer = setInterval(() => {