瀏覽代碼

修改bug

chenrui 2 年之前
父節點
當前提交
6e75a00dd5
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/views/power/equipment/equipmentManagement.vue

+ 5 - 3
src/views/power/equipment/equipmentManagement.vue

@@ -17,7 +17,7 @@
             </a-col>
             </a-col>
             <a-col :md="5" :sm="24">
             <a-col :md="5" :sm="24">
               <a-form-item label="所属省份">
               <a-form-item label="所属省份">
-                <a-select id="equipmentManagement-addrProvince" allowClear v-model="queryParam.provinceSn" placeholder="请选择省">
+                <a-select id="equipmentManagement-addrProvince" allowClear v-model="queryParam.dealer.provinceSn" placeholder="请选择省">
                   <a-select-option v-for="item in addrProvinceList" :value="item.areaSn" :key="item.areaSn + 'a'">{{ item.name }}</a-select-option>
                   <a-select-option v-for="item in addrProvinceList" :value="item.areaSn" :key="item.areaSn + 'a'">{{ item.name }}</a-select-option>
                 </a-select>
                 </a-select>
               </a-form-item>
               </a-form-item>
@@ -89,7 +89,9 @@ export default {
         deviceCode: '',
         deviceCode: '',
         deviceName: '',
         deviceName: '',
         enabledFlag: undefined,
         enabledFlag: undefined,
-        provinceSn: undefined
+        dealer: {
+          provinceSn: undefined
+        }
       },
       },
       addrProvinceList: [],
       addrProvinceList: [],
       openModal: false,
       openModal: false,
@@ -197,7 +199,7 @@ export default {
       this.queryParam.deviceCode = ''
       this.queryParam.deviceCode = ''
       this.queryParam.deviceName = ''
       this.queryParam.deviceName = ''
       this.queryParam.enabledFlag = undefined
       this.queryParam.enabledFlag = undefined
-      this.queryParam.provinceSn = undefined
+      this.queryParam.dealer.provinceSn = undefined
       this.$refs.storeList.resetForm()
       this.$refs.storeList.resetForm()
       this.$refs.table.refresh(true)
       this.$refs.table.refresh(true)
     }
     }