添加层户后更新楼盘表数据
Showing
2 changed files
with
6 additions
and
2 deletions
| ... | @@ -91,12 +91,12 @@ export default { | ... | @@ -91,12 +91,12 @@ export default { |
| 91 | }, | 91 | }, |
| 92 | onSave(bsm) { | 92 | onSave(bsm) { |
| 93 | insertChInfo(this.tableData).then((res) => { | 93 | insertChInfo(this.tableData).then((res) => { |
| 94 | debugger | ||
| 95 | if (res.code === 200) { | 94 | if (res.code === 200) { |
| 96 | this.$message.success("保存成功"); | 95 | this.$message.success("保存成功"); |
| 97 | //更新树结构数据 | 96 | //更新树结构数据 |
| 98 | console.log(this); | 97 | console.log(this); |
| 99 | this.$parent.$parent.getLpbMenuTree(bsm); | 98 | this.$parent.$parent.getLpbMenuTree(bsm); |
| 99 | this.$parent.$parent.getlpbData(); | ||
| 100 | //关闭弹框 | 100 | //关闭弹框 |
| 101 | this.$parent.$parent.closeDaialog(); | 101 | this.$parent.$parent.closeDaialog(); |
| 102 | } | 102 | } | ... | ... |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | </div> | 47 | </div> |
| 48 | <!-- 楼盘表主体 --> | 48 | <!-- 楼盘表主体 --> |
| 49 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> | 49 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> |
| 50 | <lpbContent></lpbContent> | 50 | <lpbContent ref="lpbContent"></lpbContent> |
| 51 | </div> | 51 | </div> |
| 52 | <!-- 右侧图例 --> | 52 | <!-- 右侧图例 --> |
| 53 | <div class="lp-legend"> | 53 | <div class="lp-legend"> |
| ... | @@ -353,6 +353,10 @@ export default { | ... | @@ -353,6 +353,10 @@ export default { |
| 353 | //户编辑表单重置 | 353 | //户编辑表单重置 |
| 354 | hbjResetInfo(){ | 354 | hbjResetInfo(){ |
| 355 | this.$refs.hbj.onReset(); | 355 | this.$refs.hbj.onReset(); |
| 356 | }, | ||
| 357 | //调用楼盘表信息查询接口 | ||
| 358 | getlpbData(){ | ||
| 359 | this.$refs.lpbContent.getLpb(this.$store.state.zrzbsm) | ||
| 356 | } | 360 | } |
| 357 | }, | 361 | }, |
| 358 | computed: { | 362 | computed: { | ... | ... |
-
Please register or sign in to post a comment