From c0269c0f03ccfb8ae2d177efa7d5041659c439b9 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 19 Feb 2025 16:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../summaryAudit/proEvaluateAuditForm.html | 44 +- .../summaryAudit/summaryAuditView.html | 543 +++++++++--------- 2 files changed, 310 insertions(+), 277 deletions(-) diff --git a/src/main/resources/static/pages/evaluate/summaryAudit/proEvaluateAuditForm.html b/src/main/resources/static/pages/evaluate/summaryAudit/proEvaluateAuditForm.html index 35a7ca2..757391b 100644 --- a/src/main/resources/static/pages/evaluate/summaryAudit/proEvaluateAuditForm.html +++ b/src/main/resources/static/pages/evaluate/summaryAudit/proEvaluateAuditForm.html @@ -157,17 +157,47 @@ } } else { if (cellData.field === 'examineAndApprove') { + + cellData.templet = function (d) { //如果d.isApprove == 1 去除当前行的编辑功能 + // let text = ""; + // if (d.isTwoApprove == 1) { + // text += '已通过'; + // } + // if (d.isTwoApprove == 2) { + // text += '已驳回'; + // } + // text += '通过'; + // text += + // '驳回'; + // return text; + let text = ""; - if (d.isTwoApprove == 1) { - text += '已通过'; - } - if (d.isTwoApprove == 2) { - text += '已驳回'; + if (d.isTwoApprove == 1 && d.isApprove == 1 && d.isThreeApprove == 0) { + text += '通过'; + text += + '驳回'; + } else { + if (d.isTwoApprove == 1 && d.isApprove == 1 && d.isThreeApprove == 1) { + text += '已通过'; + } else if (d.isThreeApprove == 2 && d.isTwoApprove == 1) { + text += '已驳回'; + } else { + noMessage++ + return '' + } } + + // text += '通过'; // text += diff --git a/src/main/resources/static/pages/evaluate/summaryAudit/summaryAuditView.html b/src/main/resources/static/pages/evaluate/summaryAudit/summaryAuditView.html index f0bf0b8..b07aca7 100644 --- a/src/main/resources/static/pages/evaluate/summaryAudit/summaryAuditView.html +++ b/src/main/resources/static/pages/evaluate/summaryAudit/summaryAuditView.html @@ -1,152 +1,154 @@ +