소스 검색

网页标题修改

王通 1 년 전
부모
커밋
40e061efe0
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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);