银行端口添加客户拜访功能
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import type {
|
||||
BankStats,
|
||||
AuditItem,
|
||||
import type {
|
||||
BankStats,
|
||||
AuditItem,
|
||||
BankCustomer,
|
||||
WithdrawAuditDetail
|
||||
WithdrawAuditDetail,
|
||||
VisitPlan,
|
||||
MarketingProduct
|
||||
} from '@/typings/bank'
|
||||
import { AuditStatus, AuditType } from '@/typings/bank'
|
||||
import { AuditStatus, AuditType, VisitStatus } from '@/typings/bank'
|
||||
|
||||
// 统计数据 Mock
|
||||
export const mockBankStats: BankStats = {
|
||||
@@ -109,3 +111,69 @@ export const mockWithdrawHistory = [
|
||||
{ id: 'W005', amount: 10000.00, status: AuditStatus.APPROVED, time: '2024-12-01 09:00', bank: '工商银行(8888)' },
|
||||
{ id: 'W008', amount: 2000.00, status: AuditStatus.REJECTED, time: '2024-11-20 16:20', bank: '工商银行(8888)', reason: '账户信息有误' },
|
||||
]
|
||||
|
||||
// 营销产品 Mock
|
||||
export const mockMarketingProducts: MarketingProduct[] = [
|
||||
{ id: 'P001', name: '公司理财', type: 'credit' },
|
||||
{ id: 'P002', name: '公司贷款', type: 'loan' },
|
||||
{ id: 'P003', name: '信用卡', type: 'credit' },
|
||||
{ id: 'P004', name: '结算服务', type: 'settlement' },
|
||||
{ id: 'P005', name: '企业网银', type: 'other' },
|
||||
]
|
||||
|
||||
// 拜访计划 Mock
|
||||
export const mockVisitPlans: VisitPlan[] = [
|
||||
{
|
||||
id: 'V001',
|
||||
customerId: 'C1001',
|
||||
customerName: '张三',
|
||||
date: '2025-12-26',
|
||||
location: '',
|
||||
latitude: undefined,
|
||||
longitude: undefined,
|
||||
products: [
|
||||
{ id: 'P001', name: '公司理财', type: 'credit' },
|
||||
{ id: 'P002', name: '公司贷款', type: 'loan' }
|
||||
],
|
||||
topic: '推广公司理财和贷款产品',
|
||||
remark: '客户对理财产品感兴趣,需要详细介绍',
|
||||
photos: [],
|
||||
status: VisitStatus.PENDING,
|
||||
createdAt: '2025-12-25 10:00:00',
|
||||
updatedAt: '2025-12-25 10:00:00'
|
||||
},
|
||||
{
|
||||
id: 'V002',
|
||||
customerId: 'C1002',
|
||||
customerName: '李四',
|
||||
date: '2025-12-24',
|
||||
location: '广东省茂名市',
|
||||
latitude: 21.6630,
|
||||
longitude: 110.9250,
|
||||
products: [
|
||||
{ id: 'P003', name: '信用卡', type: 'credit' }
|
||||
],
|
||||
topic: '信用卡业务推广',
|
||||
remark: '客户已有信用卡,考虑升级',
|
||||
photos: ['/static/images/visit2.jpg', '/static/images/visit3.jpg'],
|
||||
status: VisitStatus.COMPLETED,
|
||||
createdAt: '2025-12-23 15:30:00',
|
||||
updatedAt: '2025-12-24 18:00:00'
|
||||
},
|
||||
{
|
||||
id: 'V003',
|
||||
customerId: 'C1001',
|
||||
customerName: '张三',
|
||||
date: '2025-12-20',
|
||||
location: '',
|
||||
latitude: undefined,
|
||||
longitude: undefined,
|
||||
products: [],
|
||||
topic: '客户回访',
|
||||
remark: '因客户临时有事,拜访取消',
|
||||
photos: [],
|
||||
status: VisitStatus.CANCELLED,
|
||||
createdAt: '2025-12-19 09:00:00',
|
||||
updatedAt: '2025-12-20 10:00:00'
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user