This commit is contained in:
zlwu committed 2026-08-21 13:45:35 +08:00
1 parent 88da74d72a
commit 9fcb9270e6
53 files changed
+612846 -3438

No files matched your search

+3
View File
@@ -292,6 +292,7 @@ export const transportAddressApi = {
list: (params?: TransportAddressQuery) =>
request.get<PlListResponse<TransportAddress>>('/transport/address', { params }),
listAll: (params?: { q?: string }) =>
/** 选择器:仅按地址名称、详细地址模糊检索(不含联系人/电话) */
request.get<PlListResponse<TransportAddress>>('/transport/address/all', { params }),
get: (id: string) => request.get<TransportAddress>(`/transport/address/${id}`),
create: (data: TransportAddressPayload) =>
@@ -708,6 +709,8 @@ export const planApi = {
waitNotice: (id: string) => request.post<Plan>(`/transport/plan/${id}/wait-notice`),
cancelWaitNotice: (id: string) =>
request.post<Plan>(`/transport/plan/${id}/cancel-wait-notice`),
forceFollowStatus: (id: string, followStatus: string) =>
request.post<Plan>(`/transport/plan/${id}/force-follow-status`, { followStatus }),
getArrangeInfo: (id: string) => request.get<PlanArrangeInfo>(`/transport/plan/${id}/arrange-info`),
archive: (id: string, data?: PlanArchiveBody) =>
request.post<Plan>(`/transport/plan/${id}/archive`, data),