Commit Graph
782 Commits
Author SHA1 Message Date
wuzilongandCursor 3d003e8d37 feat(backend): add wechat mini auth helpers and user phone lookups.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:09:04 +08:00
wuzilongandCursor 7e7f9226cf feat(config): add WECHAT_MP credentials for mini wechat login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:06:54 +08:00
wuzilongandCursor 2ce31b903f feat(db): add sys_user wx_openid columns for mini phone login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:05:22 +08:00
wuzilongandCursor 53795c535d docs: add miniprogram phone quick login implementation plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:04:00 +08:00
wuzilongandCursor 7f3f569722 docs: add miniprogram phone quick login design.
Capture the approved WeChat getPhoneNumber login flow for shanxia mini program, including WECHAT_MP_* config, sys_user openid columns, and parity with password login JWT.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:00:42 +08:00
wuzilong 86694f739f 提交 2026-09-17 09:10:10 +08:00
wuzilongandCursor a0da6427ef chore(miniprogram): update graphify after invoice thumbnails.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:23:55 +08:00
wuzilongandCursor d6fddc666c feat(miniprogram): show linked invoice thumbnails on reimburse detail.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:22:09 +08:00
wuzilongandCursor 0c269b6e73 fix(miniprogram): retry invoice picker load after empty failure.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:20:44 +08:00
wuzilongandCursor ffec3ecd94 feat(miniprogram): show invoice thumbnails in reimburse apply picker.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:17:34 +08:00
wuzilongandCursor 01553ef0f7 style(miniprogram): add invoice thumbnail grid styles for bx.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:15:31 +08:00
wuzilongandCursor 4201d656b1 feat(miniprogram): add invoice thumb helper utilities.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:11:59 +08:00
wuzilongandCursor ea4d990abb docs: add reimburse invoice thumbnail implementation plan.
Break scheme-1 into helper, styles, apply picker, and detail tasks with verification steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:10:25 +08:00
wuzilongandCursor 1af6a944fb docs: add miniprogram reimburse invoice thumbnail design.
Record the approved scheme-1 UI for picker thumbnails, scroll paging, and detail linked-invoice display, with companion HTML demo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:07:35 +08:00
wuzilongandCursor ca0098f6ca feat(web-admin): add mp plan form anchors and polish print customer pick.
Improve the page-variant plan form for WebView and align print customer selection with the mobile demo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 09:35:17 +08:00
wuzilongandCursor bf81d9b77c feat(web-admin): redesign mp transport plan detail sections.
Align mobile detail with demo IA including hazard cert slots and capped footer actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 09:34:16 +08:00
wuzilongandCursor 8d1d5c19b5 feat(web-admin): redesign mp transport plan list to match demo.
Use dual dropdown filters, richer cards, and a speed dial for create actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 09:32:47 +08:00
wuzilongandCursor 92bb4bf0d0 feat(web-admin): add mp plan detail action splitter.
Cap the sticky footer at two primary actions and park the rest in a more sheet.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 09:31:43 +08:00
wuzilongandCursor b3ad19f6a9 feat(web-admin): enrich mp plan card with party and follower fields.
List cards need supplier→buyer and follow user to match the approved mobile demo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 09:29:46 +08:00
wuzilongandCursor 8c69a01e16 feat(web-admin): add mp webview sheet and list chrome styles.
Provide shared Bottom Sheet and filter/speed-dial/fab tokens for the transport plan mobile redesign.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 09:27:11 +08:00
wuzilongandCursor 3795fa2b5a docs: add implementation plan for mp plan mobile redesign.
Break the approved WebView UI redesign into sequenced tasks for list, detail, form, print, and paste.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 01:46:49 +08:00
wuzilongandCursor 43f5ae8603 docs: add mobile redesign spec for WebView transport plans.
Capture the approved HTML demo as the UI authority for rewriting /#/m/pl/* without changing ticket or shell architecture.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 01:40:45 +08:00
wuzilongandCursor fe9d30105d docs: describe how to add more miniprogram webview modules.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:48:30 +08:00
wuzilongandCursor bf22c4b031 style(web-admin): format webview plan form and paste helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:48:25 +08:00
wuzilongandCursor a382f3e730 feat(web-admin): add mobile paste-create for third-party vehicle bundles.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:47:14 +08:00
wuzilongandCursor 866a87f747 feat(web-admin): add mobile print preview for transport plan slips.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:47:12 +08:00
wuzilongandCursor bc7a1c225a feat(web-admin): reuse plan form as a full-page webview variant.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:47:05 +08:00
wuzilongandCursor 1a5aa1c934 feat(web-admin): add mobile plan detail and shared action guards.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:25:09 +08:00
wuzilongandCursor 17edd7016f feat(web-admin): add mobile card list for transport plans in webview.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:25:09 +08:00
wuzilongandCursor 5220637639 docs(sql): add miniprogram menu for webview transport plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:22:12 +08:00
wuzilongandCursor 57a831a36f feat(miniprogram): add reusable web-view shell for H5 business pages.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:22:12 +08:00
wuzilongandCursor 8fbe0679c9 feat(web-admin): add mp webview shell and /m/pl/plan static routes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:21:37 +08:00
wuzilongandCursor c0721786ff feat(web-admin): skip desktop chrome and login page inside mp webview routes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:15:08 +08:00
wuzilongandCursor 5eb7b0b193 feat(backend): exchange miniprogram webview tickets for JWT sessions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:11:36 +08:00
wuzilongandCursor 98292cb914 fix(backend): consume webview tickets atomically and fail closed on Redis errors.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:07:45 +08:00
wuzilongandCursor 62161e2905 feat(backend): add one-time Redis tickets for miniprogram webview login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:03:18 +08:00
wuzilongandCursor da7476df5a docs: record miniprogram WebView template and transport plan design.
Capture the approved card-list, ticket-based login, and reusable shell so later modules can follow the same path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 15:50:12 +08:00
wuzilong b7d0d4a4f8 提交 2026-09-14 11:57:58 +08:00
wuzilongandCursor 31d3a044cf feat(miniprogram): add withdraw button on reimburse and advance lists
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:51:10 +08:00
wuzilongandCursor f8c93d2bd6 chore: update graphify after attachment display name feature
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:38:22 +08:00
wuzilongandCursor a1ace0cf9a feat(miniprogram): show remark-based names on reimburse apply attachments
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:32:20 +08:00
wuzilongandCursor f05e353d1e feat(miniprogram): add apply attachment display name helper
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:32:17 +08:00
wuzilongandCursor 76e5d27a79 feat(web-admin): pass remark into reimburse apply attachment UI
Wire addForm.remark into apply upload and viewData.remark into apply attachment readonly on reimburse apply and approve pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:31:00 +08:00
wuzilongandCursor e50d2c27c8 feat(web-admin): show remark-based names on bx attachment cards
Add optional remark prop to BxAttachmentUpload and BxAttachmentReadonly so cards display sanitized remark_index names while download keeps the original fileName.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:30:55 +08:00
wuzilongandCursor a564bfe733 feat(web-admin): add apply attachment display name helper
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:30:16 +08:00
wuzilongandCursor 5d4e1e14ad docs: add plan for reimburse apply attachment display names
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:29:55 +08:00
wuzilongandCursor 6d0668bf58 docs: add design for reimburse apply attachment display names
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:27:10 +08:00
wuzilongandCursor 07f45a1c92 fix(miniprogram): refresh detail after withdraw failure
Also add the bx apply withdraw implementation plan.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 10:07:44 +08:00
wuzilongandCursor 7a45df9de7 chore: update graphify after bx apply withdraw
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 10:05:16 +08:00
wuzilongandCursor d2a13bdf87 feat(miniprogram): add advance detail withdraw
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 10:04:22 +08:00