| | |
| | | <a-tab-pane tab="设备精度" key="2" forceRender> |
| | | <EquipmentPrecisionParametersList |
| | | :isOpen="isOpenPrecision" |
| | | :mainId="selectedMainId" /> |
| | | :mainId="precisionParametersTemplateId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane tab="设备文档" key="3" forceRender> |
| | | <EquipmentDocumentList :mainId="selectedMainId" /> |
| | |
| | | </a-tab-pane> |
| | | <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> |
| | | </a-tabs> |
| | | <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal> |
| | |
| | | import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue' |
| | | import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue' |
| | | import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal' |
| | | import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue' |
| | | import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue' |
| | | export default { |
| | | name: "EquipmentList", |
| | | mixins:[JeecgListMixin,mixinDevice], |
| | |
| | | ABCUpdateEditModel, |
| | | WarrantyUpdateModel, |
| | | EquipmentSpareParts, |
| | | EquipmentSparePartsModal |
| | | EquipmentSparePartsModal, |
| | | StandardOfInspection, |
| | | StandardOfMaintenance, |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | equipmentProcessParametersMainId: '', |
| | | equipmentDocumentMainId: '', |
| | | equipmentPrecisionParametersMainId: '', |
| | | precisionParametersTemplateId:'', |
| | | isOpenPrecision:true, |
| | | isOpenProcess:true, |
| | | treeData: [], |
| | |
| | | onSelectChange(selectedRowKeys, selectionRows) { |
| | | if(selectedRowKeys.length==1){ |
| | | this.selectedMainId=selectedRowKeys[0] |
| | | this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId; |
| | | this.isOpenProcess = selectionRows[0].processParameters==1; |
| | | this.isOpenPrecision = selectionRows[0].precisionParameters==1; |
| | | }else{ |
| | | this.selectedMainId='' |
| | | this.precisionParametersTemplateId = '' |
| | | } |
| | | this.selectedRowKeys = selectedRowKeys; |
| | | this.selectionRows = selectionRows; |