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: '账号角色' }, // 账号数量 { prop: 'accountQty', label: '账号数量' }, // 点差分配比例 { prop: 'marginRatio', label: '点差分配比例', slotName: 'marginRatio' }, // 手续费分成比例 { prop: 'commissionRatio', label: '手续费分成比例', slotName: 'commissionRatio' }, // 注册时间 { prop: 'createTime', label: '注册时间', sortable: true }, // 操作 { label: '操作', slotName: 'action' } ] // 点差表格配置 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'}, ]