1c0e7a6f by 杨威
2 parents 8ed191f7 a7bc7b13
......@@ -23,3 +23,14 @@ export function updateQjH(data) {
data:data
})
}
/**
* 批量修改户的基本信息
*/
export function batchUpdateQjH(data) {
return request({
url: '/system/qjH/batchH',
method: 'post',
data:data
})
}
\ No newline at end of file
......
......@@ -211,6 +211,7 @@
<script>
import Qlxz from "./../../components/formMenu/qlxz_simple";
import {batchUpdateQjH} from "../../api/h";
export default {
name: "plH",
components:{
......@@ -337,9 +338,15 @@
},
save: function () {
this.form['hbsms'] = this.bsms
this.form.qlxzList= this.$refs.qlxzModule.getQlxzDataList();
console.log("批量户信息")
console.log(this.form)
batchUpdateQjH(this.form).then((res)=>{
if(res.code===200){
this.$message.success("保存成功!")
}
})
},
cancel: function () {
this.close()
......