完善服务模块缺少付款页的bug
This commit is contained in:
@@ -9,6 +9,22 @@ export type HomeServiceCatalogType = {
|
||||
suitableFor: string
|
||||
}
|
||||
|
||||
export type HomeServicePackageType = {
|
||||
id: string
|
||||
serviceId: string
|
||||
packageName: string
|
||||
packageDesc: string
|
||||
durationMinutes: number
|
||||
durationText: string
|
||||
price: number
|
||||
listPrice: number
|
||||
isDefault: boolean
|
||||
sortNo: number
|
||||
dataSource: string
|
||||
seedBatchNo: string
|
||||
remark: string
|
||||
}
|
||||
|
||||
export type HomeServiceTimelineItemType = {
|
||||
id: string
|
||||
title: string
|
||||
@@ -57,6 +73,8 @@ export type HomeServiceCaseType = {
|
||||
staffName: string
|
||||
staffPhone: string
|
||||
amount: number
|
||||
paymentStatus?: number
|
||||
payExpireAt?: string
|
||||
checkinTime: string
|
||||
checkinAddress: string
|
||||
serviceStartedAt: string
|
||||
@@ -89,6 +107,8 @@ export type HomeServiceTaskType = {
|
||||
export type HomeServiceApplicationDraftType = {
|
||||
serviceId: string
|
||||
serviceName: string
|
||||
selectedPackageId: string
|
||||
selectedPackageName: string
|
||||
applicantName: string
|
||||
elderName: string
|
||||
age: number
|
||||
@@ -96,6 +116,11 @@ export type HomeServiceApplicationDraftType = {
|
||||
phone: string
|
||||
address: string
|
||||
preferredTime: string
|
||||
appointmentStartAt: number
|
||||
appointmentEndAt: number
|
||||
appointmentDate: string
|
||||
slotSource: string
|
||||
minAdvanceMinutesSnapshot: number
|
||||
demandSummary: string
|
||||
serviceAddressSnapshot?: HomeServiceSelectedAddressType | null
|
||||
}
|
||||
|
||||
@@ -131,6 +131,8 @@ export type ServiceOrderType = {
|
||||
appointmentTime: string
|
||||
remark: string
|
||||
status: ServiceOrderStatus
|
||||
paymentStatus: number
|
||||
payExpireAt?: string
|
||||
currentAssignmentId: string
|
||||
currentStaffId: string
|
||||
acceptedAt: string
|
||||
@@ -149,6 +151,9 @@ export type ServiceOrderType = {
|
||||
executionRecord: ServiceExecutionRecordType | null
|
||||
evidenceFiles: Array<ServiceEvidenceFileType>
|
||||
review: ServiceReviewType | null
|
||||
dispatchStatus: string
|
||||
dispatchErrorCode: string
|
||||
dispatchErrorMessage: string
|
||||
}
|
||||
|
||||
export function getServiceOrderStatusText(status: ServiceOrderStatus): string {
|
||||
|
||||
Reference in New Issue
Block a user