Commit Graph
817 Commits
Author SHA1 Message Date
wuzilongandCursor 7d09ebee96 chore: update graphify after attachment image preview rotate/zoom.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:33:01 +08:00
wuzilongandCursor b9849f33ae docs(openspec): note image preview rotate/zoom for attachment cards.
Document preview-only rotate and zoom expectations under attachment upload card layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:32:55 +08:00
wuzilongandCursor 45327b3acb feat(web-admin): add rotate/zoom/pan to attachment image preview.
Enhance AttachmentUploadField image preview dialog with toolbar controls, wheel zoom, and drag pan; fit-full at 100% zoom after rotate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:29:03 +08:00
wuzilongandCursor 0af792f535 feat(web-admin): add image preview transform helpers for fit/zoom.
Pure functions for AttachmentUploadField image preview rotate/zoom math, with a Node assert script.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:23:34 +08:00
wuzilongandCursor 8435836d81 docs: add implementation plan for attachment image preview rotate/zoom.
Break down AttachmentUploadField preview enhancements into helper tests, UI wiring, styles, and manual acceptance checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:19:03 +08:00
wuzilongandCursor 3583e6456b docs: add attachment image preview rotate/zoom design and demo.
Capture the approved AttachmentUploadField preview enhancements (rotate, fit-full, wheel/button zoom, drag pan) before implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 14:16:00 +08:00
wuzilongandCursor 65d904fff1 chore: update graphify after archive zip export.
Refresh backend and web-admin graphs after plan-archive ZIP export changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:47:41 +08:00
wuzilongandCursor 2f3756eab8 feat(web-admin): add archive data-and-attachments ZIP export menu.
Extend ListExportDropdown with additional items and wire archive_zip on the plan-archive page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:47:14 +08:00
wuzilongandCursor d5c2e1f1a4 feat(pl): wire archive_zip export format on plan export API.
Reuse archive row building and attach document plus hazard-cert files into a zip response.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:46:52 +08:00
wuzilongandCursor 81e52477de feat(pl): build archive export zip with relative hyperlinks.
Pack archive xlsx plus attachment files under 附件/, with HYPERLINK columns on each plan's first row.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:46:15 +08:00
wuzilongandCursor 7af4d7ac7e feat(pl): collect hazard certs for archive zip export.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:42:44 +08:00
wuzilongandCursor d68a0ef0bd fix(pl): fix FakePlan id for planId export field.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:42:05 +08:00
wuzilongandCursor e9ffa5d042 feat(pl): add archive zip naming helpers and planId on export rows.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:40:04 +08:00
wuzilongandCursor 1c3c0d40b6 docs: add implementation plan for plan-archive attachment ZIP export.
Break work into TDD tasks for zip helpers, hazard cert collection, API wiring, and ListExportDropdown menu items.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:38:51 +08:00
wuzilongandCursor f5b76ef711 docs: add plan-archive data-and-attachments ZIP export design.
Capture brainstorming decisions for coexisting Excel and ZIP export, reference-zip folder layout, document attachments plus hazard certs, and relative-path hyperlinks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 12:36:18 +08:00
wuzilong c270d14057 提交 2026-09-23 12:03:07 +08:00
wuzilongandCursor b15d1ddde3 chore: update graphify after wx-qr web login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:22:42 +08:00
wuzilongandCursor cce8fae673 feat(miniprogram): add web QR phone confirm page for admin login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:21:47 +08:00
wuzilongandCursor 29898a107b feat(web-admin): default login to WeChat QR with password tab.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:20:11 +08:00
wuzilongandCursor e54c1bdfef chore: untrack web-admin env files force-added in Task 6.
Keep wx-qr encrypt exclude paths in local env files only; they remain gitignored.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:18:36 +08:00
wuzilongandCursor c5a0e17a05 feat(web-admin): add wx-qr create and status API clients.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:18:08 +08:00
wuzilongandCursor 98e31c88b2 feat(api): confirm web QR login from mini program phone auth.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:17:14 +08:00
wuzilongandCursor ec0045d5bf feat(api): add web wx-qr create and status endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:16:15 +08:00
wuzilongandCursor 22634330d5 feat(wechat): generate unlimited mini program codes for web QR login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:15:15 +08:00
wuzilongandCursor 1e7c8bde3b test(auth): force in-memory backend for wx-qr session unit tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 20:14:35 +08:00
wuzilongandCursor 56a3311c45 feat(auth): add wx-qr session state machine for web login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 19:55:00 +08:00
wuzilongandCursor 7f2b5d06c1 chore: add wx-qr login config and encrypt exclude paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 18:15:27 +08:00
wuzilongandCursor b438495b1d docs: add implementation plan for web-admin WeChat QR login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 18:13:31 +08:00
wuzilongandCursor ef8b59d23c docs: add web-admin WeChat QR phone login design.
Record the shanxia-shell + zkxw-tab dual-mode login approach (mini program code, session poll, phone_no match) with an interactive HTML demo for review.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 18:08:11 +08:00
wuzilong 1ba1f38321 提交 2026-09-18 12:01:13 +08:00
wuzilongandCursor 98531845e4 chore: update graphify after mini phone quick login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:16:25 +08:00
wuzilongandCursor b5a58583bd feat(miniprogram): add phone quick login button on login page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:15:47 +08:00
wuzilongandCursor 6f39801c63 feat(miniprogram): add wechatLogin API client on user store.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:14:59 +08:00
wuzilongandCursor 713aa700ae feat(api): add mini wechat-login and share JWT issuance with web login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:14:18 +08:00
wuzilongandCursor 7ccd1f553e feat(backend): resolve wechat login user by phone and bind openid.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:12:03 +08:00
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