Merge branch 'dev'
Showing
11 changed files
with
201 additions
and
214 deletions
... | @@ -4,82 +4,109 @@ | ... | @@ -4,82 +4,109 @@ |
4 | * @LastEditTime: 2023-05-17 10:42:01 | 4 | * @LastEditTime: 2023-05-17 10:42:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog" | ||
8 | v-model="value"> | ||
9 | <div class="from-clues"> | 7 | <div class="from-clues"> |
10 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
11 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
12 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | 10 | <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> |
13 | <el-form-item label="下一环节名称:"> | 11 | <el-form-item label="下一环节名称:"> |
14 | {{this.tableData.taskName}} | 12 | {{ this.formData.obj.taskName }} |
15 | </el-form-item> | 13 | </el-form-item> |
16 | <el-form-item label="下一环节办理人:"> | 14 | <el-form-item label="下一环节办理人:"> |
17 | {{this.usernames}} | 15 | {{ this.formData.obj.usernames.join(",") }} |
16 | </el-form-item> | ||
17 | </el-form> | ||
18 | <el-form ref="queryForm" label-width="180px" v-else> | ||
19 | <el-form-item label=""> | ||
20 | 此环节为流程最后环节,转出后流程将结束 | ||
18 | </el-form-item> | 21 | </el-form-item> |
19 | |||
20 | </el-form> | 22 | </el-form> |
23 | <div class="invalid-reson">转出原因:</div> | ||
24 | <el-input | ||
25 | v-model="shyj" | ||
26 | placeholder="请输入转出原因" | ||
27 | type="textarea" | ||
28 | :rows="4" | ||
29 | ></el-input> | ||
30 | <el-button style="float: right" @click="cancelBack">取消转出</el-button> | ||
31 | <el-button type="primary" @click="submitForm" style="float: right" | ||
32 | >确定转出</el-button | ||
33 | > | ||
21 | </div> | 34 | </div> |
22 | </div> | 35 | </div> |
23 | </dialogBox> | ||
24 | </template> | 36 | </template> |
25 | 37 | ||
26 | <script> | 38 | <script> |
27 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js" | 39 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; |
28 | export default { | 40 | import { popupCacel } from "@/utils/popup.js"; |
29 | components: { | 41 | export default { |
30 | }, | 42 | components: {}, |
31 | props: { | 43 | props: { |
32 | value: { type: Boolean, default: false }, | 44 | formData: { |
33 | queryForm: { type: Object, default: false } | 45 | type: Object, |
46 | default: {}, | ||
47 | }, | ||
34 | }, | 48 | }, |
35 | data () { | 49 | data() { |
36 | return { | 50 | return { |
37 | tableData: {}, | 51 | queryForm: {}, |
38 | usernames: '', | 52 | shyj: "", |
39 | } | 53 | }; |
40 | }, | 54 | }, |
41 | methods: { | 55 | mounted() { |
42 | /** | 56 | // this.queryForm= this.queryForm.obj |
43 | * @description: tablelistFn | 57 | console.log("formDataformDataformData", this.formData); |
44 | * @author: renchao | ||
45 | */ | ||
46 | tablelistFn () { | ||
47 | getNextLinkInfo(this.queryForm).then(res => { | ||
48 | if (res.code === 200) { | ||
49 | this.tableData = res.result | ||
50 | if (res.result.usernames) { | ||
51 | this.usernames = String(res.result.usernames) | ||
52 | } | ||
53 | } | ||
54 | }) | ||
55 | }, | 58 | }, |
59 | methods: { | ||
56 | /** | 60 | /** |
57 | * @description: submitForm | 61 | * @description: submitForm |
58 | * @author: renchao | 62 | * @author: renchao |
59 | */ | 63 | */ |
60 | submitForm () { | 64 | submitForm() { |
61 | completeTask(this.queryForm).then(res => { | 65 | this.queryForm = { |
66 | bsmSlsq: this.formData.bsmSlsq, | ||
67 | shyj: this.shyj, | ||
68 | stepform: JSON.stringify(this.formData.tabList), | ||
69 | }; | ||
70 | console.log("this.queryForm", this.queryForm); | ||
71 | completeTask(this.queryForm).then((res) => { | ||
62 | if (res.code === 200) { | 72 | if (res.code === 200) { |
63 | this.$message.success('转件成功') | 73 | this.$message.success("转件成功"); |
74 | // setTimeout(() => { | ||
75 | // window.opener = null; | ||
76 | // window.open("about:blank", "_self"); | ||
77 | // window.close(); | ||
78 | // this.$emit("input", false); | ||
79 | // }, 1000); | ||
80 | popupCacel(); | ||
64 | setTimeout(() => { | 81 | setTimeout(() => { |
65 | window.opener = null; | 82 | // window.opener.location.reload(); //刷新父窗口 |
66 | window.open("about:blank", "_self"); | 83 | if (window.opener && window.opener.getBpageList) { |
84 | window.opener.getBpageList(); | ||
85 | } else { | ||
86 | window.opener.frames[0].getBpageList(); | ||
87 | } | ||
67 | window.close(); | 88 | window.close(); |
68 | this.$emit('input', false) | 89 | this.$emit("input", false); |
69 | }, 1000); | 90 | }, 1000); |
91 | }else{ | ||
92 | this.$message.error(res.message); | ||
70 | } | 93 | } |
71 | }) | 94 | }); |
72 | }, | 95 | }, |
73 | /** | 96 | /** |
74 | * @description: closeDialog | 97 | * @description: closeDialog |
75 | * @author: renchao | 98 | * @author: renchao |
76 | */ | 99 | */ |
77 | closeDialog () { | 100 | cancelBack() { |
78 | this.$emit("input", false); | 101 | popupCacel(); |
79 | }, | 102 | }, |
80 | } | 103 | }, |
81 | } | 104 | }; |
82 | </script> | 105 | </script> |
83 | <style scoped lang="scss"> | 106 | <style scoped lang="scss"> |
84 | @import "~@/styles/mixin.scss"; | 107 | @import "~@/styles/mixin.scss"; |
108 | .el-button { | ||
109 | margin-top: 20px; | ||
110 | margin-right: 10px; | ||
111 | } | ||
85 | </style> | 112 | </style> | ... | ... |
... | @@ -403,7 +403,7 @@ export default { | ... | @@ -403,7 +403,7 @@ export default { |
403 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 403 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
404 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 404 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
405 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 405 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
406 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | 406 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
407 | }, | 407 | }, |
408 | }; | 408 | }; |
409 | }, | 409 | }, | ... | ... |
... | @@ -325,18 +325,25 @@ export default { | ... | @@ -325,18 +325,25 @@ export default { |
325 | * @author: renchao | 325 | * @author: renchao |
326 | */ | 326 | */ |
327 | sendToNext (obj) { | 327 | sendToNext (obj) { |
328 | this.$popupDialog("转出", "workflow/components/zc", { | 328 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
329 | obj:obj, | ||
329 | bsmSlsq: this.bsmSlsq, | 330 | bsmSlsq: this.bsmSlsq, |
330 | bestepid: this.bestepid | 331 | tabList: this.tabList |
331 | }, '800px', true) | 332 | }, '800px', true) |
332 | }, | 333 | }, |
334 | //转出最后一个流程 | ||
333 | /** | 335 | /** |
334 | * @description: sendToEnd | 336 | * @description: 转出最后一个流程 |
335 | * @author: renchao | 337 | * @author: renchao |
336 | */ | 338 | */ |
337 | sendToEnd () { | 339 | sendToEnd () { |
338 | 340 | this.$popupDialog("转出", "djbworkflow/components/zc", { | |
341 | obj:"", | ||
342 | bsmSlsq: this.bsmSlsq, | ||
343 | tabList: this.tabList | ||
344 | }, '800px', true) | ||
339 | }, | 345 | }, |
346 | |||
340 | //批量操作 | 347 | //批量操作 |
341 | /** | 348 | /** |
342 | * @description: 批量操作 | 349 | * @description: 批量操作 | ... | ... |
... | @@ -4,82 +4,109 @@ | ... | @@ -4,82 +4,109 @@ |
4 | * @LastEditTime: 2023-05-17 10:42:01 | 4 | * @LastEditTime: 2023-05-17 10:42:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog" | ||
8 | v-model="value"> | ||
9 | <div class="from-clues"> | 7 | <div class="from-clues"> |
10 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
11 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
12 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | 10 | <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> |
13 | <el-form-item label="下一环节名称:"> | 11 | <el-form-item label="下一环节名称:"> |
14 | {{this.tableData.taskName}} | 12 | {{ this.formData.obj.taskName }} |
15 | </el-form-item> | 13 | </el-form-item> |
16 | <el-form-item label="下一环节办理人:"> | 14 | <el-form-item label="下一环节办理人:"> |
17 | {{this.usernames}} | 15 | {{ this.formData.obj.usernames.join(",") }} |
16 | </el-form-item> | ||
17 | </el-form> | ||
18 | <el-form ref="queryForm" label-width="180px" v-else> | ||
19 | <el-form-item label=""> | ||
20 | 此环节为流程最后环节,转出后流程将结束 | ||
18 | </el-form-item> | 21 | </el-form-item> |
19 | |||
20 | </el-form> | 22 | </el-form> |
23 | <div class="invalid-reson">转出原因:</div> | ||
24 | <el-input | ||
25 | v-model="shyj" | ||
26 | placeholder="请输入转出原因" | ||
27 | type="textarea" | ||
28 | :rows="4" | ||
29 | ></el-input> | ||
30 | <el-button style="float: right" @click="cancelBack">取消转出</el-button> | ||
31 | <el-button type="primary" @click="submitForm" style="float: right" | ||
32 | >确定转出</el-button | ||
33 | > | ||
21 | </div> | 34 | </div> |
22 | </div> | 35 | </div> |
23 | </dialogBox> | ||
24 | </template> | 36 | </template> |
25 | 37 | ||
26 | <script> | 38 | <script> |
27 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js" | 39 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; |
28 | export default { | 40 | import { popupCacel } from "@/utils/popup.js"; |
29 | components: { | 41 | export default { |
30 | }, | 42 | components: {}, |
31 | props: { | 43 | props: { |
32 | value: { type: Boolean, default: false }, | 44 | formData: { |
33 | queryForm: { type: Object, default: false } | 45 | type: Object, |
46 | default: {}, | ||
47 | }, | ||
34 | }, | 48 | }, |
35 | data () { | 49 | data() { |
36 | return { | 50 | return { |
37 | tableData: {}, | 51 | queryForm: {}, |
38 | usernames: '', | 52 | shyj: "", |
39 | } | 53 | }; |
40 | }, | 54 | }, |
41 | methods: { | 55 | mounted() { |
42 | /** | 56 | // this.queryForm= this.queryForm.obj |
43 | * @description: tablelistFn | 57 | console.log("formDataformDataformData", this.formData); |
44 | * @author: renchao | ||
45 | */ | ||
46 | tablelistFn () { | ||
47 | getNextLinkInfo(this.queryForm).then(res => { | ||
48 | if (res.code === 200) { | ||
49 | this.tableData = res.result | ||
50 | if (res.result.usernames) { | ||
51 | this.usernames = String(res.result.usernames) | ||
52 | } | ||
53 | } | ||
54 | }) | ||
55 | }, | 58 | }, |
59 | methods: { | ||
56 | /** | 60 | /** |
57 | * @description: submitForm | 61 | * @description: submitForm |
58 | * @author: renchao | 62 | * @author: renchao |
59 | */ | 63 | */ |
60 | submitForm () { | 64 | submitForm() { |
61 | completeTask(this.queryForm).then(res => { | 65 | this.queryForm = { |
66 | bsmSlsq: this.formData.bsmSlsq, | ||
67 | shyj: this.shyj, | ||
68 | stepform: JSON.stringify(this.formData.tabList), | ||
69 | }; | ||
70 | console.log("this.queryForm", this.queryForm); | ||
71 | completeTask(this.queryForm).then((res) => { | ||
62 | if (res.code === 200) { | 72 | if (res.code === 200) { |
63 | this.$message.success('转件成功') | 73 | this.$message.success("转件成功"); |
74 | // setTimeout(() => { | ||
75 | // window.opener = null; | ||
76 | // window.open("about:blank", "_self"); | ||
77 | // window.close(); | ||
78 | // this.$emit("input", false); | ||
79 | // }, 1000); | ||
80 | popupCacel(); | ||
64 | setTimeout(() => { | 81 | setTimeout(() => { |
65 | window.opener = null; | 82 | // window.opener.location.reload(); //刷新父窗口 |
66 | window.open("about:blank", "_self"); | 83 | if (window.opener && window.opener.getBpageList) { |
84 | window.opener.getBpageList(); | ||
85 | } else { | ||
86 | window.opener.frames[0].getBpageList(); | ||
87 | } | ||
67 | window.close(); | 88 | window.close(); |
68 | this.$emit('input', false) | 89 | this.$emit("input", false); |
69 | }, 1000); | 90 | }, 1000); |
91 | }else{ | ||
92 | this.$message.error(res.message); | ||
70 | } | 93 | } |
71 | }) | 94 | }); |
72 | }, | 95 | }, |
73 | /** | 96 | /** |
74 | * @description: closeDialog | 97 | * @description: closeDialog |
75 | * @author: renchao | 98 | * @author: renchao |
76 | */ | 99 | */ |
77 | closeDialog () { | 100 | cancelBack() { |
78 | this.$emit("input", false); | 101 | popupCacel(); |
79 | }, | 102 | }, |
80 | } | 103 | }, |
81 | } | 104 | }; |
82 | </script> | 105 | </script> |
83 | <style scoped lang="scss"> | 106 | <style scoped lang="scss"> |
84 | @import "~@/styles/mixin.scss"; | 107 | @import "~@/styles/mixin.scss"; |
108 | .el-button { | ||
109 | margin-top: 20px; | ||
110 | margin-right: 10px; | ||
111 | } | ||
85 | </style> | 112 | </style> | ... | ... |
... | @@ -274,109 +274,24 @@ export default { | ... | @@ -274,109 +274,24 @@ export default { |
274 | * @author: renchao | 274 | * @author: renchao |
275 | */ | 275 | */ |
276 | sendToNext (obj) { | 276 | sendToNext (obj) { |
277 | const h = this.$createElement; | 277 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
278 | this.$msgbox({ | 278 | obj:obj, |
279 | title: "您确定转出吗?", | ||
280 | message: h("div", { style: "margin: auto" }, [ | ||
281 | h("span", null, "下个环节名称:"), | ||
282 | h("i", { style: "color: teal" }, obj.taskName), | ||
283 | h("div", null, ""), | ||
284 | h("span", null, "下个环节经办人: "), | ||
285 | h("i", { style: "color: teal" }, obj.usernames.join(",")), | ||
286 | ]), | ||
287 | showCancelButton: true, | ||
288 | beforeClose: (action, instance, done) => { | ||
289 | if (action === "confirm") { | ||
290 | instance.confirmButtonLoading = true; | ||
291 | instance.confirmButtonText = "执行中..."; | ||
292 | completeTask({ | ||
293 | bsmSlsq: this.bsmSlsq, | 279 | bsmSlsq: this.bsmSlsq, |
294 | shyj: "this.bestepid", | 280 | tabList: this.tabList |
295 | stepform: JSON.stringify(this.tabList), | 281 | }, '800px', true) |
296 | }).then((res) => { | ||
297 | if (res.code === 200) { | ||
298 | instance.confirmButtonLoading = false; | ||
299 | this.$message.success("转件成功"); | ||
300 | // window.opener.location.reload(); //刷新父窗口 | ||
301 | if (window.opener && window.opener.getBpageList) { | ||
302 | window.opener.getBpageList(); | ||
303 | } else { | ||
304 | window.opener.frames[0].getBpageList(); | ||
305 | } | ||
306 | window.close(); | ||
307 | this.$emit("input", false); | ||
308 | } else { | ||
309 | instance.confirmButtonLoading = false; | ||
310 | instance.confirmButtonText = "确定"; | ||
311 | let msgArr = res.message.split(';'), | ||
312 | listMsg = [] | ||
313 | msgArr.forEach(item => { | ||
314 | let parts = item.split(':') | ||
315 | listMsg.push({ ywh: parts[0], msg: parts[1] }) | ||
316 | }) | ||
317 | this.$msgbox.close() | ||
318 | ywPopupDialog("转出错误明细", "workflow/components/dialog/dblist", { result: listMsg }, '33%', true) | ||
319 | } | ||
320 | }); | ||
321 | } else { | ||
322 | done(); | ||
323 | } | ||
324 | }, | ||
325 | }).then((action) => { | ||
326 | this.$message({ | ||
327 | type: "info", | ||
328 | message: "action: " + action, | ||
329 | }); | ||
330 | }); | ||
331 | }, | 282 | }, |
283 | //转出最后一个流程 | ||
332 | /** | 284 | /** |
333 | * @description: sendToEnd | 285 | * @description: 转出最后一个流程 |
286 | * @param {*} obj | ||
334 | * @author: renchao | 287 | * @author: renchao |
335 | */ | 288 | */ |
336 | sendToEnd () { | 289 | sendToNext (obj) { |
337 | let that = this | 290 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
338 | const h = this.$createElement; | 291 | obj:"", |
339 | this.$msgbox({ | ||
340 | title: "您确定转出吗?", | ||
341 | message: "此环节为流程最后环节,转出后流程将结束", | ||
342 | showCancelButton: true, | ||
343 | beforeClose: (action, instance, done) => { | ||
344 | if (action === "confirm") { | ||
345 | instance.confirmButtonLoading = true; | ||
346 | instance.confirmButtonText = "执行中..."; | ||
347 | completeTask({ | ||
348 | bsmSlsq: this.bsmSlsq, | 292 | bsmSlsq: this.bsmSlsq, |
349 | shyj: "this.bestepid", | 293 | tabList: this.tabList |
350 | stepform: JSON.stringify(this.tabList), | 294 | }, '800px', true) |
351 | }).then((res) => { | ||
352 | if (res.code === 200) { | ||
353 | instance.confirmButtonLoading = false; | ||
354 | that.$message.success("转件成功"); | ||
355 | localStorage.setItem('transfer', true) | ||
356 | // window.opener.location.reload(); //刷新父窗口 | ||
357 | if (window.opener && window.opener.getBpageList) { | ||
358 | window.opener.getBpageList(); | ||
359 | } else { | ||
360 | window.opener.frames[0].getBpageList(); | ||
361 | } | ||
362 | window.close(); | ||
363 | that.$emit("input", false); | ||
364 | } else { | ||
365 | instance.confirmButtonLoading = false; | ||
366 | instance.confirmButtonText = "确定"; | ||
367 | this.$message.error(res.message); | ||
368 | } | ||
369 | }) | ||
370 | } else { | ||
371 | done(); | ||
372 | } | ||
373 | }, | ||
374 | }).then((action) => { | ||
375 | this.$message({ | ||
376 | type: "info", | ||
377 | message: "action: " + action | ||
378 | }) | ||
379 | }) | ||
380 | }, | 295 | }, |
381 | //批量操作 | 296 | //批量操作 |
382 | /** | 297 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 09:50:20 | 4 | * @LastEditTime: 2023-07-21 14:13:57 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -68,11 +68,6 @@ | ... | @@ -68,11 +68,6 @@ |
68 | <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input> | 68 | <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input> |
69 | </el-form-item> | 69 | </el-form-item> |
70 | </el-col> | 70 | </el-col> |
71 | <!-- <el-col :span="8"> | ||
72 | <el-form-item label="房屋用途:"> | ||
73 | <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input> | ||
74 | </el-form-item> | ||
75 | </el-col> --> | ||
76 | <el-col :span="8"> | 71 | <el-col :span="8"> |
77 | <el-form-item label="规划用途名称:"> | 72 | <el-form-item label="规划用途名称:"> |
78 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | 73 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> |
... | @@ -215,7 +210,7 @@ | ... | @@ -215,7 +210,7 @@ |
215 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; | 210 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
216 | import { mapGetters } from "vuex"; | 211 | import { mapGetters } from "vuex"; |
217 | export default { | 212 | export default { |
218 | created () { | 213 | mounted () { |
219 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 214 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
220 | this.propsParam = this.$attrs; | 215 | this.propsParam = this.$attrs; |
221 | var formdata = new FormData(); | 216 | var formdata = new FormData(); |
... | @@ -243,9 +238,24 @@ | ... | @@ -243,9 +238,24 @@ |
243 | tdytOption: [], | 238 | tdytOption: [], |
244 | czrOptions: [], | 239 | czrOptions: [], |
245 | ruleForm: { | 240 | ruleForm: { |
241 | flow: { | ||
242 | ywh: '' | ||
243 | }, | ||
244 | qlxx: { | ||
245 | mj: '' | ||
246 | }, | ||
247 | sldy: { | ||
248 | gyfs: '' | ||
249 | }, | ||
250 | slsq: { | ||
251 | |||
252 | }, | ||
246 | fdcq2: { | 253 | fdcq2: { |
247 | zyjzmj: '', | 254 | zyjzmj: '', |
248 | ftjzmj: '' | 255 | ftjzmj: '' |
256 | }, | ||
257 | zdjbxx: { | ||
258 | ghytmc: '' | ||
249 | } | 259 | } |
250 | }, | 260 | }, |
251 | //传递参数 | 261 | //传递参数 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-20 09:30:11 | 4 | * @LastEditTime: 2023-07-21 14:16:07 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; | 208 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
209 | import { mapGetters } from "vuex"; | 209 | import { mapGetters } from "vuex"; |
210 | export default { | 210 | export default { |
211 | async created () { | 211 | mounted () { |
212 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 212 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
213 | this.propsParam = this.$attrs; | 213 | this.propsParam = this.$attrs; |
214 | var formdata = new FormData(); | 214 | var formdata = new FormData(); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-20 16:12:16 | 4 | * @LastEditTime: 2023-07-21 14:16:25 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -154,7 +154,7 @@ | ... | @@ -154,7 +154,7 @@ |
154 | import { BatchInit, Init, saveBatchData, saveData } from "@/api/workflow/fwsyqFlow.js"; | 154 | import { BatchInit, Init, saveBatchData, saveData } from "@/api/workflow/fwsyqFlow.js"; |
155 | import { mapGetters } from "vuex"; | 155 | import { mapGetters } from "vuex"; |
156 | export default { | 156 | export default { |
157 | created (callbackfn, thisArg) { | 157 | mounted (callbackfn, thisArg) { |
158 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 158 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
159 | this.propsParam = this.$attrs; | 159 | this.propsParam = this.$attrs; |
160 | var formdata = new FormData(); | 160 | var formdata = new FormData(); |
... | @@ -167,12 +167,11 @@ | ... | @@ -167,12 +167,11 @@ |
167 | this.ruleForm = res.result; | 167 | this.ruleForm = res.result; |
168 | this.splicingFdcq2Info(); | 168 | this.splicingFdcq2Info(); |
169 | } | 169 | } |
170 | }); | 170 | }) |
171 | |||
172 | }, | 171 | }, |
173 | components: { qlrCommonTable }, | 172 | components: { qlrCommonTable }, |
174 | computed: { | 173 | computed: { |
175 | ...mapGetters(["dictData", "flag"]), | 174 | ...mapGetters(["dictData", "flag"]) |
176 | }, | 175 | }, |
177 | data () { | 176 | data () { |
178 | return { | 177 | return { | ... | ... |
... | @@ -191,7 +191,7 @@ | ... | @@ -191,7 +191,7 @@ |
191 | import { Init } from "@/api/workflow/fwsyqFlow.js"; | 191 | import { Init } from "@/api/workflow/fwsyqFlow.js"; |
192 | import { mapGetters } from "vuex"; | 192 | import { mapGetters } from "vuex"; |
193 | export default { | 193 | export default { |
194 | async created () { | 194 | mounted () { |
195 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 195 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
196 | this.propsParam = this.$attrs; | 196 | this.propsParam = this.$attrs; |
197 | var formdata = new FormData(); | 197 | var formdata = new FormData(); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:08 | 4 | * @LastEditTime: 2023-07-21 14:17:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -311,6 +311,17 @@ | ... | @@ -311,6 +311,17 @@ |
311 | } | 311 | } |
312 | }) | 312 | }) |
313 | }, | 313 | }, |
314 | handleSelectionChange (val) { | ||
315 | if (this.sqywInfo.sqywdylx == "1") { | ||
316 | if (val.length > 1) { | ||
317 | this.bdcdysz = [...val[val.length - 1]]; | ||
318 | } else { | ||
319 | this.bdcdysz = val; | ||
320 | } | ||
321 | } else { | ||
322 | this.bdcdysz = val; | ||
323 | } | ||
324 | }, | ||
314 | /** | 325 | /** |
315 | * @description: select | 326 | * @description: select |
316 | * @param {*} selection | 327 | * @param {*} selection |
... | @@ -326,7 +337,6 @@ | ... | @@ -326,7 +337,6 @@ |
326 | if (selection.length == 0) return | 337 | if (selection.length == 0) return |
327 | this.$refs.table.toggleRowSelection(row, true); | 338 | this.$refs.table.toggleRowSelection(row, true); |
328 | } | 339 | } |
329 | |||
330 | }, | 340 | }, |
331 | /** | 341 | /** |
332 | * @description: handleRowClick | 342 | * @description: handleRowClick |
... | @@ -356,7 +366,7 @@ | ... | @@ -356,7 +366,7 @@ |
356 | } else { | 366 | } else { |
357 | this.$refs.table.toggleRowSelection(row); | 367 | this.$refs.table.toggleRowSelection(row); |
358 | } | 368 | } |
359 | }, | 369 | } |
360 | } | 370 | } |
361 | } | 371 | } |
362 | </script> | 372 | </script> | ... | ... |
-
Please register or sign in to post a comment