!103 feat(bpm): 列表行根据督办状态显示不同背景色

* feat(bpm): 列表行根据督办状态显示不同背景色
* fix(bpm): defaultCc 改为 provide/inject 传递,修复默认抄送不生效
This commit is contained in:
wsm
2026-07-16 07:11:01 +00:00
parent 20b0d4c1bc
commit 9c90223792
5 changed files with 43 additions and 11 deletions
+11
View File
@@ -44,6 +44,7 @@
:expandedRowKeys="expandedRowKeys"
@expand="handleExpand"
@fetch-success="onFetchSuccess"
:rowClassName="(r) => r.bpmStatus ? 'status-row-' + r.bpmStatus : ''"
>
<!--插槽:table标题-->
<template #tableTitle>
@@ -934,4 +935,14 @@ import { defHttp } from '/@/utils/http/axios';
height: auto;
}
}
:deep(.status-row-1 td) {
background: #fffbe6 !important;
}
:deep(.status-row-2 td) {
background: #fff1f0 !important;
}
:deep(.status-row-3 td) {
background: #f6ffed !important;
}
</style>
@@ -500,6 +500,7 @@ import {
provide('extraVars', formScope);
provide('flowVars', computed(() => props.formData?.vars || {}));
provide('formDefaultReason', defaultHandleReason);
provide('defaultCcUsers', defaultCcUsers);
onMounted(() => {
initFormData();