32b02f75 by 杨威

楼盘表数据加载等待交互

1 parent b48f4ef4
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
81 ></el-input> 81 ></el-input>
82 <el-link type="primary" style="margin-left:20px" @click="isSearch=true">重新选择自然幢</el-link> 82 <el-link type="primary" style="margin-left:20px" @click="isSearch=true">重新选择自然幢</el-link>
83 </div> 83 </div>
84 <div class="lpb-content" ref="lpbContentWrap" :style="{ height: lpbContentHeight + 'px' }"> 84 <div class="lpb-content" ref="lpbContentWrap" :style="{ height: lpbContentHeight + 'px' }" v-loading="lpbloading">
85 <!-- 楼盘表主体 --> 85 <!-- 楼盘表主体 -->
86 <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> 86 <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }">
87 <lpbContent ref="lpbContent" :zrzbsm='zrzbsm' lpbParent = 'isHbfg' :isHb="isHb"></lpbContent> 87 <lpbContent ref="lpbContent" :zrzbsm='zrzbsm' lpbParent = 'isHbfg' :isHb="isHb"></lpbContent>
...@@ -305,7 +305,8 @@ export default { ...@@ -305,7 +305,8 @@ export default {
305 fwxzList: [], 305 fwxzList: [],
306 fwytList: [], 306 fwytList: [],
307 lpbContentHeight: 0, 307 lpbContentHeight: 0,
308 lpbContentwidth: 0, 308 lpbContentwidth: 0,
309 lpbloading:true,
309 } 310 }
310 }, 311 },
311 created(){}, 312 created(){},
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
87 class="tab-content" 87 class="tab-content"
88 ref="tabContent" 88 ref="tabContent"
89 :style="{ height: lpbContentHight + 'px' }" 89 :style="{ height: lpbContentHight + 'px' }"
90 v-loading="lpbloading"
90 > 91 >
91 <!-- 左侧树结构 --> 92 <!-- 左侧树结构 -->
92 <div class="lp-tree" :class="createFlag ? 'w260' : 'w0'"> 93 <div class="lp-tree" :class="createFlag ? 'w260' : 'w0'">
...@@ -365,6 +366,7 @@ export default { ...@@ -365,6 +366,7 @@ export default {
365 time: "", 366 time: "",
366 dyztBsmList: {}, //单元状态bsmList 367 dyztBsmList: {}, //单元状态bsmList
367 cbsmList:[], // 层bsmlist 368 cbsmList:[], // 层bsmlist
369 lpbloading:true,
368 }; 370 };
369 }, 371 },
370 created() { 372 created() {
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
3 <div 3 <div
4 class="lpbContent" 4 class="lpbContent"
5 ref="lpbContent" 5 ref="lpbContent"
6 v-loading="loading"
7 > 6 >
8 <div 7 <div
9 :class=" 8 :class="
...@@ -481,7 +480,7 @@ export default { ...@@ -481,7 +480,7 @@ export default {
481 getLpb(zrzbsm, scyclx,actual) { 480 getLpb(zrzbsm, scyclx,actual) {
482 getLpb(zrzbsm, scyclx).then((res) => { 481 getLpb(zrzbsm, scyclx).then((res) => {
483 if (res.code == 200) { 482 if (res.code == 200) {
484 this.loading = false; 483 this.$parent.lpbloading = false;
485 res.result.ljzs = res.result.ljzs 484 res.result.ljzs = res.result.ljzs
486 .sort(this.compare("place")) 485 .sort(this.compare("place"))
487 .reverse(); 486 .reverse();
......