| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import type { TableColumnProps } from '@/types/basic-table';
- // 基础表格样式配置
- export const TABLE_OPTIONS = {
- emptyText: '暂无数据',
- loading: true,
- maxHeight: 'calc(70vh - 150px)',
- };
- // 隐患台账列表字段:隐患问题、问题主要原因、入账时间、任务来源、整改要求、隐患问题类别、当前流程节点、状态、操作
- export const HIDDEN_DANGER_TABLE_COLUMNS: TableColumnProps[] = [
- {
- label: '编号',
- type: 'index',
- align: 'center',
- width: '80px',
- },
- {
- label: '隐患问题',
- prop: 'dangerProblem',
- align: 'left',
- minWidth: '200px',
- },
- {
- label: '问题主要原因',
- prop: 'reasonName',
- align: 'left',
- minWidth: '140px',
- },
- {
- label: '入账时间',
- prop: 'createdAt',
- align: 'left',
- minWidth: '160px',
- },
- {
- label: '任务来源',
- prop: 'taskSource',
- align: 'left',
- minWidth: '120px',
- },
- {
- label: '整改要求',
- prop: 'rectificationRequirement',
- align: 'left',
- minWidth: '200px',
- },
- {
- label: '隐患问题类别',
- prop: 'typeName',
- align: 'left',
- minWidth: '150px',
- },
- {
- label: '当前流程节点',
- // prop: 'currentNode',
- slot: 'currentNode',
- align: 'center',
- minWidth: '150px',
- },
- {
- label: '状态',
- prop: 'statusName',
- slot: 'status',
- align: 'center',
- minWidth: '100px',
- },
- {
- label: '操作',
- prop: 'action',
- slot: 'action',
- fixed: 'right',
- width: '300px',
- align: 'left',
- },
- ];
|