Commit Graph
457 Commits
Author SHA1 Message Date
zlwu ec628e1b8d 提交 2026-08-12 15:48:15 +08:00
zlwuandCursor d310da1523 docs: OA 人员选择弹窗对齐方案 C 的设计说明
明确以流程审批人/抄送人弹窗与 Demo 方案 C 为基线,仅改 OaPersonSelect 行内结构与副信息展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 14:19:09 +08:00
zlwu 1b2896c877 提交 2026-08-12 10:02:31 +08:00
zlwuandCursor 8aab018558 fix(mobile-h5): serve legacy OA app icon SVGs from static
Most templates still use /oa-app-icons/*.svg from web-admin public; only ep: icons rendered. Copy assets and rewrite paths to /static/oa-app-icons so H5/miniprogram can load them.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 15:00:32 +08:00
zlwuandCursor df07458934 feat(mobile-h5): add OaAppIcon and grouped card grid on OA start
Align the start list with web section headers and two-column cards; render ep logos with shared color pairs via base64 SVG data-URIs for WeChat image compatibility.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:32:14 +08:00
zlwuandCursor 057029eca3 feat(mobile-h5): add OA app icon parse and ep SVG data-URI helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:28:46 +08:00
zlwuandCursor 484b2471f5 docs: add mobile OA start card-grid implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:25:55 +08:00
zlwuandCursor fdaeb6840f docs: add mobile OA start card-grid design and HTML demo
Align the mini-program start list with web card sections and shared ep icon color pairs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:20:04 +08:00
zlwuandCursor ad6208a73a docs: record mobile OA start phase-2 acceptance notes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:06:57 +08:00
zlwuandCursor e83d925994 feat(mobile-oa-h5): port OA kit runtime and wire duration sync on oa-start
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 14:02:59 +08:00
zlwuandCursor b638c787b1 feat(mobile-oa-h5): polish form layout and replace inputNumber with decimal field
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:40:02 +08:00
zlwuandCursor a0775cf619 feat: wire mini menus API and OA start home entry for mobile
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:39:51 +08:00
zlwuandCursor 8a9d0a2f95 feat(mobile-h5): add OA start template list and web-view page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:39:51 +08:00
zlwuandCursor 07eeb58d15 feat(mobile-oa-h5): implement oa-start page with form and flow preview
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:39:51 +08:00
zlwuandCursor 7ea11ffdcd fix(mobile-oa-h5): remove duplicate put helper and re-export it
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:39:51 +08:00
zlwuandCursor 4a1802af36 feat(mobile-oa-h5): add OA start runtime API helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 13:36:27 +08:00
zlwuandCursor 834b1a59a7 feat(mobile-oa-h5): add kit shells, trip itinerary, and camera-friendly upload
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:23:21 +08:00
zlwuandCursor d5e61a1162 feat(mobile-oa-h5): implement P1 person/dept/post and owner field selects
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:19:14 +08:00
zlwuandCursor bb86eb7ad2 feat(mobile-oa-h5): implement P0 money/upload/receiveAccount/relatedApproval fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:17:33 +08:00
zlwuandCursor f0e687eec9 docs: record mobile OA form-sink spike checklist and local tips
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:09:04 +08:00
zlwuandCursor 1b02c29114 feat(mobile-h5): add OA form-sink web-view entry and test menu
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:09:00 +08:00
zlwuandCursor 9adff5584e feat(mobile-oa-h5): add kitchen-sink form page with OA type stubs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 12:08:45 +08:00
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