Files
shop-toy/src/mock/loan-application.ts
2025-12-26 18:13:42 +08:00

145 lines
3.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { LoanApplicationStatus } from '@/typings/mall'
import type { LoanApplicationRecord } from '@/typings/mall'
/**
* 助贷申请记录模拟数据
*/
export const mockLoanApplicationRecords: LoanApplicationRecord[] = [
{
applicationId: "AP20230815001",
loanType: "ENTERPRISE",
loanTitle: "经营贷",
dateLabel: "申请时间",
dateValue: "2023-08-15",
status: LoanApplicationStatus.PROCESSING,
statusText: "处理中",
progress: {
show: true,
steps: ["提交申请", "资料审核", "风险评估", "审批完成"],
currentStepIndex: 2,
stepStatus: "active"
},
alertInfo: {
show: true,
type: "info",
content: "您的申请正在风控部门审核中预计还需要1-2个工作日完成评估"
},
handlerName: "王经理",
handlerPhone: "13800138888",
actions: [
{
code: "VIEW_DETAIL",
text: "查看详情",
style: "primary-blue"
}
]
},
{
applicationId: "AP20230810002",
loanType: "ENTERPRISE",
loanTitle: "经营贷",
dateLabel: "申请时间",
dateValue: "2023-08-10",
status: LoanApplicationStatus.COMPLETED,
statusText: "已完成",
actions: [
{
code: "DOWNLOAD_CONTRACT",
text: "下载合同",
style: "text-link"
},
{
code: "VIEW_RESULT",
text: "查看结果",
style: "primary-green"
}
]
},
{
applicationId: "AP20230805003",
loanType: "REVITALIZATION",
loanTitle: "振兴贷",
dateLabel: "创建时间",
dateValue: "2023-08-05",
status: LoanApplicationStatus.PENDING,
statusText: "待提交",
progress: {
show: true,
steps: ["提交申请", "资料审核", "风险评估", "审批完成"],
currentStepIndex: 0,
stepStatus: "active"
},
alertInfo: {
show: true,
type: "warning",
content: "您的申请资料尚未完整,请尽快完善资料后提交"
},
actions: [
{
code: "DELETE",
text: "删除",
style: "text-link"
},
{
code: "CONTINUE_FILL",
text: "继续填写",
style: "primary-yellow"
}
]
},
{
applicationId: "AP20230728004",
loanType: "HOUSING",
loanTitle: "安居贷",
dateLabel: "申请时间",
dateValue: "2023-07-28",
status: LoanApplicationStatus.PROCESSING,
statusText: "处理中",
progress: {
show: true,
steps: ["提交申请", "资料审核", "风险评估", "审批完成"],
currentStepIndex: 1,
stepStatus: "active"
},
alertInfo: {
show: true,
type: "info",
content: "您的申请已进入资料审核阶段,请耐心等待"
},
handlerName: "刘经理",
handlerPhone: "13800139999",
actions: [
{
code: "CANCEL",
text: "取消申请",
style: "text-link"
},
{
code: "VIEW_DETAIL",
text: "查看详情",
style: "primary-blue"
}
]
},
{
applicationId: "AP20230720005",
loanType: "ENTERPRISE",
loanTitle: "经营贷",
dateLabel: "申请时间",
dateValue: "2023-07-20",
status: LoanApplicationStatus.COMPLETED,
statusText: "已完成",
actions: [
{
code: "DOWNLOAD_CONTRACT",
text: "下载合同",
style: "text-link"
},
{
code: "VIEW_RESULT",
text: "查看结果",
style: "primary-green"
}
]
}
]