Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
3 changed files
with
18 additions
and
0 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() | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment