ecinc-cloud-mappaio 9.6.155 → 9.6.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7681,7 +7681,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
7681
7681
 
7682
7682
  /***/ }),
7683
7683
 
7684
- /***/ 9350:
7684
+ /***/ 4365:
7685
7685
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7686
7686
 
7687
7687
  "use strict";
@@ -7695,14 +7695,14 @@ __webpack_require__.r(__webpack_exports__);
7695
7695
 
7696
7696
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
7697
7697
  // Module
7698
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-0a821d78],.wfattach-container[data-v-0a821d78] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-0a821d78] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-0a821d78] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-0a821d78] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-0a821d78] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-0a821d78] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-0a821d78] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-0a821d78]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-0a821d78]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-0a821d78]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-0a821d78]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-0a821d78]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-0a821d78]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-0a821d78]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-0a821d78]{position:relative}.van-attachment-field[data-v-0a821d78]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
7698
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-3f9009eb],.wfattach-container[data-v-3f9009eb] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-3f9009eb] .van-cell__title{width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-3f9009eb] .van-cell__value{width:35%;height:24px}.wfattach-container[data-v-3f9009eb] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-3f9009eb] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-3f9009eb] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-3f9009eb] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-3f9009eb]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-3f9009eb]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-3f9009eb]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-3f9009eb]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-3f9009eb]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-3f9009eb]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-3f9009eb]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-3f9009eb]{position:relative}.van-attachment-field[data-v-3f9009eb]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
7699
7699
  // Exports
7700
7700
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7701
7701
 
7702
7702
 
7703
7703
  /***/ }),
7704
7704
 
7705
- /***/ 9720:
7705
+ /***/ 6841:
7706
7706
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7707
7707
 
7708
7708
  "use strict";
@@ -7716,7 +7716,7 @@ __webpack_require__.r(__webpack_exports__);
7716
7716
 
7717
7717
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
7718
7718
  // Module
7719
- ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-d26aeb40]{margin-top:100px;text-align:center}.upload-progress[data-v-d26aeb40]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-d26aeb40]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-d26aeb40]{font-size:70px}.file-svg-icon .svg-icon[data-v-d26aeb40]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-d26aeb40]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-d26aeb40]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-d26aeb40]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-d26aeb40]{font-size:16px;margin-right:10px}[data-v-d26aeb40] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-d26aeb40]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-d26aeb40]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-d26aeb40],.attachmentContent .attachmentContent_son .icon_right[data-v-d26aeb40]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-d26aeb40]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-d26aeb40]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-d26aeb40]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-d26aeb40] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-d26aeb40] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7719
+ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-e3e662f8]{margin-top:100px;text-align:center}.upload-progress[data-v-e3e662f8]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-e3e662f8]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-e3e662f8]{font-size:70px}.file-svg-icon .svg-icon[data-v-e3e662f8]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-e3e662f8]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-e3e662f8]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-e3e662f8]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-e3e662f8]{font-size:16px;margin-right:10px}[data-v-e3e662f8] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-e3e662f8]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-e3e662f8]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-e3e662f8],.attachmentContent .attachmentContent_son .icon_right[data-v-e3e662f8]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-e3e662f8]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-e3e662f8]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-e3e662f8]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-e3e662f8] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-e3e662f8] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7720
7720
  // Exports
7721
7721
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7722
7722
 
@@ -34586,35 +34586,35 @@ var update = add("4ff8cc4e", content, true, {"sourceMap":false,"shadowMode":fals
34586
34586
 
34587
34587
  /***/ }),
34588
34588
 
34589
- /***/ 312:
34589
+ /***/ 5667:
34590
34590
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
34591
34591
 
34592
34592
  // style-loader: Adds some css to the DOM by adding a <style> tag
34593
34593
 
34594
34594
  // load the styles
34595
- var content = __webpack_require__(9350);
34595
+ var content = __webpack_require__(4365);
34596
34596
  if(content.__esModule) content = content.default;
34597
34597
  if(typeof content === 'string') content = [[module.id, content, '']];
34598
34598
  if(content.locals) module.exports = content.locals;
34599
34599
  // add the styles to the DOM
34600
34600
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
34601
- var update = add("a1958dbc", content, true, {"sourceMap":false,"shadowMode":false});
34601
+ var update = add("3c1d5fd3", content, true, {"sourceMap":false,"shadowMode":false});
34602
34602
 
34603
34603
  /***/ }),
34604
34604
 
34605
- /***/ 754:
34605
+ /***/ 4635:
34606
34606
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
34607
34607
 
34608
34608
  // style-loader: Adds some css to the DOM by adding a <style> tag
34609
34609
 
34610
34610
  // load the styles
34611
- var content = __webpack_require__(9720);
34611
+ var content = __webpack_require__(6841);
34612
34612
  if(content.__esModule) content = content.default;
34613
34613
  if(typeof content === 'string') content = [[module.id, content, '']];
34614
34614
  if(content.locals) module.exports = content.locals;
34615
34615
  // add the styles to the DOM
34616
34616
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
34617
- var update = add("9d347b96", content, true, {"sourceMap":false,"shadowMode":false});
34617
+ var update = add("506dc8d0", content, true, {"sourceMap":false,"shadowMode":false});
34618
34618
 
34619
34619
  /***/ }),
34620
34620
 
@@ -59171,8 +59171,8 @@ WfStatus_src.install = function (Vue) {
59171
59171
  Vue.component(WfStatus_src.name, WfStatus_src);
59172
59172
  };
59173
59173
  /* harmony default export */ var WfStatus = (WfStatus_src);
59174
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=0a821d78&scoped=true
59175
- var Attachmentvue_type_template_id_0a821d78_scoped_true_render = function render() {
59174
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=3f9009eb&scoped=true
59175
+ var Attachmentvue_type_template_id_3f9009eb_scoped_true_render = function render() {
59176
59176
  var _vm = this,
59177
59177
  _c = _vm._self._c;
59178
59178
  return _c('div', {
@@ -59300,6 +59300,19 @@ var Attachmentvue_type_template_id_0a821d78_scoped_true_render = function render
59300
59300
  return _vm.handleUploadRemove(attach);
59301
59301
  }
59302
59302
  }
59303
+ }) : _vm._e(), _vm.attachShowDownload ? _c('van-icon', {
59304
+ staticStyle: {
59305
+ "margin-left": "4px"
59306
+ },
59307
+ attrs: {
59308
+ "name": "down"
59309
+ },
59310
+ on: {
59311
+ "click": function click($event) {
59312
+ $event.stopPropagation();
59313
+ return _vm.handleDownload(attach);
59314
+ }
59315
+ }
59303
59316
  }) : _vm._e()]], 2)], 2);
59304
59317
  }), _vm.attachList.length === 0 && _vm.canUpload ? _c('van-cell', {
59305
59318
  directives: [{
@@ -59433,7 +59446,7 @@ var Attachmentvue_type_template_id_0a821d78_scoped_true_render = function render
59433
59446
  }
59434
59447
  })], 1) : _vm._e()], 1);
59435
59448
  };
59436
- var Attachmentvue_type_template_id_0a821d78_scoped_true_staticRenderFns = [];
59449
+ var Attachmentvue_type_template_id_3f9009eb_scoped_true_staticRenderFns = [];
59437
59450
 
59438
59451
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
59439
59452
  function Attachmentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Attachmentvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Attachmentvue_type_script_lang_js_typeof(o); }
@@ -60477,14 +60490,24 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
60477
60490
  message: this.$tx('ecmapp.message.notSupportedFile', '文件不支持在线编辑。')
60478
60491
  });
60479
60492
  }
60493
+ },
60494
+ handleDownload: function handleDownload(attachment) {
60495
+ if (!attachment.id) return;
60496
+ var downloadUrl = '';
60497
+ downloadUrl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=false&attachIds=' + attachment.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
60498
+ if (window.layout === 'H5') {
60499
+ window.$wv.downloadFile(downloadUrl, null, attachment.fileName, null);
60500
+ } else {
60501
+ this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
60502
+ }
60480
60503
  }
60481
60504
  }
60482
60505
  });
60483
60506
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
60484
60507
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
60485
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=0a821d78&prod&scoped=true&lang=scss
60486
- var Attachmentvue_type_style_index_0_id_0a821d78_prod_scoped_true_lang_scss = __webpack_require__(312);
60487
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=0a821d78&prod&scoped=true&lang=scss
60508
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=3f9009eb&prod&scoped=true&lang=scss
60509
+ var Attachmentvue_type_style_index_0_id_3f9009eb_prod_scoped_true_lang_scss = __webpack_require__(5667);
60510
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=3f9009eb&prod&scoped=true&lang=scss
60488
60511
 
60489
60512
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
60490
60513
 
@@ -60497,18 +60520,18 @@ var Attachmentvue_type_style_index_0_id_0a821d78_prod_scoped_true_lang_scss = __
60497
60520
 
60498
60521
  var Attachment_component = (0,componentNormalizer/* default */.A)(
60499
60522
  src_Attachmentvue_type_script_lang_js,
60500
- Attachmentvue_type_template_id_0a821d78_scoped_true_render,
60501
- Attachmentvue_type_template_id_0a821d78_scoped_true_staticRenderFns,
60523
+ Attachmentvue_type_template_id_3f9009eb_scoped_true_render,
60524
+ Attachmentvue_type_template_id_3f9009eb_scoped_true_staticRenderFns,
60502
60525
  false,
60503
60526
  null,
60504
- "0a821d78",
60527
+ "3f9009eb",
60505
60528
  null
60506
60529
 
60507
60530
  )
60508
60531
 
60509
60532
  /* harmony default export */ var Attachment = (Attachment_component.exports);
60510
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=d26aeb40&scoped=true
60511
- var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render() {
60533
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=e3e662f8&scoped=true
60534
+ var BodyFilevue_type_template_id_e3e662f8_scoped_true_render = function render() {
60512
60535
  var _vm = this,
60513
60536
  _c = _vm._self._c;
60514
60537
  return _c('div', {
@@ -60837,8 +60860,7 @@ var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render()
60837
60860
  staticClass: "svg-icon-font",
60838
60861
  staticStyle: {
60839
60862
  "width": "70%",
60840
- "height": "70%",
60841
- "margin": "auto"
60863
+ "height": "70%"
60842
60864
  }
60843
60865
  }, [_c('use', {
60844
60866
  attrs: {
@@ -60864,8 +60886,7 @@ var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render()
60864
60886
  staticClass: "svg-icon-font",
60865
60887
  staticStyle: {
60866
60888
  "width": "50%",
60867
- "height": "50%",
60868
- "margin": "auto"
60889
+ "height": "50%"
60869
60890
  }
60870
60891
  }, [_c('use', {
60871
60892
  attrs: {
@@ -60874,7 +60895,7 @@ var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render()
60874
60895
  })])]) : _vm._e()]) : _vm._e()];
60875
60896
  })], 2)])], 1);
60876
60897
  };
60877
- var BodyFilevue_type_template_id_d26aeb40_scoped_true_staticRenderFns = [];
60898
+ var BodyFilevue_type_template_id_e3e662f8_scoped_true_staticRenderFns = [];
60878
60899
 
60879
60900
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
60880
60901
  function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, BodyFilevue_type_script_lang_js_typeof(o); }
@@ -61507,7 +61528,11 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61507
61528
  if (!attachment.id) return;
61508
61529
  var downloadUrl = '';
61509
61530
  downloadUrl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=false&attachIds=' + attachment.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
61510
- this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
61531
+ if (window.layout === 'H5') {
61532
+ window.$wv.downloadFile(downloadUrl, null, attachment.fileName, null);
61533
+ } else {
61534
+ this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
61535
+ }
61511
61536
  },
61512
61537
  attachmentFile: function attachmentFile() {
61513
61538
  if (this.attachmentsNum > 0) this.showAttachmentFile = true;
@@ -61827,9 +61852,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61827
61852
  });
61828
61853
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
61829
61854
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
61830
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d26aeb40&prod&scoped=true&lang=scss
61831
- var BodyFilevue_type_style_index_0_id_d26aeb40_prod_scoped_true_lang_scss = __webpack_require__(754);
61832
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d26aeb40&prod&scoped=true&lang=scss
61855
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=e3e662f8&prod&scoped=true&lang=scss
61856
+ var BodyFilevue_type_style_index_0_id_e3e662f8_prod_scoped_true_lang_scss = __webpack_require__(4635);
61857
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=e3e662f8&prod&scoped=true&lang=scss
61833
61858
 
61834
61859
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
61835
61860
 
@@ -61842,11 +61867,11 @@ var BodyFilevue_type_style_index_0_id_d26aeb40_prod_scoped_true_lang_scss = __we
61842
61867
 
61843
61868
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
61844
61869
  src_BodyFilevue_type_script_lang_js,
61845
- BodyFilevue_type_template_id_d26aeb40_scoped_true_render,
61846
- BodyFilevue_type_template_id_d26aeb40_scoped_true_staticRenderFns,
61870
+ BodyFilevue_type_template_id_e3e662f8_scoped_true_render,
61871
+ BodyFilevue_type_template_id_e3e662f8_scoped_true_staticRenderFns,
61847
61872
  false,
61848
61873
  null,
61849
- "d26aeb40",
61874
+ "e3e662f8",
61850
61875
  null
61851
61876
 
61852
61877
  )
@@ -7691,7 +7691,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
7691
7691
 
7692
7692
  /***/ }),
7693
7693
 
7694
- /***/ 2806:
7694
+ /***/ 7821:
7695
7695
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7696
7696
 
7697
7697
  "use strict";
@@ -7705,14 +7705,14 @@ __webpack_require__.r(__webpack_exports__);
7705
7705
 
7706
7706
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
7707
7707
  // Module
7708
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-0a821d78],.wfattach-container[data-v-0a821d78] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-0a821d78] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-0a821d78] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-0a821d78] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-0a821d78] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-0a821d78] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-0a821d78] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-0a821d78]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-0a821d78]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-0a821d78]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-0a821d78]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-0a821d78]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-0a821d78]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-0a821d78]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-0a821d78]{position:relative}.van-attachment-field[data-v-0a821d78]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
7708
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-3f9009eb],.wfattach-container[data-v-3f9009eb] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-3f9009eb] .van-cell__title{width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-3f9009eb] .van-cell__value{width:35%;height:24px}.wfattach-container[data-v-3f9009eb] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-3f9009eb] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-3f9009eb] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-3f9009eb] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-3f9009eb]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-3f9009eb]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-3f9009eb]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-3f9009eb]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-3f9009eb]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-3f9009eb]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-3f9009eb]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-3f9009eb]{position:relative}.van-attachment-field[data-v-3f9009eb]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
7709
7709
  // Exports
7710
7710
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7711
7711
 
7712
7712
 
7713
7713
  /***/ }),
7714
7714
 
7715
- /***/ 808:
7715
+ /***/ 7929:
7716
7716
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7717
7717
 
7718
7718
  "use strict";
@@ -7726,7 +7726,7 @@ __webpack_require__.r(__webpack_exports__);
7726
7726
 
7727
7727
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
7728
7728
  // Module
7729
- ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-d26aeb40]{margin-top:100px;text-align:center}.upload-progress[data-v-d26aeb40]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-d26aeb40]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-d26aeb40]{font-size:70px}.file-svg-icon .svg-icon[data-v-d26aeb40]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-d26aeb40]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-d26aeb40]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-d26aeb40]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-d26aeb40]{font-size:16px;margin-right:10px}[data-v-d26aeb40] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-d26aeb40]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-d26aeb40]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-d26aeb40],.attachmentContent .attachmentContent_son .icon_right[data-v-d26aeb40]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-d26aeb40]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-d26aeb40]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-d26aeb40]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-d26aeb40] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-d26aeb40] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7729
+ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-e3e662f8]{margin-top:100px;text-align:center}.upload-progress[data-v-e3e662f8]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-e3e662f8]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-e3e662f8]{font-size:70px}.file-svg-icon .svg-icon[data-v-e3e662f8]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-e3e662f8]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-e3e662f8]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-e3e662f8]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-e3e662f8]{font-size:16px;margin-right:10px}[data-v-e3e662f8] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-e3e662f8]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-e3e662f8]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-e3e662f8],.attachmentContent .attachmentContent_son .icon_right[data-v-e3e662f8]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-e3e662f8]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-e3e662f8]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-e3e662f8]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-e3e662f8] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-e3e662f8] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7730
7730
  // Exports
7731
7731
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7732
7732
 
@@ -34596,35 +34596,35 @@ var update = add("2f575395", content, true, {"sourceMap":false,"shadowMode":fals
34596
34596
 
34597
34597
  /***/ }),
34598
34598
 
34599
- /***/ 4994:
34599
+ /***/ 5337:
34600
34600
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
34601
34601
 
34602
34602
  // style-loader: Adds some css to the DOM by adding a <style> tag
34603
34603
 
34604
34604
  // load the styles
34605
- var content = __webpack_require__(2806);
34605
+ var content = __webpack_require__(7821);
34606
34606
  if(content.__esModule) content = content.default;
34607
34607
  if(typeof content === 'string') content = [[module.id, content, '']];
34608
34608
  if(content.locals) module.exports = content.locals;
34609
34609
  // add the styles to the DOM
34610
34610
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
34611
- var update = add("6fc25be6", content, true, {"sourceMap":false,"shadowMode":false});
34611
+ var update = add("06aafad2", content, true, {"sourceMap":false,"shadowMode":false});
34612
34612
 
34613
34613
  /***/ }),
34614
34614
 
34615
- /***/ 1612:
34615
+ /***/ 2405:
34616
34616
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
34617
34617
 
34618
34618
  // style-loader: Adds some css to the DOM by adding a <style> tag
34619
34619
 
34620
34620
  // load the styles
34621
- var content = __webpack_require__(808);
34621
+ var content = __webpack_require__(7929);
34622
34622
  if(content.__esModule) content = content.default;
34623
34623
  if(typeof content === 'string') content = [[module.id, content, '']];
34624
34624
  if(content.locals) module.exports = content.locals;
34625
34625
  // add the styles to the DOM
34626
34626
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
34627
- var update = add("234a320e", content, true, {"sourceMap":false,"shadowMode":false});
34627
+ var update = add("e53a24d8", content, true, {"sourceMap":false,"shadowMode":false});
34628
34628
 
34629
34629
  /***/ }),
34630
34630
 
@@ -59181,8 +59181,8 @@ WfStatus_src.install = function (Vue) {
59181
59181
  Vue.component(WfStatus_src.name, WfStatus_src);
59182
59182
  };
59183
59183
  /* harmony default export */ var WfStatus = (WfStatus_src);
59184
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=0a821d78&scoped=true
59185
- var Attachmentvue_type_template_id_0a821d78_scoped_true_render = function render() {
59184
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=3f9009eb&scoped=true
59185
+ var Attachmentvue_type_template_id_3f9009eb_scoped_true_render = function render() {
59186
59186
  var _vm = this,
59187
59187
  _c = _vm._self._c;
59188
59188
  return _c('div', {
@@ -59310,6 +59310,19 @@ var Attachmentvue_type_template_id_0a821d78_scoped_true_render = function render
59310
59310
  return _vm.handleUploadRemove(attach);
59311
59311
  }
59312
59312
  }
59313
+ }) : _vm._e(), _vm.attachShowDownload ? _c('van-icon', {
59314
+ staticStyle: {
59315
+ "margin-left": "4px"
59316
+ },
59317
+ attrs: {
59318
+ "name": "down"
59319
+ },
59320
+ on: {
59321
+ "click": function click($event) {
59322
+ $event.stopPropagation();
59323
+ return _vm.handleDownload(attach);
59324
+ }
59325
+ }
59313
59326
  }) : _vm._e()]], 2)], 2);
59314
59327
  }), _vm.attachList.length === 0 && _vm.canUpload ? _c('van-cell', {
59315
59328
  directives: [{
@@ -59443,7 +59456,7 @@ var Attachmentvue_type_template_id_0a821d78_scoped_true_render = function render
59443
59456
  }
59444
59457
  })], 1) : _vm._e()], 1);
59445
59458
  };
59446
- var Attachmentvue_type_template_id_0a821d78_scoped_true_staticRenderFns = [];
59459
+ var Attachmentvue_type_template_id_3f9009eb_scoped_true_staticRenderFns = [];
59447
59460
 
59448
59461
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
59449
59462
  function Attachmentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Attachmentvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, Attachmentvue_type_script_lang_js_typeof(o); }
@@ -60487,14 +60500,24 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
60487
60500
  message: this.$tx('ecmapp.message.notSupportedFile', '文件不支持在线编辑。')
60488
60501
  });
60489
60502
  }
60503
+ },
60504
+ handleDownload: function handleDownload(attachment) {
60505
+ if (!attachment.id) return;
60506
+ var downloadUrl = '';
60507
+ downloadUrl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=false&attachIds=' + attachment.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
60508
+ if (window.layout === 'H5') {
60509
+ window.$wv.downloadFile(downloadUrl, null, attachment.fileName, null);
60510
+ } else {
60511
+ this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
60512
+ }
60490
60513
  }
60491
60514
  }
60492
60515
  });
60493
60516
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
60494
60517
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
60495
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=0a821d78&prod&scoped=true&lang=scss
60496
- var Attachmentvue_type_style_index_0_id_0a821d78_prod_scoped_true_lang_scss = __webpack_require__(4994);
60497
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=0a821d78&prod&scoped=true&lang=scss
60518
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=3f9009eb&prod&scoped=true&lang=scss
60519
+ var Attachmentvue_type_style_index_0_id_3f9009eb_prod_scoped_true_lang_scss = __webpack_require__(5337);
60520
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=3f9009eb&prod&scoped=true&lang=scss
60498
60521
 
60499
60522
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
60500
60523
 
@@ -60507,18 +60530,18 @@ var Attachmentvue_type_style_index_0_id_0a821d78_prod_scoped_true_lang_scss = __
60507
60530
 
60508
60531
  var Attachment_component = (0,componentNormalizer/* default */.A)(
60509
60532
  src_Attachmentvue_type_script_lang_js,
60510
- Attachmentvue_type_template_id_0a821d78_scoped_true_render,
60511
- Attachmentvue_type_template_id_0a821d78_scoped_true_staticRenderFns,
60533
+ Attachmentvue_type_template_id_3f9009eb_scoped_true_render,
60534
+ Attachmentvue_type_template_id_3f9009eb_scoped_true_staticRenderFns,
60512
60535
  false,
60513
60536
  null,
60514
- "0a821d78",
60537
+ "3f9009eb",
60515
60538
  null
60516
60539
 
60517
60540
  )
60518
60541
 
60519
60542
  /* harmony default export */ var Attachment = (Attachment_component.exports);
60520
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=d26aeb40&scoped=true
60521
- var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render() {
60543
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=e3e662f8&scoped=true
60544
+ var BodyFilevue_type_template_id_e3e662f8_scoped_true_render = function render() {
60522
60545
  var _vm = this,
60523
60546
  _c = _vm._self._c;
60524
60547
  return _c('div', {
@@ -60847,8 +60870,7 @@ var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render()
60847
60870
  staticClass: "svg-icon-font",
60848
60871
  staticStyle: {
60849
60872
  "width": "70%",
60850
- "height": "70%",
60851
- "margin": "auto"
60873
+ "height": "70%"
60852
60874
  }
60853
60875
  }, [_c('use', {
60854
60876
  attrs: {
@@ -60874,8 +60896,7 @@ var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render()
60874
60896
  staticClass: "svg-icon-font",
60875
60897
  staticStyle: {
60876
60898
  "width": "50%",
60877
- "height": "50%",
60878
- "margin": "auto"
60899
+ "height": "50%"
60879
60900
  }
60880
60901
  }, [_c('use', {
60881
60902
  attrs: {
@@ -60884,7 +60905,7 @@ var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render()
60884
60905
  })])]) : _vm._e()]) : _vm._e()];
60885
60906
  })], 2)])], 1);
60886
60907
  };
60887
- var BodyFilevue_type_template_id_d26aeb40_scoped_true_staticRenderFns = [];
60908
+ var BodyFilevue_type_template_id_e3e662f8_scoped_true_staticRenderFns = [];
60888
60909
 
60889
60910
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
60890
60911
  function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, BodyFilevue_type_script_lang_js_typeof(o); }
@@ -61517,7 +61538,11 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61517
61538
  if (!attachment.id) return;
61518
61539
  var downloadUrl = '';
61519
61540
  downloadUrl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=false&attachIds=' + attachment.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
61520
- this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
61541
+ if (window.layout === 'H5') {
61542
+ window.$wv.downloadFile(downloadUrl, null, attachment.fileName, null);
61543
+ } else {
61544
+ this.$mappUtils.downLoadAndOpenFile(this, downloadUrl, attachment.fileName, attachment.fileSize);
61545
+ }
61521
61546
  },
61522
61547
  attachmentFile: function attachmentFile() {
61523
61548
  if (this.attachmentsNum > 0) this.showAttachmentFile = true;
@@ -61837,9 +61862,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61837
61862
  });
61838
61863
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
61839
61864
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
61840
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d26aeb40&prod&scoped=true&lang=scss
61841
- var BodyFilevue_type_style_index_0_id_d26aeb40_prod_scoped_true_lang_scss = __webpack_require__(1612);
61842
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d26aeb40&prod&scoped=true&lang=scss
61865
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=e3e662f8&prod&scoped=true&lang=scss
61866
+ var BodyFilevue_type_style_index_0_id_e3e662f8_prod_scoped_true_lang_scss = __webpack_require__(2405);
61867
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=e3e662f8&prod&scoped=true&lang=scss
61843
61868
 
61844
61869
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
61845
61870
 
@@ -61852,11 +61877,11 @@ var BodyFilevue_type_style_index_0_id_d26aeb40_prod_scoped_true_lang_scss = __we
61852
61877
 
61853
61878
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
61854
61879
  src_BodyFilevue_type_script_lang_js,
61855
- BodyFilevue_type_template_id_d26aeb40_scoped_true_render,
61856
- BodyFilevue_type_template_id_d26aeb40_scoped_true_staticRenderFns,
61880
+ BodyFilevue_type_template_id_e3e662f8_scoped_true_render,
61881
+ BodyFilevue_type_template_id_e3e662f8_scoped_true_staticRenderFns,
61857
61882
  false,
61858
61883
  null,
61859
- "d26aeb40",
61884
+ "e3e662f8",
61860
61885
  null
61861
61886
 
61862
61887
  )