| | |
| | | :length="8" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoInspectionStandard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoMaintenance2Standard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | <span |
| | | slot="yseNoMaintenance3Standard" |
| | | slot-scope="text" |
| | | > |
| | | <a-icon |
| | | type="check" |
| | | style="color: chartreuse;" |
| | | v-if="text==='0'" |
| | | /> |
| | | <a-icon |
| | | type="close" |
| | | v-else |
| | | style="color:red;" |
| | | /> |
| | | </span> |
| | | |
| | | <template |
| | | slot="num" |
| | |
| | | |
| | | <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 |
| | | > |
| | |
| | | align: "center", |
| | | dataIndex: 'precisionParametersTemplateId_dictText', |
| | | }, |
| | | { |
| | | title: '有无点检标准', |
| | | align: "center", |
| | | dataIndex: 'yseNoInspectionStandard', |
| | | scopedSlots: { customRender: 'yseNoInspectionStandard' } |
| | | }, |
| | | { |
| | | title: '有无二保标准', |
| | | align: "center", |
| | | dataIndex: 'yseNoMaintenance2Standard', |
| | | scopedSlots: { customRender: 'yseNoMaintenance2Standard' } |
| | | }, |
| | | { |
| | | title: '有无三保标准', |
| | | align: "center", |
| | | dataIndex: 'yseNoMaintenance3Standard', |
| | | scopedSlots: { customRender: 'yseNoMaintenance3Standard' } |
| | | }, |
| | | // { |
| | | // title: '备注', |
| | | // align: "center", |
| | |
| | | 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 |