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); };