Commit Graph
327 Commits
Author SHA1 Message Date
zlwuandCursor a0eebfdbd3 feat(bx-mobile): guard routes by portal menuCodes and drop bx admin IAM pages
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:07:23 +08:00
zlwuandCursor a4f04ff297 feat(bx-mobile): finish portal login page and normalize current-user fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:06:43 +08:00
zlwuandCursor 3f1faeae34 feat(bx-mobile): add bxClient and retarget business APIs to shanxia2.0
Remove legacy bx user/role/menu/auth APIs. Wire auth store to portal
temporarily so the app still typechecks; IAM admin pages use local stubs
until Task 6 drops their routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:06:12 +08:00
zlwuandCursor c7a8930ad6 feat(bx-mobile): add portal HTTP client and RSA login API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:03:58 +08:00
zlwuandCursor 2840c7d1c0 feat(bx-mobile): add Web bx menuCode catalog and permission helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:03:17 +08:00
zlwuandCursor 39630d39e5 fix(bx-mobile): load VITE_API_PROXY_URL via loadEnv in vite config
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:01:40 +08:00
zlwuandCursor 4d75713e15 chore(bx-mobile): point API proxy to shanxia2.0 backend and add jsencrypt
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 16:00:32 +08:00
zlwu 7a0f1554bd 提交 2026-08-09 15:59:22 +08:00
zlwu f70dc26206 提交 2026-08-09 14:51:41 +08:00
zlwuandCursor ca6aca2b14 docs: add transport plan supplier/demander free-product design and plan.
Capture agreed rules for dual-party customers, multi-contract sides, ProductSelector-only products, and no historical migration before implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 23:35:35 +08:00
zlwu 90ae136f38 提交 2026-08-08 23:14:40 +08:00
zlwu fdf7d391a6 提交 2026-08-08 22:19:09 +08:00
zlwu 683f14828f 提交 2026-08-08 20:43:48 +08:00
zlwuandCursor 2df2ef0808 feat: add portal home launcher, favorites UI, and WorkTab overflow eviction
Replace top-bar module navigation with a card home page, persist favorites via API, reopen favorite tabs on cold login, and enable portal multi-tabs with overflow-based eviction.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:06:49 +08:00
zlwuandCursor 7898d65437 feat: add menu favorites API under /web/admin/menu-favorites
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:01:28 +08:00
zlwuandCursor 1a0c58f82d feat: add sys_user_menu_favorite table for portal menu favorites
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:58:55 +08:00
zlwuandCursor 2ccc3b612a docs: mark CRM name pinyin abbr design implemented and note go-live checklist.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:34:55 +08:00
zlwuandCursor 021bd73301 feat: customer form and search UI for pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:33:23 +08:00
zlwuandCursor b151ac6499 feat: product form and search UI for pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:30:53 +08:00
zlwuandCursor 5575b08437 feat: add backfill script for CRM name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:29:21 +08:00
zlwuandCursor 659fc89179 feat: store and search customer name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:24:28 +08:00
zlwuandCursor ba3f2c19bb feat: store and search product name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:18:59 +08:00
zlwuandCursor e056dfaac1 fix: restore shanxia2.0.sql and keep name_pinyin_abbr DDL only.
The previous commit accidentally truncated the baseline SQL dump; restore full content and re-apply only the crm_product/crm_customer column additions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:15:45 +08:00
zlwuandCursor e7b3fbb21b feat: add name_pinyin_abbr columns for CRM product and customer.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:10:53 +08:00
zlwuandCursor fa9b3429c7 feat: add pinyin initial abbr helper for CRM names.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 16:57:05 +08:00
zlwuandCursor 65ea371d5f docs: add design for CRM product/customer pinyin initial search.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:52:15 +08:00
zlwuandCursor 05350a99a6 docs: mark alias-brand manage implementation plan tasks complete.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:24:34 +08:00
zlwuandCursor c1b2f5a667 docs: mark quote/contract alias-brand manage design implemented.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 13:24:08 +08:00
zlwuandCursor 449250518f feat(crm): wire alias/brand manage dialog into contract product lines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:55:52 +08:00
zlwuandCursor a80a01b37d feat(crm): wire alias/brand manage dialog into quote product lines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:50:32 +08:00
zlwuandCursor 0dbd2da703 feat(crm): add product alias/brand manage dialog for inline master-data edits.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:46:28 +08:00
zlwuandCursor 4628738632 feat(crm): add helper to refresh quote/contract lines after product alias/brand manage.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:41:30 +08:00
zlwuandCursor 1e74057003 docs: add implementation plan for quote/contract alias and brand manage dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:40:37 +08:00
zlwuandCursor 22014ba3fa docs: add design for quote/contract alias and brand inline manage dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 12:38:26 +08:00
zlwuandCursor 9788e3ac17 docs: mark transport plan copy design implemented
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:33:48 +08:00
zlwuandCursor e1f31dc10f feat(pl): add copy entry on transport plan list and view dialog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:25:06 +08:00
zlwuandCursor d5bbe0d0b1 feat(pl): support copy-from plan prefill in plan form dialog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:18:04 +08:00
zlwuandCursor 13115c8afd docs: add implementation plan for transport plan copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:14:14 +08:00
zlwuandCursor 7ca8ad29fa docs: add design for copying transport plans into new form dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 23:12:01 +08:00
zlwu 3d645b4112 提交 2026-08-06 22:49:00 +08:00
zlwu f3693be913 提交 2026-08-06 09:58:20 +08:00
zlwuandCursor 2716c2b6f8 docs: add design for address library edit and contact fill in transport plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 06:52:45 +08:00
zlwu 5cf67f60d1 提交 2026-08-04 15:33:41 +08:00
zlwu 5fe53c5481 提交 2026-08-04 14:02:01 +08:00
zlwuandCursor 012a2ad68e fix(mobile-h5): polish dibang H5 adaptation after typecheck
Simplify App bootstrap, cast HTTP helpers for vue-tsc, and align leftover string ids.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:46:54 +08:00
zlwuandCursor 5f2a6f2338 feat: public vehicle plate options for H5 fill pages; select-only plates
Add GET /api/public/db/vehicle-plates for unauthenticated fill/plan pages and remove manual plate entry plus auto-create.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:44:01 +08:00
zlwuandCursor db06fea45a feat(mobile-h5): wire select-only master data into business forms
Replace master-data CRUD pickers with CRM/PL selectors, require productId, drop auto vehicle create, and remove 基础资料 routes/menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:42:24 +08:00
zlwuandCursor a8f59183df feat(mobile-h5): add CRM/PL option APIs and select-only pickers
Provide customer/product/vehicle pickers that search portal master data without create-on-type.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:39:36 +08:00
zlwuandCursor 4520ccbfcb feat(mobile-h5): align db API types to string ids and productId
Switch plans/inventory/weighing/dashboard clients to the db HTTP layer and match web-admin string primary keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:39:02 +08:00
zlwuandCursor f1be6bdc8c chore(mobile-h5): deprecate legacy UserService login paths
Point callers away from old /auth/login toward portal fetchLogin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:34:01 +08:00