新增户接口字段修改
Showing
1 changed file
with
4 additions
and
3 deletions
| ... | @@ -33,9 +33,9 @@ | ... | @@ -33,9 +33,9 @@ |
| 33 | <el-input size="small" v-model="scope.row.jsc"></el-input> | 33 | <el-input size="small" v-model="scope.row.jsc"></el-input> |
| 34 | </template> | 34 | </template> |
| 35 | </el-table-column> | 35 | </el-table-column> |
| 36 | <el-table-column prop="mchs" label="每层户数" align="center"> | 36 | <el-table-column prop="hs" label="每层户数" align="center"> |
| 37 | <template slot-scope="scope"> | 37 | <template slot-scope="scope"> |
| 38 | <el-input size="small" v-model="scope.row.mchs"></el-input> | 38 | <el-input size="small" v-model="scope.row.hs"></el-input> |
| 39 | </template> | 39 | </template> |
| 40 | </el-table-column> | 40 | </el-table-column> |
| 41 | </el-table> | 41 | </el-table> |
| ... | @@ -91,6 +91,7 @@ export default { | ... | @@ -91,6 +91,7 @@ export default { |
| 91 | }, | 91 | }, |
| 92 | onSave(bsm) { | 92 | onSave(bsm) { |
| 93 | insertChInfo(this.tableData).then((res) => { | 93 | insertChInfo(this.tableData).then((res) => { |
| 94 | debugger | ||
| 94 | if (res.code === 200) { | 95 | if (res.code === 200) { |
| 95 | this.$message.success("保存成功"); | 96 | this.$message.success("保存成功"); |
| 96 | //更新树结构数据 | 97 | //更新树结构数据 |
| ... | @@ -110,7 +111,7 @@ export default { | ... | @@ -110,7 +111,7 @@ export default { |
| 110 | zdybsm: "", | 111 | zdybsm: "", |
| 111 | qsc: "", | 112 | qsc: "", |
| 112 | jsc: "", | 113 | jsc: "", |
| 113 | mchs: "", | 114 | hs: "", |
| 114 | }, | 115 | }, |
| 115 | ]; | 116 | ]; |
| 116 | }, | 117 | }, | ... | ... |
-
Please register or sign in to post a comment