1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- export const initColumns = [
- {
- title: '序号',
- dataIndex: 'index',
- align: 'center',
- width: 50
- },
- {
- title: '告警来源',
- dataIndex: 'source',
- align: 'center',
- ellipsis: true,
- resizable: true
- },
- // {
- // title: '通知类型',
- // dataIndex: 'type',
- // align: 'center',
- // customRender({ value }) {
- // return value == '1' ? '系统' : '预警'
- // }
- // },
- {
- title: '告警优先级',
- dataIndex: 'priority',
- align: 'center',
- ellipsis: true,
- resizable: true
- },
- {
- title: '告警类型',
- dataIndex: 'alarmType',
- align: 'center',
- ellipsis: true,
- resizable: true
- },
- {
- title: '告警内容',
- dataIndex: 'message',
- align: 'center',
- ellipsis: true,
- resizable: true,
- width: 200
- },
- {
- title: '告警值',
- dataIndex: 'value',
- align: 'center',
- ellipsis: true,
- resizable: true
- },
- {
- title: '告警接收人',
- dataIndex: 'alarmUsers',
- align: 'center',
- ellipsis: true,
- resizable: true
- },
- {
- title: '创建人',
- dataIndex: 'createUserName',
- align: 'center',
- ellipsis: true,
- resizable: true
- },
- {
- title: '告警时间',
- dataIndex: 'alarmTime',
- align: 'center',
- ellipsis: true,
- resizable: true
- }
- // {
- // title: '操作',
- // dataIndex: 'options',
- // align: 'center',
- // ellipsis: true,
- // resizable: true
- // }
- ]
|