Pārlūkot izejas kodu

网页标题修改

王通 1 gadu atpakaļ
vecāks
revīzija
40e061efe0
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      src/views/monitor.vue

+ 3 - 2
src/views/monitor.vue

@@ -909,6 +909,7 @@ export default {
       this.onChuan = false;
       this.localMark = "she";
       clearInterval(this.cgqTimer);
+      this.deptId=Cookies.get("deptId")
       this.placeholderMsg = "请输入摄像头名称";
       this.selectDeviceType();
     },
@@ -919,7 +920,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 +929,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);