1b4aea2f by 杨威

范围属性变更页面修改

1 parent 59010681
1 <template> 1 <template>
2 <div class="main"> 2 <div class="mainbox1">
3 <template v-if="isFwsxbg"> 3 <template v-if="isFwsxbg">
4 <!-- <p class="tips">查询条件</p> --> 4 <!-- <p class="tips">查询条件</p> -->
5 <el-row class="box"> 5 <el-row class="box">
...@@ -127,6 +127,7 @@ ...@@ -127,6 +127,7 @@
127 layout="prev, pager, next,total" 127 layout="prev, pager, next,total"
128 :total="total" 128 :total="total"
129 :current-page="pageNo" 129 :current-page="pageNo"
130 :page-size="pageSize"
130 @current-change="handleCurrentChange" 131 @current-change="handleCurrentChange"
131 > 132 >
132 </el-pagination> 133 </el-pagination>
...@@ -143,7 +144,6 @@ ...@@ -143,7 +144,6 @@
143 maxlength="28" 144 maxlength="28"
144 v-model="bdcdyh" 145 v-model="bdcdyh"
145 :style="{ width: inputWidth + 'px' }" 146 :style="{ width: inputWidth + 'px' }"
146 @change="inputChange"
147 class="searchInput" 147 class="searchInput"
148 placeholder="输入不动产单元号或室号" 148 placeholder="输入不动产单元号或室号"
149 ><i 149 ><i
...@@ -389,17 +389,21 @@ ...@@ -389,17 +389,21 @@
389 lpbContentHeight: 0, 389 lpbContentHeight: 0,
390 lpbContentwidth: 0, 390 lpbContentwidth: 0,
391 lpbloading:true, 391 lpbloading:true,
392 hbsm:''
392 }; 393 };
393 }, 394 },
394 created() {}, 395 created() {},
395 mounted() { 396 mounted() {
397 this.queryData.pageNo = this.pageNo;
398 this.queryData.pageSize = this.pageSize;
399 this.queryData.type = this.queryType;
396 this.getData(this.queryData); 400 this.getData(this.queryData);
397 // console.log(document.documentElement.clientHeight || document.body.clientHeight,'document.documentElement.clientHeight || document.body.clientHeight'); 401 // console.log(document.documentElement.clientHeight || document.body.clientHeight,'document.documentElement.clientHeight || document.body.clientHeight');
398 this.$nextTick(() => { 402 this.$nextTick(() => {
399 this.tableHeight = 403 this.tableHeight =
400 (document.documentElement.clientHeight || document.body.clientHeight) - 404 (document.documentElement.clientHeight || document.body.clientHeight) -
401 352; 405 342;
402 this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 222; 406 this.lpbContentHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 262;
403 }); 407 });
404 }, 408 },
405 methods: { 409 methods: {
...@@ -417,16 +421,20 @@ ...@@ -417,16 +421,20 @@
417 }, 421 },
418 // 查询 422 // 查询
419 query(){ 423 query(){
424 this.queryData.pageNo = this.pageNo;
425 this.queryData.pageSize = this.pageSize;
426 this.queryData.type = this.queryType;
420 this.getData(this.queryData) 427 this.getData(this.queryData)
421 }, 428 },
422 // 更多查询 429 // 更多查询
423 moreSearch(){ 430 moreSearch(){
431 console.log(this.tableHeight);
424 if(this.ismore === true){ 432 if(this.ismore === true){
425 this.ismore = false; 433 this.ismore = false;
426 this.$parent.tableHeight+=55; 434 this.tableHeight+=69;
427 }else { 435 }else {
428 this.ismore = true; 436 this.ismore = true;
429 this.$parent.tableHeight-=55; 437 this.tableHeight-=69;
430 } 438 }
431 }, 439 },
432 onSubmit() {}, 440 onSubmit() {},
...@@ -469,11 +477,16 @@ ...@@ -469,11 +477,16 @@
469 //点击办理 477 //点击办理
470 handleClick(row) { 478 handleClick(row) {
471 let params = { bsm: row.bsm, type: this.queryType }; 479 let params = { bsm: row.bsm, type: this.queryType };
472 if(this.queryType == 'h'){ 480 this.bdcdyh = row.bdcdyh;
481 if(row.dylx == 'h0' || row.dylx == 'h1'){
482 this.hbsm = row.bsm;
473 getQjHDetailByBsm(row.bsm).then((res)=>{ 483 getQjHDetailByBsm(row.bsm).then((res)=>{
474 if(res.code===200){ 484 if(res.code===200){
475 this.zrzbsm = res.result.zrzbsm; 485 this.zrzbsm = res.result.zrzbsm;
476 this.isFwsxbg = false; 486 this.isFwsxbg = false;
487 this.$nextTick(()=>{
488 this.scyclx = row.dylx == 'h0' ? '0':'1'
489 })
477 } 490 }
478 }) 491 })
479 }else{ 492 }else{
...@@ -704,6 +717,8 @@ ...@@ -704,6 +717,8 @@
704 this.getLpbFwytAndQlxz(); 717 this.getLpbFwytAndQlxz();
705 this.$nextTick(()=>{ 718 this.$nextTick(()=>{
706 this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6; 719 this.lpbContentwidth = this.$refs.lpbContentWrap.clientWidth - 34 - 6;
720 this.$refs.lpbContent.lpbDataMap(this.bdcdyh);
721 this.$refs.lpbContent.hbsmList.push(this.hbsm)
707 }) 722 })
708 } 723 }
709 }, 724 },
...@@ -723,17 +738,18 @@ ...@@ -723,17 +738,18 @@
723 </script> 738 </script>
724 739
725 <style scoped lang="less"> 740 <style scoped lang="less">
726 .main{ 741 .mainbox1{
727 padding: 0; 742 width: 100%;
743 height: 100%;
744 box-sizing: border-box;
745 padding:20px;
746 background-color: #eaedf5;
728 .box{ 747 .box{
729 background-color: white; 748 background-color: white;
730 padding: 10px 0; 749 padding: 10px 0;
731 margin-bottom: 10px; 750 margin-bottom: 10px;
732 } 751 }
733 } 752 .tips{
734 /*.main {
735 background-color: #eaedf5;
736 .tips{
737 color: #9B9B9B; 753 color: #9B9B9B;
738 margin-left: 2px; 754 margin-left: 2px;
739 margin-bottom: 10px; 755 margin-bottom: 10px;
...@@ -852,5 +868,9 @@ ...@@ -852,5 +868,9 @@
852 } 868 }
853 869
854 } 870 }
871 }
872 /*.main {
873 background-color: #eaedf5;
874
855 }*/ 875 }*/
856 </style> 876 </style>
......
1 <template> 1 <template>
2 <div class="main"> 2 <div class="mainbox">
3 <el-tabs v-model="tabName" @tab-click="handleClick" class="menu"> 3 <el-tabs v-model="tabName" @tab-click="handleClick" class="menu">
4 <el-tab-pane label="宗地" name="zd"> 4 <el-tab-pane label="宗地" name="zd">
5 <fwsxbg-tab queryType="zd"></fwsxbg-tab> 5 <fwsxbg-tab queryType="zd"></fwsxbg-tab>
...@@ -61,14 +61,21 @@ export default { ...@@ -61,14 +61,21 @@ export default {
61 }; 61 };
62 </script> 62 </script>
63 <style scoped lang="less"> 63 <style scoped lang="less">
64 .main { 64 .mainbox {
65 width: 100%;
65 height: 100%; 66 height: 100%;
67 -webkit-box-sizing: border-box;
68 box-sizing: border-box;
69 padding: 0;
66 .menu { 70 .menu {
67 height: 100%; 71 height: 100%;
68 /deep/ .el-tabs__content { 72 /deep/ .el-tabs__content {
69 position: unset; 73 position: unset;
70 margin-top: 40px; 74 margin-top: 40px;
71 overflow: visible; 75 overflow: visible;
76 /deep/.el-tab-pane{
77 height: calc(100% - 0px);
78 }
72 } 79 }
73 /deep/ .el-tabs__header { 80 /deep/ .el-tabs__header {
74 position: -webkit-fixed; 81 position: -webkit-fixed;
......