32b02f75 by 杨威

楼盘表数据加载等待交互

1 parent b48f4ef4
......@@ -81,7 +81,7 @@
></el-input>
<el-link type="primary" style="margin-left:20px" @click="isSearch=true">重新选择自然幢</el-link>
</div>
<div class="lpb-content" ref="lpbContentWrap" :style="{ height: lpbContentHeight + 'px' }">
<div class="lpb-content" ref="lpbContentWrap" :style="{ height: lpbContentHeight + 'px' }" v-loading="lpbloading">
<!-- 楼盘表主体 -->
<div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }">
<lpbContent ref="lpbContent" :zrzbsm='zrzbsm' lpbParent = 'isHbfg' :isHb="isHb"></lpbContent>
......@@ -306,6 +306,7 @@ export default {
fwytList: [],
lpbContentHeight: 0,
lpbContentwidth: 0,
lpbloading:true,
}
},
created(){},
......
......@@ -87,6 +87,7 @@
class="tab-content"
ref="tabContent"
:style="{ height: lpbContentHight + 'px' }"
v-loading="lpbloading"
>
<!-- 左侧树结构 -->
<div class="lp-tree" :class="createFlag ? 'w260' : 'w0'">
......@@ -365,6 +366,7 @@ export default {
time: "",
dyztBsmList: {}, //单元状态bsmList
cbsmList:[], // 层bsmlist
lpbloading:true,
};
},
created() {
......
......@@ -3,7 +3,6 @@
<div
class="lpbContent"
ref="lpbContent"
v-loading="loading"
>
<div
:class="
......@@ -481,7 +480,7 @@ export default {
getLpb(zrzbsm, scyclx,actual) {
getLpb(zrzbsm, scyclx).then((res) => {
if (res.code == 200) {
this.loading = false;
this.$parent.lpbloading = false;
res.result.ljzs = res.result.ljzs
.sort(this.compare("place"))
.reverse();
......