zlwu and Cursor
babe26a23d
fix(oa): coerce dept max prop when validating form_data
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:26:57 +08:00
zlwu and Cursor
260a461d05
feat(oa): validate dept control form_data shapes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:24:28 +08:00
zlwu and Cursor
57487fd0dc
fix(protocol): save DJ pay details without blocking on due-sum mismatch
...
Persist payment before samples to avoid consuming sample codes on validation failure, soft-delete samples on create rollback, and surface DJ due-amount mismatch as a hint only.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:49:36 +08:00
zlwu and Cursor
8bd45561b7
feat(oa): auto-pass approval when assignee is initiator
...
Extract approve core and hook after creating approval tasks when the advanced setting is enabled.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:42:41 +08:00
zlwu
89fda927a2
提交
2026-07-23 18:01:11 +08:00
zlwu and Cursor
71424e9dd1
feat(oa): resolve initiator_select per node map in engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:05:25 +08:00
zlwu and Cursor
aaff660d56
feat(oa): add transfer_task to reassign pending approval
...
Close the current assignee's task as transferred and create a same-node pending task for the target user; include transferred in done lists.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:12:14 +08:00
zlwu and Cursor
03b47fb266
feat(oa): emit relatedIds when flattening nested relatedApproval fields
...
Screen jump and print recursion need the instance id list alongside the
「已关联 M 条」summary text without changing form_data shape.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 22:58:56 +08:00
zlwu and Cursor
88982878b2
feat(oa): show attachment URLs in related-approval summaries
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 21:41:51 +08:00
zlwu and Cursor
14f00d5d3a
feat(oa): persist relatedApproval links with field_key on start
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 17:01:53 +08:00
zlwu and Cursor
f2bf26cd8b
feat(oa): add related-approval candidate and summary APIs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 16:48:53 +08:00
zlwu and Cursor
5147d79747
feat(oa): add related-approval flatten and extract helpers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 16:46:21 +08:00
zlwu
c8fe0cdc20
提交
2026-07-21 15:23:59 +08:00
zlwu
93a83d260f
提交
2026-07-16 11:45:34 +08:00
zlwu and Cursor
9ae239347a
feat(oa): validate visual condition rules on publish
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 17:03:13 +08:00
zlwu
28e59a2262
提交
2026-07-15 16:20:48 +08:00
zlwu and Cursor
c9711d0dce
feat(oa): terminate on return and copy form to start a new instance
...
Align with DingTalk: returned/rejected/cancelled are terminal; progress
shows return on the approver task only; done list includes returned;
deprecate same-instance resubmit and source-instance linking.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 15:19:20 +08:00
zlwu and Cursor
26800865cd
feat(oa): add return, resubmit, and multi-round approval progress
...
Align with DingTalk semantics: reject ends the instance, return keeps it for initiator edits, and revoke-and-resubmit creates a linked new instance. Progress timeline projects rounds via oa_instance_event.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 14:53:52 +08:00
zlwu and Cursor
98beade090
feat(oa): project approval progress for instance detail
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 14:34:33 +08:00
zlwu
b7cd657f32
提交
2026-07-06 19:41:24 +08:00
zlwu
0b50eff3d8
提交
2026-06-25 12:41:07 +08:00
zlwu
93c28759d0
提交
2026-06-23 10:25:33 +08:00
zlwu
6bfabac50d
提交
2026-06-17 18:16:23 +08:00
zlwu
31b04575e2
提交
2026-06-15 11:43:16 +08:00
zlwu
a79aee2614
提交
2026-06-14 09:14:11 +08:00
zlwu
5ad07c8cac
提交
2026-06-13 19:47:22 +08:00
zlwu and Cursor
22a5c79585
feat(auth): 添加一级菜单权限码常量和注释
...
- 新增 TOP_MENU_PERMS frozenset,包含 menu:market、menu:production、menu:quality、menu:operations、menu:system-manage
- 为 iter_user_menu_perm_codes 函数添加注释,说明一级菜单的 menuCode 会自动被返回
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 19:44:05 +08:00
zlwu
3abe69c1cc
提交
2026-06-12 15:17:54 +08:00
zlwu
64219a68c7
提交
2026-06-11 15:42:58 +08:00
zlwu
eec61cb5dd
提交
2026-06-04 12:57:59 +08:00
zlwu
8e2dd8b9f0
提交
2026-05-17 08:36:37 +08:00
zlwu
058811ae77
提交
2026-05-12 22:07:53 +08:00
zlwu
2e9d020d50
提交
2026-05-12 16:35:07 +08:00