Commit Graph
393 Commits
Author SHA1 Message Date
zlwuandCursor 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
zlwuandCursor e93edc77f4 chore: update graphify and add drafts inline-edit plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:58:23 +08:00
zlwuandCursor 3cf2f68b1a feat(web-admin): edit and submit OA drafts in-place via shared dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:55:38 +08:00
zlwuandCursor cf009de58a refactor(web-admin): wire start page to OaStartFormDialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:47:02 +08:00
zlwuandCursor 0dcc05dca7 feat(web-admin): extract OaStartFormDialog for shared start/draft edit.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:38:09 +08:00
zlwuandCursor 7a1433a489 docs: add OA drafts inline edit dialog design.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:31:11 +08:00
zlwuandCursor 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
zlwuandCursor 7af53fc344 chore: update graphify after OA app icon ep pastel.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:19:43 +08:00
zlwuandCursor 7e166de4b1 feat(web-admin): show ep pastel icons on start and designer.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:16:11 +08:00
zlwuandCursor 542f449b37 feat(web-admin): wire OA apps page to ep pastel icon picker.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:13:42 +08:00
zlwuandCursor 0cbfa7bb91 feat(web-admin): add OaAppIconPicker for ep palette and upload.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:11:16 +08:00
zlwuandCursor e4279dc953 feat(web-admin): add OaAppIcon display for ep and image URLs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:07:25 +08:00
zlwuandCursor bfb495ee77 feat(web-admin): add ep: pastel OA app icon URL helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:03:46 +08:00
zlwuandCursor 9193908400 docs: add OA app icon ep pastel implementation plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:58:58 +08:00
zlwuandCursor 0853777fdf docs: add OA app icon pastel + Element Plus design and demo.
Capture the approved encoding (ep:Icon|#bg), 8-color palette, picker UX, and interactive HTML demo for implementation planning.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:54:27 +08:00
zlwuandCursor 01d4fcf12f chore: update graphify after OA CC unread badge.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:19:45 +08:00
zlwuandCursor 98423aad7b feat(web-admin): CC list read filter, mark-read, and batch read.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:16:33 +08:00
zlwuandCursor 9c589de6d7 feat(web-admin): sidebar badge for OA CC unread count.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:14:42 +08:00
zlwuandCursor 9825d52bfb feat(web-admin): OA CC read/unread API helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:12:57 +08:00
zlwuandCursor fbfbaa6d17 feat(api): expose CC unread count and mark-read endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:11:14 +08:00
zlwuandCursor 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
zlwuandCursor 4d72231ea3 feat(backend): add is_read fields on OaTask model.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:04:00 +08:00
zlwuandCursor 39892c6dc0 docs(sql): add oa_task is_read columns for CC unread badge.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:01:14 +08:00
zlwuandCursor 6fd23303d2 docs(oa): add CC unread badge implementation plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 11:59:52 +08:00
zlwuandCursor 48de4be893 docs(oa): add CC unread badge design and demo
Capture the approved design for sidebar unread counts and read/batch-read flows on 抄送我的, with an interactive HTML demo for UI reference.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 11:57:33 +08:00
zlwuandCursor 19c6d06fa0 fix(post): hide stale deleted user ids in post view dialog
Omit redundant field labels and exclude soft-deleted users from post bindings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:43:35 +08:00
zlwuandCursor a330903625 fix(web-admin): skip auto-icon on post name list links
Post names containing 查看 were matched by global button auto-icon rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:39:25 +08:00
zlwuandCursor 3e60ed56f0 feat(post): list name link and show bound user names
Enrich post list with boundUserNames and open view dialog from the name column.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:33:52 +08:00
zlwuandCursor 45ada351ba docs: add post list name-link and bound users plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:29:48 +08:00
zlwuandCursor a9298ac6ea docs: add post list name-link and bound users design
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:28:42 +08:00
zlwuandCursor 4d3fed3215 chore: ignore local PID files and Graphify AST/incremental caches
Stop tracking runtime PID and regenerable Graphify cache/state so they no longer clutter git status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 17:52:36 +08:00
zlwuandCursor 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
zlwuandCursor a3c73d76bb docs(oa): mark trip kit design as implemented
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:03:53 +08:00
zlwuandCursor 29b11743e7 feat(oa): wire trip kit duration sync on approval start
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:03:19 +08:00
zlwuandCursor 8294361817 feat(oa): register tripKit in FormCreate designer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:02:33 +08:00
zlwuandCursor 0101e46ed9 feat(oa): add tripItinerary FormCreate control
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:00:54 +08:00
zlwuandCursor 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
zlwuandCursor 14219b9a52 feat(oa): add trip kit half-day duration helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 18:26:38 +08:00
zlwuandCursor 1ef4385608 docs(oa): add trip kit implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 18:22:01 +08:00
zlwuandCursor feec1ca0bf docs(oa): add trip kit (出差套件) design spec
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 18:16:27 +08:00
zlwuandCursor 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
zlwuandCursor 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
zlwuandCursor b3d267e9ca feat(oa): add overtime kit form components and designer registration
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:54:16 +08:00
zlwuandCursor 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
zlwuandCursor 958a6a8cb8 docs(oa): mark confirmation kit implemented; unwrap kit in print
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:29:40 +08:00
zlwuandCursor 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
zlwuandCursor 493ce698df feat(oa): confirmation kit defaults and confirmation-date linkage on start form
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:27:05 +08:00
zlwuandCursor 898a337f96 feat(oa): register confirmation kit (转正套件) in FormCreate designer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:24:06 +08:00
zlwuandCursor b22777fa2d feat(user): add hire_date and probation_months to sys_user and user admin
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:22:41 +08:00
zlwuandCursor 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