| | |
| | | </a-table> |
| | | </div> |
| | | |
| | | <!--保养规范--> |
| | | <maintenance-standard-approval-modal ref="maintenanceStandardApprovalModal" @modalFormOk="modalFormOk" |
| | | :selectShenpiData="selectedRowData"/> |
| | | |
| | | <!--点检--> |
| | | <inspection-order-handle ref="inspectionOrderHandle" :selectShenpiData="selectedRowData" |
| | | @modalFormOk="modalFormOk"/> |
| | | |
| | | <!--技术鉴定工单--> |
| | | <technical-status-evaluation-approval-modal ref="technicalStatusApprovalModal" :selectShenpiData="selectedRowData" |
| | | @modalFormOk="modalFormOk"/> |
| | | |
| | | <!--二保工单--> |
| | | <second-maintenance-approval-modal ref="secondMaintenanceApprovalModal" :selectShenpiData="selectedRowData" |
| | | @modalFormOk="modalFormOk"/> |
| | | |
| | | <!--三保工单--> |
| | | <third-maintenance-approval-modal ref="thirdMaintenanceApprovalModal" :selectShenpiData="selectedRowData" |
| | | @modalFormOk="modalFormOk"/> |
| | | |
| | | <!--技术鉴定工单变更--> |
| | | <technical-status-evaluation-order-change-approval-modal ref="evaluationOrderChangeApprovalModal" |
| | | :selectShenpiData="selectedRowData" |
| | | @modalFormOk="modalFormOk"/> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | from './TechnicalStatusEvaluation/TechnicalStatusEvaluationApprovalModal' |
| | | import SecondMaintenanceApprovalModal from './secondMaintenance/SecondMaintenanceApprovalModal' |
| | | import ThirdMaintenanceApprovalModal from './thirdMaintenance/ThirdMaintenanceApprovalModal' |
| | | import TechnicalStatusEvaluationOrderChangeApprovalModal |
| | | from './TechnicalStatusEvaluation/TechnicalStatusEvaluationOrderChangeApprovalModal' |
| | | |
| | | export default { |
| | | name: 'FlowTodo', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | TechnicalStatusEvaluationOrderChangeApprovalModal, |
| | | ThirdMaintenanceApprovalModal, |
| | | SecondMaintenanceApprovalModal, |
| | | TechnicalStatusEvaluationApprovalModal, |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | handelDetail(item, index) { |
| | | let processType = this.splitProcessType(item.category) |
| | | handelDetail(record) { |
| | | let processType = this.splitProcessType(record.category) |
| | | console.log('processType', processType) |
| | | switch (processType) { |
| | | case 'maintenance_standard': |
| | | this.handleMaintenanceStandard(item) |
| | | this.handleMaintenanceStandard(record) |
| | | break |
| | | case 'sbdjApproval': |
| | | this.handInspectionOrder(item) |
| | | this.handInspectionOrder(record) |
| | | break |
| | | case 'eam_repair': |
| | | this.handleRepairOrder(item) |
| | | this.handleRepairOrder(record) |
| | | break |
| | | case 'second_maintenance': |
| | | this.handleSecondMaintenance(item) |
| | | this.handleSecondMaintenance(record) |
| | | break |
| | | case 'third_maintenance': |
| | | this.handleThirdMaintenance(item) |
| | | this.handleThirdMaintenance(record) |
| | | break |
| | | case 'TECHNICAL_STATUS_EVALUATION': |
| | | this.handleTechnicalStatusEvaluation(item) |
| | | this.handleTechnicalStatusEvaluation(record) |
| | | break |
| | | case 'toolsStocktakingBound': |
| | | this.handleToolStocktakingApproval(item) |
| | | break |
| | | case 'toolsLossApproval': |
| | | this.handleToolLossApproval(item) |
| | | case 'EVALUATION_ORDER_CHANGE_PROCESS': |
| | | this.handleEvaluationOrderChange(record) |
| | | break |
| | | default: |
| | | alert('没找到该流程') |
| | |
| | | this.$refs.technicalStatusApprovalModal.handleDetail(record) |
| | | }, |
| | | |
| | | handleEvaluationOrderChange(record) { |
| | | this.selectedRowData = Object.assign({}, record) |
| | | this.$refs.evaluationOrderChangeApprovalModal.visible = true |
| | | this.$refs.evaluationOrderChangeApprovalModal.title = record.name |
| | | this.$refs.evaluationOrderChangeApprovalModal.handleApprove(record) |
| | | }, |
| | | |
| | | /** |
| | | * 点击二保流程执行审批时触发 |
| | | * @param record |
| | |
| | | this.selectedRowData = Object.assign({}, record) |
| | | this.$refs.inspectionOrderHandle.visible = true |
| | | this.$refs.inspectionOrderHandle.title = record.name |
| | | this.$refs.inspectionOrderHandle.getAllApproveData(record) |
| | | this.$refs.inspectionOrderHandle.getBasicInformation(record) |
| | | this.$refs.inspectionOrderHandle.handleApprove(record) |
| | | }, |
| | | |
| | | /** |
| | |
| | | handleThirdMaintenance(record) { |
| | | this.selectedRowData = Object.assign({}, record) |
| | | this.$refs.thirdMaintenanceApprovalModal.visible = true |
| | | this.$refs.thirdMaintenanceApprovalModal.handleDetail(record) |
| | | this.$refs.thirdMaintenanceApprovalModal.title = record.name |
| | | this.$refs.thirdMaintenanceApprovalModal.handleDetail(record) |
| | | }, |
| | | |
| | | /** |