| | |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :scroll="{x:'max-content',y:600}" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | |
| | | name: 'DeviceParamThresholdManagement', |
| | | description: '这是设备参数阈值管理页面', |
| | | queryParam: {}, |
| | | /* 分页参数 */ |
| | | 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: [ |
| | | { |
| | | title: '#', |
| | |
| | | title: '中文名', |
| | | align: 'center', |
| | | dataIndex: 'chineseName', |
| | | width: 120 |
| | | width: 350 |
| | | // sorter: true |
| | | }, |
| | | { |
| | | title: '英文名', |
| | | align: 'center', |
| | | width: 150, |
| | | width: 350, |
| | | dataIndex: 'englishName' |
| | | }, |
| | | { |
| | | title: '驱动类型', |
| | | align: 'center', |
| | | width: 180, |
| | | width: 350, |
| | | dataIndex: 'controlSystemType' |
| | | }, |
| | | { |
| | | title: '阈值上限', |
| | | align: 'center', |
| | | width: 120, |
| | | width: 270, |
| | | dataIndex: 'maxThreshold' |
| | | // scopedSlots: {customRender: "avatarslot"} |
| | | }, |
| | | { |
| | | title: '阈值下限', |
| | | align: 'center', |
| | | width: 80, |
| | | width: 270, |
| | | dataIndex: 'minThreshold' |
| | | // sorter: true |
| | | }, |
| | |
| | | dataIndex: 'action', |
| | | scopedSlots: { customRender: 'action' }, |
| | | align: 'center', |
| | | width: 120 |
| | | fixed: 'right', |
| | | width: 150 |
| | | } |
| | | ], |
| | | driveTypeList: [], |