export const tableColumnsSwitch = [
    {
        label: '名称',
        prop: 'name',
        align: 'center' as const,
    },
    {
        label: '状态',
        slotName: 'status',
        align: 'center' as const,
    },
]
export const tableColumnsContent = [
  // 内容
  { label: '内容', prop: 'text', align: 'center' as const },
]
export const formItem = [
    // 名称
    {label: '名称', prop: 'name', type: 'input' as const, placeholder: '请输入名称',labelWidth: '150px'},
    // 状态
    {label: '状态', prop: 'status', type: 'switch' as const},
    // 是否默认
    {label: '是否默认', prop: 'isDefault', type: 'radio' as const,labelWidth: '150px'},
     // 是否允许出金
    {label: '是否允许出金', prop: 'isWithdrawalAllowed', type: 'radio' as const,labelWidth: '150px'},
    // 是否需要出金审核
    {label: '是否需要出金审核', prop: 'isWithdrawalAuditRequired', type: 'radio' as const ,labelWidth: '150px'},
    // 单笔开仓最大数量
    {label: '单笔开仓最大数量', prop: 'maxOpenPosition', type: 'input' as const, placeholder: '请输入单笔开仓最大数量',labelWidth: '150px'},
    // 单品种最大持仓数量
    {label: '单品种最大持仓数量', prop: 'maxPositionPerSymbol', type: 'input' as const, placeholder: '请输入单品种最大持仓数量',labelWidth: '150px'},
    //总品种最大持仓数量
    {label: '总品种最大持仓数量', prop: 'maxTotalPosition', type: 'input' as const, placeholder: '请输入总品种最大持仓数量',labelWidth: '150px'},
    // 强平比例
    {label: '强平比例', prop: 'strongCloseRatio', type: 'input' as const, placeholder: '请输入强平比例',labelWidth: '150px'},
    // 每次出金最大金额
    {label: '每次出金最大金额', prop: 'maxWithdrawalAmount', type: 'input' as const, placeholder: '请输入每次出金最大金额',labelWidth: '150px'},
    // 出金时间设置
    { label: '出金时间设置', prop: 'withdrawalTimeSetting', type: 'time' as const, placeholder: '请选择出金时间', valueFormat: 'HH:mm',labelWidth: '150px'},
    // 建仓多少秒不能平仓
    {label: '建仓多少秒不能平仓', prop: 'buildCloseTime', type: 'input' as const, placeholder: '请输入建仓多少秒不能平仓',labelWidth: '150px'},
    // 每次出金最小金额
    {label: '每次出金最小金额', prop: 'minWithdrawalAmount', type: 'input' as const, placeholder: '请输入每次出金最小金额',labelWidth: '150px'},
    //滑点
    {label: '滑点', prop: 'slippage', type: 'input' as const, placeholder: '请输入滑点',labelWidth: '150px'},
    //每次入金最小金额
    {label: '每次入金最小金额', prop: 'minDepositAmount', type: 'input' as const, placeholder: '请输入每次入金最小金额',labelWidth: '150px'},
]
