From 7c3193a7d368a10d979da43a2363d5f08f599efc Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期一, 27 十一月 2023 11:18:58 +0800 Subject: [PATCH] 持续优化 --- src/views/eam/EquipmentListOfFilesCarousel.vue | 18 + src/views/eam/EquipmentListOfPressureVessel.vue | 18 + src/views/eam/EquipmentListOfTester.vue | 18 + src/views/eam/EquipmentListOfProduct.vue | 18 + src/views/eam/EquipmentListOfTruck.vue | 18 + src/views/eam/EquipmentListOfEnvProEquipment.vue | 18 + src/views/eam/EquipmentListOfCrane.vue | 18 + src/views/eam/EquipmentListOfAll.vue | 18 + src/views/eam/modules/equipmentNew/DailyMaintenanceList.vue | 153 +++++++++++++ src/views/eam/modules/equipmentNew/SecondMaintenanceList.vue | 159 ++++++++++++++ src/views/eam/EquipmentListOfRide.vue | 18 + src/views/eam/EquipmentListOfWeldingMachine.vue | 18 + src/views/eam/modules/equipmentNew/ThirdMaintenanceList.vue | 159 ++++++++++++++ 13 files changed, 621 insertions(+), 30 deletions(-) diff --git a/src/views/eam/EquipmentListOfAll.vue b/src/views/eam/EquipmentListOfAll.vue index 4992313..bd17f65 100644 --- a/src/views/eam/EquipmentListOfAll.vue +++ b/src/views/eam/EquipmentListOfAll.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfCrane.vue b/src/views/eam/EquipmentListOfCrane.vue index 4508fb3..a687c87 100644 --- a/src/views/eam/EquipmentListOfCrane.vue +++ b/src/views/eam/EquipmentListOfCrane.vue @@ -418,8 +418,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -449,10 +455,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -473,6 +482,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfEnvProEquipment.vue b/src/views/eam/EquipmentListOfEnvProEquipment.vue index 8085d38..760ebdd 100644 --- a/src/views/eam/EquipmentListOfEnvProEquipment.vue +++ b/src/views/eam/EquipmentListOfEnvProEquipment.vue @@ -436,8 +436,14 @@ <a-tab-pane tab="缁翠繚鏍囧噯" key="7" forceRender> <standard-of-maintenance :mainId="selectedMainId"/> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -467,10 +473,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -491,6 +500,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfFilesCarousel.vue b/src/views/eam/EquipmentListOfFilesCarousel.vue index eeacfcf..eafdd63 100644 --- a/src/views/eam/EquipmentListOfFilesCarousel.vue +++ b/src/views/eam/EquipmentListOfFilesCarousel.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfPressureVessel.vue b/src/views/eam/EquipmentListOfPressureVessel.vue index 56cd8c0..34e276a 100644 --- a/src/views/eam/EquipmentListOfPressureVessel.vue +++ b/src/views/eam/EquipmentListOfPressureVessel.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfProduct.vue b/src/views/eam/EquipmentListOfProduct.vue index a224421..d03d13f 100644 --- a/src/views/eam/EquipmentListOfProduct.vue +++ b/src/views/eam/EquipmentListOfProduct.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfRide.vue b/src/views/eam/EquipmentListOfRide.vue index be47e9c..5d83ddb 100644 --- a/src/views/eam/EquipmentListOfRide.vue +++ b/src/views/eam/EquipmentListOfRide.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfTester.vue b/src/views/eam/EquipmentListOfTester.vue index 28d63ed..30d3c6f 100644 --- a/src/views/eam/EquipmentListOfTester.vue +++ b/src/views/eam/EquipmentListOfTester.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfTruck.vue b/src/views/eam/EquipmentListOfTruck.vue index 88fc3c8..67d4f8e 100644 --- a/src/views/eam/EquipmentListOfTruck.vue +++ b/src/views/eam/EquipmentListOfTruck.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/EquipmentListOfWeldingMachine.vue b/src/views/eam/EquipmentListOfWeldingMachine.vue index 89b277d..3d0ec28 100644 --- a/src/views/eam/EquipmentListOfWeldingMachine.vue +++ b/src/views/eam/EquipmentListOfWeldingMachine.vue @@ -433,8 +433,14 @@ <a-tab-pane tab="璐ㄤ繚鏈熷彉鏇磋褰�" key="6" forceRender> <equipment-update-warranty-list :mainId="selectedMainId" /> </a-tab-pane> - <a-tab-pane tab="淇濆吇鐐规鏍囧噯" key="7" forceRender> - <standard-of-maintenance :mainId="selectedMainId"/> + <a-tab-pane tab="鏃ヤ繚鏍囧噯" key="7" forceRender> + <daily-maintenance-list :mainId="selectedMainId"></daily-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="浜屼繚鏍囧噯" key="8" forceRender> + <second-maintenance-list :mainId="selectedMainId"></second-maintenance-list> + </a-tab-pane> + <a-tab-pane tab="涓変繚鏍囧噯" key="9" forceRender> + <third-maintenance-list :mainId="selectedMainId"></third-maintenance-list> </a-tab-pane> </a-tabs> <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> @@ -464,10 +470,13 @@ import EquipmentUpdateWarrantyList from './modules/equipmentNew/EquipmentUpdateWarrantyList.vue' import ABCUpdateEditModel from './modules/equipmentNew/edit/ABCUpdateEditModel' import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' - import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' + import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts' import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' + import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue' + import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue' + import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue' export default { name: "EquipmentList", mixins:[JeecgListMixin,mixinDevice], @@ -488,6 +497,9 @@ EquipmentSparePartsModal, StandardOfInspection, StandardOfMaintenance, + DailyMaintenanceList, + SecondMaintenanceList, + ThirdMaintenanceList, }, data () { return { diff --git a/src/views/eam/modules/equipmentNew/DailyMaintenanceList.vue b/src/views/eam/modules/equipmentNew/DailyMaintenanceList.vue new file mode 100644 index 0000000..196cc42 --- /dev/null +++ b/src/views/eam/modules/equipmentNew/DailyMaintenanceList.vue @@ -0,0 +1,153 @@ +<template> + <a-card :bordered="false" :class="'cust-erp-sub-tab'"> + <!-- 鏌ヨ鍖哄煙 --> + <div class="table-page-search-wrapper"> + <a-form layout="inline" @keyup.enter.native="searchQuery"> + <a-row :gutter="24"> + </a-row> + </a-form> + </div> + <div> + <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> + <i class="anticon anticon-info-circle ant-alert-icon"></i> 宸查�夋嫨 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>椤� + <a style="margin-left: 24px" @click="onClearSelected">娓呯┖</a> + </div> + + <a-table + ref="table" + size="middle" + bordered + rowKey="id" + :scroll="{x:true}" + :columns="columns" + :dataSource="dataSource" + :pagination="ipagination" + :loading="loading" + + @change="handleTableChange"> + <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" --> + <template slot="htmlSlot" slot-scope="text"> + <div v-html="text"></div> + </template> + <template slot="imgSlot" slot-scope="text,record"> + <span v-if="!text" style="font-size: 12px;font-style: italic;">鏃犲浘鐗�</span> + <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> + </template> + <template slot="fileSlot" slot-scope="text"> + <span v-if="!text" style="font-size: 12px;font-style: italic;">鏃犳枃浠�</span> + <a-button + v-else + :ghost="true" + type="primary" + icon="download" + size="small" + @click="downloadFile(text)"> + 涓嬭浇 + </a-button> + </template> + + <span slot="action" slot-scope="text, record"> + <a @click="handleEdit(record)">缂栬緫</a> + <a-divider type="vertical" /> + <a-popconfirm title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)"> + <a>鍒犻櫎</a> + </a-popconfirm> + </span> + + </a-table> + </div> + </a-card> +</template> + +<script> + + import { JeecgListMixin } from '@/mixins/JeecgListMixin' + export default { + name: "UpdateABC", + mixins:[JeecgListMixin], + components: { }, + props:{ + mainId:{ + type:String, + default:'', + required:false + } + }, + watch:{ + mainId:{ + immediate: true, + handler(val) { + if(!this.mainId){ + this.clearList() + }else{ + this.queryParam['equipmentId'] = val + this.queryParam['type'] = '1' + this.loadData(1); + + } + } + } + }, + data () { + return { + description: '鏉愭枡鍑哄簱鍗曠鐞嗛〉闈�', + disableMixinCreated:true, + // 琛ㄥご + columns: [ + { + title: '#', + dataIndex: '', + key: 'rowIndex', + width: 60, + align: 'center', + customRender: function (t, r, index) { + return parseInt(index) + 1 + } + }, + { + title: '淇濆吇椤圭洰', + align: 'center', + dataIndex: 'projectName', + width: 250, + + }, + { + title: '淇濆吇鏍囧噯', + align: 'center', + dataIndex: 'standard', + width: 250, + + }, + ], + url: { + list: "/eam/equipment/getEquipmentStansdardList", + }, + dictOptions:{ + } + } + }, + created() { + }, + computed: { + importExcelUrl(){ + return `${window._CONFIG['domianURL']}/${this.url.importUrl}/${this.mainId}`; + } + }, + methods: { + clearList(){ + this.dataSource=[] + this.selectedRowKeys=[] + this.ipagination.current = 1 + } + + }, + mounted(){ + this.$bus.$on('loadData', (data) => { + this.loadData(); + }); + } + } +</script> +<style scoped> + @import '~@assets/less/common.less' +</style> diff --git a/src/views/eam/modules/equipmentNew/SecondMaintenanceList.vue b/src/views/eam/modules/equipmentNew/SecondMaintenanceList.vue new file mode 100644 index 0000000..4fd9cb2 --- /dev/null +++ b/src/views/eam/modules/equipmentNew/SecondMaintenanceList.vue @@ -0,0 +1,159 @@ +<template> + <a-card :bordered="false" :class="'cust-erp-sub-tab'"> + <!-- 鏌ヨ鍖哄煙 --> + <div class="table-page-search-wrapper"> + <a-form layout="inline" @keyup.enter.native="searchQuery"> + <a-row :gutter="24"> + </a-row> + </a-form> + </div> + <div> + <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> + <i class="anticon anticon-info-circle ant-alert-icon"></i> 宸查�夋嫨 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>椤� + <a style="margin-left: 24px" @click="onClearSelected">娓呯┖</a> + </div> + + <a-table + ref="table" + size="middle" + bordered + rowKey="id" + :scroll="{x:true}" + :columns="columns" + :dataSource="dataSource" + :pagination="ipagination" + :loading="loading" + + @change="handleTableChange"> + <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" --> + <template slot="htmlSlot" slot-scope="text"> + <div v-html="text"></div> + </template> + <template slot="imgSlot" slot-scope="text,record"> + <span v-if="!text" style="font-size: 12px;font-style: italic;">鏃犲浘鐗�</span> + <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> + </template> + <template slot="fileSlot" slot-scope="text"> + <span v-if="!text" style="font-size: 12px;font-style: italic;">鏃犳枃浠�</span> + <a-button + v-else + :ghost="true" + type="primary" + icon="download" + size="small" + @click="downloadFile(text)"> + 涓嬭浇 + </a-button> + </template> + + <span slot="action" slot-scope="text, record"> + <a @click="handleEdit(record)">缂栬緫</a> + <a-divider type="vertical" /> + <a-popconfirm title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)"> + <a>鍒犻櫎</a> + </a-popconfirm> + </span> + + </a-table> + </div> + </a-card> +</template> + +<script> + + import { JeecgListMixin } from '@/mixins/JeecgListMixin' + export default { + name: "UpdateABC", + mixins:[JeecgListMixin], + components: { }, + props:{ + mainId:{ + type:String, + default:'', + required:false + } + }, + watch:{ + mainId:{ + immediate: true, + handler(val) { + if(!this.mainId){ + this.clearList() + }else{ + this.queryParam['equipmentId'] = val + this.queryParam['type'] = '2' + this.loadData(1); + + } + } + } + }, + data () { + return { + description: '鏉愭枡鍑哄簱鍗曠鐞嗛〉闈�', + disableMixinCreated:true, + // 琛ㄥご + columns: [ + { + title: '#', + dataIndex: '', + key: 'rowIndex', + width: 60, + align: 'center', + customRender: function (t, r, index) { + return parseInt(index) + 1 + } + }, + { + title: '淇濆吇椤圭洰', + align: 'center', + dataIndex: 'projectName', + width: 250, + + }, + { + title: '淇濆吇鏍囧噯', + align: 'center', + dataIndex: 'standard', + width: 250, + + }, + { + title: '淇濆吇鍛ㄦ湡', + align: "center", + dataIndex: 'cycleName', + width: 250, + } + ], + url: { + list: "/eam/equipment/getEquipmentStansdardList", + }, + dictOptions:{ + } + } + }, + created() { + }, + computed: { + importExcelUrl(){ + return `${window._CONFIG['domianURL']}/${this.url.importUrl}/${this.mainId}`; + } + }, + methods: { + clearList(){ + this.dataSource=[] + this.selectedRowKeys=[] + this.ipagination.current = 1 + } + + }, + mounted(){ + this.$bus.$on('loadData', (data) => { + this.loadData(); + }); + } + } +</script> +<style scoped> + @import '~@assets/less/common.less' +</style> diff --git a/src/views/eam/modules/equipmentNew/ThirdMaintenanceList.vue b/src/views/eam/modules/equipmentNew/ThirdMaintenanceList.vue new file mode 100644 index 0000000..56faff1 --- /dev/null +++ b/src/views/eam/modules/equipmentNew/ThirdMaintenanceList.vue @@ -0,0 +1,159 @@ +<template> + <a-card :bordered="false" :class="'cust-erp-sub-tab'"> + <!-- 鏌ヨ鍖哄煙 --> + <div class="table-page-search-wrapper"> + <a-form layout="inline" @keyup.enter.native="searchQuery"> + <a-row :gutter="24"> + </a-row> + </a-form> + </div> + <div> + <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> + <i class="anticon anticon-info-circle ant-alert-icon"></i> 宸查�夋嫨 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>椤� + <a style="margin-left: 24px" @click="onClearSelected">娓呯┖</a> + </div> + + <a-table + ref="table" + size="middle" + bordered + rowKey="id" + :scroll="{x:true}" + :columns="columns" + :dataSource="dataSource" + :pagination="ipagination" + :loading="loading" + + @change="handleTableChange"> + <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" --> + <template slot="htmlSlot" slot-scope="text"> + <div v-html="text"></div> + </template> + <template slot="imgSlot" slot-scope="text,record"> + <span v-if="!text" style="font-size: 12px;font-style: italic;">鏃犲浘鐗�</span> + <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> + </template> + <template slot="fileSlot" slot-scope="text"> + <span v-if="!text" style="font-size: 12px;font-style: italic;">鏃犳枃浠�</span> + <a-button + v-else + :ghost="true" + type="primary" + icon="download" + size="small" + @click="downloadFile(text)"> + 涓嬭浇 + </a-button> + </template> + + <span slot="action" slot-scope="text, record"> + <a @click="handleEdit(record)">缂栬緫</a> + <a-divider type="vertical" /> + <a-popconfirm title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)"> + <a>鍒犻櫎</a> + </a-popconfirm> + </span> + + </a-table> + </div> + </a-card> +</template> + +<script> + + import { JeecgListMixin } from '@/mixins/JeecgListMixin' + export default { + name: "UpdateABC", + mixins:[JeecgListMixin], + components: { }, + props:{ + mainId:{ + type:String, + default:'', + required:false + } + }, + watch:{ + mainId:{ + immediate: true, + handler(val) { + if(!this.mainId){ + this.clearList() + }else{ + this.queryParam['equipmentId'] = val + this.queryParam['type'] = '3' + this.loadData(1); + + } + } + } + }, + data () { + return { + description: '鏉愭枡鍑哄簱鍗曠鐞嗛〉闈�', + disableMixinCreated:true, + // 琛ㄥご + columns: [ + { + title: '#', + dataIndex: '', + key: 'rowIndex', + width: 60, + align: 'center', + customRender: function (t, r, index) { + return parseInt(index) + 1 + } + }, + { + title: '淇濆吇椤圭洰', + align: 'center', + dataIndex: 'projectName', + width: 250, + + }, + { + title: '淇濆吇鏍囧噯', + align: 'center', + dataIndex: 'standard', + width: 250, + + }, + { + title: '淇濆吇鍛ㄦ湡', + align: "center", + dataIndex: 'cycleName', + width: 250, + } + ], + url: { + list: "/eam/equipment/getEquipmentStansdardList", + }, + dictOptions:{ + } + } + }, + created() { + }, + computed: { + importExcelUrl(){ + return `${window._CONFIG['domianURL']}/${this.url.importUrl}/${this.mainId}`; + } + }, + methods: { + clearList(){ + this.dataSource=[] + this.selectedRowKeys=[] + this.ipagination.current = 1 + } + + }, + mounted(){ + this.$bus.$on('loadData', (data) => { + this.loadData(); + }); + } + } +</script> +<style scoped> + @import '~@assets/less/common.less' +</style> -- Gitblit v1.9.3