12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- import { BasicColumn } from '/@/components/Table';
- import { render } from '/@/utils/common/renderUtils';
- export const manageAutoColumns: BasicColumn[] = [
- {
- title: '预警名称',
- dataIndex: 'alarmName',
- width: 100,
- align: 'center',
- },
- {
- title: '报警开始时间',
- dataIndex: 'starttime',
- width: 100,
- align: 'center',
- },
- {
- title: '所属场景',
- dataIndex: 'systemName',
- width: 100,
- align: 'center',
- },
- {
- title: '报警描述',
- dataIndex: 'autoContent',
- width: 210,
- align: 'center',
- },
- {
- title: '报警等级',
- dataIndex: 'alarmLevel',
- customRender: ({ record }) => {
- return render.renderDict(record.alarmLevel, 'leveltype');
- },
- width: 100,
- align: 'center',
- },
- {
- title: '是否解决',
- dataIndex: 'isok_dictText',
- width: 50,
- align: 'center',
- },
- ];
- export const manageAutoColumns1: BasicColumn[] = [
- {
- title: '预警名称',
- dataIndex: 'alarmName',
- width: 100,
- align: 'center',
- },
- {
- title: '报警等级',
- dataIndex: 'alarmLevel',
- customRender: ({ record }) => {
- return render.renderDict(record.alarmLevel, 'leveltype');
- },
- width: 100,
- align: 'center',
- },
- {
- title: '报警描述',
- dataIndex: 'autoContent',
- width: 210,
- align: 'center',
- },
- {
- title: '报警开始时间',
- dataIndex: 'starttime',
- width: 100,
- align: 'center',
- },
- {
- title: '报警结束时间',
- dataIndex: 'endtime',
- width: 100,
- align: 'center',
- },
- {
- title: '是否解决',
- dataIndex: 'isok_dictText',
- width: 50,
- align: 'center',
- },
- ];
|