对接设计符合性确认

This commit is contained in:
qq787203167
2022-05-09 16:55:40 +08:00
parent f03a11a3fa
commit 4ee21119ee
3 changed files with 96 additions and 32 deletions
@@ -6,15 +6,21 @@
</div>
</div>
<div class="header-content">
<div class="operator-text" @click="distributionEngineerClick($t('distributionEngineer'))">
<div class="operator-text"
v-if="$route.query.TaskKey == 'zrrclrw'"
@click="distributionEngineerClick($t('distributionEngineer'))">
<a-icon type="audit"/>
{{ $t('distributionEngineer') }}
</div>
<div class="operator-text" @click="reminderHandling()">
<div class="operator-text"
v-if="$route.query.TaskKey == 'zrrclrw'"
@click="reminderHandling()">
<a-icon type="sound"/>
{{ $t('reminderHandling') }}
</div>
<div class="operator-text" @click="distributionEngineerClick($t('addFeedback'))">
<div class="operator-text"
v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'dreDispose'"
@click="distributionEngineerClick($t('addFeedback'))">
<a-icon type="plus-circle"/>
{{ $t('addFeedback') }}
</div>
@@ -33,10 +39,25 @@
</a>
</span>
<span slot="operation" slot-scope="result">
<a class="text" @click="edit(result,$t('edit'))">{{$t('edit')}}</a>
<a class="text" @click="detailsClick(result)">{{$t('details')}}</a>
<a class="text" @click="answerClick(result,$t('replyFromProjectContactPerson'))">{{$t('answer')}}</a>
<a class="text" @click="deleted(result)">{{$t('deleteLib')}}</a>
<a class="text"
v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'dreDispose'"
@click="edit(result,$t('edit'))">
{{$t('edit')}}
</a>
<a class="text"
@click="detailsClick(result)">
{{$t('details')}}
</a>
<a class="text"
v-if="$route.query.TaskKey == 'zrrclrw'"
@click="answerClick(result,$t('replyFromProjectContactPerson'))">
{{$t('answer')}}
</a>
<a class="text"
v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'dreDispose'"
@click="deleted(result)">
{{$t('deleteLib')}}
</a>
</span>
</a-table>
<a-modal
@@ -394,7 +415,13 @@
},
feedbackData(url, Action) {
this.confirmLoading = true
Action(url, this.formInline).then((res) => {
let query = {
projectTaskInventoryId: this.$route.query.projectTaskInventoryId,
actiProcInstId: this.$route.query.actiProcInstId,
flowType: this.$route.query.flowType,
...this.formInline
}
Action(url, query).then((res) => {
if (res.success) {
this.confirmLoading = false
this.getList()
@@ -424,7 +451,7 @@
getReminderHandlingList() {
this.loadingTable = true
let query = {
taskDefinitionKey:'dreDispose',
taskDefinitionKey: 'dreDispose',
actiProcInstId: this.$route.query.actiProcInstId
}
getAction(this.url.queryByActiProcInstId, query).then((res) => {
@@ -5,9 +5,11 @@
:is-termination-process="isTerminationProcess"
:is-adopt="isAdopt"
:isSendBack="isSendBack"
:isSubmit="isSubmit"
@terminationProcess="terminationProcess"
@adopt="adopt"
@sendBack="sendBack"
@submit="submit"
/>
<div class="detail-box">
<div class="detail-content">
@@ -27,7 +29,8 @@
v-if="!loading"
/>
<reviewedByThePersonInCharge
v-if="!loading"
v-if="(!loading && $route.query.TaskKey == 'zrrclrw') ||
(!loading && $route.query.TaskKey == 'fqrsh')"
/>
<circulationHistory v-if="!loading" :url="url"/>
</div>
@@ -135,11 +138,11 @@
},
{
title: this.$t('Sponsor'),
value: 'designInitiatorName'
value: this.$route.query.Sponsor
},
{
title: this.$t('personLiable'),
value: 'designDutyName'
value: this.$route.query.personLiable
},
{
title: this.$t('regulatoryEngineer'),
@@ -152,12 +155,11 @@
{},
{
title: this.$t('typeOfDeliverables'),
value: 'designDeliverableType_dictText'
value: this.$route.query.typeOfDeliverables
},
{
title: this.$t('deliverableTemplate'),
value: 'designDeliverableTemplate',
name: 'designDeliverableTemplateName',
value: this.$route.query.deliverableTemplate,
type: 2
},
{
@@ -173,13 +175,28 @@
},
computed: {
isSendBack() {
return true
if (this.$route.query.TaskKey == 'fqrsh') {
return true
}
return false
},
isTerminationProcess() {
return true
if (this.$route.query.TaskKey == 'fqrsh' || this.$route.query.TaskKey == 'zrrclrw') {
return true
}
return false
},
isAdopt() {
return true
if (this.$route.query.TaskKey == 'fqrsh') {
return true
}
return false
},
isSubmit() {
if (this.$route.query.TaskKey == 'zrrclrw') {
return true
}
return false
}
},
mounted() {