0f1d30de by zhaoqian

Merge remote-tracking branch 'origin/master'

2 parents 0c464ed2 8bfb8760
...@@ -168,3 +168,14 @@ export function deleteZdy(id) { ...@@ -168,3 +168,14 @@ export function deleteZdy(id) {
168 } 168 }
169 }) 169 })
170 } 170 }
171
172 /**
173 * 批量提交
174 */
175 export function batchCommit(data) {
176 return request({
177 url:'/fw/lpbbatch/batchCommit',
178 method:'post',
179 data:data
180 })
181 }
......
...@@ -69,6 +69,13 @@ ...@@ -69,6 +69,13 @@
69 @click="hcxlzVisible = true" 69 @click="hcxlzVisible = true"
70 ><i class="iconfont iconhuzhongxinlazong"></i>户重新落宗</el-button 70 ><i class="iconfont iconhuzhongxinlazong"></i>户重新落宗</el-button
71 > 71 >
72 <el-button
73 class="radioBtn"
74 label="7"
75 border
76 @click="batchCommit"
77 ><i class="iconfont iconhuzhongxinlazong"></i>批量提交</el-button
78 >
72 </div> 79 </div>
73 </el-col> 80 </el-col>
74 </el-row> 81 </el-row>
...@@ -273,7 +280,7 @@ import addZdy from "./zdy/index"; ...@@ -273,7 +280,7 @@ import addZdy from "./zdy/index";
273 import addCh from "./ch/index"; 280 import addCh from "./ch/index";
274 import hbj from "./hbj/index"; 281 import hbj from "./hbj/index";
275 import lpbContent from "./lpbContent/index"; 282 import lpbContent from "./lpbContent/index";
276 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz } from "../../../../api/lpb"; 283 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "../../../../api/lpb";
277 284
278 export default { 285 export default {
279 name: "", 286 name: "",
...@@ -396,6 +403,17 @@ export default { ...@@ -396,6 +403,17 @@ export default {
396 }, 100); 403 }, 100);
397 }, 404 },
398 methods: { 405 methods: {
406 batchCommit(){
407 if (this.bsms.length <= 0) {
408 Message.warning("请选择操作户")
409 return
410 }
411 batchCommit(this.bsms).then(res=>{
412 if (res.success) {
413 Message.success("提交成功")
414 }
415 })
416 },
399 hcxlz(){ 417 hcxlz(){
400 if (this.bsms.length <= 0) { 418 if (this.bsms.length <= 0) {
401 Message.warning("请选择操作户") 419 Message.warning("请选择操作户")
......