From 67720d1cd4c016c6562bdd70d300b9afb50568d0 Mon Sep 17 00:00:00 2001 From: ndbs Date: Wed, 28 Sep 2022 16:10:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E4=BB=BB=E5=8A=A1-=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E9=A1=B5=E9=9D=A2=20=E5=90=8C=E6=84=8F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA-=E9=A2=86=E5=AF=BC=E5=AE=A1=E6=89=B9(=E5=81=87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js | 5 ++++- .../components/learun-app/workflow-action.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js index 31607c8ab..4061e2673 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js @@ -614,7 +614,10 @@ var bootstrap = function ($, learun) { // 加载审批按钮 var $signBtn = $('#sign'); - $.each(nwflow.currentNode.btnList || [{ id: "1", name: "同意", code: "agree", file: "1", next: "1" }, { id: "2", name: "不同意", code: "disagree", file: "1", next: "1" }], function (_index, _item) { + $.each(nwflow.currentNode.btnList || [{ id: "1", name: "领导审批", code: "agree", file: "1", next: "1" }, { id: "2", name: "不同意", code: "disagree", file: "1", next: "1" }], function (_index, _item) { + if (_item.name == "同意") { + _item.name = "领导审批"; + } if (_item.isHide != '1') { var _class = ' btn-warning'; if (_item.code == 'agree') { diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/workflow-action.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/workflow-action.vue index 7b8c68d9e..138efabbe 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/workflow-action.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/components/learun-app/workflow-action.vue @@ -32,7 +32,7 @@ size="lg" block > - {{ button.name }} + {{ button.name=="同意"?"领导审批":button.name }}