style: 调整未开始状态标签颜色,提高可读性

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wsm
2026-07-14 16:23:37 +08:00
co-authored by Claude Opus 4.7
parent c9a5ba0846
commit 98518f4b73
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -80,7 +80,7 @@
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
<a-space style="float: right; font-size: 14px; font-weight: bold">
<a-tag color="warning">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="warning" style="color: #8c6900">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="error">督办中 {{ statsData.inProgress }}已逾期 {{ statsData.overdue }}</a-tag>
<a-tag color="success">已完成 {{ statsData.completed }}</a-tag>
</a-space>
@@ -104,7 +104,7 @@
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
<a-space style="float: right; font-size: 14px; font-weight: bold">
<a-tag color="warning">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="warning" style="color: #8c6900">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="error">督办中 {{ statsData.inProgress }}已逾期 {{ statsData.overdue }}</a-tag>
<a-tag color="success">已完成 {{ statsData.completed }}</a-tag>
</a-space>
@@ -615,11 +615,7 @@
async function refreshBusinessStatus(records) {
if (!records || records.length === 0) return;
try {
const results = await Promise.all(
records.map((item) =>
getBusinessStatus({ businessId: item.id }).catch(() => null)
)
);
const results = await Promise.all(records.map((item) => getBusinessStatus({ businessId: item.id }).catch(() => null)));
const statusMap: Record<string, string> = {};
for (const item of results) {
if (item?.businessId) {