| | |
| | | |
| | | <a-tabs defaultActiveKey="1"> |
| | | <a-tab-pane |
| | | tab="工艺参数" |
| | | tab="设备文档" |
| | | key="1" |
| | | forceRender |
| | | > |
| | | <EquipmentDocumentList :mainId="selectedMainId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="工艺参数" |
| | | key="2" |
| | | v-if="isOpenProcess" |
| | | > |
| | | <EquipmentProcessParametersList |
| | | :mainId="selectedMainId" |
| | |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="设备精度" |
| | | key="2" |
| | | forceRender |
| | | key="3" |
| | | v-if="isOpenPrecision" |
| | | > |
| | | <EquipmentPrecisionParametersList |
| | | :isOpen="isOpenPrecision" |
| | | :mainId="precisionParametersTemplateId" |
| | | /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="设备文档" |
| | | key="3" |
| | | forceRender |
| | | > |
| | | <EquipmentDocumentList :mainId="selectedMainId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="备件" |
| | |
| | | <equipment-update-warranty-list :mainId="selectedMainId" /> |
| | | </a-tab-pane> |
| | | <a-tab-pane |
| | | tab="日保标准" |
| | | tab="点检标准" |
| | | key="7" |
| | | forceRender |
| | | > |
| | |
| | | this.selectedMainId = '' |
| | | }, |
| | | onSelectChange(selectedRowKeys, selectionRows) { |
| | | if (selectedRowKeys.length == 1) { |
| | | if (selectedRowKeys.length >= 1) { |
| | | this.selectedMainId = selectedRowKeys[0] |
| | | this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId; |
| | | this.isOpenProcess = selectionRows[0].processParameters == 1; |
| | |
| | | }, |
| | | |
| | | handleDownload() { |
| | | debugger; |
| | | var params = {}//查询条件 |
| | | params.type = "equipment" |
| | | params.pageNo = 1 |