/** * 车辆信息表格配置 */ import type { TableColumnProps } from '@/types/basic-table'; export const VEHICLE_LIST_TABLE_MAX_HEIGHT_DEFAULT = 'calc(70vh - 80px)'; export const VEHICLE_LIST_TABLE_MAX_HEIGHT_PERMISSION = 'calc(70vh - 130px)'; // 基础表格样式配置 const TABLE_OPTIONS = { emptyText: '暂无数据', loading: true, }; // 车辆信息表格样式配置 export const VEHICLE_LIST_TABLE_OPTIONS = { ...TABLE_OPTIONS, }; // 应急处置表格列配置 export const VEHICLE_LIST_TABLE_COLUMNS: TableColumnProps[] = [ { label: '', width: '55px', type: 'selection', }, { label: '序号', prop: 'index', width: '80px', type: 'index', align: 'center', }, { label: '车牌号', prop: 'carNum', align: 'left', minWidth: '180px', }, { label: '姓名', prop: 'userName', align: 'left', minWidth: '180px', }, { label: '工号', prop: 'staffNo', align: 'left', minWidth: '180px', }, { label: '所属部门', prop: 'deptName', align: 'left', minWidth: '180px', }, { label: '联系方式', prop: 'phoneNum', align: 'left', minWidth: '180px', }, { label: '操作', prop: 'action', align: 'left', slot: 'action', fixed: 'right', width: '180px', }, ];