From 1e5a1d422bcdb2d671d2792e6430c913eae5cefe Mon Sep 17 00:00:00 2001
From: sion123 <450702724@qq.com>
Date: Thu, 26 Feb 2026 20:45:51 +0800
Subject: [PATCH] refactor(TaskStatusTag): replace a-tag with span element and
improve status configuration
- Replace a-tag component with semantic span element for better accessibility
- Introduce centralized STATUS_CONFIG object for consistent status mapping
- Add isRunning computed property for cleaner conditional logic
- Remove redundant statusMap handling and normalize status values
- Add proper CSS class bindings for styling consistency
- Update component structure to use
---
.../web-gold/docs/DESIGN_MIGRATION_GUIDE.md | 277 ---------
.../components/TaskStatusTag.vue | 147 +++--
.../digital-human-task/index.vue | 445 +++-----------
.../task-management/layout/TaskLayout.vue | 176 ++----
.../system/task-management/mix-task/index.vue | 562 ++++++------------
.../app/web-gold/src/views/user/Profile.vue | 2 +-
6 files changed, 386 insertions(+), 1223 deletions(-)
delete mode 100644 frontend/app/web-gold/docs/DESIGN_MIGRATION_GUIDE.md
diff --git a/frontend/app/web-gold/docs/DESIGN_MIGRATION_GUIDE.md b/frontend/app/web-gold/docs/DESIGN_MIGRATION_GUIDE.md
deleted file mode 100644
index 6899dbb442..0000000000
--- a/frontend/app/web-gold/docs/DESIGN_MIGRATION_GUIDE.md
+++ /dev/null
@@ -1,277 +0,0 @@
-# 设计系统迁移指南
-
-> 将现有前端代码迁移到统一设计系统
-
----
-
-## 一、迁移步骤
-
-### Step 1: 引入设计令牌
-
-在 `src/main.ts` 中添加设计令牌导入:
-
-```typescript
-// main.ts
-import './styles/design-tokens.css' // 添加在最先
-import './style.less'
-// ... 其他导入
-```
-
-### Step 2: 配置 TailwindCSS
-
-更新 `tailwind.config.js` 为 `tailwind.config.ts`:
-
-```bash
-# 删除旧配置
-rm tailwind.config.js
-
-# 使用新配置
-# 已创建: tailwind.config.ts
-```
-
-### Step 3: 配置 Ant Design Vue 主题
-
-更新 `src/App.vue`:
-
-```vue
-
-
-
- 描述文字标题
-