| | |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <j-dict-select-tag |
| | | dict="mom_eam_equipment_category,name,id,equipment_category_uda1 = 'filesCarousel'" |
| | | dictCode="mom_eam_equipment_category,name,id,equipment_category_uda1='filesCarousel'" |
| | | placeholder="请输入搜索条件并选择" |
| | | v-model="queryParam.equipmentCategoryId" |
| | | /> |
| | |
| | | <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; |