9af76b32 by zhaoqian

自然幢字典信息数据整理

1 parent 6abea490
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
169 import addCh from "./ch/index"; 169 import addCh from "./ch/index";
170 import hbj from "./hbj/index" 170 import hbj from "./hbj/index"
171 import lpbContent from "./lpbContent/index"; 171 import lpbContent from "./lpbContent/index";
172 import {getLpbMenuTree, batchScYcChange} from "../../../../api/lpb"; 172 import {getLpbMenuTree, batchScYcChange,batchGeneratorBdcdyh} from "../../../../api/lpb";
173 173
174 174
175 export default { 175 export default {
...@@ -429,6 +429,14 @@ ...@@ -429,6 +429,14 @@
429 addBdcdyh(){ 429 addBdcdyh(){
430 // this.pd[0].bsm //自然幢标识码 430 // this.pd[0].bsm //自然幢标识码
431 console.log(this.$store.state.zrzh,'this.$store.state.zrzh'); 431 console.log(this.$store.state.zrzh,'this.$store.state.zrzh');
432 console.log(this.pd[0].bsm,'this.pd[0].bsm');
433 batchGeneratorBdcdyh(this.$store.state.zrzh,this.pd[0].bsm).then((res)=>{
434 if(res.code===200){
435 this.$message.success("生成完成!")
436 }else {
437 this.$message.warning("生成失败!")
438 }
439 })
432 } 440 }
433 }, 441 },
434 computed: { 442 computed: {
......