完善设置页面UI设计
This commit is contained in:
@@ -655,6 +655,9 @@ function mapOrderToCase(order: ServiceOrderType): HomeServiceCaseType {
|
||||
const displayStatus = getHomecareOrderDisplayStatus(order)
|
||||
let statusText = displayStatus
|
||||
let statusTone = getCaseTone(order.status)
|
||||
if (displayStatus == '已超时未支付') {
|
||||
statusTone = 'danger'
|
||||
}
|
||||
if (order.dispatchStatus == HOMECARE_DISPATCH_STATUS_FAILED) {
|
||||
statusTone = 'danger'
|
||||
}
|
||||
@@ -1181,4 +1184,4 @@ export async function fetchAdminHomeServiceApplications(): Promise<Array<HomeSer
|
||||
export async function fetchAdminHomeServiceOverview(): Promise<Array<HomeServiceOverviewCardType>> {
|
||||
await delay()
|
||||
return ADMIN_OVERVIEW.map((item) => ({ ...item }))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user