批量户的前端数据处理
Showing
3 changed files
with
21 additions
and
3 deletions
... | @@ -23,3 +23,14 @@ export function updateQjH(data) { | ... | @@ -23,3 +23,14 @@ export function updateQjH(data) { |
23 | data:data | 23 | data:data |
24 | }) | 24 | }) |
25 | } | 25 | } |
26 | |||
27 | /** | ||
28 | * 批量修改户的基本信息 | ||
29 | */ | ||
30 | export function batchUpdateQjH(data) { | ||
31 | return request({ | ||
32 | url: '/system/qjH/batchH', | ||
33 | method: 'post', | ||
34 | data:data | ||
35 | }) | ||
36 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -211,6 +211,7 @@ | ... | @@ -211,6 +211,7 @@ |
211 | 211 | ||
212 | <script> | 212 | <script> |
213 | import Qlxz from "./../../components/formMenu/qlxz_simple"; | 213 | import Qlxz from "./../../components/formMenu/qlxz_simple"; |
214 | import {batchUpdateQjH} from "../../api/h"; | ||
214 | export default { | 215 | export default { |
215 | name: "plH", | 216 | name: "plH", |
216 | components:{ | 217 | components:{ |
... | @@ -337,9 +338,15 @@ | ... | @@ -337,9 +338,15 @@ |
337 | 338 | ||
338 | }, | 339 | }, |
339 | save: function () { | 340 | save: function () { |
341 | this.form['hbsms'] = this.bsms | ||
340 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); | 342 | this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList(); |
341 | console.log("批量户信息") | 343 | console.log("批量户信息") |
342 | console.log(this.form) | 344 | console.log(this.form) |
345 | batchUpdateQjH(this.form).then((res)=>{ | ||
346 | if(res.code===200){ | ||
347 | this.$message.success("保存成功!") | ||
348 | } | ||
349 | }) | ||
343 | }, | 350 | }, |
344 | cancel: function () { | 351 | cancel: function () { |
345 | this.close() | 352 | this.close() | ... | ... |
... | @@ -269,15 +269,15 @@ | ... | @@ -269,15 +269,15 @@ |
269 | <tr height="30"> | 269 | <tr height="30"> |
270 | <td colspan="2" align="center" >共有土地面积(㎡)</td> | 270 | <td colspan="2" align="center" >共有土地面积(㎡)</td> |
271 | <td colspan="2" > | 271 | <td colspan="2" > |
272 | <el-input v-model="form.zdmj"></el-input> | 272 | <el-input v-model="form.gytdmj"></el-input> |
273 | </td> | 273 | </td> |
274 | <td colspan="2" align="center" >分摊土地面积(㎡)</td> | 274 | <td colspan="2" align="center" >分摊土地面积(㎡)</td> |
275 | <td colspan="2" > | 275 | <td colspan="2" > |
276 | <el-input v-model="form.fttdsymj"></el-input> | 276 | <el-input v-model="form.fttdmj"></el-input> |
277 | </td> | 277 | </td> |
278 | <td colspan="2" align="center" >多幢独用土地面积(㎡)</td> | 278 | <td colspan="2" align="center" >多幢独用土地面积(㎡)</td> |
279 | <td colspan="2" > | 279 | <td colspan="2" > |
280 | <el-input v-model="form.dlsytdmj"></el-input> | 280 | <el-input v-model="form.dytdmj"></el-input> |
281 | </td> | 281 | </td> |
282 | </tr> | 282 | </tr> |
283 | 283 | ... | ... |
-
Please register or sign in to post a comment