自然幢字典信息数据整理
Showing
2 changed files
with
28 additions
and
3 deletions
... | @@ -65,4 +65,22 @@ export function batchScYcChange (data) { | ... | @@ -65,4 +65,22 @@ export function batchScYcChange (data) { |
65 | method: 'post', | 65 | method: 'post', |
66 | data:data | 66 | data:data |
67 | }) | 67 | }) |
68 | } | ||
69 | |||
70 | |||
71 | |||
72 | /** | ||
73 | * 楼盘表 批量实预测转换 | ||
74 | * zrzbsm 自然幢标识码 , | ||
75 | * scyclx 实测预测类型 0预测,1实测 | ||
76 | */ | ||
77 | export function batchGeneratorBdcdyh (dpdm,zrzbsm) { | ||
78 | return request({ | ||
79 | url: 'system/generator/batchGeneratorBdcdyh', | ||
80 | method: 'get', | ||
81 | params: { | ||
82 | zrzbsm:zrzbsm, | ||
83 | dpdm:dpdm, | ||
84 | }, | ||
85 | }) | ||
68 | } | 86 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -167,7 +167,7 @@ import addZdy from "./zdy/index"; | ... | @@ -167,7 +167,7 @@ import addZdy from "./zdy/index"; |
167 | import addCh from "./ch/index"; | 167 | import addCh from "./ch/index"; |
168 | import hbj from "./hbj/index" | 168 | import hbj from "./hbj/index" |
169 | import lpbContent from "./lpbContent/index"; | 169 | import lpbContent from "./lpbContent/index"; |
170 | import {getLpbMenuTree,batchScYcChange} from "../../../../api/lpb"; | 170 | import {getLpbMenuTree,batchScYcChange,batchGeneratorBdcdyh} from "../../../../api/lpb"; |
171 | 171 | ||
172 | 172 | ||
173 | export default { | 173 | export default { |
... | @@ -420,8 +420,15 @@ export default { | ... | @@ -420,8 +420,15 @@ export default { |
420 | }, | 420 | }, |
421 | //批量添加不动产单元号 | 421 | //批量添加不动产单元号 |
422 | addBdcdyh(){ | 422 | addBdcdyh(){ |
423 | // this.pd[0].bsm //自然幢标识码 | 423 | console.log(this.$store.state.zrzh,'this.$store.state.zrzh'); |
424 | console.log(this.$store.state.zrzh,'this.$store.state.zrzh'); | 424 | console.log(this.pd[0].bsm,'this.pd[0].bsm'); |
425 | batchGeneratorBdcdyh(this.$store.state.zrzh,this.pd[0].bsm).then((res)=>{ | ||
426 | if(res.code===200){ | ||
427 | this.$message.success("生成完成!") | ||
428 | }else { | ||
429 | this.$message.warning("生成失败!") | ||
430 | } | ||
431 | }) | ||
425 | } | 432 | } |
426 | }, | 433 | }, |
427 | computed: { | 434 | computed: { | ... | ... |
-
Please register or sign in to post a comment