/*
 * @Author: liuJie
 * @Date: 2026-02-26 13:57:24
 * @LastEditors: liuJie
 * @LastEditTime: 2026-02-27 15:33:45
 * @Describe: file describe
 */
import type { TableColumnProps } from '@/types/basic-table';

// 基础表格样式配置
export const TABLE_OPTIONS = {
  emptyText: '暂无数据',
  loading: true,
  maxHeight: 'calc(70vh - 150px)',
};

export const POINT_DEDUCTION_TABLE_COLUMNS: TableColumnProps[] = [
  //   {
  //     label: '扣分标题',
  //     prop: 'deductionTitle',
  //     align: 'left',
  //     minWidth: '120px',
  //   },
  {
    label: '扣分原因',
    prop: 'deductionReason',
    slot: 'deductionReason',
    align: 'left',
    minWidth: '300px',
  },
  {
    label: '扣分日期',
    prop: 'deductionDate',
    align: 'left',
    minWidth: '120px',
  },
  {
    label: '扣分值',
    prop: 'deductionValue',
    align: 'center',
    minWidth: '120px',
  },
  {
    label: '部门名称',
    prop: 'departmentName',
    align: 'left',
    minWidth: '120px',
  },

  {
    label: '状态',
    prop: 'status',
    slot: 'status',
    align: 'center',
    minWidth: '100px',
  },
  {
    label: '操作',
    prop: 'action',
    slot: 'action',
    fixed: 'right',
    width: '180px',
    align: 'left',
  },
];
