【修改bug】修改已办显示名称

This commit is contained in:
zhoulingpo
2023-04-27 14:22:03 +08:00
parent 31e18c2c2d
commit f2aa677f77
2 changed files with 14 additions and 9 deletions
+4 -2
View File
@@ -2,7 +2,8 @@
<!-- 此页面主要展示审核和已完成--> <!-- 此页面主要展示审核和已完成-->
<div class="process"> <div class="process">
<div class="process_box"> <div class="process_box">
<process-header :title="'权限审批'" :proceesNum="prcNum"></process-header> <process-header v-if="$route.query.type !== 'yiban'" :title="'权限审批'" :proceesNum="prcNum"></process-header>
<process-header v-else :title="'已办流程'" :proceesNum="prcNum"></process-header>
<div class="procedure"> <div class="procedure">
<div class="process_content"> <div class="process_content">
<span class="base_title">基础信息</span> <span class="base_title">基础信息</span>
@@ -50,7 +51,8 @@
<span class="base_title">审批历史</span> <span class="base_title">审批历史</span>
<process-approval-history :prcNum="prcNum"></process-approval-history> <process-approval-history :prcNum="prcNum"></process-approval-history>
</div> </div>
<div class="process_content"> <!-- v-if="$route.query.type !=='yiban'"-->
<div class="process_content" >
<span class="base_title">审核信息</span> <span class="base_title">审核信息</span>
<audit-operation ref="operationRef" :examine="submitjson" :is-disable="disabled"></audit-operation> <audit-operation ref="operationRef" :examine="submitjson" :is-disable="disabled"></audit-operation>
</div> </div>
+10 -7
View File
@@ -1,8 +1,9 @@
<template> <template>
<div class="process"> <div class="process">
<div class="process_box"> <div class="process_box">
<process-header v-if="initShow" :title="'发起人修改'" :proceesNum="prcNum"></process-header> <process-header v-if="$route.query.isBegin" :title="'发起流程'"></process-header>
<process-header v-else :title="'发起流程'"></process-header> <process-header v-else-if="$route.query.type == 'yiban'" :title="'已办流程'" :proceesNum="prcNum"></process-header>
<process-header v-else :title="'发起人修改'" :proceesNum="prcNum"></process-header>
<div class="procedure"> <div class="procedure">
<div class="process_content"> <div class="process_content">
<span class="base_title">基础信息</span> <span class="base_title">基础信息</span>
@@ -195,17 +196,19 @@ export default {
}, },
created() { created() {
// 第一次进入此页面 需要清楚校验 // 第一次进入此页面 需要清楚校验
if (this.$route.query.ids) { if (this.$route.query.isBegin) {
// if (this.$route.query.ids.split(',').length > 0) { // if (this.$route.query.ids.split(',').length > 0) {
// this.reportList(this.$route.query.ids) // this.reportList(this.$route.query.ids)
// } // }
this.handleReset() this.handleReset()
} }
// 如果是从草稿进入的 // 如果是从草稿进入的
// if (this.$route.query.isDraft) { if (this.$route.query.isDraft) {
// this.getDraftDetail().then(res => {
// }
if (this.$store.getters.handleProcess.taskDefinitionKey == 'aid4' || this.$route.query.isDraft) { })
}
if (this.$store.getters.handleProcess.taskDefinitionKey == 'aid4' ) {
this.taskId = this.$store.getters.handleProcess.taskId this.taskId = this.$store.getters.handleProcess.taskId
this.prcNum = this.$store.getters.handleProcess.prcNum this.prcNum = this.$store.getters.handleProcess.prcNum
this.prcId = this.$store.getters.handleProcess.prcId this.prcId = this.$store.getters.handleProcess.prcId