Przeglądaj źródła

Merge branch 'fix/develop_print_button' into 'develop'

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

See merge request o2oa/o2oa!473
胡起 5 lat temu
rodzic
commit
6eb2f0134d

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