| | |
| | | <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" /> |
| | |
| | | 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; |