| | |
| | | data() { |
| | | return { |
| | | description: '报警号管理界面', |
| | | /* 分页参数 */ |
| | | ipagination:{ |
| | | current: 1, |
| | | pageSize: 30, |
| | | pageSizeOptions: ['30', '50', '100'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + "-" + range[1] + " 共" + total + "条" |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | |
| | | // }, |
| | | { |
| | | dataIndex:'isUse_dictText', |
| | | title: '是否过滤', |
| | | title: '是否启用', |
| | | align: "center", |
| | | width:380 |
| | | // dictCode:'alarm_is_use' |
| | |
| | | fieldList.push({ type: 'string', value: 'alarmCode', text: '报警号', dictCode: '' }) |
| | | fieldList.push({ type: 'string', value: 'alarmDescription', text: '报警内容', dictCode: '' }) |
| | | fieldList.push({ type: 'int', value: 'driveType', text: '设备驱动类型', dictCode: '' }) |
| | | fieldList.push({ type: 'switch', value: 'isUse', text: '是否过滤' }) |
| | | fieldList.push({ type: 'switch', value: 'isUse', text: '是否启用' }) |
| | | this.superFieldList = fieldList |
| | | }, |
| | | |