0f1d30de by zhaoqian

Merge remote-tracking branch 'origin/master'

2 parents 0c464ed2 8bfb8760
......@@ -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>
......@@ -273,7 +280,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: "",
......@@ -396,6 +403,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("请选择操作户")
......