From 0dac7ba33f77342d2a9a1392c820d10d3b72d76c Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期三, 28 九月 2022 16:02:47 +0800
Subject: [PATCH] '修改'

---
 src/views/specialWorkSystem/workTicket/myApproval/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/views/specialWorkSystem/workTicket/myApproval/index.vue b/src/views/specialWorkSystem/workTicket/myApproval/index.vue
index ffd01b4..116955a 100644
--- a/src/views/specialWorkSystem/workTicket/myApproval/index.vue
+++ b/src/views/specialWorkSystem/workTicket/myApproval/index.vue
@@ -88,7 +88,10 @@
                                         审批结果:<span>{{ item.approvalResultDesc }}</span>
                                     </div>
                                     <div class="text">
-                                        审批类型:<span>{{ item.typeDesc }}</span>
+                                        审批层级:<span>{{ item.typeDesc }}</span>
+                                    </div>
+                                    <div class="text" v-if="item.auditTypeDesc">
+                                        审批类型:<span>{{ item.auditTypeDesc }}</span>
                                     </div>
                                     <div class="text" v-show="item.startApprovalTime != null">
                                         开始时间:<span>{{ item.startApprovalTime }}</span>
@@ -418,7 +421,7 @@
             if (res.data.code === '200') {
                 ElMessage({
                     type: 'success',
-                    message: res.data.msg
+                    message: '取消成功!'
                 });
                 getListByPage();
             } else {
@@ -468,6 +471,12 @@
                     return state.departmentRecursionList.find((i: { depId: number }) => i.depId === Number(item))?.depName;
                 });
             }
+            if(state.details.workDetail.csDepId){
+                state.details.workDetail.csDepId = state.departmentRecursionList.find((i: { depId: number }) => i.depId === Number(state.details.workDetail.csDepId))?.depName;
+            }
+            if(state.details.workDetail.operationDepId){
+                state.details.workDetail.operationDepId = state.departmentRecursionList.find((i: { depId: number }) => i.depId === Number(state.details.workDetail.operationDepId))?.depName;
+            }
             if(state.details.workDetail.gbPath){
                 state.details.workDetail.gbPath = state.details.workDetail.gbPath.split(',')
             }

--
Gitblit v1.9.2