Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
27 additions
and
1 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 | ... | ... |
... | @@ -170,7 +170,7 @@ | ... | @@ -170,7 +170,7 @@ |
170 | import addCh from "./ch/index"; | 170 | import addCh from "./ch/index"; |
171 | import hbj from "./hbj/index" | 171 | import hbj from "./hbj/index" |
172 | import lpbContent from "./lpbContent/index"; | 172 | import lpbContent from "./lpbContent/index"; |
173 | import {getLpbMenuTree, batchScYcChange} from "../../../../api/lpb"; | 173 | import {getLpbMenuTree, batchScYcChange,batchGeneratorBdcdyh} from "../../../../api/lpb"; |
174 | 174 | ||
175 | 175 | ||
176 | export default { | 176 | export default { |
... | @@ -430,6 +430,14 @@ | ... | @@ -430,6 +430,14 @@ |
430 | addBdcdyh(){ | 430 | addBdcdyh(){ |
431 | // this.pd[0].bsm //自然幢标识码 | 431 | // this.pd[0].bsm //自然幢标识码 |
432 | console.log(this.$store.state.zrzh,'this.$store.state.zrzh'); | 432 | console.log(this.$store.state.zrzh,'this.$store.state.zrzh'); |
433 | console.log(this.pd[0].bsm,'this.pd[0].bsm'); | ||
434 | batchGeneratorBdcdyh(this.$store.state.zrzh,this.pd[0].bsm).then((res)=>{ | ||
435 | if(res.code===200){ | ||
436 | this.$message.success("生成完成!") | ||
437 | }else { | ||
438 | this.$message.warning("生成失败!") | ||
439 | } | ||
440 | }) | ||
433 | } | 441 | } |
434 | }, | 442 | }, |
435 | computed: { | 443 | computed: { | ... | ... |
-
Please register or sign in to post a comment