qinhouyu 1 年之前
父节点
当前提交
9f3921099f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/monitor.vue

+ 3 - 3
src/views/monitor.vue

@@ -224,7 +224,7 @@ import {
         // 部门名称
         cgqData: [],
         deptName: undefined,
-        deptId: '',
+        deptId: null,
         // 部门树选项
         deptOptions: undefined,
         defaultProps: {
@@ -1113,8 +1113,8 @@ import {
       selectDeviceType() {
         //获取左侧动态感知设备
         let that = this
-        selectDeviceType(that.deptId).then(res => {
-        // selectDeviceType_direct({deptId:that.deptId,type:7}).then(res => {
+        // selectDeviceType(that.deptId).then(res => {
+        selectDeviceType_direct({deptId:that.deptId,type:7}).then(res => {
           that.cameraMarkersList = []
           that.tempList = []
           that.visuForestCloudMapDeviceBOList = res.data.visuForestCloudMapDeviceBOList