zlwu
0d52442902
提交
2026-08-28 17:38:37 +08:00
zlwu and Cursor
32824fdbf5
feat(oa): add list_instance_history with scoped preview fields
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-28 10:47:44 +08:00
zlwu
1bdf979a70
提交
2026-08-14 16:01:47 +08:00
zlwu and Cursor
405808f4dd
feat(mini-auth): allow silent wechat login when openid already bound
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-13 18:13:09 +08:00
zlwu and Cursor
e0cfd41b1f
feat(oa): schedule WeChat MP notifies after approval/cc tasks create
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-13 18:08:35 +08:00
zlwu and Cursor
cfb7a227e3
feat(backend): add WeChat service-account template message sender
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-13 18:02:49 +08:00
zlwu
8c49021d38
提交
2026-08-13 14:31:57 +08:00
zlwu
693e8a678e
提交
2026-08-11 11:13:01 +08:00
zlwu and Cursor
80138c6388
feat: add filter search to OA pending/done/mine/cc task centers
...
Support server-side filters (app name, initiator, apply time, instance status)
with Fresh Mint filter blocks and 300ms debounced instant search.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-11 10:54:59 +08:00
zlwu and Cursor
efd7efbc69
feat: implement WeChat mini login with openid bind and phone match
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-10 16:24:19 +08:00
zlwu
6a8c3e750e
提交
2026-08-06 16:54:32 +08:00
zlwu and Cursor
d2de132853
feat(oa): allow dept and ownerDept in condition publish whitelist
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 15:39:58 +08:00
zlwu and Cursor
86dd605ac5
feat(oa): evaluate dept contains in condition rules
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 15:33:41 +08:00
zlwu and Cursor
f1fad2d27d
feat(oa): add dept_contains_match for condition id intersection
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 15:19:32 +08:00
zlwu and Cursor
de22678c87
feat: ship OA drafts/badges, role dual-track, and test-env deploy tooling.
...
Add approval instance drafts with menu badges, dual-track user/role read model and role bound names, form-designer outline docs, and bare-metal test deploy scripts. Ignore local test-server credential file.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 13:58:47 +08:00
zlwu and Cursor
7f8c163c47
feat(backend): CC task read status in oa_engine.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 12:08:31 +08:00
zlwu and Cursor
06db3bc966
feat(permission): replace OA roles with post-bound roles and assignee posts
...
Unify effective roles via post-role bindings, remove dedicated OA role UI, and update OA assignee resolution plus related SQL/docs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-04 17:41:04 +08:00
zlwu and Cursor
33bf0c32a5
feat(oa): add trip kit day calc and submit validation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 18:30:00 +08:00
zlwu and Cursor
4ebc2dbe82
feat(oa): add owner person/dept fields with initiator defaults
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 17:54:48 +08:00
zlwu and Cursor
3b46b10604
feat(oa): add leave kit with auto duration calculation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 17:54:48 +08:00
zlwu and Cursor
684f152683
feat(oa): add resignation kit with last_work_day writeback on approval
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 17:51:33 +08:00
zlwu and Cursor
fa13440f18
feat(oa): sync initiator user from confirmation kit on approval complete
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 17:28:18 +08:00
zlwu and Cursor
898a337f96
feat(oa): register confirmation kit (转正套件) in FormCreate designer
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 17:24:06 +08:00
zlwu and Cursor
b1b15da624
feat(oa): add confirmation date month-add helper for 转正套件
...
Also add the confirmation kit implementation plan.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 17:19:09 +08:00
zlwu
310b2efe8a
提交
2026-07-30 15:02:13 +08:00
zlwu and Cursor
835c1c0836
feat(oa): resolve CC tasks with multi-strategy soft union
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 14:28:24 +08:00
zlwu and Cursor
ef91e189dd
feat(oa): validate CC assigneeTypes on publish
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 14:27:25 +08:00
zlwu and Cursor
2326f8bf99
feat(oa): add resolve_cc_assignees for multi-strategy CC soft union
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 14:23:05 +08:00
zlwu and Cursor
947e6ae6f8
feat(backend): expose receive account APIs and form validation.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 13:45:02 +08:00
zlwu and Cursor
9277b9c568
fix(backend): coerce receive account order_num to int or None.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 13:44:22 +08:00
zlwu and Cursor
51f868ea44
feat(backend): add receive account CRUD helpers and validators.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 13:40:59 +08:00
zlwu and Cursor
22be6d8b36
feat(oa): add initiator system field to condition branches
...
Allow __initiator__ contains matching in publish validation and the
flow designer candidate list, excluding it from form useInCondition locks.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 13:07:44 +08:00
zlwu and Cursor
3d88f52e2e
feat(backend): match __initiator__ contains in condition groups
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 13:04:24 +08:00
zlwu and Cursor
cf069c74ec
feat(oa): add person select control with contains conditions and print
...
Register FormCreate person field (dept-aligned UI), enable contains-only
workflow conditions, and format person values in print/related summary.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 12:18:19 +08:00
zlwu and Cursor
85322c39e4
feat(backend): evaluate person contains rules in condition groups
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 12:16:08 +08:00
zlwu and Cursor
330dd9e2ce
feat(backend): validate OA person field and whitelist type
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 12:12:31 +08:00
zlwu and Cursor
b5c4ba4c4f
feat(oa): format money fields in print and related-approval summary
...
Show formatted amount with optional uppercase on print; summary uses numeric text.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 11:11:13 +08:00
zlwu and Cursor
55e4134050
feat(backend): validate OA money field values on instance start
...
Reject negatives, non-finite values, and missing required money controls.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-30 11:04:30 +08:00
zlwu and Cursor
a3af039e74
feat: 质检工单结论、库位批量/筛选与协议样本接收质检摘要
...
落库并展示质检工单级结论(可编辑/任务派生),库位树支持批量新增子节点与货架格子检索,协议/捐赠列表补充接收与门禁质检摘要,并同步生产物料与工单卡片展示优化。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 18:46:24 +08:00
zlwu and Cursor
2e6e1f47d6
feat(oa): add dept select FormCreate control with print formatting
...
Register type=dept on main app and oa-fc-host, with PC tree-select and
narrow drawer pickers storing {id,name} path snapshots; format dept values
in print and related-summary flatten.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:32:44 +08:00
zlwu and Cursor
45d84d9642
feat(oa): reject invalid dept form_data on start
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:27:27 +08:00
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