修改分发工程师
This commit is contained in:
@@ -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'))
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user