修复添加房产选择房产是的bug
This commit is contained in:
parent
f34ffdd1c4
commit
bfc285ff57
@ -259,12 +259,13 @@ export default {
|
|||||||
this.fName =
|
this.fName =
|
||||||
this.step == 4 ? this.fName : this.facilityName ? item.label : "";
|
this.step == 4 ? this.fName : this.facilityName ? item.label : "";
|
||||||
await request(apiArr.commRoomSelect, "POST", {
|
await request(apiArr.commRoomSelect, "POST", {
|
||||||
community_ids: item.community_id ? item.community_id : this.communityId,
|
community_ids: [item.community_id ? item.community_id : this.communityId],
|
||||||
facility_names: this.facilityName,
|
facility_names: this.facilityName ? [this.facilityName] : [],
|
||||||
|
|
||||||
floors: this.facilityName
|
floors: this.facilityName
|
||||||
? this.facilityName == this.fName
|
? this.facilityName == this.fName
|
||||||
? ""
|
? ""
|
||||||
: item.label
|
: [item.label]
|
||||||
: "",
|
: "",
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
// 对楼层数据进行从大到小排序
|
// 对楼层数据进行从大到小排序
|
||||||
@ -339,7 +340,7 @@ export default {
|
|||||||
//选择楼栋
|
//选择楼栋
|
||||||
getRoomSelect() {
|
getRoomSelect() {
|
||||||
request(apiArr.commRoomSelect, "POST", {
|
request(apiArr.commRoomSelect, "POST", {
|
||||||
community_ids: this.currentCommunity.community_id,
|
community_ids: [this.currentCommunity.community_id],
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.step = 2;
|
this.step = 2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user