Commit Graph

96 Commits

Author SHA1 Message Date
Cheng Zhou 939fc70532 权限管理:接入项目级权限矩阵
新增项目级角色权限矩阵,覆盖 PM、CRA、PV、IMP、QA 等项目角色,并通过迁移表持久化各业务模块的读写权限。

后端将参与者、合同费用、物资、启动、里程碑、风险问题、监查稽查、FAQ、共享库、文件版本等接口接入矩阵校验,修复审计日志导出权限和登录 502 的依赖导入问题。

前端新增权限管理页面和项目路由权限映射,按矩阵控制导航显示、直接访问拦截、操作按钮启停,并限制管理后台仅 admin 和授权 PM 可进入。

补充后端权限归一化与接口静态测试、前端路由/权限工具/权限管理页面/工作台等回归测试。
2026-05-13 08:58:03 +08:00
Cheng Zhou 77e842637d 中文:收口权限与中心/立项配置改造 2026-05-12 10:16:52 +08:00
Cheng Zhou 6e90370a5f 移除特殊费用模块 2026-05-12 10:15:18 +08:00
Cheng Zhou 20d45cfdfe 修复项目配置草稿原子保存逻辑 2026-05-11 11:03:06 +08:00
Cheng Zhou 8d061a1520 兼容旧草稿避免项目信息被清空 2026-05-11 09:02:14 +08:00
Cheng Zhou 917ab7ccf1 feat: refine subject visits and project workflows
Add early termination visit workflow with ordering, non-applicable visit handling, visit window display, and medication adherence support.

Extend monitoring visit issue template fields, site scoping, setup draft project info handling, login security UI, attachment behavior, and related tests/migrations.
2026-05-09 17:10:34 +08:00
Cheng Zhou 74feca4467 feat: harden auth and study workflows
- replace plaintext login and unlock requests with RSA-OAEP/AES-GCM encrypted payloads

- add login challenge replay protection, production RSA key validation, and auth tests

- wire compose to environment-driven dev/prod settings without committing local secrets

- update setup-config smoke scripts and Postman docs for encrypted login

- add visit schedule migrations/tests and update study/subject setup workflows
2026-05-08 22:16:43 +08:00
Cheng Zhou a7bbcaa5dc fix: 优化业务表格展示与登录会话体验 2026-03-31 14:37:06 +08:00
Cheng Zhou ceda34fd1d fix: 修复筛选栏空关联告警 2026-03-31 12:16:04 +08:00
Cheng Zhou 4bebc64662 feat: 清理示例数据并统一空态体验 2026-03-31 11:20:57 +08:00
Cheng Zhou fc74d1e9a9 fix: 对齐用户接口尾斜杠路径 2026-03-31 10:08:26 +08:00
Cheng Zhou ba880dad9a fix: 移除前端 API 环境入口 2026-03-31 09:44:49 +08:00
Cheng Zhou 9535fece6c feat: 按历史痕迹恢复 nginx 同域入口 2026-03-31 09:16:41 +08:00
Cheng Zhou 27ba5eabff feat: 移除仓库内 nginx 并拆分前端运行时 2026-03-30 22:04:15 +08:00
Cheng Zhou 3a1415d1e1 chore: 清理本地配置并重组文档结构 2026-03-30 17:36:09 +08:00
Cheng Zhou 8c5d03f1cb 移除示例项目初始化并修复前后端稳定性问题 2026-03-30 15:35:22 +08:00
Cheng Zhou f2f856ea24 chore: productionize compose deployment 2026-03-27 16:13:28 +08:00
Cheng Zhou d8c5413b26 style: normalize CSS selector spacing 2026-03-27 15:22:48 +08:00
Cheng Zhou 8bec268a5b 优化登录页UI、新增占满布局类 2026-03-10 11:37:19 +08:00
Cheng Zhou 4c98147f3e 登录页UI及长时间未操作锁定逻辑优化 2026-03-10 10:10:58 +08:00
Cheng Zhou 5caf4c51cc feat(ui): unify loading empty error states 2026-03-04 16:40:18 +08:00
Cheng Zhou a3036c2233 feat(ui): align admin project detail with enterprise system 2026-03-04 16:38:18 +08:00
Cheng Zhou 39b4d2a2ea feat(ui): unify finance and file management surfaces 2026-03-04 16:36:28 +08:00
Cheng Zhou 90d724a5fe feat(ui): elevate project overview for executive readout 2026-03-04 16:34:25 +08:00
Cheng Zhou 1b920520d6 feat(ui): unify list-page enterprise visual pattern 2026-03-04 16:28:41 +08:00
Cheng Zhou 80d9830139 feat(ui): enforce shared page shell contract 2026-03-04 16:26:17 +08:00
Cheng Zhou f7e867c2bd feat(ui): add enterprise token baseline 2026-03-04 16:25:05 +08:00
Cheng Zhou fd6177d479 chore(ui): add enterprise ui contract checks 2026-03-04 16:23:31 +08:00
Cheng Zhou 0cd03eefa8 立项配置版本管理优化(回滚逻辑、UI、下载功能) 2026-03-04 14:49:59 +08:00
Cheng Zhou 6c5e5770c6 小优化-立项配置-预览模式下“更新”显示 2026-02-28 16:41:20 +08:00
Cheng Zhou 9b36a42e6f 参与者管理- PD模块内容补充 2026-02-28 14:33:57 +08:00
Cheng Zhou af0c1b4b7d 补充监查访视问题模块内容、翻页功能UI统一 2026-02-28 09:51:13 +08:00
Cheng Zhou db2d38edbc 立项配置数据入库、审计日志数据入库、编辑页UI界面美化、设备管理内容补充、审计日志显示优化 2026-02-27 16:16:26 +08:00
Cheng Zhou fd7e3fc948 项目里程碑初步优化 2026-02-27 09:06:06 +08:00
Cheng Zhou 8f3f717e48 立项配置页初步优化 2026-02-24 16:53:22 +08:00
Cheng Zhou 0693f09b1d init.sql小bug修复-20260204 2026-02-04 16:17:51 +08:00
Cheng Zhou 737f84bf54 未知(继上次中断) 2026-02-04 10:52:34 +08:00
Cheng Zhou 8e258d21a7 chore: stop tracking frontend node_modules 2026-01-20 08:52:54 +08:00
Cheng Zhou 7fdcfdaadd 管理后台前后端逻辑、UI美化 2026-01-16 13:50:08 +08:00
Cheng Zhou 05c1f9579a 启动与授权-初步优化 2026-01-15 11:25:13 +08:00
Cheng Zhou 4fc5f0ee9b 立项与伦理-初步优化,新增.env 2026-01-14 15:33:52 +08:00
Cheng Zhou f9ef5c109f 文件版本管理-初步优化 2026-01-14 11:35:37 +08:00
Cheng Zhou ef1e67218c 药品流向管理内容优化-初步 2026-01-13 19:42:28 +08:00
Cheng Zhou 1db36f40b0 费用管理内容优化-初步 2026-01-13 16:49:55 +08:00
Cheng Zhou 0c7c03069a 新增空闲锁屏、修复401等问题,新增文件版本管理、共享库等占位符 2026-01-13 13:59:07 +08:00
Cheng Zhou b3cd8e03f2 项目概览、参与者管理初步优化(未接入真实数据) 2026-01-13 10:10:28 +08:00
Cheng Zhou 1338fa7e2b 全局中文化 2026-01-12 11:14:04 +08:00
Cheng Zhou 9021c7fe2b 信息架构/菜单框架大重构-20260109 2026-01-09 11:19:04 +08:00
Cheng Zhou 0c1fc49f17 细节优化——1 2025-12-30 14:07:57 +08:00
Cheng Zhou 71db309e12 审计日志并入系统管理、规范项目成员获取逻辑 2025-12-26 14:57:57 +08:00