60 lines
2.2 KiB
TypeScript
60 lines
2.2 KiB
TypeScript
export const search = [
|
|
// 账号名称
|
|
{ prop: 'accountName', label: '账号名称', type: 'input' as const, placeholder: '请输入账号名称', width: '150px' },
|
|
// 开始时间
|
|
{
|
|
prop: "startTime", label: '注册开始时间', type: 'date' as const, dateType: 'date' as const, // 时间范围选择器
|
|
valueFormat: 'YYYY-MM-DD',
|
|
},
|
|
// 结束时间
|
|
{
|
|
prop: "endTime", label: '注册结束时间', type: 'date' as const, dateType: 'date' as const, // 时间范围选择器
|
|
valueFormat: 'YYYY-MM-DD',
|
|
},
|
|
// 状态
|
|
{ prop: 'status', label: '状态', type: 'select' as const, placeholder: '请选择状态' },
|
|
]
|
|
|
|
export const tableColumns = [
|
|
// 账号名称
|
|
{ label: '账号名称', prop: 'accountName', },
|
|
// 账号id
|
|
{ prop: 'userId', label: '账号id' },
|
|
// 状态
|
|
{ prop: 'status', label: '状态' },
|
|
// 账号角色
|
|
{ prop: 'role', label: '账号角色', width: 100 },
|
|
// 账号数量
|
|
{ prop: 'accountQty', label: '账号数量', width: 100 },
|
|
// 点差分配比例
|
|
{ prop: 'marginRatio', label: '点差分配比例', slotName: 'marginRatio' , minWidth: 140},
|
|
// 手续费分成比例
|
|
{ prop: 'commissionRatio', label: '手续费分成比例', slotName: 'commissionRatio' , minWidth: 140},
|
|
// 注册时间
|
|
{ prop: 'createTime', label: '注册时间', sortable: true , minWidth: 180},
|
|
// 操作
|
|
{ label: '操作', slotName: 'action', minWidth: 200}
|
|
]
|
|
|
|
// 点差表格配置
|
|
export const marginRatioTableColumns = [
|
|
// 品种名称
|
|
{ prop: 'varietyName', label: '名称', align: 'center' as const },
|
|
// 品种编号
|
|
{ prop: 'varietyCode', label: '编号', align: 'center' as const },
|
|
// 可分配点差
|
|
{ prop: 'pointDifference', label: '可分配点差', align: 'center' as const },
|
|
// 已分配点差
|
|
{
|
|
prop: 'assignedPointDifference',
|
|
label: '已分配点差',
|
|
align: 'center' as const,
|
|
slotName: 'assignedPointDiff',
|
|
},
|
|
]
|
|
|
|
// 手续费分成比例form配置
|
|
export const commissionRatioFormItem = [
|
|
// 手续费分成比例
|
|
{ prop: 'commissionRatio', label: '手续费分成比例', type: 'input' as const, placeholder: '请输入手续费分成比例',labelWidth: '140px'},
|
|
] |