feat(O5): admin 車輛審核 UI - #20
Merged
Merged
Conversation
司機管理頁加車輛審核(O5):列出車種/車牌與審核狀態,待審核者可核准/退回。 - api Driver 加 vehicle_type/plate_number/vehicle_review_status/note; normalizeDriver 兼容 Pascal/snake;reviewDriverVehicle(id, approve, note) - constants VEHICLE_TYPE_LABEL/VEHICLE_REVIEW_STATUS - DriversPage:車輛欄(車種+等寬車牌)、審核狀態 tag(退回 tooltip 帶原因)、 待審核列的核准/退回操作(退回開 modal 填原因,前後端都擋空原因); 「N 台車輛待審核」快捷 tag+「待審核車輛」篩選;搜尋含車牌 - 測試:normalizeDriver 車輛/審核欄位、reviewDriverVehicle 核准/退回帶原因; 既有 normalizeDriver toEqual 補上新欄位 lint(oxlint)/build(tsc+vite)/test(vitest 110 passed)皆綠。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
拍板做 O5(2026-07-19):司機填車輛後需 admin 核准才能接單。司機管理頁加車輛審核。
改動
Driver加vehicle_type/plate_number/vehicle_review_status/note;normalizeDriver兼容 Pascal/snake;reviewDriverVehicle(id, approve, note)VEHICLE_TYPE_LABEL/VEHICLE_REVIEW_STATUS驗收
🤖 Generated with Claude Code