对接任务确认流程
This commit is contained in:
@@ -844,4 +844,5 @@ module.exports = {
|
||||
endMonth:'End Month',
|
||||
Importing:'Importing...',
|
||||
projectDeliveryDescription:'Project delivery description',
|
||||
cancelConfirm:'Cancel Confirm',
|
||||
}
|
||||
@@ -849,4 +849,5 @@ module.exports = {
|
||||
endMonth:'结束日期',
|
||||
Importing:'导入中...',
|
||||
projectDeliveryDescription:'工程交付说明',
|
||||
cancelConfirm:'取消确认',
|
||||
}
|
||||
@@ -18,10 +18,6 @@
|
||||
<a-icon type="sound"/>
|
||||
{{ $t('reminderHandling') }}
|
||||
</div>
|
||||
<a class="text"
|
||||
@click="detailsClick()">
|
||||
{{$t('details')}}
|
||||
</a>
|
||||
<div class="operator-text"
|
||||
v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'dreDispose'"
|
||||
@click="distributionEngineerClick($t('addFeedback'))">
|
||||
@@ -53,6 +49,11 @@
|
||||
<a class="text"
|
||||
@click="detailsClick(result)">
|
||||
{{$t('details')}}
|
||||
</a>
|
||||
<a class="text"
|
||||
v-if="$route.query.TaskKey == 'zrrclrw'"
|
||||
@click="answerClick(result,$t('replyFromProjectContactPerson'))">
|
||||
{{$t('confirm')}}
|
||||
</a>
|
||||
<a class="text"
|
||||
v-if="$route.query.TaskKey == 'zrrclrw'"
|
||||
@@ -419,7 +420,24 @@
|
||||
})
|
||||
},
|
||||
distributionEngineer() {
|
||||
postAction(this.url.DetailEOAdd, this.distributionEngineerList).then((res) => {
|
||||
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 = {
|
||||
status: 'NotDone',
|
||||
actiProcInstId: this.$route.query.actiProcInstId,
|
||||
projectTaskInventoryId: this.$route.query.projectTaskInventoryId,
|
||||
flowType: this.$route.query.flowType,
|
||||
taskDefinitionKey: 'dreDispose',
|
||||
msgType: msgType,
|
||||
distributionEngineerList: this.distributionEngineerList
|
||||
}
|
||||
postAction(this.url.DetailEOAdd, query).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.success) {
|
||||
this.confirmLoading = false
|
||||
@@ -514,25 +532,11 @@
|
||||
PersonnelSelectionChange(value, id) {
|
||||
this.formInline[value] = id
|
||||
if (id) {
|
||||
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,
|
||||
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
|
||||
userId: this.formInline[value].split(',')[index]
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
@@ -42,6 +42,16 @@
|
||||
'No rating': this.$t('toBeConfirmed')
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('operationNode'),
|
||||
dataIndex: 'name',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('Operator'),
|
||||
dataIndex: 'assignee',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('result'),
|
||||
dataIndex: 'reviewResult',
|
||||
@@ -53,16 +63,6 @@
|
||||
dataIndex: 'approvalOpinion',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('operationNode'),
|
||||
dataIndex: 'name',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('Operator'),
|
||||
dataIndex: 'assignee',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
title: this.$t('operationTime'),
|
||||
dataIndex: 'operatorTime',
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
return false
|
||||
},
|
||||
isTerminationProcess() {
|
||||
if (this.$route.query.TaskKey == 'fqrsh' || this.$route.query.TaskKey == 'zrrclrw') {
|
||||
if (this.$route.query.TaskKey == 'fqrsh') {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user