chenrui 2 anni fa
parent
commit
6e75a00dd5
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  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 :md="5" :sm="24">
               <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>
               </a-form-item>
@@ -89,7 +89,9 @@ export default {
         deviceCode: '',
         deviceName: '',
         enabledFlag: undefined,
-        provinceSn: undefined
+        dealer: {
+          provinceSn: undefined
+        }
       },
       addrProvinceList: [],
       openModal: false,
@@ -197,7 +199,7 @@ export default {
       this.queryParam.deviceCode = ''
       this.queryParam.deviceName = ''
       this.queryParam.enabledFlag = undefined
-      this.queryParam.provinceSn = undefined
+      this.queryParam.dealer.provinceSn = undefined
       this.$refs.storeList.resetForm()
       this.$refs.table.refresh(true)
     }