e9c6d71d by weimo934

feat(lpb):批量提交

1 parent 5eab16e7
......@@ -168,3 +168,14 @@ export function deleteZdy(id) {
}
})
}
/**
* 批量提交
*/
export function batchCommit(data) {
return request({
url:'/fw/lpbbatch/batchCommit',
method:'post',
data:data
})
}
......
......@@ -69,6 +69,13 @@
@click="hcxlzVisible = true"
><i class="iconfont iconhuzhongxinlazong"></i>户重新落宗</el-button
>
<el-button
class="radioBtn"
label="7"
border
@click="batchCommit"
><i class="iconfont iconhuzhongxinlazong"></i>批量提交</el-button
>
</div>
</el-col>
</el-row>
......@@ -272,7 +279,7 @@ import addZdy from "./zdy/index";
import addCh from "./ch/index";
import hbj from "./hbj/index";
import lpbContent from "./lpbContent/index";
import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz } from "../../../../api/lpb";
import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "../../../../api/lpb";
export default {
name: "",
......@@ -395,6 +402,17 @@ export default {
}, 100);
},
methods: {
batchCommit(){
if (this.bsms.length <= 0) {
Message.warning("请选择操作户")
return
}
batchCommit(this.bsms).then(res=>{
if (res.success) {
Message.success("提交成功")
}
})
},
hcxlz(){
if (this.bsms.length <= 0) {
Message.warning("请选择操作户")
......