Commit Graph
433 Commits
Author SHA1 Message Date
zlwu d26fb23fcf 提交 2026-08-21 16:50:47 +08:00
zlwuandCursor 6dc8cfb2c1 docs: add implementation plan for web-admin list Excel export
Detail shared helpers, ListExportDropdown, user pilot, CRM align,
and per-module batch waves covering remaining list pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 16:50:11 +08:00
zlwuandCursor d8f10b9efe docs: add design for web-admin unified list Excel export
Capture backend export infrastructure, ListExportDropdown UX, and
per-resource /export conventions for filtered and selected rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 16:42:40 +08:00
zlwuandCursor e9ad26cb48 docs: mark reimburse apply page size pilot plan and design as done
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 14:18:35 +08:00
zlwuandCursor 15c1368409 feat(web-admin): expand reimburse apply page size options to 500
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 14:17:58 +08:00
zlwuandCursor f342208a8a feat(bx): raise my reimburses pageSize max to 500 for apply list pilot
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 14:15:19 +08:00
zlwuandCursor 02a29c3328 docs: add implementation plan for reimburse apply page size options
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 14:12:40 +08:00
zlwuandCursor 38c830ef99 docs: add design for reimburse apply page size options pilot
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 14:11:12 +08:00
zlwu 9fcb9270e6 提交 2026-08-21 13:45:35 +08:00
zlwuandCursor 88da74d72a chore: refresh graphify after driver transport history
Update backend/frontend knowledge graphs for the new history API and H5 pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:31:15 +08:00
zlwuandCursor d01603f709 feat(pl): implement public driver transport history list page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:29:10 +08:00
zlwuandCursor ea33e62eaa feat(pl): add transport history entry on driver public page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:27:33 +08:00
zlwuandCursor 267b678e7a feat(pl): add public transport history API client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:26:09 +08:00
zlwuandCursor c51345eec5 feat(pl): add public driver transport history API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:25:04 +08:00
zlwuandCursor 0e90b1d949 feat(pl): add transport history helpers and schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:18:34 +08:00
zlwuandCursor 74146de156 docs: fix history API client to encode date in query string
publicPlGet only accepts a URL; align the plan with that signature.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:15:49 +08:00
zlwuandCursor abcdf793c4 docs: add implementation plan for driver transport history
Break down public history API, detail entry button, and list page;
keep existing driver feedback form unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:15:35 +08:00
zlwuandCursor ab46a8c999 docs: add driver transport history design and HTML demo
Capture the approved design for same-main-plate public driver history
(list by pickup/delivery day, today shortcuts, cross-plan feedback).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 11:12:35 +08:00
zlwu 44749ae716 提交 2026-08-21 09:35:11 +08:00
zlwuandCursor b9ff9c9d67 feat(duty): make duty time range a single-select dict like work plans
Add duty_time_range dictionary with day/night presets, parse typed ranges on ensure, and replace time pickers with allow-create select in the schedule dialog.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:58:18 +08:00
zlwuandCursor 8d9f0b259e feat(duty): sync public H5 with time, work plans, and remark
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:19:06 +08:00
zlwuandCursor 8df0583ad1 feat(duty): admin schedule UI for dict types, work plans, and time
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:19:06 +08:00
zlwuandCursor a98ec0443a feat(duty): update frontend API types for dict and time fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:15:20 +08:00
zlwuandCursor cd0491e601 feat(duty): persist work plans and times; relax grab shift types
Map invalid HH:mm to DutyBizError, serialize workPlans/timeLabel from dict,
ensure dict items on save, and allow custom shift types on public grab.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:14:36 +08:00
zlwuandCursor 4447a1e8e6 feat(duty): add time/work-plan helpers and dict ensure
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 21:06:07 +08:00
zlwuandCursor 80545263a0 feat(duty): extend slot model and schemas for work plans and time
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:55:20 +08:00
zlwuandCursor b71c1144bf chore(duty): add SQL migration for shift dict and slot time fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:51:03 +08:00
zlwuandCursor 1850c7c3df docs: add duty shift dict and time implementation plan
Break the confirmed design into SQL, backend, admin UI, and public H5 tasks with TDD steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:44:39 +08:00
zlwuandCursor 361e923396 docs: add duty shift dict, work plan, and time range design
Capture confirmed approach for customizable shift types and work plans via sys_dict, slot time fields with morning/evening defaults, migration, and public H5 sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 20:36:33 +08:00
zlwuandCursor 09a57a7af9 feat(pl): show product and plan type columns on contract completion list
Align the合同完善 table with运输计划 by returning products/planType from contract-gaps and rendering them via PlPlanListProductCell.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 13:12:14 +08:00
zlwuandCursor 8e42fe1640 docs: mark plan contract completion design as implemented
Implementation of the independent completion page, APIs, badge, and menu is in place pending local SQL apply and UI验收.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:16:57 +08:00
zlwuandCursor 368cb5567a feat(pl): add plan contract completion page with inline expand
List only plans missing contracts and allow per-side multi-select save in an expand row, reusing PlPlanContractMultiSelect without contract CRUD.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:16:38 +08:00
zlwuandCursor 62bdf48b63 feat(pl): frontend API for plan contract gaps
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:11:54 +08:00
zlwuandCursor 58fbafa2ac feat(pl): add plan-contract menu SQL and web-admin route
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:11:17 +08:00
zlwuandCursor af93272bcd feat(pl): badge count for plan contract completion menu
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:10:14 +08:00
zlwuandCursor b984c8c857 feat(pl): add PUT plan side contracts for contract completion
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:09:42 +08:00
zlwuandCursor d1d7425eeb feat(pl): add GET transport/plan/contract-gaps endpoint
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 12:00:59 +08:00
zlwuandCursor 211156a94c feat(pl): add contract-gap SQL filter and response schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:56:40 +08:00
zlwuandCursor a79e8a3e12 feat(pl): add plan contract gap side computation helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:54:10 +08:00
zlwuandCursor 900fb20d50 docs: add implementation plan for plan contract completion
Break down backend gap APIs, menu badge, SQL menu, and the inline-expand web-admin page into sequenced tasks with verification steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:52:25 +08:00
zlwuandCursor f9f32a8b68 docs: add transport plan contract completion design and UI demo
Capture the agreed independent page (inline expand, per-side save, menu badge) for completing missing supplier/demander contracts after they became optional on create/edit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:49:34 +08:00
zlwu 9da462fcba 提交 2026-08-20 11:17:41 +08:00
zlwu 1938a9b76a 提交 2026-08-19 22:20:42 +08:00
zlwu a52fe77e34 提交 2026-08-19 09:14:37 +08:00
zlwu c3bd2c00ae 提交 2026-08-17 20:32:18 +08:00
zlwuandCursor 9345cf4ad8 fix(duty): allow re-saving historical assigns without duty staff role
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 18:29:20 +08:00
zlwuandCursor a9c1062fbe feat(web-admin): use duty staff options in schedule dialog
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 18:25:57 +08:00
zlwuandCursor a8b5b69a1f feat(duty): add users/options endpoint filtered by duty staff role
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 18:25:11 +08:00
zlwuandCursor 0c4a4bf14a feat(duty): restrict assign and grab to duty staff role
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 18:23:20 +08:00
zlwuandCursor a20d31de38 chore(db): add duty staff role for schedule eligibility
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 18:19:40 +08:00