| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- /*
- * @Author: liuJie
- * @Date: 2026-01-27 16:29:28
- * @LastEditors: liuJie
- * @LastEditTime: 2026-04-10 14:03:52
- * @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: 'employeeName',
- align: 'center',
- minWidth: '120px',
- },
- {
- label: '员工工号',
- prop: 'employeeId',
- align: 'center',
- minWidth: '120px',
- },
- {
- label: '状态',
- prop: 'status',
- slot: 'status',
- align: 'center',
- minWidth: '90px',
- },
- {
- label: '组织名称',
- prop: 'orgName',
- align: 'center',
- minWidth: '140px',
- },
- {
- label: '岗位名称',
- prop: 'jobName',
- align: 'center',
- minWidth: '150px',
- showOverflowTooltip: true,
- },
- {
- label: '岗位职责',
- prop: 'jobResp',
- align: 'center',
- minWidth: '150px',
- showOverflowTooltip: true,
- },
- {
- label: '添加时间',
- prop: 'createdAt',
- align: 'center',
- minWidth: '140px',
- },
- {
- label: '操作',
- prop: 'action',
- slot: 'action',
- fixed: 'right',
- width: '180px',
- align: 'left',
- },
- ];
|