|
@@ -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);
|
|
|
}
|