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