| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | title="三级保养" |
| | | title="" |
| | | > |
| | | <!-- 查询区域 --> |
| | | <div class="table-page-search-wrapper"> |
| | |
| | | style="margin-left: 8px" |
| | | >查询</a-button> |
| | | <a-button |
| | | type="primary" |
| | | type="info" |
| | | @click="searchReset" |
| | | icon="reload" |
| | | style="margin-left: 8px" |
| | | >重置</a-button> |
| | | <a-button |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status === '5' && selectionRows[0].isNotStoveCategoryFlag == false && selectionRows[0].precisionParameters == '1' " |
| | | @click="handlePrintPrecision(selectionRows[0])" |
| | | type="primary" |
| | | style="margin-left: 8px" |
| | | >精度检验单打印 |
| | | </a-button> |
| | | <a-button |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status === '5'" |
| | | @click="handlePrintCheck(selectionRows[0])" |
| | | type="primary" |
| | | style="margin-left: 8px" |
| | | >验收单打印 |
| | | </a-button> |
| | | <!-- v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" --> |
| | | <a-button |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '8'" |
| | | @click="handlePrintInfo(selectionRows[0])" |
| | | type="primary" |
| | | style="margin-left: 8px" |
| | | >移交单打印 |
| | | </a-button> |
| | | <a-button |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '5' && selectionRows[0].isNotStoveCategoryFlag == false && selectionRows[0].precisionParameters != '1'" |
| | | @click="handlePrintTechnology(selectionRows[0])" |
| | | type="primary" |
| | | style="margin-left: 8px" |
| | | >技术状态鉴定打印 |
| | | </a-button> |
| | | <a-button |
| | | v-show="selectedRowKeys.length == 1 && selectionRows[0].status == '5' && selectionRows[0].isNotStoveCategoryFlag == true" |
| | | @click="handlePrintStove(selectionRows[0])" |
| | | type="primary" |
| | | style="margin-left: 8px" |
| | | >炉类检测打印 |
| | | </a-button> |
| | | <!-- <a-button |
| | | v-if="selectedRowKeys.length > 0" |
| | |
| | | <!-- 精度检验者操作精度检验单 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '0' )" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | @click="handlePrecisionCheckOrder(record,'0')" |
| | | v-has="'daily3MaintenanceOrder:precisionInspectionUser'" |
| | | >精度检验</a> |
| | | <!-- 维修室主任操作精度检验单 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '1' )" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | @click="handlePrecisionCheckOrder(record,'1')" |
| | | v-has="'daily3MaintenanceOrder:repairDirectorUser'" |
| | | >精度检验</a> |
| | | <!-- 设备检验员操作精度检验单 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '2' )" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | @click="handlePrecisionCheckOrder(record,'2')" |
| | | v-has="'daily3MaintenanceOrder:equipmentInspectorUser'" |
| | | >精度检验</a> |
| | | <!-- 使用单位技术主管操作精度检验单 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '3' )" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | @click="handlePrecisionCheckOrder(record,'3')" |
| | | v-has="'daily3MaintenanceOrder:useUnitDirectorUser'" |
| | | >精度检验</a> |
| | | <!-- 设备检验员签字 操作精度检验单 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '4')" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | @click="handlePrecisionCheckOrder(record,'4')" |
| | | v-has="'daily3MaintenanceOrder:equipmentInspectorSignUser'" |
| | | >精度检验</a> |
| | | <!-- 精度检验单 查看 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '5')" |
| | | v-if="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus != '0' && record.precisionInspectionStatus != '1' && record.precisionInspectionStatus != '2' && record.precisionInspectionStatus != '3' && record.precisionInspectionStatus != '4' )" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | >精度检验</a> |
| | | >精度检验查看</a> |
| | | <!--管理员操作精度检验单 --> |
| | | <a |
| | | v-show="record.status === '5' && record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' && (record.precisionInspectionStatus == '0' ||record.precisionInspectionStatus == '1' ||record.precisionInspectionStatus == '2' ||record.precisionInspectionStatus == '3' ||record.precisionInspectionStatus == '4' )" |
| | | @click="handlePrecisionCheckOrder(record)" |
| | | v-has="'daily3MaintenanceOrder:admin'" |
| | | >精度检验</a> |
| | | >精度检验查看</a> |
| | | <a-divider |
| | | v-show="record.status === '5'&& record.isNotStoveCategoryFlag == false && record.precisionParameters == '1' " |
| | | type="vertical" |
| | |
| | | }, |
| | | |
| | | handlePrintPrecision(record) { |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=` + record.id; //网站链接 |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/938231672512131072?id=` + record.id; //网站链接 |
| | | window.open(href, "_blank"); |
| | | }, |
| | | |
| | | handlePrintCheck(record) { |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=` + record.id; //网站链接 |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/934647514367975424?id=` + record.id; //网站链接 |
| | | window.open(href, "_blank"); |
| | | }, |
| | | |
| | |
| | | window.open(href, "_blank"); |
| | | }, |
| | | |
| | | handlePrintTechnology(record) { |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/938226141894488064?id=` + record.id; //网站链接 |
| | | window.open(href, "_blank"); |
| | | }, |
| | | |
| | | handlePrintStove(record) { |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/934611893956042752?id=` + record.id; //网站链接 |
| | | window.open(href, "_blank"); |
| | | }, |
| | | |
| | | handleOrderExe(record) { |
| | | this.$refs.DailyMaintenanceOrderExeDrawer.visible = true |
| | |
| | | this.$refs.FinishDevolutionModal.disableSubmit = false; |
| | | }, |
| | | |
| | | handlePrecisionCheckOrder: function (record) { |
| | | this.$refs.EquipmentPrecisionCheckOrderModal.edit(record); |
| | | handlePrecisionCheckOrder: function (record, statusFlag) { |
| | | this.$refs.EquipmentPrecisionCheckOrderModal.edit(record, statusFlag); |
| | | this.$refs.EquipmentPrecisionCheckOrderModal.title = "生产设备精度检验单"; |
| | | this.$refs.EquipmentPrecisionCheckOrderModal.disableSubmit = false; |
| | | }, |
| | |
| | | }, |
| | | |
| | | searchReset() { |
| | | this.onClearSelected(); |
| | | this.queryParam = { maintenanceType: '3' } |
| | | this.loadData(1); |
| | | this.finishTime = [] |