| | |
| | | style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 |
| | | <a style="margin-left: 24px" @click="onSelectChange([])">清空</a> |
| | | </div> |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :scroll="{ x: 'max-content' }" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange" |
| | | > |
| | | <a-table ref="table" size="middle" bordered rowKey="id" :columns="columns" :dataSource="dataSource" |
| | | :pagination="ipagination" :loading="loading" :scroll="{ x: 'max-content' }" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"> |
| | | <!--统一编码--> |
| | | <template slot="equipmentCode" slot-scope="text"> |
| | | <template slot="equipmentCode" slot-scope="text,record"> |
| | | <a href="#" @click="handleDetail(record)" style="display: inline-block;height: 100%">{{text}}</a> |
| | | </template> |
| | | |
| | |
| | | <a @click.stop="handleEdit(record)">编辑</a> |
| | | |
| | | <a-divider type="vertical"/> |
| | | |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down"/></a> |
| | | <a-menu slot="overlay"> |
| | |
| | | { |
| | | title: '维修班组', |
| | | align: 'center', |
| | | dataIndex: 'repairDepartOrgCode' |
| | | dataIndex: 'repairDepartOrgCode_dictText' |
| | | }, |
| | | { |
| | | title: '安全配置', |
| | |
| | | dataIndex: 'nextThirdMaintenance' |
| | | }, |
| | | { |
| | | title: '三保周期', |
| | | title: '三保周期(年)', |
| | | align: 'center', |
| | | dataIndex: 'thirdMaintenancePeriod' |
| | | }, |
| | |
| | | dataIndex: 'nextTechnologyCheck' |
| | | }, |
| | | { |
| | | title: '技术鉴定周期', |
| | | title: '技术鉴定周期(年)', |
| | | align: 'center', |
| | | dataIndex: 'technologyCheckPeriod' |
| | | }, |
| | |
| | | importExcelUrl: 'eam/equipment/importExcel', |
| | | getProductionTreeList: '/eam/BaseFactory/queryTreeList', |
| | | repairDepartTreeList: '/eam/eamBaseRepairDepart/queryTreeList', |
| | | templateXlsDownloadUrl: '导入模板/设备台账导入模板_v1.1.xlsx' |
| | | templateXlsDownloadUrl: '导入模板/设备台账导入模板.xls' |
| | | }, |
| | | currentTableRowRecord: {}, |
| | | productionTreeData: [], |
| | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
| | | </script> |