修复添加房产选择房产是的bug

This commit is contained in:
赵毅 2025-08-12 11:19:18 +08:00
parent f34ffdd1c4
commit bfc285ff57

View File

@ -259,12 +259,13 @@ export default {
this.fName =
this.step == 4 ? this.fName : this.facilityName ? item.label : "";
await request(apiArr.commRoomSelect, "POST", {
community_ids: item.community_id ? item.community_id : this.communityId,
facility_names: this.facilityName,
community_ids: [item.community_id ? item.community_id : this.communityId],
facility_names: this.facilityName ? [this.facilityName] : [],
floors: this.facilityName
? this.facilityName == this.fName
? ""
: item.label
: [item.label]
: "",
}).then((res) => {
//
@ -339,7 +340,7 @@ export default {
//
getRoomSelect() {
request(apiArr.commRoomSelect, "POST", {
community_ids: this.currentCommunity.community_id,
community_ids: [this.currentCommunity.community_id],
}).then((res) => {
console.log(res);
this.step = 2;