Commit Graph
122 Commits
Author SHA1 Message Date
zlwu 8e70047f4c 提交 2026-07-01 18:52:26 +08:00
zlwu 7c838cfb2d 提交 2026-06-30 23:44:22 +08:00
zlwu d84f4b944c 提交 2026-06-29 11:15:39 +08:00
zlwuandCursor 493f8d6756 docs: 补充数据权限分批实施计划并更新知识图谱
记录 Phase 0–6 改造范围与 PR 切分建议,同步 backend/web-admin graphify 输出。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:35 +08:00
zlwuandCursor 98aec80d71 feat(pl): 运费结算审批分流与车辆挂车号等 PL 能力完善
拆分运费审批/出款页面,补充结算发票附件与菜单 SQL,并同步前后端模型与车辆相关展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:31 +08:00
zlwuandCursor 66d5a8714b feat(db): 地磅、操作日志与工作流补全数据权限过滤
DB 列表/仪表盘 scoped 聚合,操作日志按 user_id 过滤,工作流实例详情与审批前校验 scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:19 +08:00
zlwuandCursor 2905dc3d5f feat(bx): 报销模块接入数据权限过滤
新增 bx_data_scope 与 BxUserContext.to_user_info,列表/我的单据 AND scope,待办审批不加 scope,审批操作 skip_scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:18 +08:00
zlwuandCursor eff99edeea feat(pl): 运输计划模块接入数据权限过滤
新增 pl_data_scope 辅助,PL 列表/统计 apply_pl_scope,详情与改删 assert_pl_row_in_scope;运费结算待办审批 skip_scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:15 +08:00
zlwuandCursor bf73b6b2d8 feat(crm): 联系人、产品、报价与合同域接入数据权限过滤
补全 PR3 Phase 2.4–2.7,列表 apply_data_scope、详情/CUD assert_row_in_data_scope,合同/报价主表支持 owner_user_id。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:12 +08:00
zlwuandCursor ee531e9cfe feat(crm): 商机域接入数据权限过滤(PR3 Task 2.3)
主表列表/统计/看板/漏斗按 owner_user_id 过滤,CUD 与跟进/产品子表校验父商机 scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 20:33:05 +08:00
zlwuandCursor 3107d537f6 feat(crm): 客户与线索模块接入数据权限过滤
列表按 owner_user_id/create_by 过滤,详情与 CUD 校验 scope;公海客户列表保持租户内全员可见。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 20:30:41 +08:00
zlwuandCursor f5ab023ab5 feat(auth): 扩展数据权限核心能力并接入系统管理辅助接口
为 apply_data_scope 增加 owner_field 与行级校验,补充 DbUserContext.to_user_info() 及单元测试,并在用户/角色/字典下拉与用户详情接口生效。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 20:30:36 +08:00
zlwu 86450f38a1 提交 2026-06-25 08:06:32 +08:00
zlwu 6b6c80f182 提交 2026-06-23 23:30:57 +08:00
zlwu c90f72fd34 提交 2026-06-21 22:20:03 +08:00
zlwu cedb7ee681 提交 2026-06-21 12:56:33 +08:00
zlwu e46c0480d4 提交 2026-06-21 12:41:39 +08:00
zlwu 299609706c 提交 2026-06-21 09:19:07 +08:00
zlwu c3be9d1dce 提交 2026-06-10 22:59:34 +08:00
zlwu 725774ef0c 提交 2026-06-07 00:40:01 +08:00
zlwu f9676f8759 提交 2026-06-06 19:44:18 +08:00
zlwu dacfdc9ff6 提交 2026-06-01 08:21:21 +08:00
zlwu 9b88581450 提交“ 2026-05-30 14:03:11 +08:00
zlwu 69ee0f505c 提交 2026-05-28 20:10:34 +08:00
zlwu 239d0a03d7 提交 2026-05-28 20:04:27 +08:00
zlwu 912ada02eb 提交 2026-05-28 19:11:31 +08:00
zlwu 5e91791ebf 提交 2026-05-28 14:19:18 +08:00
zlwu 3c7a47981a 提交 2026-05-28 13:05:46 +08:00
zlwu f1f5d24eff 提交 2026-05-28 08:37:37 +08:00
zlwu 2020f371f4 提交 2026-05-28 07:59:08 +08:00
zlwu 4ff289a8cf 提交 2026-05-28 07:37:16 +08:00
zlwu b6c63591ea 提交 2026-05-28 00:15:29 +08:00
zlwu c137b46939 提交 2026-05-27 16:52:46 +08:00
zlwu 7145c6c683 提交 2026-05-27 06:22:08 +08:00
zlwu 41aa90aa05 提交 2026-05-27 05:23:28 +08:00
zlwu ad8f8d696f 提交 2026-05-26 22:31:48 +08:00
zlwu 3f122da803 提交 2026-05-26 21:27:48 +08:00
zlwu edf88dc016 提交 2026-05-26 19:04:27 +08:00
zlwu 4a00f21bfb feat(qc): integrate OutboundQcViewDialog into QC work order page 2026-05-26 18:52:59 +08:00
zlwu b20c9f7bd7 feat(qc): add outbound QC work order tab with list, filters and action buttons 2026-05-26 18:43:49 +08:00
zlwu b32196690b feat(qc): add outbound QC detail API types and fetch function 2026-05-26 18:37:42 +08:00
zlwu c9f369a276 feat(qc): extend outbound work order list API with application/infusion fields and bizType filter 2026-05-26 18:29:56 +08:00
zlwu fa60330752 feat(qc): add biz_type column to qc_work_order table for outbound business type 2026-05-26 18:24:50 +08:00
zlwu 6bdcd0a565 feat(production): add outbound work order tab, columns, and detail dialog with pilot application and infusion schedule sections 2026-05-26 18:17:15 +08:00
zlwu 11f8d2973b feat(pilot): auto-create outbound production work order on schedule creation and auto-void on deletion 2026-05-26 18:06:26 +08:00
zlwu d84f5056f2 feat(production): extend CRUD for outbound work orders — biz_type, yzf status, list/detail enrichment 2026-05-26 18:04:03 +08:00
zlwu d93b16ab0c feat(production): add biz_type field to BizProductionWorkOrder model 2026-05-26 17:58:07 +08:00
zlwu 482369d4ec feat(production): add biz_type column and yzf status for outbound work orders 2026-05-26 17:55:03 +08:00
zlwu 065e6c34b4 提交 2026-05-26 12:32:19 +08:00
zlwu bb8c981afd 提交 2026-05-25 20:54:11 +08:00