楼盘表的搜索功能
Showing
3 changed files
with
13 additions
and
11 deletions
| ... | @@ -578,9 +578,10 @@ | ... | @@ -578,9 +578,10 @@ | 
| 578 | this.$refs.lpbContent.dataChange(); | 578 | this.$refs.lpbContent.dataChange(); | 
| 579 | }, | 579 | }, | 
| 580 | inputChange() { | 580 | inputChange() { | 
| 581 | // console.log(this.bdcdyh,'this.bdcdyh'); | ||
| 581 | if (this.bdcdyh != "") { | 582 | if (this.bdcdyh != "") { | 
| 582 | // 根据不动产单元号或者室号搜索 | 583 | // console.log("查询" + this.bdcdyh); | 
| 583 | // this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 584 | this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 
| 584 | } else { | 585 | } else { | 
| 585 | this.$message({ | 586 | this.$message({ | 
| 586 | message: "请输入内容后查询", | 587 | message: "请输入内容后查询", | ... | ... | 
| ... | @@ -104,7 +104,6 @@ | ... | @@ -104,7 +104,6 @@ | 
| 104 | maxlength="28" | 104 | maxlength="28" | 
| 105 | v-model="bdcdyh" | 105 | v-model="bdcdyh" | 
| 106 | :style="{ width: inputWidth + 'px' }" | 106 | :style="{ width: inputWidth + 'px' }" | 
| 107 | @change="inputChange" | ||
| 108 | class="searchInput" | 107 | class="searchInput" | 
| 109 | placeholder="输入不动产单元号或室号" | 108 | placeholder="输入不动产单元号或室号" | 
| 110 | ><i | 109 | ><i | 
| ... | @@ -411,9 +410,10 @@ export default { | ... | @@ -411,9 +410,10 @@ export default { | 
| 411 | this.$refs.lpbContent.dataChange(); | 410 | this.$refs.lpbContent.dataChange(); | 
| 412 | }, | 411 | }, | 
| 413 | inputChange() { | 412 | inputChange() { | 
| 413 | console.log(this.bdcdyh,'this.bdcdyh'); | ||
| 414 | if (this.bdcdyh != "") { | 414 | if (this.bdcdyh != "") { | 
| 415 | // 根据不动产单元号或者室号搜索 | 415 | // console.log("查询" + this.bdcdyh); | 
| 416 | // this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 416 | this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 
| 417 | } else { | 417 | } else { | 
| 418 | this.$message({ | 418 | this.$message({ | 
| 419 | message: "请输入内容后查询", | 419 | message: "请输入内容后查询", | ... | ... | 
| ... | @@ -70,7 +70,6 @@ | ... | @@ -70,7 +70,6 @@ | 
| 70 | maxlength="28" | 70 | maxlength="28" | 
| 71 | v-model="bdcdyh" | 71 | v-model="bdcdyh" | 
| 72 | :style="{ width: inputWidth + 'px' }" | 72 | :style="{ width: inputWidth + 'px' }" | 
| 73 | @change="inputChange" | ||
| 74 | class="searchInput" | 73 | class="searchInput" | 
| 75 | placeholder="输入不动产单元号或室号" | 74 | placeholder="输入不动产单元号或室号" | 
| 76 | ><i | 75 | ><i | 
| ... | @@ -350,6 +349,7 @@ export default { | ... | @@ -350,6 +349,7 @@ export default { | 
| 350 | }, | 349 | }, | 
| 351 | //办理 | 350 | //办理 | 
| 352 | handleClick(row){ | 351 | handleClick(row){ | 
| 352 | this.bdcdyh = row.bdcdyh; | ||
| 353 | if(row.dylx === 'zrz'){ | 353 | if(row.dylx === 'zrz'){ | 
| 354 | this.isSearch = false; | 354 | this.isSearch = false; | 
| 355 | this.zrzbsm = row.glbsm; | 355 | this.zrzbsm = row.glbsm; | 
| ... | @@ -401,9 +401,10 @@ export default { | ... | @@ -401,9 +401,10 @@ export default { | 
| 401 | this.$refs.lpbContent.dataChange(); | 401 | this.$refs.lpbContent.dataChange(); | 
| 402 | }, | 402 | }, | 
| 403 | inputChange() { | 403 | inputChange() { | 
| 404 | console.log(this.bdcdyh,'this.bdcdyh'); | ||
| 404 | if (this.bdcdyh != "") { | 405 | if (this.bdcdyh != "") { | 
| 405 | // 根据不动产单元号或者室号搜索 | 406 | // console.log("查询" + this.bdcdyh); | 
| 406 | // this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 407 | this.$refs.lpbContent.lpbDataMap(this.bdcdyh); | 
| 407 | } else { | 408 | } else { | 
| 408 | this.$message({ | 409 | this.$message({ | 
| 409 | message: "请输入内容后查询", | 410 | message: "请输入内容后查询", | 
| ... | @@ -533,11 +534,11 @@ export default { | ... | @@ -533,11 +534,11 @@ export default { | 
| 533 | if (!n) { | 534 | if (!n) { | 
| 534 | this.getDyztBsmList(); | 535 | this.getDyztBsmList(); | 
| 535 | this.getLpbFwytAndQlxz(); | 536 | this.getLpbFwytAndQlxz(); | 
| 536 | this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 54; | ||
| 537 | // console.log(this.$refs.lpbContentWrap.clientWidth,'lpbContentWrap'); | 537 | // console.log(this.$refs.lpbContentWrap.clientWidth,'lpbContentWrap'); | 
| 538 | // this.$nextTick(()=>{ | 538 | this.$nextTick(()=>{ | 
| 539 | // this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; | 539 | // this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; | 
| 540 | // }) | 540 | this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 54; | 
| 541 | }) | ||
| 541 | } | 542 | } | 
| 542 | }, | 543 | }, | 
| 543 | //改变syclx,更新楼盘表数据 | 544 | //改变syclx,更新楼盘表数据 | ... | ... | 
- 
Please register or sign in to post a comment