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')) } }) },