实预测都没数据时,实测新建楼盘,刷新之后获取到数据,但是不显示
Showing
1 changed file
with
16 additions
and
10 deletions
... | @@ -474,21 +474,27 @@ export default { | ... | @@ -474,21 +474,27 @@ export default { |
474 | this.$refs.lpbContent.hbsmList = []; | 474 | this.$refs.lpbContent.hbsmList = []; |
475 | this.$nextTick(()=>{ | 475 | this.$nextTick(()=>{ |
476 | //户 | 476 | //户 |
477 | this.$refs.lpbContent.$refs.hBsm.forEach(item=>{ | 477 | if (this.$refs.lpbContent.$refs.hBsm) { |
478 | item.style.borderColor = 'rgb(230, 230, 230)'; | 478 | this.$refs.lpbContent.$refs.hBsm.forEach(item=>{ |
479 | if (item.className == "tdSelect") { | 479 | item.style.borderColor = 'rgb(230, 230, 230)'; |
480 | item.className = ""; | 480 | if (item.className == "tdSelect") { |
481 | } | 481 | item.className = ""; |
482 | }); | 482 | } |
483 | }); | ||
484 | } | ||
483 | //层 | 485 | //层 |
484 | this.$refs.lpbContent.$refs.cBsm.forEach(item=>{ | 486 | if (this.$refs.lpbContent.$refs.cBsm) { |
485 | console.log(item.className,'item.className'); | 487 | this.$refs.lpbContent.$refs.cBsm.forEach(item=>{ |
486 | item.className = "floor"; | 488 | console.log(item.className,'item.className'); |
487 | }); | 489 | item.className = "floor"; |
490 | }); | ||
491 | } | ||
488 | }) | 492 | }) |
489 | //获取图例数据 | 493 | //获取图例数据 |
490 | this.getDyztBsmList(); | 494 | this.getDyztBsmList(); |
491 | this.getLpbFwytAndQlxz(); | 495 | this.getLpbFwytAndQlxz(); |
496 | //重新渲染楼盘表 | ||
497 | this.$refs.lpbContent.dataChange(); | ||
492 | }, | 498 | }, |
493 | //获取高度计算lpb内容区高度 | 499 | //获取高度计算lpb内容区高度 |
494 | getHeight() { | 500 | getHeight() { | ... | ... |
-
Please register or sign in to post a comment