a9d3500b by 杨威

楼盘表的搜索功能

1 parent dde7b0cb
......@@ -578,9 +578,10 @@
this.$refs.lpbContent.dataChange();
},
inputChange() {
// console.log(this.bdcdyh,'this.bdcdyh');
if (this.bdcdyh != "") {
// 根据不动产单元号或者室号搜索
// this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
// console.log("查询" + this.bdcdyh);
this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
} else {
this.$message({
message: "请输入内容后查询",
......
......@@ -104,7 +104,6 @@
maxlength="28"
v-model="bdcdyh"
:style="{ width: inputWidth + 'px' }"
@change="inputChange"
class="searchInput"
placeholder="输入不动产单元号或室号"
><i
......@@ -411,9 +410,10 @@ export default {
this.$refs.lpbContent.dataChange();
},
inputChange() {
console.log(this.bdcdyh,'this.bdcdyh');
if (this.bdcdyh != "") {
// 根据不动产单元号或者室号搜索
// this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
// console.log("查询" + this.bdcdyh);
this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
} else {
this.$message({
message: "请输入内容后查询",
......
......@@ -70,7 +70,6 @@
maxlength="28"
v-model="bdcdyh"
:style="{ width: inputWidth + 'px' }"
@change="inputChange"
class="searchInput"
placeholder="输入不动产单元号或室号"
><i
......@@ -350,6 +349,7 @@ export default {
},
//办理
handleClick(row){
this.bdcdyh = row.bdcdyh;
if(row.dylx === 'zrz'){
this.isSearch = false;
this.zrzbsm = row.glbsm;
......@@ -401,9 +401,10 @@ export default {
this.$refs.lpbContent.dataChange();
},
inputChange() {
console.log(this.bdcdyh,'this.bdcdyh');
if (this.bdcdyh != "") {
// 根据不动产单元号或者室号搜索
// this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
// console.log("查询" + this.bdcdyh);
this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
} else {
this.$message({
message: "请输入内容后查询",
......@@ -533,11 +534,11 @@ export default {
if (!n) {
this.getDyztBsmList();
this.getLpbFwytAndQlxz();
this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 54;
// console.log(this.$refs.lpbContentWrap.clientWidth,'lpbContentWrap');
// this.$nextTick(()=>{
this.$nextTick(()=>{
// this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6;
// })
this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 54;
})
}
},
//改变syclx,更新楼盘表数据
......