业务流程中楼盘表
Showing
2 changed files
with
28 additions
and
5 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-11 09:51:07 | 4 | * @LastEditTime: 2023-07-12 13:26:37 |
5 | */ | 5 | */ |
6 | import request from "@/utils/request"; | 6 | import request from "@/utils/request"; |
7 | let SERVER = window.config | 7 | let SERVER = window.config |
... | @@ -71,3 +71,16 @@ export function getLpbTj(zrzbsm) { | ... | @@ -71,3 +71,16 @@ export function getLpbTj(zrzbsm) { |
71 | method: "get", | 71 | method: "get", |
72 | }); | 72 | }); |
73 | } | 73 | } |
74 | |||
75 | /** | ||
76 | * @description:楼盘查询- 根据bsmSlsq查询自然幢标识码 | ||
77 | * @param {*} data | ||
78 | * @author: renchao | ||
79 | */ | ||
80 | export function getZrzbsm(bsm) { | ||
81 | return request({ | ||
82 | url: SERVER.SERVERAPI + "/rest/zhcx/search/getZrzbsmList?bsmSlsq=" + bsm, | ||
83 | method: "post", | ||
84 | data: bsm, | ||
85 | }); | ||
86 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-26 17:03:07 | 4 | * @LastEditTime: 2023-07-12 13:58:19 |
5 | */ | 5 | */ |
6 | import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; | 6 | import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; |
7 | import { getPrintTemplateByCode } from "@/api/system"; | 7 | import { getPrintTemplateByCode } from "@/api/system"; |
... | @@ -17,6 +17,7 @@ import { | ... | @@ -17,6 +17,7 @@ import { |
17 | } from "@/api/fqsq.js"; | 17 | } from "@/api/fqsq.js"; |
18 | import { mapGetters } from 'vuex' | 18 | import { mapGetters } from 'vuex' |
19 | import { log } from "bpmn-js-token-simulation"; | 19 | import { log } from "bpmn-js-token-simulation"; |
20 | import { getZrzbsm } from "@/api/lpb"; | ||
20 | export default { | 21 | export default { |
21 | data () { | 22 | data () { |
22 | return { | 23 | return { |
... | @@ -139,9 +140,18 @@ export default { | ... | @@ -139,9 +140,18 @@ export default { |
139 | ) | 140 | ) |
140 | break; | 141 | break; |
141 | case "B8": | 142 | case "B8": |
142 | this.$popupDialog('楼盘表', 'lpb/index', { | 143 | getZrzbsm(this.bsmSlsq).then((res) => { |
143 | bsm: '' | 144 | if (res.code === 200) { |
144 | }, '90%', true) | 145 | this.$popupDialog('楼盘表', 'lpb/index', { |
146 | bsm: res.result[0] | ||
147 | }, '90%', true) | ||
148 | }else{ | ||
149 | this.$message.error(res.message) | ||
150 | } | ||
151 | }) | ||
152 | .catch((err) => { | ||
153 | this.$message.error(err) | ||
154 | }); | ||
145 | break; | 155 | break; |
146 | case "back": //退回按钮 | 156 | case "back": //退回按钮 |
147 | this.$popupDialog("退回", "workflow/components/th", { | 157 | this.$popupDialog("退回", "workflow/components/th", { | ... | ... |
-
Please register or sign in to post a comment