瀏覽代碼

设备-设备计量

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 7 月之前
父節點
當前提交
bf4d4c6d21
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      ems-ui-cloud/src/views/basecfg/boundaryRel/index.vue

+ 4 - 3
ems-ui-cloud/src/views/basecfg/boundaryRel/index.vue

@@ -674,7 +674,6 @@ export default {
 
     //地理位置
     handleNodeClick(data) {
-      console.log("地理位置",data)
       if (data.id === 'all') {
         this.areaOptions = this.areaList.slice(1).map(item => {
           const { children, ...rest } = item;
@@ -968,8 +967,9 @@ export default {
     },
     /**设备计量设备*/
     handleAllDevice(row) {
+      console.log("row",row)
       this.queryParams.areaCode = row.deviceCode;
-      this.MeterQueryParams.areaCode = row.locationRef;
+      this.MeterQueryParams.areaCode = row.areaCode;
 
       this.dialogTitle = `计量设备 - ${row.deviceName}`;
       this.deviceDialogVisible = true;
@@ -1023,7 +1023,7 @@ export default {
         meterDeviceName: row.deviceName,
         meterDevice: row.deviceCode,
         boundaryObj: this.queryParams.areaCode,
-        objType: objType 
+        objType: objType
       };
       this.Bound.push(boundRow);
     },
@@ -1086,6 +1086,7 @@ export default {
       this.getFacsSubCategorygetByCode()
       this.handleFacsQuery()
     },
+
     getFacsSubCategorygetByCode() {
       getFacsCategorygetByCode(this.FacsQueryParams.facsCategory).then(response => {
         this.facsSubCategoryOptions = response.data.subtypeList || []