|
@@ -258,7 +258,8 @@ export default {
|
|
salesStatus: [this.$valid.selectRequired('租售状态')],
|
|
salesStatus: [this.$valid.selectRequired('租售状态')],
|
|
salesType: [this.$valid.selectRequired('租售类型')]
|
|
salesType: [this.$valid.selectRequired('租售类型')]
|
|
},
|
|
},
|
|
- residenceTypeArr: residenceTypeArr.shops
|
|
|
|
|
|
+ // residenceTypeArr: residenceTypeArr.shops
|
|
|
|
+ residenceTypeArr: [],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
components: {},
|
|
components: {},
|
|
@@ -363,9 +364,21 @@ export default {
|
|
this.ruleForm = res.data;
|
|
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 () {
|
|
created () {
|
|
|
|
+ this.shopManagement();
|
|
if (!!this.params.data.id) {
|
|
if (!!this.params.data.id) {
|
|
this.getDetails(this.params.data.id);
|
|
this.getDetails(this.params.data.id);
|
|
}
|
|
}
|