/**
 * @description: 搜索配置
 */
export const search = []

/**
 * @description: 表格配置
 */
export const tableColumns = [
  // ID
  { prop: 'id', label: 'ID', align: 'center' as const },
  // 编码
  { prop: 'code', label: '编码', align: 'center' as const },
  // 名称
  { prop: 'name', label: '名称', align: 'center' as const },
  // 状态
  { slotName: 'status', label: '状态', align: 'center' as const },
  // 创建时间
  { prop: 'created_at', label: '创建时间', align: 'center' as const },
  // 更新时间
  { prop: 'updated_at', label: '更新时间', align: 'center' as const },
]

/**
 * @description: dialog表单配置
 */
export const DialogFormItem = [
  // 编码
  { prop: 'code', label: '编码', type: 'input' as const, placeholder: '请输入编码' },
  // 名称
  { prop: 'name', label: '名称', type: 'input' as const, placeholder: '请输入名称' },
  // 状态
  { prop: 'status', label: '状态', type: 'select' as const, placeholder: '请选择状态' },
]
