/*
 * @Author: liuJie
 * @Date: 2026-02-03 17:55:50
 * @LastEditors: liuJie
 * @LastEditTime: 2026-02-24 17:33:42
 * @Describe: file describe
 */
import type { TableColumnProps } from '@/types/basic-table';

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

export const TABLE_COLUMNS: TableColumnProps[] = [
  {
    label: '编号',
    prop: 'serialNum',
    align: 'center',
    width: '80px',
  },
  {
    label: '员工工号',
    prop: 'staffNo',
    align: 'left',
  },
  {
    label: '状态',
    prop: 'statusName',
    align: 'left',
  },
  {
    label: '员工姓名',
    prop: 'staffName',
    align: 'center',
  },
  {
    label: '从事岗位',
    prop: 'staffJob',
    align: 'left',
  },
  {
    label: '文化程度',
    prop: 'highestDegree',
    align: 'left',
  },
  {
    label: '本岗位工龄',
    prop: 'jobSeniority',
    align: 'center',
  },
  {
    label: '职称',
    prop: 'professionalTitle',
    align: 'left',
  },
  {
    label: '入职日期',
    prop: 'dateOfJoining',
    align: 'center',
  },
  {
    label: '操作',
    prop: 'action',
    slot: 'action',
    fixed: 'right',
    width: '180px',
    align: 'left',
  },
];
