瀏覽代碼

Merge branch 'cherry-pick-aba792a8' into 'fix/develop_print_button'

修复流程结束后,没有“一键下载”和“打印”按钮的问题

See merge request o2oa/o2oa!471
胡起 5 年之前
父節點
當前提交
7718da7e87
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      o2web/source/x_component_process_Xform/Actionbar.js

+ 1 - 1
o2web/source/x_component_process_Xform/Actionbar.js

@@ -129,7 +129,7 @@ MWF.xApplication.process.Xform.Actionbar = MWF.APPActionbar =  new Class({
         //     }
         // }
         if (tool.id == "action_downloadAll" || tool.id == "action_print"){
-            if (!this.form.businessData.activity || !this.form.businessData.activity.id){
+            if (!this.form.businessData.work.startTime){
                 flag = false;
             }
         }