LAPTOP-FO2T5SIU\35838 5 mēneši atpakaļ
vecāks
revīzija
65a01ca849

+ 4 - 3
src/views/reportForms/components/projectDetail.vue

@@ -88,11 +88,11 @@
         </el-col>
         <el-col :span="8">
           <span>行政区划:</span>
-          <span>{{ groupForm.regionalismCode }}</span>
+          <span>{{ groupForm.regionalismCodeStr }}</span>
         </el-col>
       </el-row>
       <el-row class="handle-box" style="margin-bottom: 24px">
-        <span>行政区划:</span>
+        <span>详细地址:</span>
         <span>{{ groupForm.address }}</span>
       </el-row>
 
@@ -182,7 +182,7 @@ export default {
     data() {
         return {
             loading: false,
-            dc_key: ['DECORATION_SITUATION', 'GROUP_NATURE', 'MAPPING_STATUS', 'SALE_STATUS'],
+            dc_key: ['DECORATION_SITUATION', 'GROUP_NATURE', 'MAPPING_STATUS', 'SALE_STATUS', 'REGIONALISM_CODE'],
             groupForm: {},
             discForm: {},
             groupId: '',
@@ -245,6 +245,7 @@ export default {
                         })
                         this.groupForm.natureStr = temp
                     }
+                    this.groupForm.regionalismCodeStr = this.dc_map.REGIONALISM_CODE[res.data.regionalismCode]
                     this.groupForm.areaStatusStr = this.dc_map.MAPPING_STATUS[res.data.areaStatus]
                     this.groupForm.saleStatusStr = this.dc_map.SALE_STATUS[res.data.saleStatus]
                 }

+ 12 - 1
src/views/reportForms/parkRoomArchives.vue

@@ -48,7 +48,7 @@
           style="width: 100%"
           clearable
           filterable
-          @change="handleSearch"
+          @change="buildChange"
         >
           <el-option
             v-for="item in buildOption"
@@ -161,6 +161,10 @@ export default {
     },
     methods: {
         groupChange() {
+            this.discOption = []
+            this.search.discId = ''
+            this.search.buildId = ''
+            this.search.roomNo = ''
             this.handleSearch()
             const data = {
                 groupId: this.search.groupId
@@ -168,12 +172,19 @@ export default {
             this.getDiscOption(data)
         },
         discChange() {
+            this.buildOption = []
+            this.search.buildId = ''
+            this.search.roomNo = ''
             this.handleSearch()
             const data = {
                 discId: this.search.discId
             }
             this.getBuildOption(data)
         },
+        buildChange() {
+            this.search.roomNo = ''
+            this.handleSearch()
+        },
         getData: function() {
             const _this = this
             _this.loading = true

+ 17 - 3
src/views/reportForms/projectArchives.vue

@@ -10,7 +10,7 @@
           style="width: 100%"
           clearable
           filterable
-          @change="handleSearch"
+          @change="groupChange"
         >
           <el-option
             v-for="item in groupOption"
@@ -29,7 +29,7 @@
           style="width: 100%"
           clearable
           filterable
-          @change="handleSearch"
+          @change="discChange"
         >
           <el-option
             v-for="item in discOption"
@@ -135,12 +135,26 @@ export default {
     },
     mounted() {
         this.getGroupOption()
-        this.getDiscOption()
+        // this.getDiscOption()
         this.initDict(this.dc_key).then((res) => {
             this.getData()
         })
     },
     methods: {
+        groupChange() {
+            this.discOption = []
+            this.search.discId = ''
+            this.search.roomNo = ''
+            this.handleSearch()
+            const data = {
+                groupId: this.search.groupId
+            }
+            this.getDiscOption(data)
+        },
+        discChange() {
+            this.search.roomNo = ''
+            this.handleSearch()
+        },
         getGroupOption() {
             this.baseGroupRequest('listAll', {}).then((res) => {
                 const data = res.data