Browse Source

[流程表单]修改一键下载默认宽度

st 5 years ago
parent
commit
c51d09102a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      o2web/source/x_component_process_Xform/Form.js

+ 2 - 1
o2web/source/x_component_process_Xform/Form.js

@@ -2709,7 +2709,8 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
     downloadAll: function () {
         var htmlFormId = "";
         o2.Actions.load("x_processplatform_assemble_surface").AttachmentAction.uploadWorkInfo(this.businessData.work.id, "pdf", {
-            "workHtml": this.app.content.get("html")
+            "workHtml": this.app.content.get("html"),
+            "pageWidth" : 1000
         }, function (json) {
             htmlFormId = json.data.id;
         }.bind(this), null, false);