Bladeren bron

修改传感器部门

JX.LI 2 jaren geleden
bovenliggende
commit
c000cae4ef
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      src/views/monitor.vue

+ 2 - 0
src/views/monitor.vue

@@ -423,6 +423,7 @@
         this.onChuan = false
         this.onChuan = false
         this.localMark = 'la'
         this.localMark = 'la'
         this.placeholderMsg = "请输入大喇叭名称"
         this.placeholderMsg = "请输入大喇叭名称"
+        this.deptId = Cookies.get("deptId")
         clearInterval(this.cgqTimer)
         clearInterval(this.cgqTimer)
         this.getDlblistBydeptId()
         this.getDlblistBydeptId()
       },
       },
@@ -432,6 +433,7 @@
         this.onChuan = true
         this.onChuan = true
         this.localMark = 'chuan'
         this.localMark = 'chuan'
         this.placeholderMsg = "请输入传感器名称"
         this.placeholderMsg = "请输入传感器名称"
+        this.deptId = Cookies.get("deptId")
         this.getMonitorDeviceAndDataList()
         this.getMonitorDeviceAndDataList()
         clearInterval(this.cgqTimer)
         clearInterval(this.cgqTimer)
         this.cgqTimer = setInterval(() => {
         this.cgqTimer = setInterval(() => {