| | |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | @change="handleTableChange" |
| | | :scroll="{x:'max-content',y:465}" |
| | | > |
| | | |
| | | <template slot="htmlSlot" slot-scope="text"> |
| | | <div v-html="text"></div> |
| | |
| | | { |
| | | title:'设备类型名称', |
| | | align:"center", |
| | | dataIndex: 'equipmentTypeName' |
| | | dataIndex: 'equipmentTypeName', |
| | | width:530 |
| | | }, |
| | | { |
| | | title:'设备类型图片', |
| | | align:"center", |
| | | dataIndex: 'equipmentTypePictures', |
| | | scopedSlots: {customRender: 'imgSlot'} |
| | | scopedSlots: {customRender: 'imgSlot'}, |
| | | width:530 |
| | | }, |
| | | { |
| | | title:'设备类型状态', |
| | | align:"center", |
| | | dataIndex: 'equipmentTypeStates', |
| | | customRender: (text) => (text ? filterMultiDictText(this.dictOptions['equipmentTypeStates'], text) : ''), |
| | | width:530 |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'action', |
| | | align:"center", |
| | | scopedSlots: { customRender: 'action' } |
| | | scopedSlots: { customRender: 'action' }, |
| | | width:150, |
| | | fixed:'right' |
| | | } |
| | | ], |
| | | url: { |