详细信息添加更新数据的接口
Showing
1 changed file
with
5 additions
and
0 deletions
| ... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
| 4 | <el-radio-button label="0">预测</el-radio-button> | 4 | <el-radio-button label="0">预测</el-radio-button> |
| 5 | <el-radio-button label="1">实测</el-radio-button> | 5 | <el-radio-button label="1">实测</el-radio-button> |
| 6 | </el-radio-group> | 6 | </el-radio-group> |
| 7 | <el-button @click="update">更新数据</el-button> | ||
| 7 | <el-table | 8 | <el-table |
| 8 | :data="tableData" | 9 | :data="tableData" |
| 9 | style="width: 100%;margin-bottom: 20px;" | 10 | style="width: 100%;margin-bottom: 20px;" |
| ... | @@ -105,6 +106,10 @@ export default { | ... | @@ -105,6 +106,10 @@ export default { |
| 105 | } | 106 | } |
| 106 | }, | 107 | }, |
| 107 | 108 | ||
| 109 | update(){ | ||
| 110 | this.getData(); | ||
| 111 | }, | ||
| 112 | |||
| 108 | getData(){ | 113 | getData(){ |
| 109 | let zrzbsm = this.$store.state.zrzbsm; | 114 | let zrzbsm = this.$store.state.zrzbsm; |
| 110 | // let scyclx = this.scyclx; | 115 | // let scyclx = this.scyclx; | ... | ... |
-
Please register or sign in to post a comment