Files
ctms/README.md
T

23 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CTMS 项目快速上手
## 账号
- 管理员:`admin / admin123`(默认存在,用于创建项目、成员、FAQ 等)
- 示例 PM`pm_faq / pm123456`(可作为项目 PM 登录)
- 示例 CRA`cra_faq / cra123456`(只读成员)
> 若找不到示例用户,可用管理员在 `/api/v1/users` 创建,或在 UI 的登录页使用管理员登录后到“项目列表”添加成员。
## 访问方式
- 前端:`http://localhost`Nginx 反代到 Vite 开发容器)
- 后端 API:同域 `/api/v1/*`(已在前端代理)
## 常用流程
1.`admin / admin123` 登录前端。
2. 在“项目列表”进入一个项目或新建项目后进入。
3. Dashboard 查看进度、待办;左侧导航进入“里程碑”“任务”等页面。
4. 退出登录或切换项目可通过顶部右侧下拉。
## 注意
- 令牌与当前项目上下文保存在浏览器 LocalStorage 中,清除后需重新登录/选择项目。
- 若后端重启,确认数据库容器仍健康,前端会弹出错误提示。