zlwu and Cursor
2878c6889d
fix(lab-sample): 归一化市场生产质检字段 ACL 授权
...
撤销历史过宽角色菜单后,仅按部门员工/主管/只读角色重授,确保员工仅可编辑本部门字段。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-12 15:54:59 +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
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 and Cursor
4fd6ef4be5
fix(web-admin): 移除多余一级菜单实验室样本处理数据
...
软删除 menu:lab-sample-processing 及子菜单/按钮与角色授权,并去掉静态路由;保留质检下 lab-sample-process 台账。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-12 14:01:46 +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
a64dd563bd
fix(sql): 储存证 ACL 配置按钮授权给全部角色
...
continuous-integration/drone/tag Build is passing
迁移脚本为各租户有效角色补齐 storage-cert-qc-acl 菜单,使质检/生产权限入口对全部角色可见。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 17:03:49 +08:00
zlwu and Cursor
4654678231
fix(cell-storage): 储存证 ACL 保存避免 collation 混用 503
...
ACL 表与 sys_user JOIN/条件比较统一 utf8mb4_unicode_ci,并补建表 COLLATE 与 CONVERT 修复脚本(#97)。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 16:56:58 +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
9c4944702b
fix(db): 补充协议操作日志旧表纠偏脚本
...
为同名旧表与现行日志模型不兼容的情况提供迁移脚本,并在原建表脚本注明纠偏入口。保留有数据的旧表为备份;本次仅提交现有脚本,未执行数据库迁移。
2026-11-10 09:37:04 +08:00
zlwu and Cursor
e2a50b33fe
chore(qc): 补充阴阳性参数变更后历史结果刷新工具
...
提供第 1–10 条阴/阳→阴性/阳性及空值默认回填的预览执行脚本与迁移 SQL。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-09 11:37:41 +08:00
zlwu and Cursor
6cba55f5c8
feat(project): 项目组变更写入版本历史快照
...
每次创建/编辑/软删除项目组时追加 biz_project_team_history,
用完整 serialize 快照保留负责人、成员、地区与医院等信息,便于追溯。
Refs: #50
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 15:05:44 +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
e2e9059c17
fix(backend): sync protocol void with sample reception discard
...
When a cell-storage or research-donation protocol is voided, mark all
related sample receptions as discarded; when every sample is discarded,
auto-void the protocol as 实验室废弃 (sysfq). Covers issue #31 .
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-05 11:37:58 +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
a4c4028144
fix(projects): resolve runtime permissions and migration compatibility
...
Use existing menu permissions for management actions, preserve shared list styles in teleported detail dialogs, and align project attribution column collations with the project primary key. Record isolated MySQL and browser validation while retaining the real-device acceptance gate.
2026-11-02 16:04:31 +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
b6080571ff
chore(sql): 清空历史数据库导出内容
...
移除 zkxw.sql 中的历史业务导出及连接信息,避免在当前版本继续携带业务数据;保留文件路径以兼容现有打包引用。该文件现为空,不再提供数据库初始化内容,空库部署仍需另行补齐并验证基线。
2026-10-30 10:02:31 +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
5dad1bb0e3
fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
...
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-26 11:02:25 +08:00
zlwu and Cursor
92c59d67b4
feat: 为运费批次增加顺丰单号和结算字段,并补上顺丰月结菜单
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 17:58:43 +08:00
zlwu
be2226e4ca
提交
2026-10-17 11:46:53 +08:00
zlwu and Cursor
e5ae28f0c7
docs(sql): seed oa:done:bank-receipt button permission
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 16:58:24 +08:00
zlwu
06d021807b
提交
2026-10-15 23:21:07 +08:00
zlwu
3950b5c334
提交
2026-10-14 12:32:03 +08:00
zlwu
cc843535f5
提交
2026-10-13 15:18:01 +08:00
zlwu and Cursor
e0ef78925a
feat(db): add research donation monthly_verify_no column
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 12:05:54 +08:00
zlwu and Cursor
da35921f58
docs(sql): add sample-level storage cert and insurance with migrate-from-protocol.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:43:36 +08:00
zlwu and Cursor
8618141c2f
docs(sql): add customer-service tables and rename sample-info menu.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:42:34 +08:00
zlwu and Cursor
a5bf4252b9
chore: rename payment-confirm menu to 缴费财务确认
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-12 18:10:14 +08:00
zlwu
337d31bbe8
feat: integrate required mobile market backend dependencies.
2026-10-11 12:00:52 +08:00
zlwu and Cursor
db31990ebe
feat: 细胞存储缴费催缴、统一样本信息与协议支付能力增强
...
汇总近期业务改动:催缴菜单与后端、样本信息快捷登记与进度、运费关联、客户档案扩展、协议优惠/期次与押金划转,并同步 SQL 迁移与管理端页面收敛。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-10 21:20:37 +08:00
zlwu and Cursor
fac7b87728
feat(db): add biz_sample_storage_cert_qc for storage-cert QC payload.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-09 12:31:13 +08:00
zlwu and Cursor
04eb1e81bd
feat: add sample freight menu route and page shell
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-08 09:51:48 +08:00
zlwu and Cursor
719bf20c5b
docs(sql): add sample freight batch tables and transport mode dict
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 23:15:02 +08:00
zlwu and Cursor
fc14c51348
feat(db): add father/newborn customer ids on protocol parties
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 16:03:11 +08:00
zlwu and Cursor
ed37a31654
docs(sql): add migration to hide research-donation protocol menus for DB menu mode.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 12:18:51 +08:00
zlwu and Cursor
cf4b8c0e56
feat(db): add handle_time and handler_user_id for storage cert and fullmoon todo.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-05 15:56:44 +08:00
zlwu and Cursor
d5bfb895a7
chore: menu SQL, graph sync, and mark payment-info split done
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-05 13:12:16 +08:00
zlwu and Cursor
ca3d464761
feat: add per-sample payment and presign order schema
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-03 10:52:20 +08:00
zlwu
b9b4cc2673
提交
2026-09-24 09:59:26 +08:00
zlwu and Cursor
8d90457cdc
feat(oa): add oa_instance_comment table and model
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-20 21:18:59 +08:00
zlwu and Cursor
0be6545078
docs(sql): add biz_collection_region_staff migration
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-18 11:20:01 +08:00
zlwu
195c89e6b7
提交
2026-09-03 17:12:38 +08:00
zlwu
03226cac2a
提交
2026-09-01 14:22:46 +08:00
zlwu
2fd826dbe1
提交
2026-09-01 11:32:49 +08:00
zlwu and Cursor
2d6b367a67
feat(backend): 生产接收接种量改为 VARCHAR(255) 自由文本
...
同步模型、API、CRUD 与 SQL 迁移/基线,支持数字与说明文案组合录入。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-31 15:00:02 +08:00