75380635 by zhaoqian

自然幢字典信息数据整理

1 parent 5824faf1
......@@ -65,4 +65,22 @@ export function batchScYcChange (data) {
method: 'post',
data:data
})
}
/**
* 楼盘表 批量实预测转换
* zrzbsm 自然幢标识码 ,
* scyclx 实测预测类型 0预测,1实测
*/
export function batchGeneratorBdcdyh (dpdm,zrzbsm) {
return request({
url: 'system/generator/batchGeneratorBdcdyh',
method: 'get',
params: {
zrzbsm:zrzbsm,
dpdm:dpdm,
},
})
}
\ No newline at end of file
......
......@@ -167,7 +167,7 @@ import addZdy from "./zdy/index";
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 {
......@@ -420,8 +420,15 @@ export default {
},
//批量添加不动产单元号
addBdcdyh(){
// this.pd[0].bsm //自然幢标识码
console.log(this.$store.state.zrzh,'this.$store.state.zrzh');
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: {
......