9af76b32 by zhaoqian

自然幢字典信息数据整理

1 parent 6abea490
......@@ -169,7 +169,7 @@
import addCh from "./ch/index";
import hbj from "./hbj/index"
import lpbContent from "./lpbContent/index";
import {getLpbMenuTree, batchScYcChange} from "../../../../api/lpb";
import {getLpbMenuTree, batchScYcChange,batchGeneratorBdcdyh} from "../../../../api/lpb";
export default {
......@@ -429,6 +429,14 @@
addBdcdyh(){
// this.pd[0].bsm //自然幢标识码
console.log(this.$store.state.zrzh,'this.$store.state.zrzh');
console.log(this.pd[0].bsm,'this.pd[0].bsm');
batchGeneratorBdcdyh(this.$store.state.zrzh,this.pd[0].bsm).then((res)=>{
if(res.code===200){
this.$message.success("生成完成!")
}else {
this.$message.warning("生成失败!")
}
})
}
},
computed: {
......