修复添加房产选择房产是的bug
This commit is contained in:
parent
f34ffdd1c4
commit
bfc285ff57
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user