zlwu and Cursor
9242ed0538
feat(pilot): 临床科研申请单增加必填渠道
...
开通 showChannel,保存校验并回写 channel_id/name;表单/列表/详情展示渠道,不绑定服务订单。用户确认免除 Figma。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 16:05:05 +08:00
zlwu and Cursor
6b1bf8a1d2
feat(pilot): 临床科研申请单新增业务类型字段
...
在申请单信息中增加 researchCategory(生物新技术临床科研/临床课题联合申报/生物制药研发),贯通 SQL、后端校验与 Web 表单/列表/详情;用户确认免除 Figma。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 15:51:19 +08:00
zlwu and Cursor
a598b17ab9
fix(web-admin): 项目业务类型下拉去掉中试服务可选 ( #162 )
...
新建不可选中试;旧项目已含 pilot_service 时编辑仍展示该选项。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 15:15:54 +08:00
cykj and Cursor
f7890f5560
Merge pull request 'refactor: 将基础实验展示名统一改为临床科研' ( #155 ) from codex/issue-rename-basic-experiment-96cc7a73d023 into V2.0
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 15:05:02 +08:00
zlwu and Cursor
8349b0ce73
fix(web-admin): 隐藏生产/质检中试服务 Tab 并从「所有」排除 ( #160 )
...
客户已下线中试业务:侧栏不再展示中试 Tab,前端在「所有」列表过滤出库中试数据(含 bizType 缺省)。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 14:48:58 +08:00
zlwu and Cursor
e85645a649
refactor: 将基础实验展示名统一改为临床科研
...
保留 basic_experiment 等内部编码与业务逻辑,全量替换用户可见及源码中文;新增 sys_menu REPLACE 迁移(不改 perms/path)。Gitea 工单因凭据 401 待补关联。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 13:51:27 +08:00
zlwu
fb4bceb6b0
merge(V2.0): 同步集成分支后再合入 #153
2026-11-20 13:24:46 +08:00
zlwu and Cursor
cc17ac2425
feat(qc): 修改记录同次提交合并节点并附件化展示
...
批量保存写入 operateBatchId;弹窗按批次合并时间线,检测材料复用附件只读组件。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 13:23:26 +08:00
zlwu and Cursor
70ebd4eff7
feat(web-admin): 市场侧栏新增器械销售菜单与施工中占位页
...
在市场模块末位注册器械销售目录及三类/二类医疗器械、化妆品子路由,同步后端静态菜单与 SQL 迁移写入 sys_menu 并向已有市场权限角色授权;子页面暂用统一施工中占位。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 13:17:02 +08:00
zlwu and Cursor
fb67f3dbd7
fix(web-admin): 放大质检修改记录弹窗宽高
...
验收反馈:弹窗过小;宽度 560→800,正文区 min-height 480 并限制可滚动高度。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 11:55:26 +08:00
zlwu and Cursor
38bad4232a
fix(qc): 修改记录批量查询避免路由误匹配并空列表返回
...
/qc-tasks/result-change-logs 须先于 /qc-tasks/{task_id} 注册;
无留痕时返回 [],不再因路径被当成任务 ID 报「任务不存在」。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 11:53:13 +08:00
zlwu and Cursor
e396b1a6eb
fix(web-admin): 质检任务卡片修改记录改为右上角图标
...
验收反馈 #151:去掉底部文字按钮,改用 Clock 图标固定在卡片右上角。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 11:51:20 +08:00
zlwu and Cursor
99583b38ce
fix(qc): 任务软删级联清理检测结果留痕
...
删除质检任务/工单时同步软删修改记录,避免批量查询仍返回已删任务历史;
实验室填写结论回显优先沿用列表行结论。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 11:39:41 +08:00
zlwu and Cursor
9b6228860f
feat(qc): 检测结果默认已完成/通过并记录修改历史
...
填写弹窗未落结论时默认任务状态已完成、结论通过(实验室与第三方);
每次保存追加操作留痕,卡片可查看修改时间线。关联 #148 #149。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 11:34:18 +08:00
zlwu and Cursor
332711ad36
feat(web-admin): 采集协议详情样本卡展示作废原因问号
...
详情样本卡头复用 SampleStatusTag,已作废时展示作废原因。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-19 15:38:18 +08:00
zlwu and Cursor
71424ff576
feat(sample): 样本废弃弹窗展示实验室入库编码
...
在样本编码前展示实验室入库编码;生产/质检工单打开弹窗时传入该字段(#140)。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-19 15:04:51 +08:00
zlwu and Cursor
0b4c8dfda8
feat(sample): 展示样本状态并支持样本废弃与作废原因
...
生产/质检入库卡片展示样本状态并支持【样本废弃】;市场 Web 列表与移动市场部卡片补充样本状态及问号查看作废原因;样本表新增 void_desc,人工作废不联动接收但全部作废时自动作废协议(#131)。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-19 14:25:24 +08:00
zlwu and Cursor
a69dcc5bca
fix(oa): 同意/拒绝/打回前自动发送评论草稿
...
审批动作前冲刷评论区未发送内容,减少先点发送再审批的一步操作。
关联 #118。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-19 11:55:53 +08:00
zlwu and Cursor
5698a9dfc4
fix(lab-sample): 台账改聚合真实市场生产质检数据
...
去掉 Excel 演示独有行,源表字段优先于补充表;按协议样本与科研捐献接收关联已发生业务数据,并修复导出分页超限。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-12 15:41:26 +08:00
zlwu and Cursor
b3c191ee99
fix(web-admin): 实验室样本处理数据 Tab 对齐样本接收胶囊样式
...
与质检样本接收页共用 panel-pill-tabs,保持质检管理列表页视觉一致。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-12 13:33:44 +08:00
zlwu
5fe1193a2c
feat(lab-sample): 实验室样本处理三表台账与部门字段 ACL
...
按造血/单个核/间充质聚合展示,部门员工只改本部门、主管可改全部,并支持筛选与 Excel 导出;同步纠正采集接受人串权与严格菜单守卫。
2026-11-12 12:48:05 +08:00
zlwu and Cursor
acb81cadd5
feat(qc): 新增实验室样本处理数据台账(4 Tab + 补录 + 导出)
...
在质检管理下增加按来源×样本类型展示的台账页,聚合接收/生产/质检参数,
补录按实验室入库编码关联,支持 Excel 导出与中文时间格式。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-12 12:11:57 +08:00
zlwu and Cursor
e482980c7d
fix(web-admin): 客户服务管理列表性别按新生儿约定显示
...
本地 sexLabel 误将女映射为 2,导致 0 原样展示;改为复用 newbornSexLabel(1男/0女)。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 15:48:37 +08:00
zlwu and Cursor
3ac30a6c2c
fix(web-admin): 恢复采集大表导出并按运费批次归拢合并
...
去掉临时隐藏开关,导出自存/科研表时先按运费批次聚拢再合并单元格。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 14:56:45 +08:00
zlwu and Cursor
95d6b6025f
fix(web-admin): 样本接收列表卡片协议附件与弹窗对齐
...
卡片改用完整附件分组,展示知情同意书/来源主附件及协议附件或其他附件。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 14:54:16 +08:00
zlwu and Cursor
cec96ce480
fix(web-admin): 批量调整归属按钮文案更明确
...
将历史归属维护列表工具栏按钮由「调整归属」改为「批量调整归属」,与行内单条操作区分。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 12:07:04 +08:00
zlwu and Cursor
77473a1738
fix(web-admin): 恢复预签约导出并校准刷卡时间与表头样式
...
预签约列表重新显示导出按钮;刷卡时间仅统计已确认到账;Excel 标题行黄底居中并加边框。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 12:02:30 +08:00
zlwu and Cursor
2a0a2ef72a
feat(web-admin): 历史归属维护支持批量调整归属
...
在历史归属维护列表增加多选与工具栏批量「调整归属」,复用现有单条预览/保存接口逐条提交,便于一次将多条业务记录归属到同一项目。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 10:02:24 +08:00
zlwu
654f9a8904
fix(web-admin): 临时隐藏采集大表四处导出按钮
...
验收未完成前关闭 COLLECTION_LEDGER_EXPORT_ENABLED,后续测试时改回 true 即可恢复入口。
2026-11-09 11:21:14 +08:00
zlwu
a4425addb0
fix(web-admin): 细胞存储导出协议编号改样本编码并补齐运费
...
自存表导出列值改为样本编码;列表补运费后写入运输方式/运费列,并按同批次合并单元格。
2026-11-06 12:11:06 +08:00
zlwu and Cursor
d413398b3d
fix(web-admin): 科研捐赠导出补齐运费并按批次合并单元格
...
列表未返回样本运费批次导致运费列为空。导出按同一运费批次合并运输方式与运费列,并按模板对齐储存状态等字段。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-06 12:06:49 +08:00
zlwu and Cursor
348c5c1d3c
fix(web-admin): 采集大表导出将 sdfq 等作废编码显示为文案
...
科研捐赠导出把作废类型编码原样写入储存状态和废弃原因。改为走字典并回退协议状态文案。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-06 11:58:48 +08:00
zlwu and Cursor
a214a35f4f
feat(web-admin): 按采集大表导出预签约、自存、科研和客服表
...
市场人员需要把四张列表按采集大表对应工作表导出为 Excel 文本。补预签约列表的地区、医院、样本类型和转账时间,并沿用现有工具栏导出。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-06 10:05:11 +08:00
zlwu and Cursor
76316fad7a
fix(web-admin): 修复样本接收弹窗协议附件不展示
...
弹窗改用与列表一致的 MiniReadonly 缩略图,并统一 attachmentFullUrl 解析 /minio 路径;编辑时合并详情附件字段,分组顺序优先知情同意书与调查表。
关联 #43
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 22:42:47 +08:00
zlwu and Cursor
c40feab76a
fix(web-admin): 样本接收展示协议知情同意书等附件
...
质检样本接收列表与弹窗需查看采集协议侧附件。后端待接收/已接收列表补齐协议附件字段;前端列表增加知情同意书缩略图,接收弹窗右侧改为上运输、下协议附件分组展示。
关联 #43
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 21:53:56 +08:00
zlwu and Cursor
d6dc768efb
fix(web-admin): 加宽归属审计记录弹窗 ( #52 )
...
历史归属维护页审计表格列较多,800px 偏挤,调整为 1100px。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 16:54:22 +08:00
zlwu and Cursor
96518c08fb
fix(web-admin): 简化项目归属维护调整弹窗 ( #52 )
...
展示原项目组/项目,录入新项目组/项目与原因;确认时静默预览并仍级联关联单据。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 16:54:22 +08:00
zlwu and Cursor
e895daf8fc
feat(project): 项目编号支持新增编辑自由填写
...
项目管理弹窗增加项目编号输入;后端保存改为接收客户端编号并校验租户内唯一,不再自动生成。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 14:41:41 +08:00
cykj
3bdbefb56e
Merge pull request 'feat(project): 选定所属项目组后自动带出负责人' ( #46 ) from codex/issue-45-project-leader-autofill-a9912a48015b into V2.0
2026-11-05 06:39:14 +00:00
zlwu and Cursor
1fd1100b8f
feat(web-admin): 项目组列表展示成员与负责医院
...
在负责人列后追加成员、负责医院,复用列表接口已有子行名称并用顿号拼接。
关联 #44
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 14:33:02 +08:00
zlwu and Cursor
2b2ddc8dd5
feat(project): 选定所属项目组后自动带出负责人
...
项目管理新增/编辑弹窗选择或更换项目组时,用该组负责人填充表单负责人字段,仍可手工修改。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 14:32:13 +08:00
zlwu and Cursor
9e3a67a8e4
fix(qc): 调整检测清空重配不再误标工单已完成
...
try_complete 在无活跃任务时也会把已配置打成已完成;清空全部后再添加会踩中。
现要求至少有一条活跃任务且全部完成后才自动完成,并强制全量重建时清理旧批次,前后端均校验批次须含检测项目。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 12:18:30 +08:00
zlwu and Cursor
ac9db561a4
fix(web-admin): 补齐捐赠查看操作日志接线并保留审核动作语义
...
修复 DonationViewDialog 缺失的操作日志状态与加载调用,清理误插入的重置语句,并避免显式 audit 动作被状态映射覆盖。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 12:15:10 +08:00
zlwu and Cursor
4a12d92631
feat(protocol): 记录协议单操作前后快照便于责任追溯
...
为细胞存储与科研捐赠协议增加 append-only 操作日志,覆盖 Web/小程序 create/update/delete/状态类动作,并在查看弹窗与移动详情提供操作日志入口(Issue #24)。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 12:11:34 +08:00
zlwu and Cursor
71051461a2
fix(web-admin): 样本接收「是否接收」选项拒收改为废弃
...
质检样本接收登记弹窗与结论标签文案对齐工单 #27,取值 bj 不变。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 11:08:18 +08:00
cykj
67846493fa
Merge pull request 'fix(web-admin): 列表所属项目/项目组列移到序号之后' ( #37 ) from codex/issue-34-list-col-order-20662a540e4e into V2.0
...
fix(web-admin): 列表所属项目/项目组列移到序号之后 (#37 )
Refs: #34
2026-11-05 02:55:07 +00:00
zlwu
5a55e9f574
fix(web): widen project team edit dialogs and give multi-select fields full rows
2026-11-05 10:35:08 +08:00
zlwu
f1b4a5ce26
fix(web-admin): place project columns after index in lists
...
Move 所属项目/项目组 after selection and serial-number columns so multi-select and index stay leftmost across affected business lists.
2026-11-05 10:26:59 +08:00
zlwu
79ca01ac0d
feat(project): show presign counts as a statistics column
...
Group presign counts by project and team, include totals and unassigned rows, and reuse count drill-down. Remove the standalone footer while retaining presignTotal compatibility and the four formal business types.
Related to issue #13 . Independent source review completed; no tests or builds run under user self-test arrangement.
2026-11-04 14:53:07 +08:00
zlwu
fa5efa9629
feat(project): show business fields in statistics details
...
Reuse assignment business columns and keyword searches in the four statistics drill-down lists. Add a statistics-permission read endpoint sharing tenant-scoped detail queries without granting assignment access.
Related to issue #13 . Independent static review completed. User self-test arrangement: regression cases authored, no tests or builds executed.
2026-11-04 14:40:04 +08:00