8f99da03 by zhaoqian

批量户的前端数据处理

1 parent b0431b8a
......@@ -22,4 +22,15 @@ export function updateQjH(data) {
method: 'put',
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()
......
......@@ -269,15 +269,15 @@
<tr height="30">
<td colspan="2" align="center" >共有土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.zdmj"></el-input>
<el-input v-model="form.gytdmj"></el-input>
</td>
<td colspan="2" align="center" >分摊土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.fttdsymj"></el-input>
<el-input v-model="form.fttdmj"></el-input>
</td>
<td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
<td colspan="2" >
<el-input v-model="form.dlsytdmj"></el-input>
<el-input v-model="form.dytdmj"></el-input>
</td>
</tr>
......