1c0e7a6f by 杨威
2 parents 8ed191f7 a7bc7b13
...@@ -22,4 +22,15 @@ export function updateQjH(data) { ...@@ -22,4 +22,15 @@ export function updateQjH(data) {
22 method: 'put', 22 method: 'put',
23 data:data 23 data:data
24 }) 24 })
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 })
25 } 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()
......