import type { TableColumnProps } from '@/types/basic-table';

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

export const EVALUATION_DEPARTMENT_TABLE_COLUMNS: TableColumnProps[] = [  
  {
    label: '编号',
    type: 'index',
    align: 'center',
    width: '80px',
  },
  {
    label: '考核表名称',
    prop: 'evaluationTableName',
    align: 'left',
    minWidth: '150px',
  },
  {
    label: '状态',
    prop: 'status',
    slot: 'status',
    align: 'center',
    minWidth: '120px',
  },
  {
    label: '考核文档',
    prop: 'evaluationDocument',
    slot: 'evaluationDocument',
    align: 'left',
    minWidth: '150px',
  },
  {
    label: '计划完成时间',
    prop: 'plannedCompletionTime',
    align: 'left',
    minWidth: '150px',
  },
  {
    label: '操作',
    prop: 'action',
    slot: 'action',
    fixed: 'right',
    width: '200px',
    align: 'center',
  },
];
