zlwu and Cursor
5942feb06e
docs: add product-lines batch fill design and plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 13:31:49 +08:00
zlwu and Cursor
e6c8a9c88d
feat(web-admin): expose facilityNodeId on storage slot select options
...
Needed so batch start/end fill can verify slots belong to the same box.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 13:30:56 +08:00
zlwu
bff544404f
提交
2026-07-27 19:47:13 +08:00
zlwu and Cursor
51f205e89b
fix(oa): skip dept tree fetch inside form designer iframe
...
oa-fc-host has no Pinia/auth; mounting OaDeptSelect previously called
fetchDeptTree and surfaced false network errors when dragging the control.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:43:01 +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
1d24f1c682
docs(oa): add department select implementation plan
...
Break the approved dept control design into TDD-ready tasks covering
validation, FormCreate registration, PC/narrow pickers, and print formatting.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:21:54 +08:00
zlwu and Cursor
19c97d148f
docs(oa): add department select control design and mockup
...
Capture the approved OA form designer dept control contract (multi/single,
{id,name} path snapshot, mobile full-screen picker) and a Fresh Mint HTML demo.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 18:17:38 +08:00
zlwu and Cursor
d5b0f2d797
chore(graphify): sync knowledge graph artifacts after protocol fix
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:50:02 +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
f661d40f3a
feat(oa): add auto-pass-when-approver-is-initiator advanced switch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:43:39 +08:00
zlwu and Cursor
1fafb4a157
test(oa): cover auto-pass or/and/consecutive/commentRequired cases
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:43:18 +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 and Cursor
d69388573a
test(oa): add failing auto-pass-when-approver-is-initiator case
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:41:56 +08:00
zlwu and Cursor
b9193b3175
docs(oa): add auto-pass-when-approver-is-initiator implementation plan
...
Break the approved design into TDD tasks for engine core, tests, and designer switch.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:37:07 +08:00
zlwu and Cursor
9b76aa654e
docs(oa): add auto-pass when approver is initiator design
...
Document advanced setting and engine behavior for skipping self-approval when the assignee equals the initiator.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 17:32:48 +08:00
zlwu
7f4c9720e9
提交
2026-07-25 09:37:24 +08:00
zlwu
2de86b0500
提交
2026-07-24 11:55:03 +08:00
zlwu
89fda927a2
提交
2026-07-23 18:01:11 +08:00
zlwu and Cursor
91b8dd1aaa
fix(oa): align initiator-select picker with flow designer member chips
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:27:43 +08:00
zlwu and Cursor
4641d333e6
feat(oa): wire start dialog to per-node initiator select in flow preview
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:20:06 +08:00
zlwu and Cursor
eafd3c7d9e
feat(oa): allow picking initiator-select users inside flow preview
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:14:13 +08:00
zlwu and Cursor
624ac87476
feat(oa): switch web-admin OA APIs to initiatorSelectByNode
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:11:39 +08:00
zlwu and Cursor
5ac5952c55
feat(oa): accept initiatorSelectByNode on start and flow-preview APIs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:10:36 +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
cf270630fe
feat(oa): add oa_instance.initiator_select_json for per-node self-select
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 16:00:49 +08:00
zlwu and Cursor
1ae72dc659
chore(oa): label transferred status on OA task list pages
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:18:27 +08:00
zlwu and Cursor
5350db1dc4
feat(web-admin): add OA task transfer action on instance detail
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:17:25 +08:00
zlwu and Cursor
35c60f95e8
feat(web-admin): show transferred status on OA progress lines
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:16:40 +08:00
zlwu and Cursor
dc54170771
feat(oa): expose POST /tasks/{id}/transfer API
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:14:35 +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
e06e8be60f
docs(oa): add implementation plan for approval transfer
...
Break transfer into engine TDD, API, progress labels, and detail UI tasks aligned with the approved spec.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:06:42 +08:00
zlwu and Cursor
2deb0e0539
docs(oa): add transfer action design and interactive mockup
...
Capture product decisions for replacing the current assignee via close-old + create-new pending task, with optional comment and no app-level switch.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 15:01:55 +08:00
zlwu and Cursor
ea4ee3e573
feat(web-admin): print OA or/and-sign nodes as per-person text lines
...
Align PDF flow section with progress UI person-line format.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:16:18 +08:00
zlwu and Cursor
1e2b903cd7
feat(web-admin): show per-person approval lines on OA progress chain
...
Render name/opinion/time under multi-approver nodes; hide duplicate node comment.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:13:59 +08:00
zlwu and Cursor
043e69f818
feat(web-admin): add OA progress person-line formatter for or/and sign
...
Provide shared plain-text lines (name opinion time) used by progress UI and PDF.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:11:36 +08:00
zlwu and Cursor
f951c12071
docs(oa): add implementation plan for or/and-sign progress and PDF display
...
Break work into shared person-line formatter, OaProgressChain, and print flow wiring.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:09:31 +08:00
zlwu and Cursor
569a13a3ea
docs(oa): 明确或签/会签在审批进度与 PDF 中的展示规则
...
统一为纯文本行「姓名 意见 时间」;或签免处理人仍灰显列出;附 HTML Demo 供对照。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-23 14:05:36 +08:00
zlwu and Cursor
51ce9d6059
docs(oa): add nested relatedApproval print design, plan, and demos
...
Records screen count+jump vs print multi-line recursion (max 3 levels)
and links the V1 related-approval spec to the revision.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 23:04:41 +08:00
zlwu and Cursor
600adfb6d8
feat(web-admin): print relatedApproval as recursive multi-line blocks
...
PDF export fetches summaries and renders up to three nested levels with
dedupe, instead of dumping raw instance ids.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 23:04:06 +08:00
zlwu and Cursor
cba3b0cccd
feat(web-admin): add related-approval print block assembler
...
Pure map-based recursion with maxDepth=3 and visited dedupe; async
wrapper batch-fetches summaries for PDF export.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 23:02:19 +08:00
zlwu and Cursor
6bb8621578
feat(web-admin): make nested relatedApproval count jump to first instance
...
Uses relatedIds from enrichment so screen stays count-only without nested cards.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 23:00:51 +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
7b4e246100
fix(web-admin): avoid unresolved @form-create/utils unique import
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 17:53:55 +08:00
zlwu and Cursor
67cdf76741
docs(oa): add related-approval design and plan progress notes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 17:03:44 +08:00
zlwu and Cursor
f68927ce70
feat(web-admin): add relatedApproval FormCreate control with picker UI
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 17:03:29 +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