/*
 * @Author: liuJie
 * @Date: 2026-01-27 16:29:28
 * @LastEditors: liuJie
 * @LastEditTime: 2026-03-07 20:34:07
 * @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: '编号',
    type: 'index',
    align: 'center',
    width: '80px',
  },
  {
    label: '员工工号',
    prop: 'employeeId',
    align: 'left',
    minWidth: '120px',
  },
  {
    label: '员工姓名',
    prop: 'employeeName',
    align: 'center',
    minWidth: '120px',
  },
  {
    label: '状态',
    prop: 'status',
    slot: 'status',
    align: 'left',
    minWidth: '120px',
  },

  {
    label: '组织名称',
    prop: 'orgName',
    align: 'left',
    minWidth: '140px',
  },
  {
    label: '岗位职责',
    prop: 'jobResp',
    align: 'left',
    minWidth: '150px',
  },
  {
    label: '添加时间',
    prop: 'createdAt',
    align: 'center',
    minWidth: '140px',
  },
  {
    label: '操作',
    prop: 'action',
    slot: 'action',
    fixed: 'right',
    width: '180px',
    align: 'left',
  },
];
