From ed0ef98553f6d2e34e147ad37b7781f77d2048e9 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期二, 11 十月 2022 16:44:11 +0800 Subject: [PATCH] Default Changelist --- src/views/specialWorkSystem/workTicket/myApproval/index.vue | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/views/specialWorkSystem/workTicket/myApproval/index.vue b/src/views/specialWorkSystem/workTicket/myApproval/index.vue index ffd01b4..13eec8e 100644 --- a/src/views/specialWorkSystem/workTicket/myApproval/index.vue +++ b/src/views/specialWorkSystem/workTicket/myApproval/index.vue @@ -85,10 +85,13 @@ <div class="stepCard"> <el-card class="box-card" shadow="always"> <div class="text"> - 审批结果:<span>{{ item.approvalResultDesc }}</span> + 审批结果:<span class="bold-text">{{ item.approvalResultDesc }}</span> </div> <div class="text"> - 审批类型:<span>{{ item.typeDesc }}</span> + 审批层级:<span class="bold-text">{{ item.typeDesc }}</span> + </div> + <div class="text" v-if="item.auditTypeDesc"> + 审批类型:<span class="bold-text">{{ item.auditTypeDesc }}</span> </div> <div class="text" v-show="item.startApprovalTime != null"> 开始时间:<span>{{ item.startApprovalTime }}</span> @@ -298,7 +301,7 @@ // 填写表单 const toApply = () => { router.push({ - path: 'workApply' + path: 'apply' }); }; @@ -418,7 +421,7 @@ if (res.data.code === '200') { ElMessage({ type: 'success', - message: res.data.msg + message: '取消成功!' }); getListByPage(); } else { @@ -467,6 +470,12 @@ state.details.workDetail.involvedDepIds = a.split(',').map((item) => { 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(',') @@ -629,10 +638,13 @@ padding-left: 10px; span { - font-weight: bolder; color: #409eff; } + .bold-text{ + font-weight: bolder; + } + &:last-of-type { margin-bottom: 0; } -- Gitblit v1.9.2