JX.LI il y a 2 ans
Parent
commit
2c42802b95
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/views/monitor.vue

+ 2 - 0
src/views/monitor.vue

@@ -953,6 +953,7 @@
         this.onChuan = false
         this.localMark = 'la'
         this.placeholderMsg = "请输入大喇叭名称"
+        this.deptId = Cookies.get("deptId")
         this.getDlblistBydeptId()
       },
       chuanClick() {
@@ -962,6 +963,7 @@
         this.onChuan = true
         this.localMark = 'chuan'
         this.placeholderMsg = "请输入传感器名称"
+        this.deptId = Cookies.get("deptId")
         //this.getSensorListByDeptId()
         this.getMonitorDeviceAndDataList()
       },