From fcb3a4d58091b6b2a1fcf5a56d10eb46f29fdca7 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Fri, 13 May 2022 10:14:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E5=8F=91=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E5=B8=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/engineeringConfirmation.vue | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/jero-web/src/views/processCenter/components/engineeringConfirmation.vue b/jero-web/src/views/processCenter/components/engineeringConfirmation.vue index 901eceac7..32db9dd32 100644 --- a/jero-web/src/views/processCenter/components/engineeringConfirmation.vue +++ b/jero-web/src/views/processCenter/components/engineeringConfirmation.vue @@ -393,6 +393,14 @@ }) }, distributionEngineer() { + let msgType = '' + if (this.$route.query.flowType == 2) { + msgType = 'designIssueDreMsg' + } else if (this.$route.query.flowType == 3) { + msgType = 'prehomoIssueDreMsg' + } else if (this.$route.query.flowType == 4) { + msgType = 'verifyIssueDreMsg' + } let query = { status: 'NotDone', actiProcInstId: this.$route.query.actiProcInstId, @@ -400,7 +408,7 @@ flowType: this.$route.query.flowType, userIds: this.formInline.userId, taskDefinitionKey: 'dreDispose', - msgType: 'designIssueDreMsg' + msgType: msgType } postAction(this.url.DetailEOAdd, query).then((res) => { if (res.success) { @@ -468,15 +476,25 @@ }) }, reminderClick(val) { + let msgType = '' + if (this.$route.query.flowType == 2) { + msgType = 'designRemindMsg' + } else if (this.$route.query.flowType == 3) { + msgType = 'prehomoRemindMsg' + } else if (this.$route.query.flowType == 4) { + msgType = 'verifyRemindMsg' + } let query = { - msgType: 'designRemindMsg', + msgType: msgType, projectLibraryId: this.$route.query.projectLibraryId, dreUserIds: val.userId, serialNumber: this.$route.query.serialNumber } postAction(this.url.remindDispose, query).then((res) => { if (res.success) { - + this.$message.success(this.$t('OperationSuccessful')) + } else { + this.$message.warning(this.$t('operationFailed')) } }) },