修改分发工程师
This commit is contained in:
@@ -393,6 +393,14 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
distributionEngineer() {
|
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 = {
|
let query = {
|
||||||
status: 'NotDone',
|
status: 'NotDone',
|
||||||
actiProcInstId: this.$route.query.actiProcInstId,
|
actiProcInstId: this.$route.query.actiProcInstId,
|
||||||
@@ -400,7 +408,7 @@
|
|||||||
flowType: this.$route.query.flowType,
|
flowType: this.$route.query.flowType,
|
||||||
userIds: this.formInline.userId,
|
userIds: this.formInline.userId,
|
||||||
taskDefinitionKey: 'dreDispose',
|
taskDefinitionKey: 'dreDispose',
|
||||||
msgType: 'designIssueDreMsg'
|
msgType: msgType
|
||||||
}
|
}
|
||||||
postAction(this.url.DetailEOAdd, query).then((res) => {
|
postAction(this.url.DetailEOAdd, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
@@ -468,15 +476,25 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
reminderClick(val) {
|
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 = {
|
let query = {
|
||||||
msgType: 'designRemindMsg',
|
msgType: msgType,
|
||||||
projectLibraryId: this.$route.query.projectLibraryId,
|
projectLibraryId: this.$route.query.projectLibraryId,
|
||||||
dreUserIds: val.userId,
|
dreUserIds: val.userId,
|
||||||
serialNumber: this.$route.query.serialNumber
|
serialNumber: this.$route.query.serialNumber
|
||||||
}
|
}
|
||||||
postAction(this.url.remindDispose, query).then((res) => {
|
postAction(this.url.remindDispose, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user