| | |
| | | <template> |
| | | <j-modal :title="title" :width="1200" :visible="visible" :confirmLoading="confirmLoading" |
| | | <j-modal :title="title" :visible="visible" :confirmLoading="confirmLoading" |
| | | :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" fullscreen @ok="handleOk" |
| | | @cancel="handleCancel" centered cancelText="关闭"> |
| | | <a-spin :spinning="spinning"> |
| | |
| | | <!--右侧审批列--> |
| | | <a-col :span="6" class="scroll-col" |
| | | v-if="model.evaluationStatus&&model.evaluationStatus!='UNDER_EVALUATION'&&model.evaluationStatus!='WAIT_EVALUATION'"> |
| | | <a-tabs v-if="disableSubmit||displayRepairerFlag"> |
| | | <a-tabs v-if="displayRepairerFlag"> |
| | | <a-tab-pane tab="维修工确认"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | |
| | | <a-tabs v-if="disableSubmit||displayRepairLeaderFlag"> |
| | | <a-tabs v-if="displayRepairLeaderFlag"> |
| | | <a-tab-pane tab="维修室主任确认"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | |
| | | <a-tabs |
| | | v-if="disableSubmit||displayTechnicianFlag"> |
| | | <a-tabs v-if="displayTechnicianFlag"> |
| | | <a-tab-pane tab="工艺员确认"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | |
| | | <a-tabs |
| | | v-if="disableSubmit||displayTechnicalLeaderFlag"> |
| | | <a-tabs v-if="displayTechnicalLeaderFlag"> |
| | | <a-tab-pane tab="使用单位技术主管确认"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | |
| | | <a-tabs v-if="disableSubmit||displayInspectorFlag"> |
| | | <a-tabs v-if="displayInspectorFlag"> |
| | | <a-tab-pane tab="设备检验员确认"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | |
| | | import { downFile, getAction, httpAction } from '@/api/manage' |
| | | import { JVxeTableModelMixin } from '@/mixins/JVxeTableModelMixin.js' |
| | | import { JVXETypes } from '@comp/jeecg/JVxeTable' |
| | | import MaintenanceEquipmentSelect from '@views/eam/equipment/modules/MaintenanceEquipmentSelect' |
| | | import TechnicalStatusEquipmentSelect from '../../../eam/equipment/modules/TechnicalStatusEquipmentSelect' |
| | | |
| | | export default { |
| | |
| | | mixins: [JVxeTableModelMixin], |
| | | components: { |
| | | TechnicalStatusEquipmentSelect, |
| | | MaintenanceEquipmentSelect |
| | | }, |
| | | props: { |
| | | selectShenpiData: { |
| | |
| | | */ |
| | | async handleDetail(record) { |
| | | this.model = {} |
| | | this.visible = true |
| | | this.detail.safetyEquipmentCheckList = this.detail.precisionCheckList = this.detail.otherCheckList = [] |
| | | this.handleTabToFirstTable() |
| | | this.getBasicInformationByApi(record) |
| | |
| | | * @param record 主页面列表行记录 |
| | | */ |
| | | recordDetail(record) { |
| | | this.visible = true |
| | | this.detail.safetyEquipmentCheckList = this.detail.precisionCheckList = this.detail.otherCheckList = [] |
| | | this.model = Object.assign({}, record) |
| | | this.handleTabToFirstTable() |
| | |
| | | this.$nextTick(() => { |
| | | for (let index = 1; index <= 3; index++) { |
| | | if (this.$refs['editableDetailTable' + index]) { |
| | | console.log('index----------', index) |
| | | this.activeTabKey = index |
| | | break |
| | | } |
| | |
| | | if (this.$refs['editableDetailTable' + this.activeTabKey]) this.$refs['editableDetailTable' + this.activeTabKey].clearValidate() |
| | | this.activeTabKey = tabKey |
| | | }, |
| | | |
| | | |
| | | handleEvaluationResultChange(value) { |
| | | if (value == 'QUALIFIED') this.model.evaluationReason = '' |