| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- import type { TableColumnProps } from '@/types/basic-table';
- import { AREA_CHECK_PLAN_STATUS_OPTIONS, AREA_CHECK_PLAN_STATUS_LABEL } from './status';
- export { AREA_CHECK_PLAN_STATUS_OPTIONS, AREA_CHECK_PLAN_STATUS_LABEL };
- export const TABLE_OPTIONS = {
- emptyText: '暂无数据',
- loading: true,
- maxHeight: 'calc(70vh - 150px)',
- };
- // 表格样式与检查单模版管理列表一致(TABLE_OPTIONS、编号/操作列宽)
- export const AREA_CHECK_PLAN_TABLE_COLUMNS: TableColumnProps[] = [
- {
- label: '编号',
- type: 'index',
- align: 'center',
- width: '80px',
- },
- {
- label: '完成(检查)时间',
- prop: 'checkTime',
- align: 'center',
- minWidth: '180px',
- showOverflowTooltip: true,
- },
- {
- label: '状态',
- prop: 'status',
- slot: 'status',
- align: 'center',
- minWidth: '120px',
- showOverflowTooltip: true,
- },
- {
- label: '区域检查计划名称',
- prop: 'areaCheckPlanName',
- align: 'center',
- minWidth: '200px',
- showOverflowTooltip: true,
- },
- {
- label: '检查人员',
- prop: 'checkPersonName',
- align: 'center',
- minWidth: '120px',
- showOverflowTooltip: true,
- },
- {
- label: '检查场所',
- prop: 'checkPlace',
- align: 'center',
- minWidth: '120px',
- showOverflowTooltip: true,
- },
- {
- label: '检查频次',
- prop: 'frequency',
- slot: 'frequency',
- align: 'center',
- minWidth: '120px',
- showOverflowTooltip: true,
- },
- {
- label: '检查重点内容',
- prop: 'checkKeyContent',
- align: 'center',
- width: '200px',
- showOverflowTooltip: true,
- },
- {
- label: '整体检查情况描述',
- prop: 'overallCheckDesc',
- align: 'center',
- minWidth: '200px',
- showOverflowTooltip: true,
- },
- {
- label: '被检查人签字',
- prop: 'sign',
- slot:'sign',
- align: 'center',
- minWidth: '140px',
- showOverflowTooltip: true,
- },
- {
- label: '检查项总数',
- prop: 'checkItemTotal',
- slot: 'checkItemTotal',
- align: 'center',
- minWidth: '160px',
- showOverflowTooltip: true,
- },
- {
- label: '合格项数',
- prop: 'qualifiedItemNum',
- slot: 'qualifiedItemNum',
- align: 'center',
- minWidth: '160px',
- showOverflowTooltip: true,
- },
- {
- label: '不合格项数',
- prop: 'unqualifiedItemNum',
- slot: 'unqualifiedItemNum',
- align: 'center',
- minWidth: '160px',
- showOverflowTooltip: true,
- },
- {
- label: '操作',
- prop: 'action',
- slot: 'action',
- fixed: 'right',
- width: '150px',
- align: 'left',
- },
- ];
|