对接任务确认流程
This commit is contained in:
@@ -419,25 +419,7 @@
|
||||
})
|
||||
},
|
||||
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,
|
||||
projectTaskInventoryId: this.$route.query.projectTaskInventoryId,
|
||||
flowType: this.$route.query.flowType,
|
||||
userIds: this.formInline.userId,
|
||||
taskDefinitionKey: 'dreDispose',
|
||||
msgType: msgType,
|
||||
formData: JSON.stringify(this.distributionEngineerList)
|
||||
}
|
||||
postAction(this.url.DetailEOAdd, query).then((res) => {
|
||||
postAction(this.url.DetailEOAdd, this.distributionEngineerList).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.success) {
|
||||
this.confirmLoading = false
|
||||
@@ -532,10 +514,25 @@
|
||||
PersonnelSelectionChange(value, id) {
|
||||
this.formInline[value] = id
|
||||
if (id) {
|
||||
this.formInline.userName.split(',').forEach(res => {
|
||||
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'
|
||||
}
|
||||
this.formInline.userName.split(',').forEach((res, index) => {
|
||||
this.distributionEngineerList.push({
|
||||
deliveryInstructions: '',
|
||||
name: res
|
||||
name: res,
|
||||
status: 'NotDone',
|
||||
actiProcInstId: this.$route.query.actiProcInstId,
|
||||
projectTaskInventoryId: this.$route.query.projectTaskInventoryId,
|
||||
flowType: this.$route.query.flowType,
|
||||
userIds: this.formInline[value].split(',')[index],
|
||||
taskDefinitionKey: 'dreDispose',
|
||||
msgType: msgType
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user