From 212361dc9430a592d1511ba0a27ddc3c35cf0493 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 03 六月 2024 17:53:49 +0800 Subject: [PATCH] update 优化 去除请假案例状态字段 --- src/views/workflow/leave/index.vue | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/views/workflow/leave/index.vue b/src/views/workflow/leave/index.vue index 56ccb2c..4157be3 100644 --- a/src/views/workflow/leave/index.vue +++ b/src/views/workflow/leave/index.vue @@ -53,17 +53,13 @@ <el-table-column label="璇峰亣鍘熷洜" align="center" prop="remark" /> <el-table-column align="center" label="娴佺▼鐘舵��" min-width="70"> <template #default="scope"> - <dict-tag :options="wf_business_status" :value="scope.row.processInstanceVo.businessStatus"></dict-tag> + <dict-tag :options="wf_business_status" :value="scope.row.status"></dict-tag> </template> </el-table-column> <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> <template #default="scope"> <el-button - v-if=" - scope.row.processInstanceVo.businessStatus === 'draft' || - scope.row.processInstanceVo.businessStatus === 'cancel' || - scope.row.processInstanceVo.businessStatus === 'back' - " + v-if="scope.row.status === 'draft' || scope.row.status === 'cancel' || scope.row.status === 'back'" v-hasPermi="['demo:leave:edit']" size="small" link @@ -73,11 +69,7 @@ >淇敼</el-button > <el-button - v-if=" - scope.row.processInstanceVo.businessStatus === 'draft' || - scope.row.processInstanceVo.businessStatus === 'cancel' || - scope.row.processInstanceVo.businessStatus === 'back' - " + v-if="scope.row.status === 'draft' || scope.row.status === 'cancel' || scope.row.status === 'back'" v-hasPermi="['demo:leave:remove']" size="small" link @@ -88,7 +80,7 @@ > <el-button link type="primary" size="small" icon="View" @click="handleView(scope.row)">鏌ョ湅</el-button> <el-button - v-if="scope.row.processInstanceVo.businessStatus === 'waiting'" + v-if="scope.row.status === 'waiting'" link size="small" type="primary" -- Gitblit v1.9.3