Commit Graph
435 Commits
Author SHA1 Message Date
zlwuandCursor 1b45fbaa36 chore(mobile-oa-h5): track .env.development for Vite API base
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:08:23 +08:00
zlwuandCursor 507032aedf chore: scaffold mobile-oa-h5 with Vite, Vant and form-create
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:04:27 +08:00
zlwuandCursor 6f849cbb36 chore: add OA published form type stats script against zkxw-sc
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 11:57:35 +08:00
zlwuandCursor d92472d2cd docs: narrow OA mobile form spike by zkxw-sc usage and add phase-1 plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 11:54:14 +08:00
zlwuandCursor 3c5fb79c30 docs: add mobile OA start-approval design for mini-program web-view H5 forms.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 11:47:13 +08:00
zlwu 693e8a678e 提交 2026-08-11 11:13:01 +08:00
zlwuandCursor 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
zlwuandCursor 80ef84e68f test: add failing OA task list filter coverage
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 10:47:56 +08:00
zlwuandCursor 73abb71c65 docs: add OA approval task center filter design and HTML demo
Document server-side filters, instant search UX, and page field matrix for pending/done/mine/cc lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 10:43:52 +08:00
zlwuandCursor c750072f6f docs: add OA overtime auto-duration implementation plan
Break down holiday cache sync, dual-end hour calculation, and start-form
wiring into TDD tasks aligned with the approved design spec.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 22:52:16 +08:00
zlwuandCursor 2f02a2d0f2 docs: add OA overtime auto-duration and holiday cache design
Capture agreed rules for overtime kit auto/manual hours, ailcc sync
via in-process midnight loop, and dual-end calculation aligned with leave kit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 22:49:56 +08:00
zlwuandCursor 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
zlwuandCursor 89d9471f37 docs: add WeChat login implementation plan for mobile-h5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:22:07 +08:00
zlwuandCursor 3533c42291 docs: add mobile-h5 WeChat login design (openid + phone)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 16:14:42 +08:00
zlwuandCursor 17a1f88626 feat(mobile-h5): wire password login to backend and disable WeChat button
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:58:13 +08:00
zlwuandCursor 8efa992e21 feat(mobile-h5): add RSA login body builder with jsencrypt
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:57:35 +08:00
zlwuandCursor 2bc7f353f0 feat(mobile-h5): add thin uni.request wrapper for API calls
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:55:41 +08:00
zlwuandCursor 25d1b3454b chore(mobile-h5): add API_BASE_URL config for login
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:54:23 +08:00
zlwuandCursor 6dd7a95ce8 docs: add mobile-h5 password login API implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:52:29 +08:00
zlwuandCursor 5e0a1ce0a1 docs: add mobile-h5 password login API integration design
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:50:39 +08:00
zlwuandCursor ef259f1f0c feat(mobile-h5): apply scheme B empty state globally
Restyle van-empty as a dashed mint soft card and add optional tip on home and comps demo so all empty states stay consistent.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:36:43 +08:00
zlwuandCursor 169781a702 docs: add mobile-h5 empty state design (scheme B)
Record the dashed soft-card empty state as the global van-empty default, with a visual demo for review.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 15:34:24 +08:00
zlwuandCursor 01e4b3b494 docs: link miniprogram login demo and mobile-h5 page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:44:42 +08:00
zlwuandCursor c7794f714b feat(mobile-h5): add logout on workbench for login demo loop
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:44:42 +08:00
zlwuandCursor 4420fb570e feat(mobile-h5): register login as launch page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:44:41 +08:00
zlwuandCursor 12ccc346b0 feat(mobile-h5): add employee login page UI (scheme B)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:44:41 +08:00
zlwuandCursor da33a4182c style(mobile-h5): add login page SCSS for scheme B layout
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:41:37 +08:00
zlwuandCursor fd51a0bee4 feat(mobile-h5): add mock auth helpers for login page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:39:48 +08:00
zlwuandCursor 0989d4ba0a chore(mobile-h5): add WeChat logo asset for login button
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:38:45 +08:00
zlwuandCursor e9f4350af4 chore(mobile-h5): track HBuilderX uni-app skeleton files
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:03:45 +08:00
zlwuandCursor 031e456614 docs: record mobile-h5 Vant UI design, plan, and demo
Link the workspace UI demo and implementation plan from the
miniprogram UI spec for the unified mobile workbench.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:03:36 +08:00
zlwuandCursor 8793fa07cc feat(mobile-h5): add styles, mocks, components, and demo pages
Land Token-based SCSS modules, menu/biz mocks, reusable shell
components, and home plus list/detail/form/comps template pages
aligned with the Vant Weapp UI demo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:03:36 +08:00
zlwuandCursor cfe0e616ab feat(mobile-h5): add design tokens and global style entry
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:00:25 +08:00
zlwuandCursor 8a5804aa04 chore(mobile-h5): configure Vant easycom and demo page routes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 13:59:23 +08:00
zlwuandCursor e5bc54516f chore(mobile-h5): add package.json and @vant/weapp dependency
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 13:54:48 +08:00
zlwu a9ba60cf6b 提交 2026-08-06 22:21:14 +08:00
zlwu 6a8c3e750e 提交 2026-08-06 16:54:32 +08:00
zlwuandCursor ac4c3d1886 docs(oa): mark dept condition spec implemented
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:41:08 +08:00
zlwuandCursor 6beb243604 feat(oa): tree multi-select for dept condition values
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:40:54 +08:00
zlwuandCursor f874447ae2 feat(oa): whitelist dept and ownerDept for condition participation
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:40:09 +08:00
zlwuandCursor 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
zlwuandCursor 86dd605ac5 feat(oa): evaluate dept contains in condition rules
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:33:41 +08:00
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