소스 검색

Merge branch 'fix/develop_print_button' into 'develop'

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

See merge request o2oa/o2oa!473
胡起 5 년 전
부모
커밋
6eb2f0134d
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 (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;
                 flag = false;
             }
             }
         }
         }