style: 调整未开始状态标签颜色,提高可读性
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
<!-- 高级查询 -->
|
<!-- 高级查询 -->
|
||||||
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
|
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
|
||||||
<a-space style="float: right; font-size: 14px; font-weight: bold">
|
<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="error">督办中 {{ statsData.inProgress }}(已逾期 {{ statsData.overdue }})</a-tag>
|
||||||
<a-tag color="success">已完成 {{ statsData.completed }}</a-tag>
|
<a-tag color="success">已完成 {{ statsData.completed }}</a-tag>
|
||||||
</a-space>
|
</a-space>
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
<!-- 高级查询 -->
|
<!-- 高级查询 -->
|
||||||
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
|
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
|
||||||
<a-space style="float: right; font-size: 14px; font-weight: bold">
|
<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="error">督办中 {{ statsData.inProgress }}(已逾期 {{ statsData.overdue }})</a-tag>
|
||||||
<a-tag color="success">已完成 {{ statsData.completed }}</a-tag>
|
<a-tag color="success">已完成 {{ statsData.completed }}</a-tag>
|
||||||
</a-space>
|
</a-space>
|
||||||
@@ -615,11 +615,7 @@
|
|||||||
async function refreshBusinessStatus(records) {
|
async function refreshBusinessStatus(records) {
|
||||||
if (!records || records.length === 0) return;
|
if (!records || records.length === 0) return;
|
||||||
try {
|
try {
|
||||||
const results = await Promise.all(
|
const results = await Promise.all(records.map((item) => getBusinessStatus({ businessId: item.id }).catch(() => null)));
|
||||||
records.map((item) =>
|
|
||||||
getBusinessStatus({ businessId: item.id }).catch(() => null)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
const statusMap: Record<string, string> = {};
|
const statusMap: Record<string, string> = {};
|
||||||
for (const item of results) {
|
for (const item of results) {
|
||||||
if (item?.businessId) {
|
if (item?.businessId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user