From 4752b4eb01d5529eb4b107d1c6118b2c75213333 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期日, 31 三月 2024 19:30:31 +0800 Subject: [PATCH] update 调整流程状态 --- src/views/workflow/task/taskWaiting.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/workflow/task/taskWaiting.vue b/src/views/workflow/task/taskWaiting.vue index af609cb..5eb6d83 100644 --- a/src/views/workflow/task/taskWaiting.vue +++ b/src/views/workflow/task/taskWaiting.vue @@ -48,9 +48,9 @@ </template> </template> </el-table-column> - <el-table-column align="center" prop="businessStatusName" label="娴佺▼鐘舵��" min-width="70"> + <el-table-column align="center" label="娴佺▼鐘舵��" min-width="70"> <template #default="scope"> - <el-tag type="success">{{ scope.row.businessStatusName }}</el-tag> + <dict-tag :options="wf_business_status" :value="scope.row.businessStatus"></dict-tag> </template> </el-table-column> <el-table-column align="center" prop="createTime" label="鍒涘缓鏃堕棿" width="160"></el-table-column> @@ -81,10 +81,10 @@ import { TaskQuery, TaskVO } from '@/api/workflow/task/types'; import workflowCommon from '@/api/workflow/workflowCommon'; import { RouterJumpVo } from '@/api/workflow/workflowCommon/types'; - +const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { wf_business_status } = toRefs<any>(proxy?.useDict('wf_business_status')); //鎻愪氦缁勪欢 const queryFormRef = ref<ElFormInstance>(); -const { proxy } = getCurrentInstance() as ComponentInternalInstance; // 閬僵灞� const loading = ref(true); // 閫変腑鏁扮粍 -- Gitblit v1.9.3