修改一并申请规则
Showing
2 changed files
with
41 additions
and
8 deletions
... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
59 | import { datas, sendThis } from "../javascript/selectFwsyq.js"; | 59 | import { datas, sendThis } from "../javascript/selectFwsyq.js"; |
60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 60 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
61 | import { selectFwsyq } from "@/api/ywsq.js"; | 61 | import { selectFwsyq } from "@/api/ywsq.js"; |
62 | import { startBusinessFlow } from "@/api/workFlow.js"; | 62 | import { startBusinessFlow,startTogetherFlow } from "@/api/workFlow.js"; |
63 | export default { | 63 | export default { |
64 | mixins: [table, jump], | 64 | mixins: [table, jump], |
65 | props: { | 65 | props: { |
... | @@ -107,7 +107,8 @@ | ... | @@ -107,7 +107,8 @@ |
107 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
108 | return; | 108 | return; |
109 | } | 109 | } |
110 | this.loading = true | 110 | this.loading = true; |
111 | if(this.sqywInfo.sqfl=='1'){ | ||
111 | startBusinessFlow({ | 112 | startBusinessFlow({ |
112 | bsmSqyw: this.sqywInfo.bsmSqyw, | 113 | bsmSqyw: this.sqywInfo.bsmSqyw, |
113 | bdcdysz: this.bdcdysz, | 114 | bdcdysz: this.bdcdysz, |
... | @@ -135,6 +136,36 @@ | ... | @@ -135,6 +136,36 @@ |
135 | }).catch(() => { | 136 | }).catch(() => { |
136 | this.loading = false | 137 | this.loading = false |
137 | }) | 138 | }) |
139 | }else{ | ||
140 | startTogetherFlow({ | ||
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
142 | bdcdysz: this.bdcdysz, | ||
143 | }).then((res) => { | ||
144 | this.loading = false | ||
145 | if (res.code == 200) { | ||
146 | this.$message({ | ||
147 | showClose: true, | ||
148 | message: '发起申请成功', | ||
149 | type: 'success' | ||
150 | }) | ||
151 | if (!this.isJump) { | ||
152 | this.jump(res.result, this.sqywInfo.djywbm) | ||
153 | } else { | ||
154 | store.dispatch('user/refreshPage', true); | ||
155 | this.$popupCacel() | ||
156 | } | ||
157 | } else { | ||
158 | if (res.result && res.result.length > 0) { | ||
159 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
160 | } else { | ||
161 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
162 | } | ||
163 | } | ||
164 | }).catch(() => { | ||
165 | this.loading = false | ||
166 | }) | ||
167 | } | ||
168 | |||
138 | }, | 169 | }, |
139 | /** | 170 | /** |
140 | * @description: handleSelectionChange | 171 | * @description: handleSelectionChange | ... | ... |
1 | export function queueDjywmc (djywbm, djqxbm) { | 1 | export function queueDjywmc(djywbm, djqxbm) { |
2 | console.log(djywbm, 'djywbm'); | 2 | console.log(djywbm, 'djywbm'); |
3 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { | 3 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { |
4 | return "selectJsydsyqSplitMerge"; | 4 | return "selectJsydsyqSplitMerge"; |
... | @@ -92,12 +92,14 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -92,12 +92,14 @@ export function queueDjywmc (djywbm, djqxbm) { |
92 | case "C40100": //一并申请首次 | 92 | case "C40100": //一并申请首次 |
93 | vm = "selectYbsc"; | 93 | vm = "selectYbsc"; |
94 | break; | 94 | break; |
95 | // case "C40300": //一并申请变更 | 95 | case "C40300": //一并申请变更 |
96 | // case "C40400": //一并申请注销 | 96 | case "C40400": //一并申请注销 |
97 | // vm = "selectYbbg"; | 97 | vm = "selectYbbg"; |
98 | // break; | 98 | break; |
99 | //case "C04372": //一并国有房屋变更 | ||
100 | case "C04371": //一并国有房屋转移 | 99 | case "C04371": //一并国有房屋转移 |
100 | vm = "selectFwsyq"; | ||
101 | break; | ||
102 | case "C04372": //一并国有房屋变更 | ||
101 | vm = "selectYbgybg"; | 103 | vm = "selectYbgybg"; |
102 | break; | 104 | break; |
103 | case "A11100"://林地使用权首次 | 105 | case "A11100"://林地使用权首次 | ... | ... |
-
Please register or sign in to post a comment