From db1b4e4ab540eb23cf6c93df9b9a11af2624cf8c Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Wed, 7 Dec 2022 17:53:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=AE=A1=E6=89=B9=E4=BF=A1=E6=81=AF=EF=BC=9A=E7=AD=BE?= =?UTF-8?q?=E7=AB=A0=E5=9B=BE=E7=89=87=E4=BD=8D=E7=BD=AE=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4=EF=BC=9B=E7=82=B9=E5=87=BB=E5=90=8C=E6=84=8F?= =?UTF-8?q?/=E4=B8=8D=E5=90=8C=E6=84=8F=E6=97=B6=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E4=B8=A4=E6=AC=A1=E6=8F=90=E7=A4=BA=E6=96=87=E5=AD=97=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/NWFProcess/NWFContainerForm.css | 8 ++++---- .../Views/NWFProcess/NWFContainerForm.js | 16 +++++++--------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.css index a0606381a..addf09680 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.css @@ -236,13 +236,13 @@ .auditinfo-s { position: absolute; - top: 0; - right: 200px; - height: 100px; + top: 25px; + right: 225px; + height: 50px; } .auditinfo-s img { - height: 100px; + height: 50px; } .auditinfo-sg { 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 f7290b3e3..b62107dc2 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 @@ -674,6 +674,13 @@ var bootstrap = function ($, learun) { // } //}); + //需要填写审批意见时,验证审批意见的必填性 + var des = $('#des').val(); + if (btnData.isOpinion == '1' && !des) { + learun.alert.warning('请签署审批意见!'); + return false; + } + top.flowAuditfn = function (signUrl, stamp) { // 下个流程是否需要可以手动选择审核人 getNextUsers(btnData, nwflow.currentNode, '', nwflow.processId, nwflow.taskId, function (data) { @@ -702,10 +709,6 @@ var bootstrap = function ($, learun) { return top[id].acceptClick(function (auditers) { // 保存表单数据 custmerForm.save(nwflow.processId, nwflow.currentNode.wfForms, function () { - var des = $('#des').val(); - if (btnData.isOpinion == '1' && !des) { - return learun.alert.warning('请签署审批意见!'); - } // 审批流程 learun.loading(true, '审批流程...'); var postData = { @@ -734,11 +737,6 @@ var bootstrap = function ($, learun) { // 保存表单数据 custmerForm.save(nwflow.processId, nwflow.currentNode.wfForms, function () { // 审批流程 - var des = $('#des').val(); - if (btnData.isOpinion == '1' && !des) { - return learun.alert.warning('请签署审批意见!'); - } - learun.loading(true, '审批流程...'); var postData = { operationCode: btnData.code,