Files
ctms/README.md
T
2025-12-16 23:28:51 +08:00

25 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 项目快速上手
## 账号(每个角色保留 1 个)
- 管理员:`admin / admin123`
- PM`pm_user / Pm#123456`
- CRA`cra_user / Cra#123456`
- PV`pv_user / Pv#123456`
- IMP(药品管理员):`imp_manager / Imp#123456`(已加入 IMP Study
> 其余历史示例账号已被停用,仅保留以上 5 个。若需新增,可用管理员在 `/api/v1/users` 创建,并在项目成员中赋予角色。
## 访问方式
- 前端:`http://localhost`Nginx 反代到 Vite 开发容器)
- 后端 API:同域 `/api/v1/*`(已在前端代理)
## 常用流程
1.`admin / admin123` 登录前端。
2. 在“项目列表”进入一个项目或新建项目后进入。
3. Dashboard 查看进度、待办;左侧导航进入“里程碑”“任务”等页面。
4. 退出登录或切换项目可通过顶部右侧下拉。
## 注意
- 令牌与当前项目上下文保存在浏览器 LocalStorage 中,清除后需重新登录/选择项目。
- 若后端重启,确认数据库容器仍健康,前端会弹出错误提示。