From 60d6b9c1cf2a70e2ab90097d0e4464f78d0415c9 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Fri, 16 Aug 2024 18:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B5=81=E7=A8=8B=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=A8=A1=E6=9D=BF=EF=BC=8C=E6=94=AF=E6=8C=81=E4=BB=8E?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E8=BF=9B=E5=85=A5=E6=98=BE=E7=A4=BA=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E6=84=8F=E8=A7=81=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/modules/gen/include/viewForm.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/core/src/main/resources/templates/modules/gen/include/viewForm.html b/modules/core/src/main/resources/templates/modules/gen/include/viewForm.html index 04a2ed07..19460e53 100644 --- a/modules/core/src/main/resources/templates/modules/gen/include/viewForm.html +++ b/modules/core/src/main/resources/templates/modules/gen/include/viewForm.html @@ -41,8 +41,7 @@ <% include('/templates/modules/gen/include/formControl.html'){} %> <% include('/templates/modules/gen/include/formChildTable.html'){} %> <% if(toBoolean(table.optionMap['isBpmForm'])){ %> - \<% if(isNotBlank(${className}.bpm.taskId)){ %> -
+
@@ -52,7 +51,6 @@
- \<% } %> <${'#'}bpm:nextTaskInfo bpmEntity="\${${className}}" /> <% } %>
@@ -89,7 +87,11 @@ $('#btnDraft').click(function(){ }); // 流程按钮操作事件 BpmButton = window.BpmButton || {}; -BpmButton.init = function(task){} +BpmButton.init = function(task){ + if (task.status != '2') { + $('.taskComment').removeClass('hide'); + } +} BpmButton.complete = function($this, task){ $('#status').val(Global.STATUS_AUDIT); };