From 999cab6fb3fc6d2a288d365da991351c5a396bf0 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期三, 21 九月 2022 15:53:18 +0800 Subject: [PATCH] 删除无用页面 --- src/views/specialWorkSystem/workTicket/myApproval/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/specialWorkSystem/workTicket/myApproval/index.vue b/src/views/specialWorkSystem/workTicket/myApproval/index.vue index ffd01b4..2d3e22c 100644 --- a/src/views/specialWorkSystem/workTicket/myApproval/index.vue +++ b/src/views/specialWorkSystem/workTicket/myApproval/index.vue @@ -418,7 +418,7 @@ if (res.data.code === '200') { ElMessage({ type: 'success', - message: res.data.msg + message: '取消成功!' }); getListByPage(); } else { @@ -468,6 +468,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