实预测都没数据时,实测新建楼盘,刷新之后获取到数据,但是不显示
Showing
1 changed file
with
6 additions
and
0 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 | if (this.$refs.lpbContent.$refs.hBsm) { | ||
| 477 | this.$refs.lpbContent.$refs.hBsm.forEach(item=>{ | 478 | this.$refs.lpbContent.$refs.hBsm.forEach(item=>{ |
| 478 | item.style.borderColor = 'rgb(230, 230, 230)'; | 479 | item.style.borderColor = 'rgb(230, 230, 230)'; |
| 479 | if (item.className == "tdSelect") { | 480 | if (item.className == "tdSelect") { |
| 480 | item.className = ""; | 481 | item.className = ""; |
| 481 | } | 482 | } |
| 482 | }); | 483 | }); |
| 484 | } | ||
| 483 | //层 | 485 | //层 |
| 486 | if (this.$refs.lpbContent.$refs.cBsm) { | ||
| 484 | this.$refs.lpbContent.$refs.cBsm.forEach(item=>{ | 487 | this.$refs.lpbContent.$refs.cBsm.forEach(item=>{ |
| 485 | console.log(item.className,'item.className'); | 488 | console.log(item.className,'item.className'); |
| 486 | item.className = "floor"; | 489 | item.className = "floor"; |
| 487 | }); | 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