Commit Graph
10 Commits
Author SHA1 Message Date
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
zlwuandCursor c3f183cfba feat(mobile-h5): adapt portal RSA login and split db HTTP client
Wire login to /web/auth/login with JSEncrypt, unwrap portal envelopes, and add a direct-JSON db client for weighbridge APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:33:46 +08:00
zlwuandCursor a4b13fa2bc chore(mobile-h5): add existing H5 app sources to the monorepo
Track the weighbridge mobile-h5 codebase (excluding node_modules, dist, and local .env) so subsequent adaptation tasks can evolve it in-repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:28:53 +08:00
zlwuandCursor f8f9c0ceff chore(mobile-h5): point Vite proxy at unified backend and add jsencrypt
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:27:47 +08:00