From ca010277b495920be0d8449a9d26ca47585297b4 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Fri, 27 Feb 2026 16:47:48 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=A0=87=E7=AD=BE=E6=94=B9=E4=B8=BA=E7=AE=80?= =?UTF-8?q?=E7=BA=A6=20GitHub=20=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ccdiProject/components/ProjectTable.vue | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue index 5efe4ed..e9d79ac 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/ProjectTable.vue @@ -47,9 +47,10 @@ align="center" > @@ -198,6 +199,15 @@ export default { return statusMap[status] || 'info' }, + getStatusColor(status) { + const colorMap = { + '0': '#1890ff', // 进行中 - 蓝色 + '1': '#52c41a', // 已完成 - 绿色 + '2': '#8c8c8c' // 已归档 - 灰色 + } + return colorMap[status] || '#8c8c8c' + }, + getWarningClass(row) { const total = row.highRiskCount + row.mediumRiskCount + row.lowRiskCount if (row.highRiskCount > 0) { @@ -309,6 +319,17 @@ export default { } } +.status-tag { + display: inline-flex; + align-items: center; + gap: 6px; + + .status-dot { + font-size: 10px; + line-height: 1; + } +} + .project-info-cell { padding: 8px 0; line-height: 1.5;