完善下单逻辑及其ui展示,修复支付倒计时显示错误bug

This commit is contained in:
2026-05-25 15:35:41 +08:00
parent d25f80ccdd
commit cecb51a8e2
40 changed files with 13040 additions and 3217 deletions

View File

@@ -16,6 +16,28 @@ export type HomeServiceTimelineItemType = {
description: string
}
export type HomeServiceSelectedAddressType = {
addressId: string
userId: string
isDefault: boolean
contactName: string
contactPhone: string
phone?: string
addressName: string
locationName?: string
addressDetail: string
locationAddress?: string
houseNumber: string
doorNo?: string
fullAddress: string
latitude: number
longitude: number
remark: string
coordinateType: string
createdAt: number
updatedAt: number
}
export type HomeServiceCaseType = {
id: string
caseNo: string
@@ -35,6 +57,13 @@ export type HomeServiceCaseType = {
staffName: string
staffPhone: string
amount: number
checkinTime: string
checkinAddress: string
serviceStartedAt: string
serviceFinishedAt: string
executionSummary: string
evidenceCount: number
serviceAddressSnapshot?: HomeServiceSelectedAddressType | null
timeline: Array<HomeServiceTimelineItemType>
}
@@ -67,6 +96,7 @@ export type HomeServiceApplicationDraftType = {
address: string
preferredTime: string
demandSummary: string
serviceAddressSnapshot?: HomeServiceSelectedAddressType | null
}
export type HomeServiceAdminApplicationType = {