import type { TableColumnProps } from '@/types/basic-table';
// 基础表格样式配置
export const TABLE_OPTIONS = {
  emptyText: '暂无数据',
  loading: true,
  maxHeight: 'calc(70vh - 150px)',
};
export const STAFF_TABLE_COLUMNS: TableColumnProps[] = [
  {
    label: '编号',
    type: 'index',
    align: 'center',
    width: '80px',
    fixed: 'left',
  },
  {
    label: '员工工号',
    prop: 'staffNo',
    align: 'left',
    minWidth: '200px',
    fixed: 'left',
  },
  {
    label: '员工姓名',
    prop: 'realname',
    align: 'center',
    minWidth: '200px',
  },
  {
    label: '所属部门',
    prop: 'deptName',
    align: 'center',
    minWidth: '180px',
  },
  {
    label: '分组名称',
    prop: 'userGroupName',
    align: 'center',
    minWidth: '140px',
  },
];