| | |
| | | @click="handleTemplateXlsDownload" |
| | | >导入模板下载 |
| | | </a-button> |
| | | <a-button |
| | | @click="EquipmentCategoryStatistics" |
| | | type="primary" |
| | | icon="area-chart" |
| | | >台账统计</a-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | | <!-- <a-menu-item key="1" @click="handleOpenNameplateModal(selectionRows)">--> |
| | |
| | | <eam-equipment-process-list ref="tabPaneTableListRef7" :isDisplayOperation="false"/> |
| | | </a-tab-pane> |
| | | <a-tab-pane tab="设备精度" :key="8" v-if="isOpenPrecision"> |
| | | <eam-equipment-precision-list ref="tabPaneTableListRef8" :isDisplayOperation="false"/> |
| | | <eam-equipment-precision-list ref="tabPaneTableListRef8" :equipment-type="currentEquipment.equipmentType" :isDisplayOperation="false"/> |
| | | </a-tab-pane> |
| | | <a-tab-pane tab="设备油液" :key="9"> |
| | | <eam-equipment-fluid-list ref="tabPaneTableListRef9" :isDisplayOperation="false"/> |
| | |
| | | <nameplate-modal ref="nameplateModalRef" :printedRows="printedRows"/> |
| | | <!--履历弹窗--> |
| | | <resume-drawer ref="resumeDrawerRef" :currentTableRowRecord="currentTableRowRecord"/> |
| | | <!--台账统计--> |
| | | <equipment-category-statistics-list ref="EquipmentCategoryStatistics"/> |
| | | |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | import EamSecondMaintenanceOrderList from '@views/eam/maintenance/EamSecondMaintenanceOrderList.vue' |
| | | import EamThirdMaintenanceOrderList from '@views/eam/maintenance/EamThirdMaintenanceOrderList.vue' |
| | | import EamEquipmentFluidList from '@views/eam/equipment/modules/EamEquipmentFluidList.vue' |
| | | import EquipmentCategoryStatisticsList from '@views/eam/equipment/modules/EquipmentCategoryStatisticsList.vue' |
| | | |
| | | export default { |
| | | name: 'EamEquipmentList', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | EquipmentCategoryStatisticsList, |
| | | EamInspectionOrderList, |
| | | EamRepairOrderList, |
| | | EamMaintenanceStandardList, |
| | |
| | | data() { |
| | | return { |
| | | description: '设备台账管理页面', |
| | | currentEquipment: {}, |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | |
| | | * @param id 设备台账行记录Id |
| | | */ |
| | | loadTabPaneTableData(id) { |
| | | this.currentEquipment = this.dataSource.find(row => row.id === id) |
| | | this.$refs['tabPaneTableListRef' + this.activeTabKey].queryParam.equipmentId = id |
| | | this.$refs['tabPaneTableListRef' + this.activeTabKey].loadData(1) |
| | | }, |
| | |
| | | templateXlsDownload(this.url.templateXlsDownloadUrl) |
| | | }, |
| | | |
| | | EquipmentCategoryStatistics() { |
| | | this.$refs.EquipmentCategoryStatistics.visible = true; // 显示弹窗 |
| | | this.$refs.EquipmentCategoryStatistics.loadData() |
| | | }, |
| | | |
| | | loadAppHomeUrlConfigValue() { |
| | | let params = { settingKey: 'app_home_url' } |
| | | getSystemConfigValue(params).then(res => { |