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