From 7869df98cdf454e22dfc02c4db0790eed776136a Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期六, 08 十月 2022 14:49:08 +0800 Subject: [PATCH] Default Changelist --- src/views/specialWorkSystem/workTicket/myApproval/index.vue | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/views/specialWorkSystem/workTicket/myApproval/index.vue b/src/views/specialWorkSystem/workTicket/myApproval/index.vue index fb28ad4..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,21 @@ 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(',') + } + if(state.details.workDetail.bcPath){ + state.details.workDetail.bcPath = state.details.workDetail.bcPath.split(',') + } + if(state.details.workDetail.bpLocationMapPath){ + state.details.workDetail.bpLocationMapPath = state.details.workDetail.bpLocationMapPath.split(',') + } state.dialogDetails = true; }; -- Gitblit v1.9.2