From a97c8d32da61812a5570d29325242dd64a799a01 Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 8 Dec 2023 14:44:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=81=E6=A0=87=E7=A8=BD=E6=9F=A5?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E4=BC=9A=E7=AD=BE=E8=8A=82=E7=82=B9=E4=B8=8D?= =?UTF-8?q?=E8=B7=B3=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EnterpriseStandardInspectionPlanFlow.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 = '同意'