From d526384063226e9617c60f243f1f52e29299f318 Mon Sep 17 00:00:00 2001 From: "Mr.Z" <709235321@qq.com> Date: Tue, 14 Sep 2021 11:08:31 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E6=B5=B7=E5=A4=96=E6=A0=87=E5=87=86?= =?UTF-8?q?=E6=B3=95=E8=A7=84--=E9=BB=98=E8=AE=A4=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E4=B8=BA=E8=93=9D=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../foreignStandardsAndRegulations/index.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 6fa61cf87..d8f118bf8 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -189,7 +189,11 @@ width="110px" label="发布日期"> @@ -209,7 +213,7 @@ width="150px" label="新车型实施日期"> --> From 99662dbc5ac10a337faef3dab2fd10e3aee39766 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Tue, 14 Sep 2021 11:20:08 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E5=9B=BD=E5=86=85=E5=A4=96=E6=A0=87?= =?UTF-8?q?=E5=87=86=E6=B3=95=E8=A7=84--=E5=BD=93=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=8F=98=E6=88=90=E8=A2=AB=E4=BB=A3=E6=9B=BF?= =?UTF-8?q?=E6=88=96=E8=80=85=E5=BA=9F=E6=AD=A2=E6=97=B6=EF=BC=8C=E4=B8=80?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E6=95=B0=E6=8D=AE=E4=B9=9F=E8=A6=81=E5=8F=98?= =?UTF-8?q?=E6=88=90=E7=BA=A2=E8=89=B2=EF=BC=8C=E4=BC=81=E4=B8=9A=E6=A0=87?= =?UTF-8?q?=E5=87=86=E5=BA=93=E5=90=8C=E6=AD=A5=E7=9A=84=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=B8=BA=E5=8F=82=E8=80=83=E5=92=8C=E4=BD=9C?= =?UTF-8?q?=E5=BA=9F=E4=B9=9F=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domesticStandardsAndRegulations/index.vue | 27 +++++++++++++------ .../components/EnterpriseStandardDatabase.vue | 20 +++++++------- 2 files changed, 30 insertions(+), 17 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 1cc0226a8..bac781c97 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -184,11 +184,16 @@ label="标准号" > @@ -197,7 +202,8 @@ label="标准名称" > @@ -227,7 +235,8 @@ width="150px" label="新车型实施日期"> --> diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index c65b035dd..9e73e72fc 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -297,7 +297,8 @@ > @@ -697,13 +708,18 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' - import {inboundLiaisonDetail,processCreateStand} from 'api/process' + import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process' import TreeSelect from '@/components/treeSelect/treeSelect.vue'; export default { name: "bzrkStep2", data () { return { + // 调整处理人抽屉状态 + drawerModal: false, + drawerTitle: '', + nodeList: [], + selectPeople:'', xgdFileId: '', fbgbjbdFileId: '', bpgFileId: '', @@ -877,6 +893,26 @@ }, }, methods: { + checkedRole (data) { + this.assigneeNewLoading = true + changeAssigneeNew({ + taskId: this.$route.query.taskIds, // 任务id + userId:this.$store.getters.userInfo.userId, // 委托人 + assignee: data[0].id, // 被委托人 + pId: this.$route.query.prcId, // 流程实例 + }).then(res => { + this.assigneeNewLoading = false + if (res.success) { + this.drawerModal = false + this.$message.success('调整成功') + this.processNum() + this.queryProcess() + this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) + } else { + this.$message.warning(res.message) + } + }) + }, downloadFile (fileType) { //文件id中出现了','字符,去除掉 if(fileType === 'fbgbjbd'){ @@ -1032,6 +1068,10 @@ handleTabs(name) { this.active = name }, + handleTransfer() { + this.drawerModal = true + this.drawerTitle = '转办处理人' + }, handleSave() {}, handleSubmit() { const val= this.form.country; diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 983b1fe33..0de89934e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -665,10 +665,19 @@ show-submit :submitLoading="isSubmit" :saveLoading="saveLoading" + @transfer="handleTransfer" @save="handleSave" @submit="handleSubmit" > + + @@ -677,7 +686,7 @@ import {saveTaskFirst} from "api/process"; import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' -import {inboundLiaisonDetail,processCreateStand} from 'api/process' +import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process' import TreeSelect from '@/components/treeSelect/treeSelect.vue'; export default { @@ -835,6 +844,11 @@ export default { // 流程路由信息 prcNum : this.$route.query.prcNum, prcName : this.$route.query.prcName, + // 调整处理人抽屉状态 + drawerModal: false, + drawerTitle: '', + nodeList: [], + selectPeople:'', } }, components: { @@ -849,6 +863,26 @@ export default { }, }, methods: { + checkedRole (data) { + this.assigneeNewLoading = true + changeAssigneeNew({ + taskId: this.$route.query.taskIds, // 任务id + userId:this.$store.getters.userInfo.userId, // 委托人 + assignee: data[0].id, // 被委托人 + pId: this.$route.query.prcId, // 流程实例 + }).then(res => { + this.assigneeNewLoading = false + if (res.success) { + this.drawerModal = false + this.$message.success('调整成功') + this.processNum() + this.queryProcess() + this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) + } else { + this.$message.warning(res.message) + } + }) + }, downloadFile (fileType) { if(fileType === 'fbgbjbd'){ window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId.replace(",",""); @@ -991,6 +1025,10 @@ export default { handleTabs(name) { this.active = name }, + handleTransfer() { + this.drawerModal = true + this.drawerTitle = '转办处理人' + }, handleSave() { this.saveLoading = true let _formData = new FormData() diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index 81ad48785..ed0db369b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -1041,6 +1041,14 @@ 提交 + + @@ -1049,7 +1057,7 @@ import {saveTaskFirst, queryTaskFirst} from "api/process"; import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' -import {inboundLiaisonDetail,processCreateStand} from 'api/process' +import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process' import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; @@ -1283,6 +1291,11 @@ export default { // 流程路由信息 prcNum : this.$route.query.prcNum, prcName : this.$route.query.prcName, + // 调整处理人抽屉状态 + drawerModal: false, + drawerTitle: '', + nodeList: [], + selectPeople:'', } }, computed: { @@ -1291,6 +1304,26 @@ export default { }, }, methods: { + checkedRole (data) { + this.assigneeNewLoading = true + changeAssigneeNew({ + taskId: this.$route.query.taskIds, // 任务id + userId:this.$store.getters.userInfo.userId, // 委托人 + assignee: data[0].id, // 被委托人 + pId: this.$route.query.prcId, // 流程实例 + }).then(res => { + this.assigneeNewLoading = false + if (res.success) { + this.drawerModal = false + this.$message.success('调整成功') + this.processNum() + this.queryProcess() + this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) + } else { + this.$message.warning(res.message) + } + }) + }, getTaskId () { queryTaskFirst({ bpnId: this.$route.query.bpnId From f4e40475c68e02f7f4cfdbc3832e609a3d2c7488 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Tue, 14 Sep 2021 14:50:46 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=A0=87=E5=87=86?= =?UTF-8?q?=E5=BA=93=E5=90=8C=E6=AD=A5=E7=9A=84=E6=96=87=E6=9C=AC=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B8=BA=E5=8F=82=E8=80=83=E6=98=AF=E9=BB=84=E8=89=B2?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/EnterpriseStandardDatabase.vue | 32 ++++++++++++------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 9e73e72fc..3f5a410f6 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -297,8 +297,9 @@ > From fa504ff0fa068f8f6f91491139fc9ce7d3acd0c2 Mon Sep 17 00:00:00 2001 From: "wangxiahui@91isoft.com" <140316hui> Date: Tue, 14 Sep 2021 15:19:07 +0800 Subject: [PATCH 6/8] Default Changelist --- .../pages/processList/tabComponents/alreadySend/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue index 4844a5468..fbb422655 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue @@ -128,7 +128,7 @@ 查看 - 强制撤回 + 撤回 From f59cee50eec3897a4441c244f743d54bacf2d61f Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Tue, 14 Sep 2021 15:22:28 +0800 Subject: [PATCH 7/8] commit --- .../domesticStandardsAndRegulations/index.vue | 14 +++++++------- .../components/EnterpriseStandardDatabase.vue | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index bac781c97..643f200b2 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -184,7 +184,7 @@ label="标准号" >