Remove non-admin workbench

This commit is contained in:
Cheng Zhou
2026-05-21 15:48:19 +08:00
parent da6f2f2d41
commit 78247a8149
20 changed files with 36 additions and 1474 deletions
-2
View File
@@ -56,5 +56,3 @@
| low | auth-session | `frontend/src/utils/auth.ts` | 17 | `localStorage.setItem` | `CREDENTIAL_KEY` | 认证/会话数据(非业务主数据) |
| low | auth-session | `frontend/src/utils/auth.ts` | 24 | `localStorage.getItem` | `CREDENTIAL_KEY` | 认证/会话数据(非业务主数据) |
| low | auth-session | `frontend/src/utils/auth.ts` | 38 | `localStorage.removeItem` | `CREDENTIAL_KEY` | 认证/会话数据(非业务主数据) |
| low | feature-cache | `frontend/src/views/workbench/components/PersonalTodo.vue` | 79 | `localStorage.getItem` | `props.storageKey` | 工作台本地待办缓存(非核心主数据) |
| low | feature-cache | `frontend/src/views/workbench/components/PersonalTodo.vue` | 91 | `localStorage.setItem` | `props.storageKey` | 工作台本地待办缓存(非核心主数据) |
@@ -23,7 +23,7 @@ backend/scripts/storage_persistence_audit.py --fail-on-banned
- 高风险:4 条(均为 `ProjectDetail` 本地草稿兜底读写)
- 中风险:0 条
- 低风险:42 条(会话、偏好、工作台本地待办等)
- 低风险:40 条(会话、偏好等)
## 4. 已完成整改
@@ -80,9 +80,8 @@
3. 统一状态体系:加载态、空态、错误态、禁用态、风险高亮态。
#### P1(有余量时)
1. `/workbench` 视觉升级
2. 表单页统一(新建/编辑页头、分组、主次按钮)。
3. 克制型关键动效(入场/hover)。
1. 表单页统一(新建/编辑页头、分组、主次按钮)
2. 克制型关键动效(入场/hover)。
#### P2(后续阶段)
1. 全模块扩展(知识库、启动授权细分页)。
@@ -67,7 +67,6 @@ Expected: PASS with the regrouped files.
### Task 3: Remove obsolete docs and local artifacts
**Files:**
- Delete: `/Users/zcc/MyCTMS/ctms-dev/.worktrees/main/docs/workbench-ui-optimization.md`
- Delete: `/Users/zcc/MyCTMS/ctms-dev/.worktrees/main/docs/plans/2026-03-05-rd-monitor-design.md`
- Delete: `/Users/zcc/MyCTMS/ctms-dev/.worktrees/main/docs/plans/2026-03-05-rd-monitor-implementation.md`
@@ -37,7 +37,6 @@
- Modify: `frontend/src/components/attachments/AttachmentList.vue`
- Modify: `frontend/src/components/fees/FeeAttachmentPanel.vue`
- Modify: `frontend/src/components/FaqList.vue`
- Modify: `frontend/src/views/workbench/components/CenterSummary.vue`
**Step 1: 仅保留业务浏览页**
@@ -93,7 +92,6 @@
- Modify: `frontend/src/components/attachments/AttachmentList.vue`
- Modify: `frontend/src/components/fees/FeeAttachmentPanel.vue`
- Modify: `frontend/src/components/FaqList.vue`
- Modify: `frontend/src/views/workbench/components/CenterSummary.vue`
**Step 1: 对齐详情子表策略**