diff --git a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue index cbf7eb52..7323bb04 100644 --- a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue +++ b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue @@ -456,7 +456,12 @@ export default { if (this.loading) return this.loading = true this.getPageParams().then(res => { - res.map.pass = true + // pass在这里有两种可能 + // 1.联络人汇总节点,选择是否会签,是true,否false; + // 2.其他节点按钮区分,同意传true,驳回传false + if (res.map.pass !== undefined) { + res.map.pass = true + } // 不是提交按钮 且 如果没有填写注释,就默认同意 if (!isSubmitBtn && !res.processApprovalRecord.commitText) { res.processApprovalRecord.commitText = '同意'