zhangyu пре 3 година
родитељ
комит
ef05dbd55e

+ 17 - 12
src/components/business_space/business/handsontable.vue

@@ -250,24 +250,29 @@ export default {
       if (this.zoneItemID) {
         this.zoneParam.Filters = `id="${this.zoneItemID}"`
       }
-      if (this.zoneCode != 'OtherZone') {
-        this.isLoading = true
-        this.getZoneMessage(this.zoneParam)
-      } else {
+      this.isLoading = true
+      this.getZoneMessage(this.zoneParam)
+      /**
+       * TODO: 其他分区下已不再划分分区(注释的代码是其他分区下再划分分区的代码)
+       */
+    //   if (this.zoneCode != 'OtherZone') {
+        // this.isLoading = true
+        // this.getZoneMessage(this.zoneParam)
+    //   } else {
         // 其他分区类型查询表数据接口
         // if (localStorage.getItem('otherZone')) {
         //   // this.OtherValue = (localStorage.getItem('otherZone'))
         //   localStorage.removeItem('otherZone')
         // }
-        if (this.OtherValue) {
-          this.zoneParam.ZoneType = this.OtherValue;
-          this.getZoneMessage(this.zoneParam)
-        } else {
-          this.main = []
-        }
-        this.isLoading = false
+        // if (this.OtherValue) {
+        //   this.zoneParam.ZoneType = this.OtherValue;
+        //   this.getZoneMessage(this.zoneParam)
+        // } else {
+        //   this.main = []
+        // }
+        // this.isLoading = false
         // this.getOtherType();
-      }
+    //   }
     },
     //查询空间信息
     getZoneMessage(param) {

+ 1 - 1
src/components/ledger/system/dialog/addCenoteDialog.vue

@@ -158,7 +158,7 @@ export default {
           this.$emit('refresh')
         })
       } else {
-        this.$message('请选择要关联的设备')
+        this.$message('请选择要关联的竖井')
       }
     },
     //改变pagesize

+ 1 - 1
src/components/ledger/system/dialog/addSpaceDialog.vue

@@ -203,7 +203,7 @@ export default {
           this.$emit("refresh");
         });
       } else {
-        this.$message("请选择要关联的设备");
+        this.$message("请选择要关联的业务空间");
       }
     },
     //改变pagesize