Commit Graph
846 Commits
Author SHA1 Message Date
wuzilongandCursor 204b5f48c8 feat(pl): wire deliveryTimeFrom/To through plan list and export
Contract-gap list/export share the same stop-date EXISTS filter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:23:31 +08:00
wuzilongandCursor 0e3df1f39d feat(pl): expose deliveryTimes on plan list and contract-gap schemas
Populate from delivery stops during attach/gap row build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:20:55 +08:00
wuzilongandCursor 9c5a1cfb8e feat(pl): aggregate unique delivery dates from stop rows
Provide YYYY-MM-DD dedupe helper for plan list deliveryTimes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:08:54 +08:00
wuzilongandCursor efe8aed409 feat(pl): filter plans by delivery-stop date range
Add EXISTS on pl_plan_delivery.delivery_time for list column filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:07:23 +08:00
wuzilongandCursor de7d5194ad docs: add implementation plan for plan deliveryTimes column
Break the approved design into TDD tasks across filters, schema,
export, and the four plan-family list pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:05:41 +08:00
wuzilongandCursor cb57a71d2d docs: add design for plan list delivery times column
Capture the approved brainstorm for showing and filtering
deduplicated delivery-stop dates on PL plan family lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:03:02 +08:00
wuzilong 2dadd34981 提交 2026-09-12 19:42:20 +08:00
wuzilongandCursor fa8ffd5fe7 fix(miniprogram): nudge workbench header content slightly downward
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:24:22 +08:00
wuzilongandCursor b2a29ebd57 fix(miniprogram): remove workbench header subtitle text
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:23:14 +08:00
wuzilongandCursor a9f3443727 fix(miniprogram): prefix workbench title with 山峡化工
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:22:38 +08:00
wuzilongandCursor 25eeb82db0 fix(miniprogram): center-align workbench title and user stack in one row
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:16:04 +08:00
wuzilongandCursor ec2d0cc2ee fix(miniprogram): remove workbench logo; center-align title with welcome line
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:15:54 +08:00
wuzilongandCursor 13a8a0c8df fix(miniprogram): align workbench header logo layout with template classes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:13:57 +08:00
wuzilongandCursor 24572931dc feat(miniprogram): add workbench logo and welcome user stack above logout
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:13:35 +08:00
wuzilongandCursor 7547e4e142 fix(miniprogram): restore workbench green header with full-width right user row
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:10:11 +08:00
wuzilongandCursor 83db2fd996 fix(miniprogram): put workbench user actions on full-width row below title
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:08:16 +08:00
wuzilongandCursor ddff1212ae fix(miniprogram): unify nav headers to dashboard style with tall workbench bar
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:06:51 +08:00
wuzilongandCursor aa2da07c99 fix(miniprogram): left-align headers, raise workbench bar, drop dashboard username
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 19:01:37 +08:00
wuzilongandCursor 335dd842be fix(miniprogram): repair broken bxFormat imports after safe-area wiring
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:57:12 +08:00
wuzilongandCursor ab5aa94ff3 docs: require miniprogram custom header capsule safe area
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:55:01 +08:00
wuzilongandCursor 1a97ec954b fix(miniprogram): adapt mp-header for WeChat capsule safe area
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:54:57 +08:00
wuzilongandCursor f0d64379a7 fix(miniprogram): adapt bx topbar for WeChat capsule safe area
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:54:21 +08:00
wuzilongandCursor 8505115f05 fix(miniprogram): wire db pages to capsule safe-area header
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:53:40 +08:00
wuzilongandCursor b3fc308446 style(miniprogram): adapt db-header for WeChat capsule safe area
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:50:46 +08:00
wuzilongandCursor 49ec2418a2 refactor(miniprogram): reuse safe-area CSS builder in applySafeAreaCssVars
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:50:23 +08:00
wuzilongandCursor cfe0f94467 feat(miniprogram): add safe-area CSS vars style builder
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:48:57 +08:00
wuzilongandCursor 0599b7a3a9 docs: add miniprogram header capsule safe-area implementation plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:47:35 +08:00
wuzilongandCursor 2866fef5bf docs: add miniprogram header capsule safe-area design (scheme B).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 18:45:39 +08:00
wuzilongandCursor b3640741ef docs: mark ETC-only vehicle recharge plan tasks complete
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:50:19 +08:00
wuzilongandCursor 9968fc72a3 docs: add ETC-only vehicle recharge design/plan and refresh graphify
Persist the approved cutover spec and implementation plan; sync graphs after the ETC-only changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:50:12 +08:00
wuzilongandCursor 9a8dd691d8 chore(web-admin): update recharge column filter comments for ETC-only
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:48:17 +08:00
wuzilongandCursor 62d46d6e57 chore: update graphify after ETC-only vehicle recharge cutover
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:48:14 +08:00
wuzilongandCursor f13e18329a fix(web-admin): rename ETC recharge menus and drop fuel type option
Align UI with ETC-only scope; list filtering is enforced by the backend.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:46:49 +08:00
wuzilongandCursor 27d69f1af9 fix(pl): hide non-ETC vehicle recharge rows in list and get APIs
Force etc on reads so historical fuel data stays in DB but out of this module.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:45:36 +08:00
wuzilongandCursor 542ecc63e7 fix(pl): allow only etc recharge type in vehicle recharge schemas
Reject fuel writes so the shared module can be narrowed to ETC-only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:43:49 +08:00
wuzilongandCursor 00849bd998 docs(sql): narrow vehicle recharge menus to ETC-only labels
Rename ETC/fuel menus and soft-disable fuel dict for the ETC-only cutover.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:41:55 +08:00
wuzilongandCursor 72d372674a chore: archive mobile-h5 under bak for reference only.
Keep WeChat miniprogram as the primary mobile path; H5 remains available for lookup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:09:41 +08:00
wuzilongandCursor f13eba5623 feat(miniprogram): migrate expense items and workflow admin from bx-mobile.
Enable mobile config of expense tree and advance/reimburse approval nodes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:42:16 +08:00
wuzilongandCursor 1bd0503409 feat(miniprogram): migrate invoice wallet mine and admin from bx-mobile.
Reuse invoice-wallets/invoices APIs with summary, upload, ledgers, and admin proxy upload.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:37:40 +08:00
wuzilongandCursor 4c24f58b63 feat(miniprogram): migrate mine and all application lists from bx-mobile.
Unify advance/reimburse browsing under workbench view menus with existing detail routes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:31:17 +08:00
wuzilongandCursor 006e94ad33 feat(miniprogram): migrate reimburse apply list/form/detail from bx-mobile.
Reuse /reimburses APIs with bx envelope; support multi-line details and draft actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:25:58 +08:00
wuzilongandCursor 2ff754d572 feat(miniprogram): migrate advance apply list/form/detail from bx-mobile.
Reuse /advances APIs with bx envelope and Fresh Mint list/form styling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:20:54 +08:00
wuzilongandCursor 507823dfce feat(miniprogram): add mobile bx menus and Batch1 placeholders.
Insert MINI_BX_* menus with mini:bx:* perms on test/prod, expose 9 workbench entries, and register placeholder pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:12:55 +08:00
wuzilongandCursor 279e405149 docs: add mini-program bx migration design from bx-mobile.
Document batched C-scope migration with mini:bx:* perms, vant-weapp styling, and API reuse.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:08:06 +08:00
wuzilongandCursor 16c55c0a4a feat(miniprogram): filter workbench menus by mobile menu permissions.
Hide weighbridge entries the current user is not granted via mini:db:* codes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:51:13 +08:00
wuzilongandCursor d3de3f5c45 feat(miniprogram): load menu-codes into user store.
Cache menuAll and menuCodes from /web/auth/menu-codes for workbench filtering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:43:37 +08:00
wuzilongandCursor 106ace1ea9 feat(miniprogram): map workbench db menus to mini:db:* perms.
Add MENU_CODES auth path for workbench permission loading.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:43:06 +08:00
wuzilongandCursor a5a1c29f01 feat(miniprogram): add workbench menu permission filter helper.
Pure function filters modules by menuAll or mini:db:* menuCodes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:42:45 +08:00
wuzilongandCursor fd463c77eb feat(sql): add mini-program weighbridge menus under 移动端.
Insert MINI_DB_* menus with mini:db:* perms and grant them to 超级管理员 only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:42:21 +08:00
wuzilongandCursor d5923df26e docs: add mini-db mobile menu permission implementation plan.
Break down SQL grant, workbench filter helper, and store wiring into executable tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:38:13 +08:00