| | |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | :scroll="{x:true}" |
| | | :scroll="{x:'max-content',y:465}" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | |
| | | title: '控制系统类型', |
| | | align: "center", |
| | | // sorter: true, |
| | | dataIndex: 'controlSystemType' |
| | | dataIndex: 'controlSystemType', |
| | | width: 300, |
| | | }, |
| | | { |
| | | title: '中文名称', |
| | | align: "center", |
| | | // sorter: true, |
| | | dataIndex: 'chineseName' |
| | | dataIndex: 'chineseName', |
| | | width: 300, |
| | | }, |
| | | { |
| | | title: '英文名称', |
| | | align: "center", |
| | | // sorter: true, |
| | | dataIndex: 'englishName' |
| | | dataIndex: 'englishName', |
| | | width: 300, |
| | | }, |
| | | { |
| | | title: '序号', |
| | | align: "center", |
| | | // sorter: true, |
| | | dataIndex: 'sortNo' |
| | | dataIndex: 'sortNo', |
| | | width:100 |
| | | }, |
| | | { |
| | | title: '显示标志', |
| | | align: "center", |
| | | dataIndex: 'showFlag', |
| | | customRender: (text) => (text ? filterMultiDictText(this.dictOptions['showFlag'], text) : ''), |
| | | width: 300, |
| | | }, |
| | | { |
| | | title:'工作曲线标志', |
| | | align: "center", |
| | | dataIndex: 'curveGenerationFlags', |
| | | customRender: (text) => (text ? filterMultiDictText(this.dictOptions['curveGenerationFlags'], text) : ''), |
| | | align: "center", |
| | | dataIndex: 'curveGenerationFlags', |
| | | customRender: (text) => (text ? filterMultiDictText(this.dictOptions['curveGenerationFlags'], text) : ''), |
| | | width: 300, |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'action', |
| | | align: "center", |
| | | fixed: "right", |
| | | width: 147, |
| | | width: 150, |
| | | fixed:'right', |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | ], |