| | |
| | | size="middle" |
| | | bordered |
| | | rowKey="id" |
| | | :scroll="{x:true}" |
| | | :scroll="{ x: 'calc(1000px + 5%)', y: 900 }" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | :maxHeight="800" |
| | | @change="handleTableChange"> |
| | | |
| | | <template slot="htmlSlot" slot-scope="text"> |
| | | <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" --> |
| | | <div v-html="text"></div> |
| | | </template> |
| | | <template slot="equipmentPhoto" slot-scope="text,record"> |
| | |
| | | { |
| | | title:'设备编码', |
| | | align:"center", |
| | | dataIndex: 'equipmentNum' |
| | | dataIndex: 'equipmentNum', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'资产编码', |
| | | align:"center", |
| | | dataIndex: 'assetNumber' |
| | | dataIndex: 'assetNumber', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'特种设备', |
| | | align:"center", |
| | | dataIndex: 'specificEquipment_dictText', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'设备名称', |
| | | align:"center", |
| | | dataIndex: 'equipmentName' |
| | | dataIndex: 'equipmentName', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'设备型号', |
| | | align:"center", |
| | | dataIndex: 'model' |
| | | dataIndex: 'model', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'设备规格', |
| | | align:"center", |
| | | dataIndex: 'specification' |
| | | dataIndex: 'specification', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'设备状态', |
| | | align:"center", |
| | | dataIndex: 'equipmentStatus_dictText', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'技术状态', |
| | | align:"center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'设备位置', |
| | | align:"center", |
| | | dataIndex: 'location' |
| | | dataIndex: 'location', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'重要度', |
| | | align:"center", |
| | | dataIndex: 'equipmentImportanceId_dictText' |
| | | dataIndex: 'equipmentImportanceId_dictText', |
| | | width:200 |
| | | |
| | | }, |
| | | { |
| | | title:'设备图片', |
| | | align:"center", |
| | | dataIndex: 'equipmentPhoto', |
| | | scopedSlots: {customRender: "equipmentPhoto"} |
| | | scopedSlots: {customRender: "equipmentPhoto"}, |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'减少方式', |
| | | align:"center", |
| | | dataIndex: 'reduceMethod_dictText' |
| | | dataIndex: 'reduceMethod_dictText', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'处置原因', |
| | | align:"center", |
| | | dataIndex: 'disposalReason' |
| | | dataIndex: 'disposalReason', |
| | | width:200 |
| | | }, |
| | | { |
| | | title:'处置日期', |
| | | align:"center", |
| | | dataIndex: 'disposalDate' |
| | | dataIndex: 'disposalDate', |
| | | width:200 |
| | | }, |
| | | // { |
| | | // title: '操作', |