feat: Add Personal Center module and UI improvements

- Add ProfilePage with avatar upload, password change, and module status display

- Update logo and favicon for login page and browser tab

- Redirect Data Cleaning module default route to Tool C

- Hide Settings button from top navigation for MVP

- Add avatar display in top navigation bar with refresh sync

- Add Prompt knowledge base integration development plan docs
This commit is contained in:
2026-01-28 18:18:09 +08:00
parent 5d5a174dd7
commit 3a4aa9123c
17 changed files with 1309 additions and 22 deletions

View File

@@ -3,14 +3,17 @@
* 数据清洗整理模块
*
* 路由结构:
* - / → Portal工作台主页
* - / → 直接跳转到 Tool C科研数据编辑器
* - /tool-a → Tool A - 超级合并器(暂未开发)
* - /tool-b → Tool B - 病历结构化机器人(✅ 已完成)
* - /tool-c → Tool C - 科研数据编辑器(🚀 Day 4-5开发中
* - /tool-c → Tool C - 科研数据编辑器(🚀 主力工具
* - /portal → Portal工作台保留暂不展示
*
* 2026-01-28 更新:默认直接进入 Tool C不再显示 Portal 页面
*/
import { Suspense, lazy } from 'react';
import { Routes, Route } from 'react-router-dom';
import { Routes, Route, Navigate } from 'react-router-dom';
import { Spin } from 'antd';
import Placeholder from '@/shared/components/Placeholder';
@@ -29,8 +32,11 @@ const DCModule = () => {
}
>
<Routes>
{/* Portal主页 */}
<Route index element={<Portal />} />
{/* 默认直接跳转到 Tool C */}
<Route index element={<Navigate to="tool-c" replace />} />
{/* Portal工作台保留可通过 /data-cleaning/portal 访问) */}
<Route path="portal" element={<Portal />} />
{/* Tool A - 超级合并器(暂未开发) */}
<Route