Hwt 2 gadi atpakaļ
vecāks
revīzija
529201f30b

+ 1 - 1
operationSupport/src/router/dynamicMuen.js

@@ -73,7 +73,7 @@ const staticMuen = [
         component: () => import(/* webpackChunkName: "404" */ '@views/ownerManagement/landlordReview/index.vue')
     },
     {
-        path: '/landlordBill',
+        path: '/landlordReview',
         component: () => import(/* webpackChunkName: "404" */ '@views/payService/landlordBill/index.vue')
     },
     {

+ 18 - 2
operationSupport/src/views/assetManagement/housingManagement/saveEdits.vue

@@ -353,7 +353,8 @@ export default {
         salesStatus: [this.$valid.selectRequired('租售状态')],
         salesType: [this.$valid.selectRequired('租售类型')]
       },
-      residenceTypeArr: residenceTypeArr.residence
+      // residenceTypeArr: residenceTypeArr.residence
+      residenceTypeArr: [],
     };
   },
   components: {},
@@ -459,9 +460,24 @@ export default {
           }
         }
       });
-    }
+    },
+
+    async housingManagement () {
+      this.residenceTypeArr = [];
+      var housing = {};
+      housing = await this.$http.get('/czc-user-center/dict/selectListByPCodes', { parentDictCodes: 'CZC_HOUSING_MANAGEMENT' });
+      for (var k in housing) {
+        this.residenceTypeArr.push({
+          label: housing[k],
+          value: Number(k)
+        })
+      }
+    },
+
+
   },
   created () {
+    this.housingManagement();
     if (!!this.params.id) {
       this.getDetails(this.params.id);
     }

+ 14 - 1
operationSupport/src/views/assetManagement/shopManagement/saveEdits.vue

@@ -258,7 +258,8 @@ export default {
         salesStatus: [this.$valid.selectRequired('租售状态')],
         salesType: [this.$valid.selectRequired('租售类型')]
       },
-      residenceTypeArr: residenceTypeArr.shops
+      // residenceTypeArr: residenceTypeArr.shops
+      residenceTypeArr: [],
     };
   },
   components: {},
@@ -363,9 +364,21 @@ export default {
           this.ruleForm = res.data;
         }
       });
+    },
+    async shopManagement () {
+      this.residenceTypeArr = [];
+      var shop = {}
+      shop = await this.$http.get('/czc-user-center/dict/selectListByPCodes', { parentDictCodes: 'CZC_SHOP_MANAGEMENT' });
+      for (let i in shop) {
+        this.residenceTypeArr.push({
+          label: shop[i],
+          value: Number(i)
+        })
+      }
     }
   },
   created () {
+    this.shopManagement();
     if (!!this.params.data.id) {
       this.getDetails(this.params.data.id);
     }

+ 1 - 1
operationSupport/src/views/ownerManagement/landlordReview/index.vue

@@ -73,7 +73,7 @@ export default {
       cols: [
         {
           label: '房东名称',
-          prop: 'name ',
+          prop: 'name',
         },
         {
           label: '手机号',