diff --git a/src/page/check/chose.vue b/src/page/check/chose.vue index f4f2ce3..580b8f5 100644 --- a/src/page/check/chose.vue +++ b/src/page/check/chose.vue @@ -309,10 +309,13 @@ export default { let obj = { current: this.currentPage, size: this.size, - propertyName: this.propertyName, + }; if (this.info.selectHouseType == 1) { - this.$api.api.zkhousePage(obj).then((res) => { + this.$api.api.zkhousePage({ + propertyName: this.propertyName, + ...obj + }).then((res) => { // console.log(res) this.list = res.data.records; this.total = res.data.total; @@ -322,6 +325,7 @@ export default { this.$api.api .findHouseByArea({ id: this.area, + ...obj }) .then((res) => { // console.log(res) @@ -365,8 +369,8 @@ export default { locationsChange(e) { console.log(e); if (!e) return; - this.provinceId = e[0]; - this.cityId = e[1]; + this.searchhouseMsg.provinceId = e[0]; + this.searchhouseMsg.cityId = e[1]; }, }, }; diff --git a/src/page/check/index.vue b/src/page/check/index.vue index 391a351..37f8b63 100644 --- a/src/page/check/index.vue +++ b/src/page/check/index.vue @@ -30,6 +30,7 @@