update 待办转办按钮调整
This commit is contained in:
@@ -96,13 +96,12 @@ import {
|
||||
EsInspectionPlan,
|
||||
EsInspectionProcess,
|
||||
InspectionExtensionRequestProcess,
|
||||
EsInspectionRectification,
|
||||
PermissionApply,
|
||||
PostMeetingManage,
|
||||
FGEntryChangeProcessNode,
|
||||
ConsultationProcess,
|
||||
ProjectComplianceEvaluationProcessNode,
|
||||
ProcurementProcessNodes
|
||||
ProcurementProcessNodes, StandardPromotion
|
||||
} from '@/enums/commonEnums'
|
||||
|
||||
export default {
|
||||
@@ -226,39 +225,22 @@ export default {
|
||||
],
|
||||
// 企标稽查计划
|
||||
[ProcessType.ES_INSPECTION_PLAN.value]: [
|
||||
EsInspectionPlan.relevantPersonnelCountersign.value,
|
||||
EsInspectionPlan.liaisonLeaderApproval.value
|
||||
EsInspectionPlan.initiate.value,
|
||||
EsInspectionPlan.fillInComments.value,
|
||||
EsInspectionPlan.liaisonCollect.value
|
||||
],
|
||||
// 企标稽查流程
|
||||
[ProcessType.ES_INSPECTION_PROCESS.value]: [
|
||||
EsInspectionProcess.directorLeaderApprovalOne.value,
|
||||
EsInspectionProcess.inputInspectionReport.value,
|
||||
EsInspectionProcess.directorLeaderApprovalTwo.value,
|
||||
EsInspectionProcess.relevantPersonnelCountersign.value
|
||||
],
|
||||
[ProcessType.ES_INSPECTION_PROCESS.value]: [EsInspectionProcess.initiate.value],
|
||||
// 稽查延期申请流程
|
||||
[ProcessType.INSPECTION_EXTENSION_REQUEST_PROCESS.value]: [
|
||||
InspectionExtensionRequestProcess.directorLeaderApproval.value,
|
||||
InspectionExtensionRequestProcess.contactEvaluation.value,
|
||||
InspectionExtensionRequestProcess.directorSuperiorLeaderApproval.value
|
||||
],
|
||||
[ProcessType.INSPECTION_EXTENSION_REQUEST_PROCESS.value]: [InspectionExtensionRequestProcess.initiate.value],
|
||||
// 企标稽查整改
|
||||
[ProcessType.ES_INSPECTION_RECTIFICATION.value]: [
|
||||
EsInspectionRectification.uploadRectificationResult.value,
|
||||
EsInspectionRectification.directorLeaderApproval.value,
|
||||
EsInspectionRectification.directorToExamine.value
|
||||
],
|
||||
[ProcessType.ES_INSPECTION_RECTIFICATION.value]: [],
|
||||
// 权限申请流程
|
||||
[ProcessType.PERMISSION_APPLY.value]: [
|
||||
PermissionApply.leaderApproval.value,
|
||||
PermissionApply.standardApproval.value
|
||||
],
|
||||
[ProcessType.PERMISSION_APPLY.value]: [PermissionApply.initiate.value],
|
||||
// 标准宣贯流程
|
||||
[ProcessType.STANDARD_PROMOTION.value]: [],
|
||||
[ProcessType.STANDARD_PROMOTION.value]: [StandardPromotion.initiate.value],
|
||||
// 会后管理流程
|
||||
[ProcessType.POST_MEETING_MANAGE.value]: [
|
||||
PostMeetingManage.attendeesUploadMaterials.value
|
||||
]
|
||||
[ProcessType.POST_MEETING_MANAGE.value]: [PostMeetingManage.initiate.value]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -363,6 +345,7 @@ export default {
|
||||
// 是否显示转办按钮
|
||||
isShowTurnTo (record) {
|
||||
if (record.prcType && record.nodeId) {
|
||||
console.log(this.notTurnToBtn[record.prcType + ''])
|
||||
return !this.notTurnToBtn[record.prcType + ''].some(tt => record.nodeId.indexOf(tt) !== -1)
|
||||
} else {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user