zlwu and Cursor
909f84b9e6
feat(production-reception): 脐带MSC增加选填脐带长度(cm) ( #190 )
...
生产接收 profile 挂载 cordLengthCm;前后端标为选填,避免被
既有「profile 全必填」逻辑拦截;只读/移动展示走共享字段解析。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-03 10:59:00 +08:00
zlwu and Cursor
35f78d33de
feat(sample-reception): 增加选填血量克重(g)并全量展示 ( #188 )
...
样本接收登记落库 blood_weight_g;Web 表单/详情与共享只读组件、
市场/生产展示及移动 OA 质检接收卡片在入库编码后展示该字段。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-03 10:38:23 +08:00
zlwu and Cursor
1b339247d3
perf(qc): 填写结果弹窗改为批量/并行加载,减少 N+1 接口 ( #185 )
...
continuous-integration/drone/tag Build is passing
第三方合填由 2N 次 detail+results 改为 1 次批量 results;单任务打开时 detail 与 results 并行请求。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-02 18:50:52 +08:00
zlwu and Cursor
b50f422958
feat(pilot): 科研审批管理员角色可全量查看并审批
...
临床科研/委托加工审批页在项目组负责人之外,增加按角色名「科研审批管理员」旁路;配套可重复执行 SQL 建角色、绑菜单并授权指定用户。Refs #180
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-02 18:02:24 +08:00
zlwu and Cursor
426a884aa7
fix(production): list-by-work-orders 不再请求 pageSize 500
...
按当前页工单数发送合理 chunk(≤100),后端循环凑齐任务,避免 Network 中再出现 pageSize:500。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-02 17:50:14 +08:00
zlwu and Cursor
6aad64b7fb
fix(production): 去掉我的生产任务列表工单详情 N+1 并避免批量任务截断
...
承接 #176 后生产侧残留:mine 列表不再对本页工单逐条打详情;list-by-work-orders / pageBy 拉取当页任务时避免 500 上限静默截断。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-02 17:30:58 +08:00
zlwu and Cursor
9984d73989
fix(qc,production): 我的任务列表改为按工单服务端分页
...
避免前端循环拉取全部任务再本地分页,翻页只请求当前页工单卡片及下属任务。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-02 16:11:55 +08:00
cykj and Cursor
dfcef6f81f
feat(qc): 工单级附件与取消第三方检测材料必填
...
质检工单卡片右上角可上传/查看附件;第三方任务材料改为选填,校验与前端必填一并取消。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-12-01 16:36:18 +08:00
cykj
7792c28893
feat(qc): 样本接收已接收支持按样本类型与是否废弃筛选
...
已接收列表增加 sampleTypeId、isVoided 查询参数与前端检索栏,便于质检进一步筛选样本。
2026-12-01 11:24:01 +08:00
cykj and Cursor
c22a0d1eb0
feat(market): 完善临床科研与委托加工上线能力
...
补齐项目组负责人审批、费用信息、合作客户、生产出库菜单、申请单号 LCKY 前缀及配套 SQL 迁移,并同步相关前后端与单测。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-30 18:51:37 +08:00
cykj and Cursor
9b5e68f4ae
feat(market): 新增委托加工业务并复用临床科研流程
...
独立 biz_type=contract_processing,申请/缴费/出库与临床科研共用逻辑;
业务子类型支持胎盘冻干粉/脂肪外泌体/NK/MSC/其他自定义,并补充菜单与生产质检 Tab。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-23 12:28:23 +08:00
zlwu and Cursor
2bc20e695f
fix(qc): 科研捐赠协议状态空选不限制,mine 请求带上过滤
...
空协议状态改为不限制而非无结果,避免搜索像失效;我的质检任务
mine 接口与前端请求补传 protocolStatus,与质检工单列表语义对齐。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-21 06:33:51 +08:00
zlwu and Cursor
f3672d3cc2
feat(production): 临床科研出库细胞改由生产确认
...
市场出库交接对 basic_experiment 保留细胞只读并不改库存;生产工单新增确认出库细胞 API/弹窗,从细胞产品库勾选并联动已售状态。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 17:03:45 +08:00
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
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
77cdeede15
fix(web-admin): 下线市场侧栏中试服务菜单
...
超管在 frontend 模式下走静态路由全量展示,仅解绑 sys_role_menu 无效;同步移除 sqxp/STATIC_MENU_TREE 并软删对应 sys_menu。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 14:33:31 +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
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
9b6228860f
feat(qc): 检测结果默认已完成/通过并记录修改历史
...
填写弹窗未落结论时默认任务状态已完成、结论通过(实验室与第三方);
每次保存追加操作留痕,卡片可查看修改时间线。关联 #148 #149。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-20 11:34:18 +08:00
cykj
af02e2cdd2
Merge pull request 'feat(sample): 展示样本状态并支持样本废弃与作废原因 ( #131 )' ( #133 )
...
feat(sample): 展示样本状态并支持样本废弃与作废原因 (#131 )
2026-11-19 06:26:05 +00: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
f9aa16ef31
feat(oa): 评论@人员优先展示同部门用户
...
OA 评论选人列表改为请求 users/options 时按当前登录用户部门优先排序,Web 与移动 OA 共用后端稳定排序,便于先选到同部门同事。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-19 14:24:21 +08:00
zlwu and Cursor
77d45d0bc5
feat(menu): 实验室样本处理数据挂到市场/生产/质检并分端授权
...
continuous-integration/drone/tag Build is passing
质检入口调到入库放行审核下方;存储服务挂缴费财务确认下方;生产管理挂废弃物管理下方。三处权限码分离,拥有对应顶级菜单的角色授予本端入口。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-12 14:18:27 +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
529f36eac6
feat(cell-storage): 储存证质检字段级质检/生产权限
...
按方案 A 增加租户级 ACL(字段+人员),详情返回可编辑字段,保存改为服务端 merge;弹窗 footer 提供权限配置入口。关联 #93。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 16:13:20 +08:00
zlwu and Cursor
e895daf8fc
feat(project): 项目编号支持新增编辑自由填写
...
项目管理弹窗增加项目编号输入;后端保存改为接收客户端编号并校验租户内唯一,不再自动生成。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 14:41:41 +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
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
zlwu
29f9866a24
feat(project): group assignment records by business type
...
Add four business tabs and identifying fields so users can locate orders before assigning projects. Introduce a permission-scoped detail query with child EXISTS searches and batched enrichment, preserving statistics and assignment writes.
Approved Figma v2; independent source review completed. Tests authored but not executed under the user self-test arrangement. Related to issue #13 .
2026-11-04 14:14:50 +08:00
zlwu
88b971e1b7
fix(project): add icon to project management directory
...
Reuse the existing folder-chart icon in frontend and backend menu metadata so the project management sidebar directory has a leading icon.
2026-11-04 12:20:21 +08:00
zlwu
d8d7001b9b
feat(project): group project pages under a management menu
...
Add a second-level project management directory to match the requested navigation hierarchy. Preserve page permissions and legacy URLs, and migrate existing role grants to include the new ancestor. User will validate after integration.
2026-11-04 12:15:00 +08:00
zlwu
0bddf38e52
feat(project): enforce team-scoped selection with explicit all-project permission
...
Separate cross-team selection from attribution maintenance and apply the same scope to options, history filters and writes. Add an opt-in tenant permission without granting existing roles.
Protect authorization mutation paths against self-grants, validate tenant targets and links, and include menu ancestors atomically. Cover role union, revocation, mobile writes and administration boundaries with regression tests.
2026-11-02 17:09:20 +08:00
zlwu
f41e6f60d6
feat(projects): move management pages into a dedicated top-level menu
...
Add the Project navigation group alongside Market, Production and Quality. Preserve existing leaf IDs and role grants while migrating the menu hierarchy, keep legacy URLs redirecting, and align frontend/backend menus.
2026-11-02 16:22:18 +08:00
zlwu
bd62416263
feat(project): add team attribution and business statistics
...
Add tenant-scoped teams and projects, order attribution across four businesses, conversion inheritance, scoped statistics and audited reassignment. Reuse existing Web and mobile UI patterns; team regions and hospitals remain informational.
Include incremental SQL and isolated regression coverage. Actual MySQL and browser/WebView integration validation remains pending; relates to issue #13 .
2026-11-02 15:29:43 +08:00
zlwu
0e64b413ce
feat(oa): add permission-controlled shared finance remarks to done center
...
Share one finance remark per approval instance across Web and mobile. Require the explicit permission and the current tenant user's own done task for every read and write; keep general instance responses free of financial remarks.
Add idempotent MySQL migration without automatic role grants, cross-end editors, isolated backend and frontend tests, and rollout requirements. Refs #7 ; platform validation and target database migration remain pending.
2026-10-30 20:42:05 +08:00
zlwu
d1347e8cea
fix(web): limit protocol managers to active region leaders
...
Provide tenant-scoped leader options for the Web protocol form, exclude ordinary members and retain historical names only for display. Default only to a leader of the selected region and prevent delayed requests from replacing manual choices.
Refs #1 . Add backend option isolation and Web cascade regression coverage.
2026-10-30 17:47:43 +08:00
zlwu and Cursor
8020e667f1
fix: 多张大图并行上传时不再拆掉进行中的请求,并放宽附件上传超时。
...
审批附件在第一张成功后会重建上传组件,其余请求被取消并显示超时。现保留进行中的文件,附件请求与 Nginx 上传超时放宽到 5 分钟,存储写入不再堵住事件循环。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-29 10:42:07 +08:00
zlwu and Cursor
5e563a6669
fix: 子表保存改为就地同步,避免整批换 id 打断外键。
...
协议样本、生产产出和盘点明细按行更新并保留原 id;补齐存储证明质检预填、离职人员显示名,以及样本采集通知模板字段。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-28 10:51:53 +08:00
zlwu and Cursor
d66e55af65
fix: 小程序新增样本发微信通知,并放宽部分 Web 菜单强校验。
...
移动端协议保存后调度样本采集服务号通知;收款确认/储存证等写接口改为运营端登录即可。同步日期字段规范化与 OA 日期选择器复开修复。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-26 16:02:47 +08:00
zlwu and Cursor
5dad1bb0e3
fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
...
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-26 11:02:25 +08:00
zlwu and Cursor
063727a7d8
feat: 完善协议缴费分期、样本编码搜索与鸿蒙附件选择
...
支持移动端样本编码远程关键字检索、分期起始日刷新与鸿蒙微信附件选取,并同步收款账户选择、角色页与相关设计文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-22 09:23:17 +08:00
zlwu and Cursor
545a4c5fc1
feat: 把顺丰月结菜单放在运费信息和缴费财务确认之间
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 19:08:43 +08:00
zlwu and Cursor
41e8d6f7c4
feat: 增加顺丰月结列表、结算和补填接口,市场端不能调用
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 18:54:16 +08:00
zlwu and Cursor
7aa685840f
feat: 收款账户选项只返回当前登记人并带上所属人姓名
...
发起校验能识别已删除、他租户和他人账户,编辑账户不会改掉 create_by。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 18:45:43 +08:00
zlwu and Cursor
11a46bf1eb
feat: 顺丰运费保存单号并清空金额,已结算批次禁止改关联
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 18:25:54 +08:00