style;添加不动产单元
Showing
25 changed files
with
854 additions
and
257 deletions
... | @@ -89,7 +89,7 @@ | ... | @@ -89,7 +89,7 @@ |
89 | import { datas, sendThis } from "../javascript/cfdj.js"; | 89 | import { datas, sendThis } from "../javascript/cfdj.js"; |
90 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 90 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
91 | import { selectCfdj } from "@/api/ywsq.js"; | 91 | import { selectCfdj } from "@/api/ywsq.js"; |
92 | import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; | 92 | import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js"; |
93 | export default { | 93 | export default { |
94 | props: { | 94 | props: { |
95 | isJump: { type: Boolean, default: false }, | 95 | isJump: { type: Boolean, default: false }, |
... | @@ -155,29 +155,54 @@ | ... | @@ -155,29 +155,54 @@ |
155 | * @author: renchao | 155 | * @author: renchao |
156 | */ | 156 | */ |
157 | submitForm () { | 157 | submitForm () { |
158 | let that = this | ||
158 | if (this.bdcdysz.length == 0) { | 159 | if (this.bdcdysz.length == 0) { |
159 | this.$message.error("请至少选择一条数据"); | 160 | this.$message.error("请至少选择一条数据"); |
160 | return; | 161 | return; |
161 | } | 162 | } |
162 | if (!this.isJump) { | ||
163 | this.loading = true | 163 | this.loading = true |
164 | if (this.sqywInfo.isworkFrame) { | ||
165 | store.dispatch('user/reMenuRefresh', false) | ||
166 | againAddSldy({ | ||
167 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
168 | bdcdysz: that.bdcdysz, | ||
169 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
170 | }).then(res => { | ||
171 | that.loading = false | ||
172 | if (res.code == 200) { | ||
173 | if (this.sqywInfo.sqywdylx != "1") { | ||
174 | that.bdcdysz = [] | ||
175 | that.$refs.table.clearSelection() | ||
176 | } | ||
177 | store.dispatch('user/reMenuRefresh', true) | ||
178 | that.$message({ | ||
179 | showClose: true, | ||
180 | message: '添加成功', | ||
181 | type: 'success' | ||
182 | }) | ||
183 | } | ||
184 | }).catch(() => { | ||
185 | that.loading = false | ||
186 | }) | ||
187 | } else { | ||
188 | if (!that.isJump) { | ||
164 | startBusinessFlow({ | 189 | startBusinessFlow({ |
165 | bsmSqyw: this.sqywInfo.bsmSqyw, | 190 | bsmSqyw: that.sqywInfo.bsmSqyw, |
166 | bdcdysz: this.bdcdysz, | 191 | bdcdysz: that.bdcdysz, |
167 | }).then((res) => { | 192 | }).then((res) => { |
168 | this.loading = false | 193 | that.loading = false |
169 | if (res.code == 200) { | 194 | if (res.code == 200) { |
170 | this.$message({ | 195 | that.$message({ |
171 | showClose: true, | 196 | showClose: true, |
172 | message: "发起申请成功", | 197 | message: "发起申请成功", |
173 | type: "success", | 198 | type: "success", |
174 | }); | 199 | }); |
175 | if (!this.isJump) { | 200 | if (!that.isJump) { |
176 | this.jump(res.result, this.sqywInfo.djywbm); | 201 | that.jump(res.result, that.sqywInfo.djywbm); |
177 | } else { | 202 | } else { |
178 | store.dispatch('user/refreshPage', true); | 203 | store.dispatch('user/refreshPage', true); |
179 | } | 204 | } |
180 | this.$popupCacel() | 205 | that.$popupCacel() |
181 | 206 | ||
182 | } else { | 207 | } else { |
183 | if (res.result && res.result.length > 0) { | 208 | if (res.result && res.result.length > 0) { |
... | @@ -187,30 +212,30 @@ | ... | @@ -187,30 +212,30 @@ |
187 | } | 212 | } |
188 | } | 213 | } |
189 | }).catch(() => { | 214 | }).catch(() => { |
190 | this.loading = false | 215 | that.loading = false |
191 | }) | 216 | }) |
192 | } else { | 217 | } else { |
193 | this.loading = true | ||
194 | choiceBdcdy({ | 218 | choiceBdcdy({ |
195 | bsmSlsq: this.$route.query.bsmSlsq, | 219 | bsmSlsq: that.$route.query.bsmSlsq, |
196 | bdcdysz: this.bdcdysz, | 220 | bdcdysz: that.bdcdysz, |
197 | }).then((res) => { | 221 | }).then((res) => { |
198 | this.loading = false | 222 | that.loading = false |
199 | if (res.code == 200) { | 223 | if (res.code == 200) { |
200 | this.$message({ | 224 | that.$message({ |
201 | showClose: true, | 225 | showClose: true, |
202 | message: "发起申请成功", | 226 | message: "发起申请成功", |
203 | type: "success", | 227 | type: "success", |
204 | }); | 228 | }); |
205 | store.dispatch("user/refreshPage", true); | 229 | store.dispatch("user/refreshPage", true); |
206 | } else { | 230 | } else { |
207 | this.$message.error(res.message); | 231 | that.$message.error(res.message); |
208 | } | 232 | } |
209 | this.$popupCacel(); | 233 | that.$popupCacel(); |
210 | }).catch(() => { | 234 | }).catch(() => { |
211 | this.loading = false | 235 | that.loading = false |
212 | }) | 236 | }) |
213 | } | 237 | } |
238 | } | ||
214 | }, | 239 | }, |
215 | /** | 240 | /** |
216 | * @description: handleSelectionChange | 241 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:59:59 | 4 | * @LastEditTime: 2024-02-01 14:53:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -145,7 +145,7 @@ | ... | @@ -145,7 +145,7 @@ |
145 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 145 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
146 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 146 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
147 | import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; | 147 | import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; |
148 | import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; | 148 | import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js"; |
149 | export default { | 149 | export default { |
150 | mixins: [ywsqTable, jump], | 150 | mixins: [ywsqTable, jump], |
151 | props: { | 151 | props: { |
... | @@ -294,31 +294,56 @@ | ... | @@ -294,31 +294,56 @@ |
294 | * @author: renchao | 294 | * @author: renchao |
295 | */ | 295 | */ |
296 | submitForm () { | 296 | submitForm () { |
297 | let that = this | ||
297 | if (this.bdcdysz.length == 0) { | 298 | if (this.bdcdysz.length == 0) { |
298 | this.$message.error("请至少选择一条数据"); | 299 | this.$message.error("请至少选择一条数据"); |
299 | return; | 300 | return; |
300 | } | 301 | } |
301 | if (!this.isJump) { | ||
302 | this.loading = true | 302 | this.loading = true |
303 | if (this.sqywInfo.isworkFrame) { | ||
304 | store.dispatch('user/reMenuRefresh', false) | ||
305 | againAddSldy({ | ||
306 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
307 | bdcdysz: that.bdcdysz, | ||
308 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
309 | }).then(res => { | ||
310 | that.loading = false | ||
311 | if (res.code == 200) { | ||
312 | if (this.sqywInfo.sqywdylx != "1") { | ||
313 | that.bdcdysz = [] | ||
314 | that.$refs.table.clearSelection() | ||
315 | } | ||
316 | store.dispatch('user/reMenuRefresh', true) | ||
317 | that.$message({ | ||
318 | showClose: true, | ||
319 | message: '添加成功', | ||
320 | type: 'success' | ||
321 | }) | ||
322 | } | ||
323 | }).catch(() => { | ||
324 | that.loading = false | ||
325 | }) | ||
326 | } else { | ||
327 | if (!that.isJump) { | ||
303 | startBusinessFlow({ | 328 | startBusinessFlow({ |
304 | bsmSqyw: this.sqywInfo.bsmSqyw, | 329 | bsmSqyw: that.sqywInfo.bsmSqyw, |
305 | //sjlx: 'zrz', | 330 | //sjlx: 'zrz', |
306 | sjlx: this.activeName, | 331 | sjlx: that.activeName, |
307 | bdcdysz: this.bdcdysz, | 332 | bdcdysz: that.bdcdysz, |
308 | }).then((res) => { | 333 | }).then((res) => { |
309 | this.loading = false | 334 | that.loading = false |
310 | if (res.code == 200) { | 335 | if (res.code == 200) { |
311 | this.$message({ | 336 | that.$message({ |
312 | showClose: true, | 337 | showClose: true, |
313 | message: '发起申请成功', | 338 | message: '发起申请成功', |
314 | type: 'success' | 339 | type: 'success' |
315 | }) | 340 | }) |
316 | if (!this.isJump) { | 341 | if (!that.isJump) { |
317 | this.jump(res.result, this.sqywInfo.djywbm); | 342 | that.jump(res.result, that.sqywInfo.djywbm); |
318 | } else { | 343 | } else { |
319 | store.dispatch('user/refreshPage', true); | 344 | store.dispatch('user/refreshPage', true); |
320 | } | 345 | } |
321 | this.$popupCacel() | 346 | that.$popupCacel() |
322 | } else { | 347 | } else { |
323 | if (res.result && res.result.length > 0) { | 348 | if (res.result && res.result.length > 0) { |
324 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 349 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -327,23 +352,22 @@ | ... | @@ -327,23 +352,22 @@ |
327 | } | 352 | } |
328 | } | 353 | } |
329 | }).catch(() => { | 354 | }).catch(() => { |
330 | this.loading = false | 355 | that.loading = false |
331 | }) | 356 | }) |
332 | } else { | 357 | } else { |
333 | this.loading = true | ||
334 | choiceBdcdy({ | 358 | choiceBdcdy({ |
335 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 359 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, |
336 | bdcdysz: this.bdcdysz | 360 | bdcdysz: that.bdcdysz |
337 | }).then(res => { | 361 | }).then(res => { |
338 | this.loading = false | 362 | that.loading = false |
339 | if (res.code == 200) { | 363 | if (res.code == 200) { |
340 | this.$message({ | 364 | that.$message({ |
341 | showClose: true, | 365 | showClose: true, |
342 | message: '发起申请成功', | 366 | message: '发起申请成功', |
343 | type: 'success' | 367 | type: 'success' |
344 | }) | 368 | }) |
345 | store.dispatch('user/refreshPage', true); | 369 | store.dispatch('user/refreshPage', true); |
346 | this.$popupCacel() | 370 | that.$popupCacel() |
347 | } else { | 371 | } else { |
348 | if (res.result && res.result.length > 0) { | 372 | if (res.result && res.result.length > 0) { |
349 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 373 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -352,9 +376,10 @@ | ... | @@ -352,9 +376,10 @@ |
352 | } | 376 | } |
353 | } | 377 | } |
354 | }).catch(() => { | 378 | }).catch(() => { |
355 | this.loading = false | 379 | that.loading = false |
356 | }) | 380 | }) |
357 | } | 381 | } |
382 | } | ||
358 | }, | 383 | }, |
359 | /** | 384 | /** |
360 | * @description: handleSelectionChange | 385 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:59:36 | 4 | * @LastEditTime: 2024-02-01 14:56:54 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
133 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 133 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
134 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 134 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
135 | import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; | 135 | import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; |
136 | import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; | 136 | import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js"; |
137 | export default { | 137 | export default { |
138 | mixins: [ywsqTable, jump], | 138 | mixins: [ywsqTable, jump], |
139 | props: { | 139 | props: { |
... | @@ -264,31 +264,56 @@ | ... | @@ -264,31 +264,56 @@ |
264 | * @author: renchao | 264 | * @author: renchao |
265 | */ | 265 | */ |
266 | submitForm () { | 266 | submitForm () { |
267 | let that = this | ||
267 | if (this.bdcdysz.length == 0) { | 268 | if (this.bdcdysz.length == 0) { |
268 | this.$message.error("请至少选择一条数据"); | 269 | this.$message.error("请至少选择一条数据"); |
269 | return; | 270 | return; |
270 | } | 271 | } |
271 | if (!this.isJump) { | ||
272 | this.loading = true | 272 | this.loading = true |
273 | if (this.sqywInfo.isworkFrame) { | ||
274 | store.dispatch('user/reMenuRefresh', false) | ||
275 | againAddSldy({ | ||
276 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
277 | bdcdysz: that.bdcdysz, | ||
278 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
279 | }).then(res => { | ||
280 | that.loading = false | ||
281 | if (res.code == 200) { | ||
282 | if (this.sqywInfo.sqywdylx != "1") { | ||
283 | that.bdcdysz = [] | ||
284 | that.$refs.table.clearSelection() | ||
285 | } | ||
286 | store.dispatch('user/reMenuRefresh', true) | ||
287 | that.$message({ | ||
288 | showClose: true, | ||
289 | message: '添加成功', | ||
290 | type: 'success' | ||
291 | }) | ||
292 | } | ||
293 | }).catch(() => { | ||
294 | that.loading = false | ||
295 | }) | ||
296 | } else { | ||
297 | if (!that.isJump) { | ||
273 | startBusinessFlow({ | 298 | startBusinessFlow({ |
274 | bsmSqyw: this.sqywInfo.bsmSqyw, | 299 | bsmSqyw: that.sqywInfo.bsmSqyw, |
275 | //sjlx: 'zrz', | 300 | //sjlx: 'zrz', |
276 | sjlx: this.activeName, | 301 | sjlx: that.activeName, |
277 | bdcdysz: this.bdcdysz, | 302 | bdcdysz: that.bdcdysz, |
278 | }).then((res) => { | 303 | }).then((res) => { |
279 | this.loading = false | 304 | that.loading = false |
280 | if (res.code == 200) { | 305 | if (res.code == 200) { |
281 | this.$message({ | 306 | that.$message({ |
282 | showClose: true, | 307 | showClose: true, |
283 | message: '发起申请成功', | 308 | message: '发起申请成功', |
284 | type: 'success' | 309 | type: 'success' |
285 | }) | 310 | }) |
286 | if (!this.isJump) { | 311 | if (!that.isJump) { |
287 | this.jump(res.result, this.sqywInfo.djywbm); | 312 | that.jump(res.result, that.sqywInfo.djywbm); |
288 | } else { | 313 | } else { |
289 | store.dispatch('user/refreshPage', true); | 314 | store.dispatch('user/refreshPage', true); |
290 | } | 315 | } |
291 | this.$popupCacel() | 316 | that.$popupCacel() |
292 | } else { | 317 | } else { |
293 | if (res.result && res.result.length > 0) { | 318 | if (res.result && res.result.length > 0) { |
294 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -297,23 +322,22 @@ | ... | @@ -297,23 +322,22 @@ |
297 | } | 322 | } |
298 | } | 323 | } |
299 | }).catch(() => { | 324 | }).catch(() => { |
300 | this.loading = false | 325 | that.loading = false |
301 | }) | 326 | }) |
302 | } else { | 327 | } else { |
303 | this.loading = true | ||
304 | choiceBdcdy({ | 328 | choiceBdcdy({ |
305 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 329 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, |
306 | bdcdysz: this.bdcdysz | 330 | bdcdysz: that.bdcdysz |
307 | }).then(res => { | 331 | }).then(res => { |
308 | this.loading = false | 332 | that.loading = false |
309 | if (res.code == 200) { | 333 | if (res.code == 200) { |
310 | this.$message({ | 334 | that.$message({ |
311 | showClose: true, | 335 | showClose: true, |
312 | message: '发起申请成功', | 336 | message: '发起申请成功', |
313 | type: 'success' | 337 | type: 'success' |
314 | }) | 338 | }) |
315 | store.dispatch('user/refreshPage', true); | 339 | store.dispatch('user/refreshPage', true); |
316 | this.$popupCacel() | 340 | that.$popupCacel() |
317 | } else { | 341 | } else { |
318 | if (res.result && res.result.length > 0) { | 342 | if (res.result && res.result.length > 0) { |
319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 343 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -322,9 +346,10 @@ | ... | @@ -322,9 +346,10 @@ |
322 | } | 346 | } |
323 | } | 347 | } |
324 | }).catch(() => { | 348 | }).catch(() => { |
325 | this.loading = false | 349 | that.loading = false |
326 | }) | 350 | }) |
327 | } | 351 | } |
352 | } | ||
328 | }, | 353 | }, |
329 | /** | 354 | /** |
330 | * @description: handleSelectionChange | 355 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 16:30:18 | 4 | * @LastEditTime: 2024-02-01 14:58:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -65,7 +65,7 @@ | ... | @@ -65,7 +65,7 @@ |
65 | import { datas, sendThis } from "../javascript/nydsyq100.js"; | 65 | import { datas, sendThis } from "../javascript/nydsyq100.js"; |
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
67 | import { selectZdjbxx } from "@/api/ywsq.js"; | 67 | import { selectZdjbxx } from "@/api/ywsq.js"; |
68 | import { startBusinessFlow } from "@/api/workFlow.js"; | 68 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
69 | export default { | 69 | export default { |
70 | mixins: [ywsqTable, jump], | 70 | mixins: [ywsqTable, jump], |
71 | props: { | 71 | props: { |
... | @@ -132,28 +132,53 @@ | ... | @@ -132,28 +132,53 @@ |
132 | * @author: renchao | 132 | * @author: renchao |
133 | */ | 133 | */ |
134 | submitForm () { | 134 | submitForm () { |
135 | let that = this | ||
135 | if (this.bdcdysz.length == 0) { | 136 | if (this.bdcdysz.length == 0) { |
136 | this.$message.error("请至少选择一条数据"); | 137 | this.$message.error("请至少选择一条数据"); |
137 | return; | 138 | return; |
138 | } | 139 | } |
139 | this.loading = true | 140 | this.loading = true |
141 | if (this.sqywInfo.isworkFrame) { | ||
142 | store.dispatch('user/reMenuRefresh', false) | ||
143 | againAddSldy({ | ||
144 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
145 | bdcdysz: that.bdcdysz, | ||
146 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
147 | }).then(res => { | ||
148 | that.loading = false | ||
149 | if (res.code == 200) { | ||
150 | if (this.sqywInfo.sqywdylx != "1") { | ||
151 | that.bdcdysz = [] | ||
152 | that.$refs.table.clearSelection() | ||
153 | } | ||
154 | store.dispatch('user/reMenuRefresh', true) | ||
155 | that.$message({ | ||
156 | showClose: true, | ||
157 | message: '添加成功', | ||
158 | type: 'success' | ||
159 | }) | ||
160 | } | ||
161 | }).catch(() => { | ||
162 | that.loading = false | ||
163 | }) | ||
164 | } else { | ||
140 | startBusinessFlow({ | 165 | startBusinessFlow({ |
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | 166 | bsmSqyw: that.sqywInfo.bsmSqyw, |
142 | bdcdysz: this.bdcdysz, | 167 | bdcdysz: that.bdcdysz, |
143 | }).then((res) => { | 168 | }).then((res) => { |
144 | this.loading = false | 169 | that.loading = false |
145 | if (res.code == 200) { | 170 | if (res.code == 200) { |
146 | this.$message({ | 171 | that.$message({ |
147 | showClose: true, | 172 | showClose: true, |
148 | message: '发起申请成功', | 173 | message: '发起申请成功', |
149 | type: 'success' | 174 | type: 'success' |
150 | }) | 175 | }) |
151 | if (!this.isJump) { | 176 | if (!that.isJump) { |
152 | this.jump(res.result, this.djywbm) | 177 | that.jump(res.result, that.djywbm) |
153 | } else { | 178 | } else { |
154 | store.dispatch('user/refreshPage', true); | 179 | store.dispatch('user/refreshPage', true); |
155 | } | 180 | } |
156 | this.$popupCacel() | 181 | that.$popupCacel() |
157 | } else { | 182 | } else { |
158 | if (res.result && res.result.length > 0) { | 183 | if (res.result && res.result.length > 0) { |
159 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 184 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -162,8 +187,9 @@ | ... | @@ -162,8 +187,9 @@ |
162 | } | 187 | } |
163 | } | 188 | } |
164 | }).catch(() => { | 189 | }).catch(() => { |
165 | this.loading = false | 190 | that.loading = false |
166 | }) | 191 | }) |
192 | } | ||
167 | }, | 193 | }, |
168 | /** | 194 | /** |
169 | * @description: handleSelectionChange | 195 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 13:45:28 | 4 | * @LastEditTime: 2024-02-01 15:01:22 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | 53 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; |
54 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 54 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
55 | import { selectNydsyqQlxx } from "@/api/ywsq.js"; | 55 | import { selectNydsyqQlxx } from "@/api/ywsq.js"; |
56 | import { startBusinessFlow } from "@/api/workFlow.js"; | 56 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
57 | export default { | 57 | export default { |
58 | mixins: [ywsqTable, jump], | 58 | mixins: [ywsqTable, jump], |
59 | props: { | 59 | props: { |
... | @@ -121,28 +121,53 @@ | ... | @@ -121,28 +121,53 @@ |
121 | * @author: renchao | 121 | * @author: renchao |
122 | */ | 122 | */ |
123 | submitForm () { | 123 | submitForm () { |
124 | let that = this | ||
124 | if (this.bdcdysz.length == 0) { | 125 | if (this.bdcdysz.length == 0) { |
125 | this.$message.error("请至少选择一条数据"); | 126 | this.$message.error("请至少选择一条数据"); |
126 | return; | 127 | return; |
127 | } | 128 | } |
128 | this.loading = true | 129 | this.loading = true |
130 | if (this.sqywInfo.isworkFrame) { | ||
131 | store.dispatch('user/reMenuRefresh', false) | ||
132 | againAddSldy({ | ||
133 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
134 | bdcdysz: that.bdcdysz, | ||
135 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
136 | }).then(res => { | ||
137 | that.loading = false | ||
138 | if (res.code == 200) { | ||
139 | if (this.sqywInfo.sqywdylx != "1") { | ||
140 | that.bdcdysz = [] | ||
141 | that.$refs.table.clearSelection() | ||
142 | } | ||
143 | store.dispatch('user/reMenuRefresh', true) | ||
144 | that.$message({ | ||
145 | showClose: true, | ||
146 | message: '添加成功', | ||
147 | type: 'success' | ||
148 | }) | ||
149 | } | ||
150 | }).catch(() => { | ||
151 | that.loading = false | ||
152 | }) | ||
153 | } else { | ||
129 | startBusinessFlow({ | 154 | startBusinessFlow({ |
130 | bsmSqyw: this.sqywInfo.bsmSqyw, | 155 | bsmSqyw: that.sqywInfo.bsmSqyw, |
131 | bdcdysz: this.bdcdysz, | 156 | bdcdysz: that.bdcdysz, |
132 | }).then((res) => { | 157 | }).then((res) => { |
133 | this.loading = false | 158 | that.loading = false |
134 | if (res.code == 200) { | 159 | if (res.code == 200) { |
135 | this.$message({ | 160 | that.$message({ |
136 | showClose: true, | 161 | showClose: true, |
137 | message: '发起申请成功', | 162 | message: '发起申请成功', |
138 | type: 'success' | 163 | type: 'success' |
139 | }) | 164 | }) |
140 | if (!this.isJump) { | 165 | if (!that.isJump) { |
141 | this.jump(res.result) | 166 | that.jump(res.result) |
142 | } else { | 167 | } else { |
143 | store.dispatch('user/refreshPage', true); | 168 | store.dispatch('user/refreshPage', true); |
144 | } | 169 | } |
145 | this.$popupCacel() | 170 | that.$popupCacel() |
146 | } else { | 171 | } else { |
147 | if (res.result && res.result.length > 0) { | 172 | if (res.result && res.result.length > 0) { |
148 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 173 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -153,6 +178,7 @@ | ... | @@ -153,6 +178,7 @@ |
153 | }).catch(() => { | 178 | }).catch(() => { |
154 | this.loading = false | 179 | this.loading = false |
155 | }) | 180 | }) |
181 | } | ||
156 | }, | 182 | }, |
157 | /** | 183 | /** |
158 | * @description: handleSelectionChange | 184 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-01 13:34:13 | 4 | * @LastEditTime: 2024-02-01 15:53:22 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
60 | import store from '@/store/index.js' | 60 | import store from '@/store/index.js' |
61 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 61 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
62 | import { ywPopupDialog } from "@/utils/popup.js"; | 62 | import { ywPopupDialog } from "@/utils/popup.js"; |
63 | import { startRepairFlow } from "@/api/workFlow.js"; | 63 | import { startRepairFlow, againAddSldy } from "@/api/workFlow.js"; |
64 | import { datas, sendThis } from "../javascript/selectDjbbl.js"; | 64 | import { datas, sendThis } from "../javascript/selectDjbbl.js"; |
65 | import { selectRepairQlxx } from "@/api/ywsq.js"; | 65 | import { selectRepairQlxx } from "@/api/ywsq.js"; |
66 | import jump from "../components/mixin/djbbljump"; | 66 | import jump from "../components/mixin/djbbljump"; |
... | @@ -137,6 +137,7 @@ | ... | @@ -137,6 +137,7 @@ |
137 | item.bsmQlxx + | 137 | item.bsmQlxx + |
138 | "&viewtype=1" | 138 | "&viewtype=1" |
139 | ); | 139 | ); |
140 | localStorage.setItem('ywbl', JSON.stringify(item)); | ||
140 | window.open(href, `urlname${item.bdcdyid}`); | 141 | window.open(href, `urlname${item.bdcdyid}`); |
141 | 142 | ||
142 | }, | 143 | }, |
... | @@ -145,11 +146,36 @@ | ... | @@ -145,11 +146,36 @@ |
145 | * @author: renchao | 146 | * @author: renchao |
146 | */ | 147 | */ |
147 | submitForm () { | 148 | submitForm () { |
149 | let that = this | ||
148 | if (this.bdcdysz.length == 0) { | 150 | if (this.bdcdysz.length == 0) { |
149 | this.$message.error("请至少选择一条数据"); | 151 | this.$message.error("请至少选择一条数据"); |
150 | return; | 152 | return; |
151 | } | 153 | } |
152 | this.loading = true | 154 | this.loading = true |
155 | if (this.sqywInfo.isworkFrame) { | ||
156 | store.dispatch('user/reMenuRefresh', false) | ||
157 | againAddSldy({ | ||
158 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
159 | bdcdysz: that.bdcdysz, | ||
160 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
161 | }).then(res => { | ||
162 | that.loading = false | ||
163 | if (res.code == 200) { | ||
164 | if (this.sqywInfo.sqywdylx != "1") { | ||
165 | that.bdcdysz = [] | ||
166 | that.$refs.table.clearSelection() | ||
167 | } | ||
168 | store.dispatch('user/reMenuRefresh', true) | ||
169 | that.$message({ | ||
170 | showClose: true, | ||
171 | message: '添加成功', | ||
172 | type: 'success' | ||
173 | }) | ||
174 | } | ||
175 | }).catch(() => { | ||
176 | that.loading = false | ||
177 | }) | ||
178 | } else { | ||
153 | let from = { | 179 | let from = { |
154 | bsmSqyw: this.bsmSqyw, | 180 | bsmSqyw: this.bsmSqyw, |
155 | bdcdysz: this.bdcdysz, | 181 | bdcdysz: this.bdcdysz, |
... | @@ -157,19 +183,19 @@ | ... | @@ -157,19 +183,19 @@ |
157 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | 183 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", |
158 | } | 184 | } |
159 | startRepairFlow(from).then((res) => { | 185 | startRepairFlow(from).then((res) => { |
160 | this.loading = false | 186 | that.loading = false |
161 | if (res.code == 200) { | 187 | if (res.code == 200) { |
162 | this.$message({ | 188 | that.$message({ |
163 | showClose: true, | 189 | showClose: true, |
164 | message: '发起申请成功', | 190 | message: '发起申请成功', |
165 | type: 'success' | 191 | type: 'success' |
166 | }) | 192 | }) |
167 | if (!this.isJump) { | 193 | if (!that.isJump) { |
168 | this.jump(res.result) | 194 | that.jump(res.result) |
169 | } else { | 195 | } else { |
170 | store.dispatch('user/refreshPage', true); | 196 | store.dispatch('user/refreshPage', true); |
171 | } | 197 | } |
172 | this.$popupCacel() | 198 | that.$popupCacel() |
173 | } else { | 199 | } else { |
174 | if (res.result && res.result.length > 0) { | 200 | if (res.result && res.result.length > 0) { |
175 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 201 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -178,8 +204,10 @@ | ... | @@ -178,8 +204,10 @@ |
178 | } | 204 | } |
179 | } | 205 | } |
180 | }).catch(() => { | 206 | }).catch(() => { |
181 | this.loading = false | 207 | that.loading = false |
182 | }) | 208 | }) |
209 | } | ||
210 | |||
183 | }, | 211 | }, |
184 | /** | 212 | /** |
185 | * @description: handleSelectionChange | 213 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 15:37:02 | 4 | * @LastEditTime: 2024-02-01 15:57:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | import { datas, sendThis } from "../javascript/selectFwsyq.js"; | 71 | import { datas, sendThis } from "../javascript/selectFwsyq.js"; |
72 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 72 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
73 | import { selectFwsyq } from "@/api/ywsq.js"; | 73 | import { selectFwsyq } from "@/api/ywsq.js"; |
74 | import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js"; | 74 | import { startBusinessFlow, startTogetherFlow, againAddSldy } from "@/api/workFlow.js"; |
75 | export default { | 75 | export default { |
76 | mixins: [ywsqTable, jump], | 76 | mixins: [ywsqTable, jump], |
77 | props: { | 77 | props: { |
... | @@ -138,29 +138,54 @@ | ... | @@ -138,29 +138,54 @@ |
138 | * @author: renchao | 138 | * @author: renchao |
139 | */ | 139 | */ |
140 | submitForm () { | 140 | submitForm () { |
141 | let that = this | ||
141 | if (this.bdcdysz.length == 0) { | 142 | if (this.bdcdysz.length == 0) { |
142 | this.$message.error("请至少选择一条数据"); | 143 | this.$message.error("请至少选择一条数据"); |
143 | return; | 144 | return; |
144 | } | 145 | } |
145 | this.loading = true; | 146 | this.loading = true; |
147 | if (this.sqywInfo.isworkFrame) { | ||
148 | store.dispatch('user/reMenuRefresh', false) | ||
149 | againAddSldy({ | ||
150 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
151 | bdcdysz: that.bdcdysz, | ||
152 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
153 | }).then(res => { | ||
154 | that.loading = false | ||
155 | if (res.code == 200) { | ||
156 | if (this.sqywInfo.sqywdylx != "1") { | ||
157 | that.bdcdysz = [] | ||
158 | that.$refs.table.clearSelection() | ||
159 | } | ||
160 | store.dispatch('user/reMenuRefresh', true) | ||
161 | that.$message({ | ||
162 | showClose: true, | ||
163 | message: '添加成功', | ||
164 | type: 'success' | ||
165 | }) | ||
166 | } | ||
167 | }).catch(() => { | ||
168 | that.loading = false | ||
169 | }) | ||
170 | } else { | ||
146 | if (this.sqywInfo.sqfl == '1') { | 171 | if (this.sqywInfo.sqfl == '1') { |
147 | startBusinessFlow({ | 172 | startBusinessFlow({ |
148 | bsmSqyw: this.sqywInfo.bsmSqyw, | 173 | bsmSqyw: that.sqywInfo.bsmSqyw, |
149 | bdcdysz: this.bdcdysz, | 174 | bdcdysz: that.bdcdysz, |
150 | }).then((res) => { | 175 | }).then((res) => { |
151 | this.loading = false | 176 | that.loading = false |
152 | if (res.code == 200) { | 177 | if (res.code == 200) { |
153 | this.$message({ | 178 | that.$message({ |
154 | showClose: true, | 179 | showClose: true, |
155 | message: "发起申请成功", | 180 | message: "发起申请成功", |
156 | type: "success", | 181 | type: "success", |
157 | }); | 182 | }); |
158 | if (!this.isJump) { | 183 | if (!that.isJump) { |
159 | this.jump(res.result, this.sqywInfo.djywbm); | 184 | that.jump(res.result, that.sqywInfo.djywbm); |
160 | } else { | 185 | } else { |
161 | store.dispatch('user/refreshPage', true); | 186 | store.dispatch('user/refreshPage', true); |
162 | } | 187 | } |
163 | this.$popupCacel() | 188 | that.$popupCacel() |
164 | } else { | 189 | } else { |
165 | if (res.result && res.result.length > 0) { | 190 | if (res.result && res.result.length > 0) { |
166 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 191 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -169,25 +194,25 @@ | ... | @@ -169,25 +194,25 @@ |
169 | } | 194 | } |
170 | } | 195 | } |
171 | }).catch(() => { | 196 | }).catch(() => { |
172 | this.loading = false | 197 | that.loading = false |
173 | }) | 198 | }) |
174 | } else { | 199 | } else { |
175 | startTogetherFlow({ | 200 | startTogetherFlow({ |
176 | bsmSqyw: this.sqywInfo.bsmSqyw, | 201 | bsmSqyw: that.sqywInfo.bsmSqyw, |
177 | bdcdysz: this.bdcdysz, | 202 | bdcdysz: that.bdcdysz, |
178 | }).then((res) => { | 203 | }).then((res) => { |
179 | this.loading = false | 204 | that.loading = false |
180 | if (res.code == 200) { | 205 | if (res.code == 200) { |
181 | this.$message({ | 206 | that.$message({ |
182 | showClose: true, | 207 | showClose: true, |
183 | message: '发起申请成功', | 208 | message: '发起申请成功', |
184 | type: 'success' | 209 | type: 'success' |
185 | }) | 210 | }) |
186 | if (!this.isJump) { | 211 | if (!that.isJump) { |
187 | this.jump(res.result, this.sqywInfo.djywbm) | 212 | that.jump(res.result, that.sqywInfo.djywbm) |
188 | } else { | 213 | } else { |
189 | store.dispatch('user/refreshPage', true); | 214 | store.dispatch('user/refreshPage', true); |
190 | this.$popupCacel() | 215 | that.$popupCacel() |
191 | } | 216 | } |
192 | } else { | 217 | } else { |
193 | if (res.result && res.result.length > 0) { | 218 | if (res.result && res.result.length > 0) { |
... | @@ -197,10 +222,10 @@ | ... | @@ -197,10 +222,10 @@ |
197 | } | 222 | } |
198 | } | 223 | } |
199 | }).catch(() => { | 224 | }).catch(() => { |
200 | this.loading = false | 225 | that.loading = false |
201 | }) | 226 | }) |
202 | } | 227 | } |
203 | 228 | } | |
204 | }, | 229 | }, |
205 | /** | 230 | /** |
206 | * @description: handleSelectionChange | 231 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 16:16:15 | 4 | * @LastEditTime: 2024-02-01 16:00:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | import { datas, sendThis } from "../javascript/selectH.js"; | 71 | import { datas, sendThis } from "../javascript/selectH.js"; |
72 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 72 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
73 | import { selectHQjdc } from "@/api/ywsq.js"; | 73 | import { selectHQjdc } from "@/api/ywsq.js"; |
74 | import { startBusinessFlow } from "@/api/workFlow.js"; | 74 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
75 | export default { | 75 | export default { |
76 | mixins: [ywsqTable, jump], | 76 | mixins: [ywsqTable, jump], |
77 | props: { | 77 | props: { |
... | @@ -138,28 +138,53 @@ | ... | @@ -138,28 +138,53 @@ |
138 | * @author: renchao | 138 | * @author: renchao |
139 | */ | 139 | */ |
140 | submitForm () { | 140 | submitForm () { |
141 | let that = this | ||
141 | if (this.bdcdysz.length == 0) { | 142 | if (this.bdcdysz.length == 0) { |
142 | this.$message.error("请至少选择一条数据"); | 143 | this.$message.error("请至少选择一条数据"); |
143 | return; | 144 | return; |
144 | } | 145 | } |
145 | this.loading = true | 146 | this.loading = true |
147 | if (this.sqywInfo.isworkFrame) { | ||
148 | store.dispatch('user/reMenuRefresh', false) | ||
149 | againAddSldy({ | ||
150 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
151 | bdcdysz: that.bdcdysz, | ||
152 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
153 | }).then(res => { | ||
154 | that.loading = false | ||
155 | if (res.code == 200) { | ||
156 | if (this.sqywInfo.sqywdylx != "1") { | ||
157 | that.bdcdysz = [] | ||
158 | that.$refs.table.clearSelection() | ||
159 | } | ||
160 | store.dispatch('user/reMenuRefresh', true) | ||
161 | that.$message({ | ||
162 | showClose: true, | ||
163 | message: '添加成功', | ||
164 | type: 'success' | ||
165 | }) | ||
166 | } | ||
167 | }).catch(() => { | ||
168 | that.loading = false | ||
169 | }) | ||
170 | } else { | ||
146 | startBusinessFlow({ | 171 | startBusinessFlow({ |
147 | bsmSqyw: this.sqywInfo.bsmSqyw, | 172 | bsmSqyw: that.sqywInfo.bsmSqyw, |
148 | bdcdysz: this.bdcdysz, | 173 | bdcdysz: that.bdcdysz, |
149 | }).then((res) => { | 174 | }).then((res) => { |
150 | this.loading = false | 175 | that.loading = false |
151 | if (res.code == 200) { | 176 | if (res.code == 200) { |
152 | this.$message({ | 177 | that.$message({ |
153 | showClose: true, | 178 | showClose: true, |
154 | message: '发起申请成功', | 179 | message: '发起申请成功', |
155 | type: 'success' | 180 | type: 'success' |
156 | }) | 181 | }) |
157 | if (!this.isJump) { | 182 | if (!that.isJump) { |
158 | this.jump(res.result, this.sqywInfo.djywbm) | 183 | that.jump(res.result, that.sqywInfo.djywbm) |
159 | } else { | 184 | } else { |
160 | store.dispatch('user/refreshPage', true); | 185 | store.dispatch('user/refreshPage', true); |
161 | } | 186 | } |
162 | this.$popupCacel() | 187 | that.$popupCacel() |
163 | } else { | 188 | } else { |
164 | if (res.result && res.result.length > 0) { | 189 | if (res.result && res.result.length > 0) { |
165 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 190 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -168,8 +193,9 @@ | ... | @@ -168,8 +193,9 @@ |
168 | } | 193 | } |
169 | } | 194 | } |
170 | }).catch(() => { | 195 | }).catch(() => { |
171 | this.loading = false | 196 | that.loading = false |
172 | }) | 197 | }) |
198 | } | ||
173 | }, | 199 | }, |
174 | /** | 200 | /** |
175 | * @description: handleSelectionChange | 201 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 13:47:01 | 4 | * @LastEditTime: 2024-02-01 16:02:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
73 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | 73 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; |
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
75 | import { selectJsydQlxx } from "@/api/ywsq.js"; | 75 | import { selectJsydQlxx } from "@/api/ywsq.js"; |
76 | import { startBusinessFlow } from "@/api/workFlow.js"; | 76 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
77 | export default { | 77 | export default { |
78 | mixins: [ywsqTable, jump], | 78 | mixins: [ywsqTable, jump], |
79 | props: { | 79 | props: { |
... | @@ -140,28 +140,53 @@ | ... | @@ -140,28 +140,53 @@ |
140 | * @author: renchao | 140 | * @author: renchao |
141 | */ | 141 | */ |
142 | submitForm () { | 142 | submitForm () { |
143 | let that = this | ||
143 | if (this.bdcdysz.length == 0) { | 144 | if (this.bdcdysz.length == 0) { |
144 | this.$message.error("请至少选择一条数据"); | 145 | this.$message.error("请至少选择一条数据"); |
145 | return; | 146 | return; |
146 | } | 147 | } |
147 | this.loading = true | 148 | this.loading = true |
149 | if (this.sqywInfo.isworkFrame) { | ||
150 | store.dispatch('user/reMenuRefresh', false) | ||
151 | againAddSldy({ | ||
152 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
153 | bdcdysz: that.bdcdysz, | ||
154 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
155 | }).then(res => { | ||
156 | that.loading = false | ||
157 | if (res.code == 200) { | ||
158 | if (this.sqywInfo.sqywdylx != "1") { | ||
159 | that.bdcdysz = [] | ||
160 | that.$refs.table.clearSelection() | ||
161 | } | ||
162 | store.dispatch('user/reMenuRefresh', true) | ||
163 | that.$message({ | ||
164 | showClose: true, | ||
165 | message: '添加成功', | ||
166 | type: 'success' | ||
167 | }) | ||
168 | } | ||
169 | }).catch(() => { | ||
170 | that.loading = false | ||
171 | }) | ||
172 | } else { | ||
148 | startBusinessFlow({ | 173 | startBusinessFlow({ |
149 | bsmSqyw: this.sqywInfo.bsmSqyw, | 174 | bsmSqyw: that.sqywInfo.bsmSqyw, |
150 | bdcdysz: this.bdcdysz, | 175 | bdcdysz: that.bdcdysz, |
151 | }).then((res) => { | 176 | }).then((res) => { |
152 | this.loading = false | 177 | that.loading = false |
153 | if (res.code == 200) { | 178 | if (res.code == 200) { |
154 | this.$message({ | 179 | that.$message({ |
155 | showClose: true, | 180 | showClose: true, |
156 | message: "发起申请成功", | 181 | message: "发起申请成功", |
157 | type: "success", | 182 | type: "success", |
158 | }); | 183 | }); |
159 | if (!this.isJump) { | 184 | if (!that.isJump) { |
160 | this.jump(res.result, this.sqywInfo.djywbm); | 185 | that.jump(res.result, that.sqywInfo.djywbm); |
161 | } else { | 186 | } else { |
162 | store.dispatch('user/refreshPage', true); | 187 | store.dispatch('user/refreshPage', true); |
163 | } | 188 | } |
164 | this.$popupCacel() | 189 | that.$popupCacel() |
165 | } else { | 190 | } else { |
166 | if (res.result && res.result.length > 0) { | 191 | if (res.result && res.result.length > 0) { |
167 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 192 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -172,6 +197,7 @@ | ... | @@ -172,6 +197,7 @@ |
172 | }).catch(() => { | 197 | }).catch(() => { |
173 | this.loading = false | 198 | this.loading = false |
174 | }) | 199 | }) |
200 | } | ||
175 | }, | 201 | }, |
176 | /** | 202 | /** |
177 | * @description: handleSelectionChange | 203 | * @description: handleSelectionChange | ... | ... |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 57 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
58 | import { ywPopupDialog } from "@/utils/popup.js"; | 58 | import { ywPopupDialog } from "@/utils/popup.js"; |
59 | import { selectLq } from "@/api/ywsq.js"; | 59 | import { selectLq } from "@/api/ywsq.js"; |
60 | import { startBusinessFlow } from "@/api/workFlow.js"; | 60 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
61 | import { datas, sendThis } from "../javascript/selectQjlqxxQt.js"; | 61 | import { datas, sendThis } from "../javascript/selectQjlqxxQt.js"; |
62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
63 | export default { | 63 | export default { |
... | @@ -104,28 +104,53 @@ | ... | @@ -104,28 +104,53 @@ |
104 | * @author: renchao | 104 | * @author: renchao |
105 | */ | 105 | */ |
106 | submitForm () { | 106 | submitForm () { |
107 | let that = this | ||
107 | if (this.bdcdysz.length == 0) { | 108 | if (this.bdcdysz.length == 0) { |
108 | this.$alert("请至少选择一条数据"); | 109 | this.$alert("请至少选择一条数据"); |
109 | return; | 110 | return; |
110 | } | 111 | } |
111 | this.loading = true | 112 | this.loading = true |
113 | if (this.sqywInfo.isworkFrame) { | ||
114 | store.dispatch('user/reMenuRefresh', false) | ||
115 | againAddSldy({ | ||
116 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
117 | bdcdysz: that.bdcdysz, | ||
118 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
119 | }).then(res => { | ||
120 | that.loading = false | ||
121 | if (res.code == 200) { | ||
122 | if (this.sqywInfo.sqywdylx != "1") { | ||
123 | that.bdcdysz = [] | ||
124 | that.$refs.table.clearSelection() | ||
125 | } | ||
126 | store.dispatch('user/reMenuRefresh', true) | ||
127 | that.$message({ | ||
128 | showClose: true, | ||
129 | message: '添加成功', | ||
130 | type: 'success' | ||
131 | }) | ||
132 | } | ||
133 | }).catch(() => { | ||
134 | that.loading = false | ||
135 | }) | ||
136 | } else { | ||
112 | startBusinessFlow({ | 137 | startBusinessFlow({ |
113 | bsmSqyw: this.sqywInfo.bsmSqyw, | 138 | bsmSqyw: that.sqywInfo.bsmSqyw, |
114 | bdcdysz: this.bdcdysz, | 139 | bdcdysz: that.bdcdysz, |
115 | }).then((res) => { | 140 | }).then((res) => { |
116 | this.loading = false | 141 | that.loading = false |
117 | if (res.code == 200) { | 142 | if (res.code == 200) { |
118 | this.$message({ | 143 | that.$message({ |
119 | showClose: true, | 144 | showClose: true, |
120 | message: "发起申请成功", | 145 | message: "发起申请成功", |
121 | type: "success", | 146 | type: "success", |
122 | }); | 147 | }); |
123 | if (!this.isJump) { | 148 | if (!that.isJump) { |
124 | this.jump(res.result, this.djywbm); | 149 | that.jump(res.result, that.djywbm); |
125 | } else { | 150 | } else { |
126 | store.dispatch('user/refreshPage', true); | 151 | store.dispatch('user/refreshPage', true); |
127 | } | 152 | } |
128 | this.$popupCacel() | 153 | that.$popupCacel() |
129 | } else { | 154 | } else { |
130 | if (res.result && res.result.length > 0) { | 155 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 156 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -134,8 +159,9 @@ | ... | @@ -134,8 +159,9 @@ |
134 | } | 159 | } |
135 | } | 160 | } |
136 | }).catch(() => { | 161 | }).catch(() => { |
137 | this.loading = false | 162 | that.loading = false |
138 | }) | 163 | }) |
164 | } | ||
139 | }, | 165 | }, |
140 | /** | 166 | /** |
141 | * @description: handleSelectionChange | 167 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-31 13:27:01 | 4 | * @LastEditTime: 2024-02-01 16:04:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
69 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 69 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
70 | import { ywPopupDialog } from "@/utils/popup.js"; | 70 | import { ywPopupDialog } from "@/utils/popup.js"; |
71 | import { selectZdjbxx } from "@/api/ywsq.js"; | 71 | import { selectZdjbxx } from "@/api/ywsq.js"; |
72 | import { startBusinessFlow } from "@/api/workFlow.js"; | 72 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
73 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | 73 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; |
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
75 | export default { | 75 | export default { |
... | @@ -139,28 +139,53 @@ | ... | @@ -139,28 +139,53 @@ |
139 | * @author: renchao | 139 | * @author: renchao |
140 | */ | 140 | */ |
141 | submitForm () { | 141 | submitForm () { |
142 | let that = this | ||
142 | if (this.bdcdysz.length == 0) { | 143 | if (this.bdcdysz.length == 0) { |
143 | this.$alert("请至少选择一条数据"); | 144 | this.$alert("请至少选择一条数据"); |
144 | return; | 145 | return; |
145 | } | 146 | } |
146 | this.loading = true | 147 | this.loading = true |
148 | if (this.sqywInfo.isworkFrame) { | ||
149 | store.dispatch('user/reMenuRefresh', false) | ||
150 | againAddSldy({ | ||
151 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
152 | bdcdysz: that.bdcdysz, | ||
153 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
154 | }).then(res => { | ||
155 | that.loading = false | ||
156 | if (res.code == 200) { | ||
157 | if (this.sqywInfo.sqywdylx != "1") { | ||
158 | that.bdcdysz = [] | ||
159 | that.$refs.table.clearSelection() | ||
160 | } | ||
161 | store.dispatch('user/reMenuRefresh', true) | ||
162 | that.$message({ | ||
163 | showClose: true, | ||
164 | message: '添加成功', | ||
165 | type: 'success' | ||
166 | }) | ||
167 | } | ||
168 | }).catch(() => { | ||
169 | that.loading = false | ||
170 | }) | ||
171 | } else { | ||
147 | startBusinessFlow({ | 172 | startBusinessFlow({ |
148 | bsmSqyw: this.sqywInfo.bsmSqyw, | 173 | bsmSqyw: that.sqywInfo.bsmSqyw, |
149 | bdcdysz: this.bdcdysz, | 174 | bdcdysz: that.bdcdysz, |
150 | }).then((res) => { | 175 | }).then((res) => { |
151 | this.loading = false | 176 | that.loading = false |
152 | if (res.code == 200) { | 177 | if (res.code == 200) { |
153 | this.$message({ | 178 | that.$message({ |
154 | showClose: true, | 179 | showClose: true, |
155 | message: "发起申请成功", | 180 | message: "发起申请成功", |
156 | type: "success", | 181 | type: "success", |
157 | }); | 182 | }); |
158 | if (!this.isJump) { | 183 | if (!that.isJump) { |
159 | this.jump(res.result, this.djywbm); | 184 | that.jump(res.result, that.djywbm); |
160 | } else { | 185 | } else { |
161 | store.dispatch('user/refreshPage', true); | 186 | store.dispatch('user/refreshPage', true); |
162 | } | 187 | } |
163 | this.$popupCacel() | 188 | that.$popupCacel() |
164 | } else { | 189 | } else { |
165 | if (res.result && res.result.length > 0) { | 190 | if (res.result && res.result.length > 0) { |
166 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 191 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -171,6 +196,7 @@ | ... | @@ -171,6 +196,7 @@ |
171 | }).catch(() => { | 196 | }).catch(() => { |
172 | this.loading = false | 197 | this.loading = false |
173 | }) | 198 | }) |
199 | } | ||
174 | }, | 200 | }, |
175 | /** | 201 | /** |
176 | * @description: handleSelectionChange | 202 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:45:25 | 4 | * @LastEditTime: 2024-02-01 16:05:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 71 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
72 | import { ywPopupDialog } from "@/utils/popup.js"; | 72 | import { ywPopupDialog } from "@/utils/popup.js"; |
73 | import { selectZdjbxx } from "@/api/ywsq.js"; | 73 | import { selectZdjbxx } from "@/api/ywsq.js"; |
74 | import { startBusinessFlow } from "@/api/workFlow.js"; | 74 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
75 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | 75 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; |
76 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 76 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
77 | export default { | 77 | export default { |
... | @@ -141,28 +141,53 @@ | ... | @@ -141,28 +141,53 @@ |
141 | * @author: renchao | 141 | * @author: renchao |
142 | */ | 142 | */ |
143 | submitForm () { | 143 | submitForm () { |
144 | let that = this | ||
144 | if (this.bdcdysz.length == 0) { | 145 | if (this.bdcdysz.length == 0) { |
145 | this.$alert("请至少选择一条数据"); | 146 | this.$alert("请至少选择一条数据"); |
146 | return; | 147 | return; |
147 | } | 148 | } |
148 | this.loading = true | 149 | this.loading = true |
150 | if (this.sqywInfo.isworkFrame) { | ||
151 | store.dispatch('user/reMenuRefresh', false) | ||
152 | againAddSldy({ | ||
153 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
154 | bdcdysz: that.bdcdysz, | ||
155 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
156 | }).then(res => { | ||
157 | that.loading = false | ||
158 | if (res.code == 200) { | ||
159 | if (this.sqywInfo.sqywdylx != "1") { | ||
160 | that.bdcdysz = [] | ||
161 | that.$refs.table.clearSelection() | ||
162 | } | ||
163 | store.dispatch('user/reMenuRefresh', true) | ||
164 | that.$message({ | ||
165 | showClose: true, | ||
166 | message: '添加成功', | ||
167 | type: 'success' | ||
168 | }) | ||
169 | } | ||
170 | }).catch(() => { | ||
171 | that.loading = false | ||
172 | }) | ||
173 | } else { | ||
149 | startBusinessFlow({ | 174 | startBusinessFlow({ |
150 | bsmSqyw: this.sqywInfo.bsmSqyw, | 175 | bsmSqyw: that.sqywInfo.bsmSqyw, |
151 | bdcdysz: this.bdcdysz, | 176 | bdcdysz: that.bdcdysz, |
152 | }).then((res) => { | 177 | }).then((res) => { |
153 | this.loading = false | 178 | that.loading = false |
154 | if (res.code == 200) { | 179 | if (res.code == 200) { |
155 | this.$message({ | 180 | that.$message({ |
156 | showClose: true, | 181 | showClose: true, |
157 | message: "发起申请成功", | 182 | message: "发起申请成功", |
158 | type: "success", | 183 | type: "success", |
159 | }); | 184 | }); |
160 | if (!this.isJump) { | 185 | if (!that.isJump) { |
161 | this.jump(res.result, this.djywbm); | 186 | that.jump(res.result, that.djywbm); |
162 | } else { | 187 | } else { |
163 | store.dispatch('user/refreshPage', true); | 188 | store.dispatch('user/refreshPage', true); |
164 | } | 189 | } |
165 | this.$popupCacel() | 190 | that.$popupCacel() |
166 | } else { | 191 | } else { |
167 | if (res.result && res.result.length > 0) { | 192 | if (res.result && res.result.length > 0) { |
168 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 193 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -173,6 +198,7 @@ | ... | @@ -173,6 +198,7 @@ |
173 | }).catch(() => { | 198 | }).catch(() => { |
174 | this.loading = false | 199 | this.loading = false |
175 | }) | 200 | }) |
201 | } | ||
176 | }, | 202 | }, |
177 | /** | 203 | /** |
178 | * @description: handleSelectionChange | 204 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-05 13:10:53 | 4 | * @LastEditTime: 2024-02-01 16:08:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 57 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
58 | import { ywPopupDialog } from "@/utils/popup.js"; | 58 | import { ywPopupDialog } from "@/utils/popup.js"; |
59 | import { selectLq } from "@/api/ywsq.js"; | 59 | import { selectLq } from "@/api/ywsq.js"; |
60 | import { startBusinessFlow } from "@/api/workFlow.js"; | 60 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
61 | import { datas, sendThis } from "../javascript/selectSllmqt.js"; | 61 | import { datas, sendThis } from "../javascript/selectSllmqt.js"; |
62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
63 | export default { | 63 | export default { |
... | @@ -104,28 +104,53 @@ | ... | @@ -104,28 +104,53 @@ |
104 | * @author: renchao | 104 | * @author: renchao |
105 | */ | 105 | */ |
106 | submitForm () { | 106 | submitForm () { |
107 | let that = this | ||
107 | if (this.bdcdysz.length == 0) { | 108 | if (this.bdcdysz.length == 0) { |
108 | this.$alert("请至少选择一条数据"); | 109 | this.$alert("请至少选择一条数据"); |
109 | return; | 110 | return; |
110 | } | 111 | } |
111 | this.loading = true | 112 | this.loading = true |
113 | if (this.sqywInfo.isworkFrame) { | ||
114 | store.dispatch('user/reMenuRefresh', false) | ||
115 | againAddSldy({ | ||
116 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
117 | bdcdysz: that.bdcdysz, | ||
118 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
119 | }).then(res => { | ||
120 | that.loading = false | ||
121 | if (res.code == 200) { | ||
122 | if (this.sqywInfo.sqywdylx != "1") { | ||
123 | that.bdcdysz = [] | ||
124 | that.$refs.table.clearSelection() | ||
125 | } | ||
126 | store.dispatch('user/reMenuRefresh', true) | ||
127 | that.$message({ | ||
128 | showClose: true, | ||
129 | message: '添加成功', | ||
130 | type: 'success' | ||
131 | }) | ||
132 | } | ||
133 | }).catch(() => { | ||
134 | that.loading = false | ||
135 | }) | ||
136 | } else { | ||
112 | startBusinessFlow({ | 137 | startBusinessFlow({ |
113 | bsmSqyw: this.sqywInfo.bsmSqyw, | 138 | bsmSqyw: that.sqywInfo.bsmSqyw, |
114 | bdcdysz: this.bdcdysz, | 139 | bdcdysz: that.bdcdysz, |
115 | }).then((res) => { | 140 | }).then((res) => { |
116 | this.loading = false | 141 | that.loading = false |
117 | if (res.code == 200) { | 142 | if (res.code == 200) { |
118 | this.$message({ | 143 | that.$message({ |
119 | showClose: true, | 144 | showClose: true, |
120 | message: "发起申请成功", | 145 | message: "发起申请成功", |
121 | type: "success", | 146 | type: "success", |
122 | }); | 147 | }); |
123 | if (!this.isJump) { | 148 | if (!that.isJump) { |
124 | this.jump(res.result, this.djywbm); | 149 | that.jump(res.result, that.djywbm); |
125 | } else { | 150 | } else { |
126 | store.dispatch('user/refreshPage', true); | 151 | store.dispatch('user/refreshPage', true); |
127 | } | 152 | } |
128 | this.$popupCacel() | 153 | that.$popupCacel() |
129 | } else { | 154 | } else { |
130 | if (res.result && res.result.length > 0) { | 155 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 156 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -136,6 +161,7 @@ | ... | @@ -136,6 +161,7 @@ |
136 | }).catch(() => { | 161 | }).catch(() => { |
137 | this.loading = false | 162 | this.loading = false |
138 | }) | 163 | }) |
164 | } | ||
139 | }, | 165 | }, |
140 | /** | 166 | /** |
141 | * @description: handleSelectionChange | 167 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:45:28 | 4 | * @LastEditTime: 2024-02-01 16:10:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
69 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 69 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
70 | import { ywPopupDialog } from "@/utils/popup.js"; | 70 | import { ywPopupDialog } from "@/utils/popup.js"; |
71 | import { selectLqQjdc } from "@/api/ywsq.js"; | 71 | import { selectLqQjdc } from "@/api/ywsq.js"; |
72 | import { startBusinessFlow } from "@/api/workFlow.js"; | 72 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
73 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | 73 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; |
74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 74 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
75 | export default { | 75 | export default { |
... | @@ -138,28 +138,53 @@ | ... | @@ -138,28 +138,53 @@ |
138 | * @author: renchao | 138 | * @author: renchao |
139 | */ | 139 | */ |
140 | submitForm () { | 140 | submitForm () { |
141 | let that = this | ||
141 | if (this.bdcdysz.length == 0) { | 142 | if (this.bdcdysz.length == 0) { |
142 | this.$alert("请至少选择一条数据"); | 143 | this.$alert("请至少选择一条数据"); |
143 | return; | 144 | return; |
144 | } | 145 | } |
145 | this.loading = true | 146 | this.loading = true |
147 | if (this.sqywInfo.isworkFrame) { | ||
148 | store.dispatch('user/reMenuRefresh', false) | ||
149 | againAddSldy({ | ||
150 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
151 | bdcdysz: that.bdcdysz, | ||
152 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
153 | }).then(res => { | ||
154 | that.loading = false | ||
155 | if (res.code == 200) { | ||
156 | if (this.sqywInfo.sqywdylx != "1") { | ||
157 | that.bdcdysz = [] | ||
158 | that.$refs.table.clearSelection() | ||
159 | } | ||
160 | store.dispatch('user/reMenuRefresh', true) | ||
161 | that.$message({ | ||
162 | showClose: true, | ||
163 | message: '添加成功', | ||
164 | type: 'success' | ||
165 | }) | ||
166 | } | ||
167 | }).catch(() => { | ||
168 | that.loading = false | ||
169 | }) | ||
170 | } else { | ||
146 | startBusinessFlow({ | 171 | startBusinessFlow({ |
147 | bsmSqyw: this.sqywInfo.bsmSqyw, | 172 | bsmSqyw: that.sqywInfo.bsmSqyw, |
148 | bdcdysz: this.bdcdysz, | 173 | bdcdysz: that.bdcdysz, |
149 | }).then((res) => { | 174 | }).then((res) => { |
150 | this.loading = false | 175 | that.loading = false |
151 | if (res.code == 200) { | 176 | if (res.code == 200) { |
152 | this.$message({ | 177 | that.$message({ |
153 | showClose: true, | 178 | showClose: true, |
154 | message: "发起申请成功", | 179 | message: "发起申请成功", |
155 | type: "success", | 180 | type: "success", |
156 | }); | 181 | }); |
157 | if (!this.isJump) { | 182 | if (!that.isJump) { |
158 | this.jump(res.result, this.djywbm); | 183 | that.jump(res.result, that.djywbm); |
159 | } else { | 184 | } else { |
160 | store.dispatch('user/refreshPage', true); | 185 | store.dispatch('user/refreshPage', true); |
161 | } | 186 | } |
162 | this.$popupCacel() | 187 | that.$popupCacel() |
163 | } else { | 188 | } else { |
164 | if (res.result && res.result.length > 0) { | 189 | if (res.result && res.result.length > 0) { |
165 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 190 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -170,6 +195,7 @@ | ... | @@ -170,6 +195,7 @@ |
170 | }).catch(() => { | 195 | }).catch(() => { |
171 | this.loading = false | 196 | this.loading = false |
172 | }) | 197 | }) |
198 | } | ||
173 | }, | 199 | }, |
174 | /** | 200 | /** |
175 | * @description: handleSelectionChange | 201 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 14:17:21 | 4 | * @LastEditTime: 2024-02-01 16:11:09 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -74,7 +74,7 @@ | ... | @@ -74,7 +74,7 @@ |
74 | import { datas, sendThis } from "../javascript/selectTdsyq.js"; | 74 | import { datas, sendThis } from "../javascript/selectTdsyq.js"; |
75 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 75 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
76 | import { selectTdsyqQlxx } from "@/api/ywsq.js"; | 76 | import { selectTdsyqQlxx } from "@/api/ywsq.js"; |
77 | import { startBusinessFlow } from "@/api/workFlow.js"; | 77 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
78 | export default { | 78 | export default { |
79 | mixins: [ywsqTable, jump], | 79 | mixins: [ywsqTable, jump], |
80 | props: { | 80 | props: { |
... | @@ -118,28 +118,53 @@ | ... | @@ -118,28 +118,53 @@ |
118 | * @author: renchao | 118 | * @author: renchao |
119 | */ | 119 | */ |
120 | submitForm () { | 120 | submitForm () { |
121 | let that = this | ||
121 | if (this.bdcdysz.length == 0) { | 122 | if (this.bdcdysz.length == 0) { |
122 | this.$message.error("请至少选择一条数据"); | 123 | this.$message.error("请至少选择一条数据"); |
123 | return; | 124 | return; |
124 | } | 125 | } |
125 | this.loading = true | 126 | this.loading = true |
127 | if (this.sqywInfo.isworkFrame) { | ||
128 | store.dispatch('user/reMenuRefresh', false) | ||
129 | againAddSldy({ | ||
130 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
131 | bdcdysz: that.bdcdysz, | ||
132 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
133 | }).then(res => { | ||
134 | that.loading = false | ||
135 | if (res.code == 200) { | ||
136 | if (this.sqywInfo.sqywdylx != "1") { | ||
137 | that.bdcdysz = [] | ||
138 | that.$refs.table.clearSelection() | ||
139 | } | ||
140 | store.dispatch('user/reMenuRefresh', true) | ||
141 | that.$message({ | ||
142 | showClose: true, | ||
143 | message: '添加成功', | ||
144 | type: 'success' | ||
145 | }) | ||
146 | } | ||
147 | }).catch(() => { | ||
148 | that.loading = false | ||
149 | }) | ||
150 | } else { | ||
126 | startBusinessFlow({ | 151 | startBusinessFlow({ |
127 | bsmSqyw: this.sqywInfo.bsmSqyw, | 152 | bsmSqyw: that.sqywInfo.bsmSqyw, |
128 | bdcdysz: this.bdcdysz, | 153 | bdcdysz: that.bdcdysz, |
129 | }).then((res) => { | 154 | }).then((res) => { |
130 | this.loading = false | 155 | that.loading = false |
131 | if (res.code == 200) { | 156 | if (res.code == 200) { |
132 | this.$message({ | 157 | that.$message({ |
133 | showClose: true, | 158 | showClose: true, |
134 | message: "发起申请成功", | 159 | message: "发起申请成功", |
135 | type: "success", | 160 | type: "success", |
136 | }); | 161 | }); |
137 | if (!this.isJump) { | 162 | if (!that.isJump) { |
138 | this.jump(res.result, this.sqywInfo.djywbm); | 163 | that.jump(res.result, that.sqywInfo.djywbm); |
139 | } else { | 164 | } else { |
140 | store.dispatch('user/refreshPage', true); | 165 | store.dispatch('user/refreshPage', true); |
141 | } | 166 | } |
142 | this.$popupCacel() | 167 | that.$popupCacel() |
143 | } else { | 168 | } else { |
144 | if (res.result && res.result.length > 0) { | 169 | if (res.result && res.result.length > 0) { |
145 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 170 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -150,6 +175,7 @@ | ... | @@ -150,6 +175,7 @@ |
150 | }).catch(() => { | 175 | }).catch(() => { |
151 | this.loading = false | 176 | this.loading = false |
152 | }) | 177 | }) |
178 | } | ||
153 | }, | 179 | }, |
154 | /** | 180 | /** |
155 | * @description: handleSelectionChange | 181 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-31 09:37:23 | 4 | * @LastEditTime: 2024-02-01 16:13:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 58 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
59 | import jump from "./mixin/jump"; | 59 | import jump from "./mixin/jump"; |
60 | import { selectYgdj200 } from "@/api/ywsq.js"; | 60 | import { selectYgdj200 } from "@/api/ywsq.js"; |
61 | import { startTogetherFlow } from "@/api/workFlow.js"; | 61 | import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js"; |
62 | export default { | 62 | export default { |
63 | mixins: [ywsqTable, jump], | 63 | mixins: [ywsqTable, jump], |
64 | props: { | 64 | props: { |
... | @@ -102,27 +102,52 @@ | ... | @@ -102,27 +102,52 @@ |
102 | * @author: renchao | 102 | * @author: renchao |
103 | */ | 103 | */ |
104 | submitForm () { | 104 | submitForm () { |
105 | let that = this | ||
105 | if (this.bdcdysz.length == 0) { | 106 | if (this.bdcdysz.length == 0) { |
106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
107 | return; | 108 | return; |
108 | } | 109 | } |
109 | this.loading = true | 110 | this.loading = true |
111 | if (this.sqywInfo.isworkFrame) { | ||
112 | store.dispatch('user/reMenuRefresh', false) | ||
113 | againAddSldy({ | ||
114 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
115 | bdcdysz: that.bdcdysz, | ||
116 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
117 | }).then(res => { | ||
118 | that.loading = false | ||
119 | if (res.code == 200) { | ||
120 | if (this.sqywInfo.sqywdylx != "1") { | ||
121 | that.bdcdysz = [] | ||
122 | that.$refs.table.clearSelection() | ||
123 | } | ||
124 | store.dispatch('user/reMenuRefresh', true) | ||
125 | that.$message({ | ||
126 | showClose: true, | ||
127 | message: '添加成功', | ||
128 | type: 'success' | ||
129 | }) | ||
130 | } | ||
131 | }).catch(() => { | ||
132 | that.loading = false | ||
133 | }) | ||
134 | } else { | ||
110 | startTogetherFlow({ | 135 | startTogetherFlow({ |
111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 136 | bsmSqyw: that.sqywInfo.bsmSqyw, |
112 | bdcdysz: this.bdcdysz, | 137 | bdcdysz: that.bdcdysz, |
113 | }).then((res) => { | 138 | }).then((res) => { |
114 | this.loading = false | 139 | that.loading = false |
115 | if (res.code == 200) { | 140 | if (res.code == 200) { |
116 | this.$message({ | 141 | that.$message({ |
117 | showClose: true, | 142 | showClose: true, |
118 | message: '发起申请成功', | 143 | message: '发起申请成功', |
119 | type: 'success' | 144 | type: 'success' |
120 | }) | 145 | }) |
121 | if (!this.isJump) { | 146 | if (!that.isJump) { |
122 | this.jump(res.result, this.sqywInfo.djywbm) | 147 | that.jump(res.result, that.sqywInfo.djywbm) |
123 | } else { | 148 | } else { |
124 | store.dispatch('user/refreshPage', true); | 149 | store.dispatch('user/refreshPage', true); |
125 | this.$popupCacel() | 150 | that.$popupCacel() |
126 | } | 151 | } |
127 | } else { | 152 | } else { |
128 | if (res.result && res.result.length > 0) { | 153 | if (res.result && res.result.length > 0) { |
... | @@ -134,6 +159,7 @@ | ... | @@ -134,6 +159,7 @@ |
134 | }).catch(() => { | 159 | }).catch(() => { |
135 | this.loading = false | 160 | this.loading = false |
136 | }) | 161 | }) |
162 | } | ||
137 | }, | 163 | }, |
138 | /** | 164 | /** |
139 | * @description: handleSelectionChange | 165 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-16 14:14:29 | 4 | * @LastEditTime: 2024-02-01 16:13:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -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 { startTogetherFlow } from "@/api/workFlow.js"; | 62 | import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js"; |
63 | export default { | 63 | export default { |
64 | mixins: [ywsqTable, jump], | 64 | mixins: [ywsqTable, jump], |
65 | props: { | 65 | props: { |
... | @@ -103,28 +103,53 @@ | ... | @@ -103,28 +103,53 @@ |
103 | * @author: renchao | 103 | * @author: renchao |
104 | */ | 104 | */ |
105 | submitForm () { | 105 | submitForm () { |
106 | let that = this | ||
106 | if (this.bdcdysz.length == 0) { | 107 | if (this.bdcdysz.length == 0) { |
107 | this.$message.error("请至少选择一条数据"); | 108 | this.$message.error("请至少选择一条数据"); |
108 | return; | 109 | return; |
109 | } | 110 | } |
110 | this.loading = true | 111 | this.loading = true |
112 | if (this.sqywInfo.isworkFrame) { | ||
113 | store.dispatch('user/reMenuRefresh', false) | ||
114 | againAddSldy({ | ||
115 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
116 | bdcdysz: that.bdcdysz, | ||
117 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
118 | }).then(res => { | ||
119 | that.loading = false | ||
120 | if (res.code == 200) { | ||
121 | if (this.sqywInfo.sqywdylx != "1") { | ||
122 | that.bdcdysz = [] | ||
123 | that.$refs.table.clearSelection() | ||
124 | } | ||
125 | store.dispatch('user/reMenuRefresh', true) | ||
126 | that.$message({ | ||
127 | showClose: true, | ||
128 | message: '添加成功', | ||
129 | type: 'success' | ||
130 | }) | ||
131 | } | ||
132 | }).catch(() => { | ||
133 | that.loading = false | ||
134 | }) | ||
135 | } else { | ||
111 | startTogetherFlow({ | 136 | startTogetherFlow({ |
112 | bsmSqyw: this.sqywInfo.bsmSqyw, | 137 | bsmSqyw: that.sqywInfo.bsmSqyw, |
113 | bdcdysz: this.bdcdysz, | 138 | bdcdysz: that.bdcdysz, |
114 | }).then((res) => { | 139 | }).then((res) => { |
115 | this.loading = false | 140 | that.loading = false |
116 | if (res.code == 200) { | 141 | if (res.code == 200) { |
117 | this.$message({ | 142 | that.$message({ |
118 | showClose: true, | 143 | showClose: true, |
119 | message: "发起申请成功", | 144 | message: "发起申请成功", |
120 | type: "success", | 145 | type: "success", |
121 | }); | 146 | }); |
122 | if (!this.isJump) { | 147 | if (!that.isJump) { |
123 | this.jump(res.result, this.sqywInfo.djywbm); | 148 | that.jump(res.result, that.sqywInfo.djywbm); |
124 | } else { | 149 | } else { |
125 | store.dispatch('user/refreshPage', true); | 150 | store.dispatch('user/refreshPage', true); |
126 | } | 151 | } |
127 | this.$popupCacel() | 152 | that.$popupCacel() |
128 | } else { | 153 | } else { |
129 | if (res.result && res.result.length > 0) { | 154 | if (res.result && res.result.length > 0) { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 155 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -135,6 +160,7 @@ | ... | @@ -135,6 +160,7 @@ |
135 | }).catch(() => { | 160 | }).catch(() => { |
136 | this.loading = false | 161 | this.loading = false |
137 | }) | 162 | }) |
163 | } | ||
138 | }, | 164 | }, |
139 | /** | 165 | /** |
140 | * @description: handleSelectionChange | 166 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-18 15:11:12 | 4 | * @LastEditTime: 2024-02-01 16:14:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | import { datas, sendThis } from "../javascript/selectH.js"; | 58 | import { datas, sendThis } from "../javascript/selectH.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
60 | import { selectHQjdc } from "@/api/ywsq.js"; | 60 | import { selectHQjdc } from "@/api/ywsq.js"; |
61 | import { startTogetherFlow } from "@/api/workFlow.js"; | 61 | import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js"; |
62 | export default { | 62 | export default { |
63 | mixins: [ywsqTable, jump], | 63 | mixins: [ywsqTable, jump], |
64 | props: { | 64 | props: { |
... | @@ -102,28 +102,53 @@ | ... | @@ -102,28 +102,53 @@ |
102 | * @author: renchao | 102 | * @author: renchao |
103 | */ | 103 | */ |
104 | submitForm () { | 104 | submitForm () { |
105 | let that = this | ||
105 | if (this.bdcdysz.length == 0) { | 106 | if (this.bdcdysz.length == 0) { |
106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
107 | return; | 108 | return; |
108 | } | 109 | } |
109 | this.loading = true | 110 | this.loading = true |
111 | if (this.sqywInfo.isworkFrame) { | ||
112 | store.dispatch('user/reMenuRefresh', false) | ||
113 | againAddSldy({ | ||
114 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
115 | bdcdysz: that.bdcdysz, | ||
116 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
117 | }).then(res => { | ||
118 | that.loading = false | ||
119 | if (res.code == 200) { | ||
120 | if (this.sqywInfo.sqywdylx != "1") { | ||
121 | that.bdcdysz = [] | ||
122 | that.$refs.table.clearSelection() | ||
123 | } | ||
124 | store.dispatch('user/reMenuRefresh', true) | ||
125 | that.$message({ | ||
126 | showClose: true, | ||
127 | message: '添加成功', | ||
128 | type: 'success' | ||
129 | }) | ||
130 | } | ||
131 | }).catch(() => { | ||
132 | that.loading = false | ||
133 | }) | ||
134 | } else { | ||
110 | startTogetherFlow({ | 135 | startTogetherFlow({ |
111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 136 | bsmSqyw: that.sqywInfo.bsmSqyw, |
112 | bdcdysz: this.bdcdysz | 137 | bdcdysz: that.bdcdysz |
113 | }).then((res) => { | 138 | }).then((res) => { |
114 | this.loading = false | 139 | that.loading = false |
115 | if (res.code == 200) { | 140 | if (res.code == 200) { |
116 | this.$message({ | 141 | that.$message({ |
117 | showClose: true, | 142 | showClose: true, |
118 | message: '发起申请成功', | 143 | message: '发起申请成功', |
119 | type: 'success' | 144 | type: 'success' |
120 | }) | 145 | }) |
121 | if (!this.isJump) { | 146 | if (!that.isJump) { |
122 | this.jump(res.result, this.sqywInfo.djywbm) | 147 | that.jump(res.result, that.sqywInfo.djywbm) |
123 | } else { | 148 | } else { |
124 | store.dispatch('user/refreshPage', true); | 149 | store.dispatch('user/refreshPage', true); |
125 | } | 150 | } |
126 | this.$popupCacel() | 151 | that.$popupCacel() |
127 | } else { | 152 | } else { |
128 | if (res.result && res.result.length > 0) { | 153 | if (res.result && res.result.length > 0) { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 154 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -134,6 +159,7 @@ | ... | @@ -134,6 +159,7 @@ |
134 | }).catch(() => { | 159 | }).catch(() => { |
135 | this.loading = false | 160 | this.loading = false |
136 | }) | 161 | }) |
162 | } | ||
137 | }, | 163 | }, |
138 | /** | 164 | /** |
139 | * @description: handleSelectionChange | 165 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:37:38 | 4 | * @LastEditTime: 2024-02-01 16:15:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 71 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
72 | import jump from "./mixin/jump"; | 72 | import jump from "./mixin/jump"; |
73 | import { selectYgdj200 } from "@/api/ywsq.js"; | 73 | import { selectYgdj200 } from "@/api/ywsq.js"; |
74 | import { startBusinessFlow } from "@/api/workFlow.js"; | 74 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
75 | export default { | 75 | export default { |
76 | mixins: [ywsqTable, jump], | 76 | mixins: [ywsqTable, jump], |
77 | props: { | 77 | props: { |
... | @@ -138,27 +138,52 @@ | ... | @@ -138,27 +138,52 @@ |
138 | * @author: renchao | 138 | * @author: renchao |
139 | */ | 139 | */ |
140 | submitForm () { | 140 | submitForm () { |
141 | let that = this | ||
141 | if (this.bdcdysz.length == 0) { | 142 | if (this.bdcdysz.length == 0) { |
142 | this.$message.error("请至少选择一条数据"); | 143 | this.$message.error("请至少选择一条数据"); |
143 | return; | 144 | return; |
144 | } | 145 | } |
145 | this.loading = true | 146 | this.loading = true |
147 | if (this.sqywInfo.isworkFrame) { | ||
148 | store.dispatch('user/reMenuRefresh', false) | ||
149 | againAddSldy({ | ||
150 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
151 | bdcdysz: that.bdcdysz, | ||
152 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
153 | }).then(res => { | ||
154 | that.loading = false | ||
155 | if (res.code == 200) { | ||
156 | if (this.sqywInfo.sqywdylx != "1") { | ||
157 | that.bdcdysz = [] | ||
158 | that.$refs.table.clearSelection() | ||
159 | } | ||
160 | store.dispatch('user/reMenuRefresh', true) | ||
161 | that.$message({ | ||
162 | showClose: true, | ||
163 | message: '添加成功', | ||
164 | type: 'success' | ||
165 | }) | ||
166 | } | ||
167 | }).catch(() => { | ||
168 | that.loading = false | ||
169 | }) | ||
170 | } else { | ||
146 | startBusinessFlow({ | 171 | startBusinessFlow({ |
147 | bsmSqyw: this.sqywInfo.bsmSqyw, | 172 | bsmSqyw: that.sqywInfo.bsmSqyw, |
148 | bdcdysz: this.bdcdysz, | 173 | bdcdysz: that.bdcdysz, |
149 | }).then((res) => { | 174 | }).then((res) => { |
150 | this.loading = false | 175 | that.loading = false |
151 | if (res.code == 200) { | 176 | if (res.code == 200) { |
152 | this.$message({ | 177 | that.$message({ |
153 | showClose: true, | 178 | showClose: true, |
154 | message: '发起申请成功', | 179 | message: '发起申请成功', |
155 | type: 'success' | 180 | type: 'success' |
156 | }) | 181 | }) |
157 | if (!this.isJump) { | 182 | if (!that.isJump) { |
158 | this.jump(res.result, this.sqywInfo.djywbm) | 183 | that.jump(res.result, that.sqywInfo.djywbm) |
159 | } else { | 184 | } else { |
160 | store.dispatch('user/refreshPage', true); | 185 | store.dispatch('user/refreshPage', true); |
161 | this.$popupCacel() | 186 | that.$popupCacel() |
162 | } | 187 | } |
163 | } else { | 188 | } else { |
164 | if (res.result && res.result.length > 0) { | 189 | if (res.result && res.result.length > 0) { |
... | @@ -170,6 +195,7 @@ | ... | @@ -170,6 +195,7 @@ |
170 | }).catch(() => { | 195 | }).catch(() => { |
171 | this.loading = false | 196 | this.loading = false |
172 | }) | 197 | }) |
198 | } | ||
173 | }, | 199 | }, |
174 | /** | 200 | /** |
175 | * @description: handleSelectionChange | 201 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-31 14:50:43 | 4 | * @LastEditTime: 2024-02-01 16:20:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | import ywsqTable from "@/utils/mixin/ywsqTable"; | 58 | import ywsqTable from "@/utils/mixin/ywsqTable"; |
59 | import jump from "./mixin/jump"; | 59 | import jump from "./mixin/jump"; |
60 | import { selectHListQjdc } from "@/api/ywsq.js"; | 60 | import { selectHListQjdc } from "@/api/ywsq.js"; |
61 | import { startBusinessFlow } from "@/api/workFlow.js"; | 61 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
62 | export default { | 62 | export default { |
63 | mixins: [ywsqTable, jump], | 63 | mixins: [ywsqTable, jump], |
64 | props: { | 64 | props: { |
... | @@ -107,38 +107,64 @@ | ... | @@ -107,38 +107,64 @@ |
107 | * @author: renchao | 107 | * @author: renchao |
108 | */ | 108 | */ |
109 | submitForm () { | 109 | submitForm () { |
110 | let that = this | ||
110 | if (this.bdcdysz.length == 0) { | 111 | if (this.bdcdysz.length == 0) { |
111 | this.$message.error("请至少选择一条数据"); | 112 | this.$message.error("请至少选择一条数据"); |
112 | return; | 113 | return; |
113 | } | 114 | } |
114 | this.loading = true | 115 | this.loading = true |
116 | if (this.sqywInfo.isworkFrame) { | ||
117 | store.dispatch('user/reMenuRefresh', false) | ||
118 | againAddSldy({ | ||
119 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
120 | bdcdysz: that.bdcdysz, | ||
121 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
122 | }).then(res => { | ||
123 | that.loading = false | ||
124 | if (res.code == 200) { | ||
125 | if (this.sqywInfo.sqywdylx != "1") { | ||
126 | that.bdcdysz = [] | ||
127 | that.$refs.table.clearSelection() | ||
128 | } | ||
129 | store.dispatch('user/reMenuRefresh', true) | ||
130 | that.$message({ | ||
131 | showClose: true, | ||
132 | message: '添加成功', | ||
133 | type: 'success' | ||
134 | }) | ||
135 | } | ||
136 | }).catch(() => { | ||
137 | that.loading = false | ||
138 | }) | ||
139 | } else { | ||
115 | startBusinessFlow({ | 140 | startBusinessFlow({ |
116 | bsmSqyw: this.sqywInfo.bsmSqyw, | 141 | bsmSqyw: that.sqywInfo.bsmSqyw, |
117 | bdcdysz: this.bdcdysz, | 142 | bdcdysz: that.bdcdysz, |
118 | }).then((res) => { | 143 | }).then((res) => { |
119 | this.loading = false | 144 | that.loading = false |
120 | if (res.code == 200) { | 145 | if (res.code == 200) { |
121 | this.$message({ | 146 | that.$message({ |
122 | showClose: true, | 147 | showClose: true, |
123 | message: '发起申请成功', | 148 | message: '发起申请成功', |
124 | type: 'success' | 149 | type: 'success' |
125 | }) | 150 | }) |
126 | if (!this.isJump) { | 151 | if (!that.isJump) { |
127 | this.jump(res.result, this.sqywInfo.djywbm) | 152 | that.jump(res.result, that.sqywInfo.djywbm) |
128 | } else { | 153 | } else { |
129 | store.dispatch('user/refreshPage', true); | 154 | store.dispatch('user/refreshPage', true); |
130 | } | 155 | } |
131 | this.close() | 156 | that.$popupCacel() |
132 | } else { | 157 | } else { |
133 | if (res.result && res.result.length > 0) { | 158 | if (res.result && res.result.length > 0) { |
134 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) | 159 | that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) |
135 | } else { | 160 | } else { |
136 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) | 161 | that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) |
137 | } | 162 | } |
138 | } | 163 | } |
139 | }).catch(() => { | 164 | }).catch(() => { |
140 | this.loading = false | 165 | this.loading = false |
141 | }) | 166 | }) |
167 | } | ||
142 | }, | 168 | }, |
143 | /** | 169 | /** |
144 | * @description: close | 170 | * @description: close | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 13:40:23 | 4 | * @LastEditTime: 2024-02-01 16:20:35 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -65,7 +65,7 @@ | ... | @@ -65,7 +65,7 @@ |
65 | import { datas, sendThis } from "../javascript/tdjyq100.js"; | 65 | import { datas, sendThis } from "../javascript/tdjyq100.js"; |
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
67 | import { selectZdjbxx } from "@/api/ywsq.js"; | 67 | import { selectZdjbxx } from "@/api/ywsq.js"; |
68 | import { startBusinessFlow } from "@/api/workFlow.js"; | 68 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
69 | export default { | 69 | export default { |
70 | mixins: [ywsqTable, jump], | 70 | mixins: [ywsqTable, jump], |
71 | props: { | 71 | props: { |
... | @@ -132,24 +132,49 @@ | ... | @@ -132,24 +132,49 @@ |
132 | * @author: renchao | 132 | * @author: renchao |
133 | */ | 133 | */ |
134 | submitForm () { | 134 | submitForm () { |
135 | let that = this | ||
135 | if (this.bdcdysz.length == 0) { | 136 | if (this.bdcdysz.length == 0) { |
136 | this.$message.error("请至少选择一条数据"); | 137 | this.$message.error("请至少选择一条数据"); |
137 | return; | 138 | return; |
138 | } | 139 | } |
139 | this.loading = true | 140 | this.loading = true |
141 | if (this.sqywInfo.isworkFrame) { | ||
142 | store.dispatch('user/reMenuRefresh', false) | ||
143 | againAddSldy({ | ||
144 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
145 | bdcdysz: that.bdcdysz, | ||
146 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
147 | }).then(res => { | ||
148 | that.loading = false | ||
149 | if (res.code == 200) { | ||
150 | if (this.sqywInfo.sqywdylx != "1") { | ||
151 | that.bdcdysz = [] | ||
152 | that.$refs.table.clearSelection() | ||
153 | } | ||
154 | store.dispatch('user/reMenuRefresh', true) | ||
155 | that.$message({ | ||
156 | showClose: true, | ||
157 | message: '添加成功', | ||
158 | type: 'success' | ||
159 | }) | ||
160 | } | ||
161 | }).catch(() => { | ||
162 | that.loading = false | ||
163 | }) | ||
164 | } else { | ||
140 | startBusinessFlow({ | 165 | startBusinessFlow({ |
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | 166 | bsmSqyw: that.sqywInfo.bsmSqyw, |
142 | bdcdysz: this.bdcdysz, | 167 | bdcdysz: that.bdcdysz, |
143 | }).then((res) => { | 168 | }).then((res) => { |
144 | this.loading = false | 169 | that.loading = false |
145 | if (res.code == 200) { | 170 | if (res.code == 200) { |
146 | this.$message({ | 171 | that.$message({ |
147 | showClose: true, | 172 | showClose: true, |
148 | message: '发起申请成功', | 173 | message: '发起申请成功', |
149 | type: 'success' | 174 | type: 'success' |
150 | }) | 175 | }) |
151 | if (!this.isJump) { | 176 | if (!that.isJump) { |
152 | this.jump(res.result, this.djywbm) | 177 | that.jump(res.result, that.djywbm) |
153 | } else { | 178 | } else { |
154 | store.dispatch('user/refreshPage', true); | 179 | store.dispatch('user/refreshPage', true); |
155 | } | 180 | } |
... | @@ -164,6 +189,7 @@ | ... | @@ -164,6 +189,7 @@ |
164 | }).catch(() => { | 189 | }).catch(() => { |
165 | this.loading = false | 190 | this.loading = false |
166 | }) | 191 | }) |
192 | } | ||
167 | }, | 193 | }, |
168 | /** | 194 | /** |
169 | * @description: handleSelectionChange | 195 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 13:44:44 | 4 | * @LastEditTime: 2024-02-01 16:21:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -65,7 +65,7 @@ | ... | @@ -65,7 +65,7 @@ |
65 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | 65 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; |
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
67 | import { selectTdcbjyq } from "@/api/ywsq.js"; | 67 | import { selectTdcbjyq } from "@/api/ywsq.js"; |
68 | import { startBusinessFlow } from "@/api/workFlow.js"; | 68 | import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js"; |
69 | export default { | 69 | export default { |
70 | mixins: [ywsqTable, jump], | 70 | mixins: [ywsqTable, jump], |
71 | props: { | 71 | props: { |
... | @@ -133,28 +133,53 @@ | ... | @@ -133,28 +133,53 @@ |
133 | * @author: renchao | 133 | * @author: renchao |
134 | */ | 134 | */ |
135 | submitForm () { | 135 | submitForm () { |
136 | let that = this | ||
136 | if (this.bdcdysz.length == 0) { | 137 | if (this.bdcdysz.length == 0) { |
137 | this.$message.error("请至少选择一条数据"); | 138 | this.$message.error("请至少选择一条数据"); |
138 | return; | 139 | return; |
139 | } | 140 | } |
140 | this.loading = true | 141 | this.loading = true |
142 | if (this.sqywInfo.isworkFrame) { | ||
143 | store.dispatch('user/reMenuRefresh', false) | ||
144 | againAddSldy({ | ||
145 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
146 | bdcdysz: that.bdcdysz, | ||
147 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
148 | }).then(res => { | ||
149 | that.loading = false | ||
150 | if (res.code == 200) { | ||
151 | if (this.sqywInfo.sqywdylx != "1") { | ||
152 | that.bdcdysz = [] | ||
153 | that.$refs.table.clearSelection() | ||
154 | } | ||
155 | store.dispatch('user/reMenuRefresh', true) | ||
156 | that.$message({ | ||
157 | showClose: true, | ||
158 | message: '添加成功', | ||
159 | type: 'success' | ||
160 | }) | ||
161 | } | ||
162 | }).catch(() => { | ||
163 | that.loading = false | ||
164 | }) | ||
165 | } else { | ||
141 | startBusinessFlow({ | 166 | startBusinessFlow({ |
142 | bsmSqyw: this.sqywInfo.bsmSqyw, | 167 | bsmSqyw: that.sqywInfo.bsmSqyw, |
143 | bdcdysz: this.bdcdysz, | 168 | bdcdysz: that.bdcdysz, |
144 | }).then((res) => { | 169 | }).then((res) => { |
145 | this.loading = false | 170 | that.loading = false |
146 | if (res.code == 200) { | 171 | if (res.code == 200) { |
147 | this.$message({ | 172 | that.$message({ |
148 | showClose: true, | 173 | showClose: true, |
149 | message: '发起申请成功', | 174 | message: '发起申请成功', |
150 | type: 'success' | 175 | type: 'success' |
151 | }) | 176 | }) |
152 | if (!this.isJump) { | 177 | if (!that.isJump) { |
153 | this.jump(res.result) | 178 | that.jump(res.result) |
154 | } else { | 179 | } else { |
155 | store.dispatch('user/refreshPage', true); | 180 | store.dispatch('user/refreshPage', true); |
156 | } | 181 | } |
157 | this.$popupCacel() | 182 | that.$popupCacel() |
158 | } else { | 183 | } else { |
159 | if (res.result && res.result.length > 0) { | 184 | if (res.result && res.result.length > 0) { |
160 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 185 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -165,6 +190,7 @@ | ... | @@ -165,6 +190,7 @@ |
165 | }).catch(() => { | 190 | }).catch(() => { |
166 | this.loading = false | 191 | this.loading = false |
167 | }) | 192 | }) |
193 | } | ||
168 | }, | 194 | }, |
169 | /** | 195 | /** |
170 | * @description: handleSelectionChange | 196 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:57:59 | 4 | * @LastEditTime: 2024-02-01 16:26:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
133 | import { datas, sendThis } from "../javascript/fwsyq.js"; | 133 | import { datas, sendThis } from "../javascript/fwsyq.js"; |
134 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; | 134 | import jump from "@/views/ywbl/ywsq/components/mixin/jump"; |
135 | import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; | 135 | import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; |
136 | import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; | 136 | import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js"; |
137 | export default { | 137 | export default { |
138 | mixins: [ywsqTable, jump], | 138 | mixins: [ywsqTable, jump], |
139 | props: { | 139 | props: { |
... | @@ -264,31 +264,56 @@ | ... | @@ -264,31 +264,56 @@ |
264 | * @author: renchao | 264 | * @author: renchao |
265 | */ | 265 | */ |
266 | submitForm () { | 266 | submitForm () { |
267 | let that = this | ||
267 | if (this.bdcdysz.length == 0) { | 268 | if (this.bdcdysz.length == 0) { |
268 | this.$message.error("请至少选择一条数据"); | 269 | this.$message.error("请至少选择一条数据"); |
269 | return; | 270 | return; |
270 | } | 271 | } |
271 | if (!this.isJump) { | 272 | if (this.sqywInfo.isworkFrame) { |
272 | this.loading = true | 273 | store.dispatch('user/reMenuRefresh', false) |
274 | againAddSldy({ | ||
275 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
276 | bdcdysz: that.bdcdysz, | ||
277 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
278 | }).then(res => { | ||
279 | that.loading = false | ||
280 | if (res.code == 200) { | ||
281 | if (this.sqywInfo.sqywdylx != "1") { | ||
282 | that.bdcdysz = [] | ||
283 | that.$refs.table.clearSelection() | ||
284 | } | ||
285 | store.dispatch('user/reMenuRefresh', true) | ||
286 | that.$message({ | ||
287 | showClose: true, | ||
288 | message: '添加成功', | ||
289 | type: 'success' | ||
290 | }) | ||
291 | } | ||
292 | }).catch(() => { | ||
293 | that.loading = false | ||
294 | }) | ||
295 | } else { | ||
296 | if (!that.isJump) { | ||
297 | that.loading = true | ||
273 | startBusinessFlow({ | 298 | startBusinessFlow({ |
274 | bsmSqyw: this.sqywInfo.bsmSqyw, | 299 | bsmSqyw: that.sqywInfo.bsmSqyw, |
275 | //sjlx: 'zrz', | 300 | //sjlx: 'zrz', |
276 | sjlx: this.activeName, | 301 | sjlx: that.activeName, |
277 | bdcdysz: this.bdcdysz, | 302 | bdcdysz: that.bdcdysz, |
278 | }).then((res) => { | 303 | }).then((res) => { |
279 | this.loading = false | 304 | that.loading = false |
280 | if (res.code == 200) { | 305 | if (res.code == 200) { |
281 | this.$message({ | 306 | that.$message({ |
282 | showClose: true, | 307 | showClose: true, |
283 | message: '发起申请成功', | 308 | message: '发起申请成功', |
284 | type: 'success' | 309 | type: 'success' |
285 | }) | 310 | }) |
286 | if (!this.isJump) { | 311 | if (!that.isJump) { |
287 | this.jump(res.result, this.sqywInfo.djywbm); | 312 | that.jump(res.result, that.sqywInfo.djywbm); |
288 | } else { | 313 | } else { |
289 | store.dispatch('user/refreshPage', true); | 314 | store.dispatch('user/refreshPage', true); |
290 | } | 315 | } |
291 | this.$popupCacel() | 316 | that.$popupCacel() |
292 | } else { | 317 | } else { |
293 | if (res.result && res.result.length > 0) { | 318 | if (res.result && res.result.length > 0) { |
294 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -297,23 +322,23 @@ | ... | @@ -297,23 +322,23 @@ |
297 | } | 322 | } |
298 | } | 323 | } |
299 | }).catch(() => { | 324 | }).catch(() => { |
300 | this.loading = false | 325 | that.loading = false |
301 | }) | 326 | }) |
302 | } else { | 327 | } else { |
303 | this.loading = true | 328 | that.loading = true |
304 | choiceBdcdy({ | 329 | choiceBdcdy({ |
305 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 330 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, |
306 | bdcdysz: this.bdcdysz | 331 | bdcdysz: that.bdcdysz |
307 | }).then(res => { | 332 | }).then(res => { |
308 | this.loading = false | 333 | that.loading = false |
309 | if (res.code == 200) { | 334 | if (res.code == 200) { |
310 | this.$message({ | 335 | that.$message({ |
311 | showClose: true, | 336 | showClose: true, |
312 | message: '发起申请成功', | 337 | message: '发起申请成功', |
313 | type: 'success' | 338 | type: 'success' |
314 | }) | 339 | }) |
315 | store.dispatch('user/refreshPage', true); | 340 | store.dispatch('user/refreshPage', true); |
316 | this.$popupCacel() | 341 | that.$popupCacel() |
317 | } else { | 342 | } else { |
318 | if (res.result && res.result.length > 0) { | 343 | if (res.result && res.result.length > 0) { |
319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 344 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
... | @@ -325,6 +350,7 @@ | ... | @@ -325,6 +350,7 @@ |
325 | this.loading = false | 350 | this.loading = false |
326 | }) | 351 | }) |
327 | } | 352 | } |
353 | } | ||
328 | }, | 354 | }, |
329 | /** | 355 | /** |
330 | * @description: handleSelectionChange | 356 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 选择不动产单元号 | 2 | * @Description: 选择不动产单元号 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-01 13:47:20 | 4 | * @LastEditTime: 2024-02-01 14:48:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false" | 7 | <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false" |
... | @@ -39,6 +39,7 @@ | ... | @@ -39,6 +39,7 @@ |
39 | */ | 39 | */ |
40 | 40 | ||
41 | loadView (view) { | 41 | loadView (view) { |
42 | console.log(view, 'viewviewview'); | ||
42 | return (r) => | 43 | return (r) => |
43 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 44 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
44 | }, | 45 | }, | ... | ... |
-
Please register or sign in to post a comment