Cheng Zhou
|
934d114a29
|
feat(perm/frontend): PM 视角的权限管理界面与个人有效权限接入
- store/study 与 router 改为读取 /api-permissions/me 拉取当前用户在
当前项目的有效权限,菜单与路由守卫据此判定,并在 PM 项目缺省时
主动 ensureDefaultPmStudy。
- api/projectPermissions 暴露 fetchMyApiEndpointPermissions,并允许
调用方关闭统一错误提示,便于在批量项目权限拉取场景下静默失败。
- 项目管理:Projects 页根据每个项目的有效权限决定项目入口的可点击
状态,缺权限时禁用项目名跳转;ProjectDetail 据 setup_config 写权限
渲染保存/回填/清空/发布按钮,并在无读取权限时提示并退出页面。
- 权限管理:PermissionManagement 切换为按角色提交,Admin 视角才能
编辑 PM 行;按系统模块美化系统级权限展示并标注 PM 可访问项;项目
成员表的角色下拉受 PM 等级约束,自定义角色入口下线。
- 监控:PermissionMonitoring/PermissionAccessLogs 增加 isAdmin 与
showSecurityLog 入参,仅 ADMIN 才能看到底层安全日志与统计。
- ApiEndpointPermissions 表格根据当前用户角色禁用不可写行,避免
误操作 PM 行;MODULE_LABELS 增加 setup_config 的中文展示。
- 测试同步覆盖以上行为:新版 router/Layout/Projects/PermissionManagement
/PermissionAccessLogs/PermissionMonitoring/PermissionIpLocations 等
组件均补足检测,并按需为相关组件提供 pinia + localStorage stub。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-25 12:38:54 +08:00 |
|
Cheng Zhou
|
6d682103f3
|
项目总览界面UI美化与入组数据统计修复
- 重构总览页面布局:卡片化设计、顶部标题栏、图标装饰
- 美化进度时间线:hover高亮、呼吸动画、渐变连接线
- 重写入组图表:去除边框、虚线网格、渐变柱子、柔和背景
- 修复入组统计:同时匹配enrollment_date和ENROLLED状态
- 移除adapter中hasEnrollmentStage过滤,显示真实入组数
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-20 16:53:36 +08:00 |
|
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
|
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
|
8c5d03f1cb
|
移除示例项目初始化并修复前后端稳定性问题
|
2026-03-30 15:35:22 +08:00 |
|
Cheng Zhou
|
8bec268a5b
|
优化登录页UI、新增占满布局类
|
2026-03-10 11:37:19 +08:00 |
|
Cheng Zhou
|
a3036c2233
|
feat(ui): align admin project detail with enterprise system
|
2026-03-04 16:38:18 +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
|
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
|
737f84bf54
|
未知(继上次中断)
|
2026-02-04 10:52:34 +08:00 |
|
Cheng Zhou
|
7fdcfdaadd
|
管理后台前后端逻辑、UI美化
|
2026-01-16 13:50:08 +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
|
a1a4964cd2
|
UI界面模拟shadcn admin效果
|
2025-12-25 15:47:47 +08:00 |
|
Cheng Zhou
|
1e3e064871
|
修复伦理与启动管理的显示问题
|
2025-12-19 11:28:34 +08:00 |
|
Cheng Zhou
|
fb4950f8f7
|
项目详情页--初步更新
|
2025-12-18 19:36:47 +08:00 |
|