ecinc-cloud-mappaio 9.6.161 → 9.6.163

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
- /***/ 4365:
7684
+ /***/ 9524:
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-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)}", ""]);
7698
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-dffbb010],.wfattach-container[data-v-dffbb010] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-dffbb010] .van-cell__title{width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-dffbb010] .van-cell__value{width:35%;height:24px}.wfattach-container[data-v-dffbb010] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-dffbb010] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-dffbb010] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-dffbb010] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-dffbb010]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]: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-dffbb010]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-dffbb010]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-dffbb010]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-dffbb010]{position:relative}.van-attachment-field[data-v-dffbb010]: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
- /***/ 8580:
7705
+ /***/ 6073:
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-5c5e59bf]{margin-top:100px;text-align:center}.upload-progress[data-v-5c5e59bf]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-5c5e59bf]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-5c5e59bf]{font-size:70px}.file-svg-icon .svg-icon[data-v-5c5e59bf]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-5c5e59bf]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-5c5e59bf]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-5c5e59bf]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-5c5e59bf]{font-size:16px;margin-right:10px}[data-v-5c5e59bf] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-5c5e59bf]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-5c5e59bf]{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-5c5e59bf],.attachmentContent .attachmentContent_son .icon_right[data-v-5c5e59bf]{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-5c5e59bf]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-5c5e59bf]{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-5c5e59bf]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-5c5e59bf] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-5c5e59bf] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7719
+ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-337caa12]{margin-top:100px;text-align:center}.upload-progress[data-v-337caa12]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-337caa12]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-337caa12]{font-size:70px}.file-svg-icon .svg-icon[data-v-337caa12]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-337caa12]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-337caa12]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-337caa12]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-337caa12]{font-size:16px;margin-right:10px}[data-v-337caa12] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-337caa12]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-337caa12]{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-337caa12],.attachmentContent .attachmentContent_son .icon_right[data-v-337caa12]{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-337caa12]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-337caa12]{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-337caa12]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-337caa12] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-337caa12] .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
- /***/ 5667:
34589
+ /***/ 3382:
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__(4365);
34595
+ var content = __webpack_require__(9524);
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("3c1d5fd3", content, true, {"sourceMap":false,"shadowMode":false});
34601
+ var update = add("a5f5dea4", content, true, {"sourceMap":false,"shadowMode":false});
34602
34602
 
34603
34603
  /***/ }),
34604
34604
 
34605
- /***/ 1086:
34605
+ /***/ 9923:
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__(8580);
34611
+ var content = __webpack_require__(6073);
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("7befe3ae", content, true, {"sourceMap":false,"shadowMode":false});
34617
+ var update = add("8f719f60", content, true, {"sourceMap":false,"shadowMode":false});
34618
34618
 
34619
34619
  /***/ }),
34620
34620
 
@@ -44250,7 +44250,7 @@ var src_install = function install(Vue) {
44250
44250
  this.jsBridgeCallNativeMethod('showAttachmentMenus', attach, callback);
44251
44251
  },
44252
44252
  showAttachmentOtherApps: function showAttachmentOtherApps(attach) {
44253
- /** 通过其它应用打开附件
44253
+ /** 我的-我的文件,打开已下载过的本地附件
44254
44254
  * attach:附件对象
44255
44255
  */
44256
44256
  this.jsBridgeCallNativeMethod('showAttachmentOtherApps', attach);
@@ -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=3f9009eb&scoped=true
59175
- var Attachmentvue_type_template_id_3f9009eb_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=dffbb010&scoped=true
59175
+ var Attachmentvue_type_template_id_dffbb010_scoped_true_render = function render() {
59176
59176
  var _vm = this,
59177
59177
  _c = _vm._self._c;
59178
59178
  return _c('div', {
@@ -59446,7 +59446,7 @@ var Attachmentvue_type_template_id_3f9009eb_scoped_true_render = function render
59446
59446
  }
59447
59447
  })], 1) : _vm._e()], 1);
59448
59448
  };
59449
- var Attachmentvue_type_template_id_3f9009eb_scoped_true_staticRenderFns = [];
59449
+ var Attachmentvue_type_template_id_dffbb010_scoped_true_staticRenderFns = [];
59450
59450
 
59451
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
59452
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); }
@@ -59587,7 +59587,12 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59587
59587
  attachShowDownload: {
59588
59588
  type: Number,
59589
59589
  default: 1
59590
- } // 移动端附件预览是否允许展示下载按钮,0-不允许,1-允许
59590
+ },
59591
+ // 移动端附件预览是否允许展示下载按钮,0-不允许,1-允许
59592
+ onZipAttachPreviewClick: {
59593
+ type: Function,
59594
+ default: null
59595
+ } // 自定义压缩附件处理方式
59591
59596
  },
59592
59597
  data: function data() {
59593
59598
  return {
@@ -59850,21 +59855,28 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59850
59855
  }
59851
59856
  }
59852
59857
  }
59858
+ if (!((extName == '.zip' || extName == '.rar') && _this6.onZipAttachPreviewClick && typeof _this6.onZipAttachPreviewClick == 'function')) {
59859
+ _context.next = 14;
59860
+ break;
59861
+ }
59862
+ _this6.onZipAttachPreviewClick(attach, _this6.wfAttachUrl);
59863
+ return _context.abrupt("return");
59864
+ case 14:
59853
59865
  if (!(!topdf && extName !== '.pdf' && canView.indexOf(extName) === -1)) {
59854
- _context.next = 16;
59866
+ _context.next = 19;
59855
59867
  break;
59856
59868
  }
59857
59869
  wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
59858
59870
  if (!(wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0)) {
59859
- _context.next = 16;
59871
+ _context.next = 19;
59860
59872
  break;
59861
59873
  }
59862
59874
  //只能在线预览、不能下载到本地
59863
59875
  _this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
59864
59876
  return _context.abrupt("return");
59865
- case 16:
59877
+ case 19:
59866
59878
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
59867
- _context.next = 27;
59879
+ _context.next = 30;
59868
59880
  break;
59869
59881
  }
59870
59882
  tSessionId = res.body.tSessionId;
@@ -59889,11 +59901,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59889
59901
  });
59890
59902
  }
59891
59903
  }, 'json');
59892
- _context.next = 71;
59904
+ _context.next = 74;
59893
59905
  break;
59894
- case 27:
59906
+ case 30:
59895
59907
  if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
59896
- _context.next = 45;
59908
+ _context.next = 48;
59897
59909
  break;
59898
59910
  }
59899
59911
  // 打开 wps h5
@@ -59901,9 +59913,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59901
59913
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
59902
59914
  appUrl = 'http://toa.ecinc.com.cn:2028/';
59903
59915
  }
59904
- _context.next = 32;
59916
+ _context.next = 35;
59905
59917
  return _this6.getSessionId();
59906
- case 32:
59918
+ case 35:
59907
59919
  _tSessionId = _context.sent;
59908
59920
  //正文下载地址
59909
59921
  _downUrl = appUrl + "/apigw";
@@ -59943,26 +59955,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59943
59955
  });
59944
59956
  }
59945
59957
  });
59946
- _context.next = 71;
59958
+ _context.next = 74;
59947
59959
  break;
59948
- case 45:
59960
+ case 48:
59949
59961
  if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
59950
- _context.next = 62;
59962
+ _context.next = 65;
59951
59963
  break;
59952
59964
  }
59953
59965
  _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
59954
- _context.next = 49;
59966
+ _context.next = 52;
59955
59967
  return _this6.getSessionId();
59956
- case 49:
59968
+ case 52:
59957
59969
  _tSessionId2 = _context.sent;
59958
59970
  if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
59959
- _context.next = 54;
59971
+ _context.next = 57;
59960
59972
  break;
59961
59973
  }
59962
59974
  sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
59963
59975
  window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
59964
59976
  return _context.abrupt("return");
59965
- case 54:
59977
+ case 57:
59966
59978
  _downUrl2 = _appUrl + "/apigw";
59967
59979
  _downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
59968
59980
  _downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
@@ -59988,9 +60000,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59988
60000
  }
59989
60001
  });
59990
60002
  }
59991
- _context.next = 71;
60003
+ _context.next = 74;
59992
60004
  break;
59993
- case 62:
60005
+ case 65:
59994
60006
  url = "/apigw";
59995
60007
  url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
59996
60008
  url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
@@ -60009,7 +60021,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
60009
60021
  url += '&img=true';
60010
60022
  }
60011
60023
  _this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
60012
- case 71:
60024
+ case 74:
60013
60025
  case "end":
60014
60026
  return _context.stop();
60015
60027
  }
@@ -60505,9 +60517,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
60505
60517
  });
60506
60518
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
60507
60519
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
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
60520
+ // 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=dffbb010&prod&scoped=true&lang=scss
60521
+ var Attachmentvue_type_style_index_0_id_dffbb010_prod_scoped_true_lang_scss = __webpack_require__(3382);
60522
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=dffbb010&prod&scoped=true&lang=scss
60511
60523
 
60512
60524
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
60513
60525
 
@@ -60520,18 +60532,18 @@ var Attachmentvue_type_style_index_0_id_3f9009eb_prod_scoped_true_lang_scss = __
60520
60532
 
60521
60533
  var Attachment_component = (0,componentNormalizer/* default */.A)(
60522
60534
  src_Attachmentvue_type_script_lang_js,
60523
- Attachmentvue_type_template_id_3f9009eb_scoped_true_render,
60524
- Attachmentvue_type_template_id_3f9009eb_scoped_true_staticRenderFns,
60535
+ Attachmentvue_type_template_id_dffbb010_scoped_true_render,
60536
+ Attachmentvue_type_template_id_dffbb010_scoped_true_staticRenderFns,
60525
60537
  false,
60526
60538
  null,
60527
- "3f9009eb",
60539
+ "dffbb010",
60528
60540
  null
60529
60541
 
60530
60542
  )
60531
60543
 
60532
60544
  /* harmony default export */ var Attachment = (Attachment_component.exports);
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=5c5e59bf&scoped=true
60534
- var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render() {
60545
+ ;// 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=337caa12&scoped=true
60546
+ var BodyFilevue_type_template_id_337caa12_scoped_true_render = function render() {
60535
60547
  var _vm = this,
60536
60548
  _c = _vm._self._c;
60537
60549
  return _c('div', {
@@ -60684,20 +60696,7 @@ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render()
60684
60696
  attrs: {
60685
60697
  "name": "add-o"
60686
60698
  }
60687
- })], 1), _c('van-button', {
60688
- directives: [{
60689
- name: "show",
60690
- rawName: "v-show",
60691
- value: false,
60692
- expression: "false"
60693
- }],
60694
- attrs: {
60695
- "id": "btn-upload"
60696
- },
60697
- on: {
60698
- "click": _vm.openSelectFileDialog
60699
- }
60700
- }, [_vm._v("上传正文")]), _c('PopupDialog', {
60699
+ })], 1), _c('PopupDialog', {
60701
60700
  attrs: {
60702
60701
  "showpop": _vm.historyDialogVisible,
60703
60702
  "title": _vm.$tx('ecmapp.wflowform.historicalVersion', '历史版本'),
@@ -60913,7 +60912,7 @@ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render()
60913
60912
  })])]) : _vm._e()]) : _vm._e()];
60914
60913
  })], 2)])], 1);
60915
60914
  };
60916
- var BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns = [];
60915
+ var BodyFilevue_type_template_id_337caa12_scoped_true_staticRenderFns = [];
60917
60916
 
60918
60917
  ;// 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
60919
60918
  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); }
@@ -61273,7 +61272,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61273
61272
  break;
61274
61273
  }
61275
61274
  _this5.$vnode.context.setFooterBtns();
61276
- _context2.next = 23;
61275
+ _context2.next = 19;
61277
61276
  break;
61278
61277
  case 5:
61279
61278
  if (!_this5.pdfSealChange) {
@@ -61320,63 +61319,65 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61320
61319
  // 非套红模式下可直接盖章
61321
61320
  isSeal = true;
61322
61321
  }
61323
- if (_this5.curTN.tnCanEdit === 1) {
61324
- if (_this5.seal && isSeal) {
61325
- openDocBtn = {
61326
- id: 'btn_openDoc',
61327
- btnName: '盖 章',
61328
- btnIcon: 'upload',
61329
- btnClick: _this5.openSeal,
61322
+ if (_this5.flBodyfile && _this5.flBodyfile.id) {
61323
+ if (_this5.curTN.tnCanEdit === 1) {
61324
+ if (_this5.seal && isSeal) {
61325
+ openDocBtn = {
61326
+ id: 'btn_openDoc',
61327
+ btnName: '盖 章',
61328
+ btnIcon: 'upload',
61329
+ btnClick: _this5.openSeal,
61330
+ btnPermission: '',
61331
+ btnStyleType: 'default'
61332
+ };
61333
+ footerBtns.splice(0, 0, openDocBtn);
61334
+ }
61335
+ if (_this5.sign && isSeal) {
61336
+ _openDocBtn = {
61337
+ id: 'btn_openDoc',
61338
+ btnName: '签 名',
61339
+ btnIcon: 'upload',
61340
+ btnClick: _this5.pdfSign,
61341
+ btnPermission: '',
61342
+ btnStyleType: 'default'
61343
+ };
61344
+ footerBtns.splice(0, 0, _openDocBtn);
61345
+ }
61346
+ }
61347
+ wfInstance = _this5.$vnode.context.wfInstance;
61348
+ if (wfInstance.passenger.attachH5CanDownload !== 0) {
61349
+ downloadBtn = {
61350
+ id: 'btn_download',
61351
+ btnName: '下 载',
61352
+ btnIcon: 'download',
61353
+ btnClick: _this5.downLoadFile,
61330
61354
  btnPermission: '',
61331
61355
  btnStyleType: 'default'
61332
61356
  };
61333
- footerBtns.splice(0, 0, openDocBtn);
61357
+ footerBtns.splice(0, 0, downloadBtn);
61334
61358
  }
61335
- if (_this5.sign && isSeal) {
61336
- _openDocBtn = {
61337
- id: 'btn_openDoc',
61338
- btnName: '签 名',
61359
+ if (_this5.flBodyfile.fileId) {
61360
+ historyFilesBtn = {
61361
+ id: 'btn_historyFiles',
61362
+ btnName: '历史版本',
61339
61363
  btnIcon: 'upload',
61340
- btnClick: _this5.pdfSign,
61364
+ btnClick: _this5.btnViewHistoryFilesClick,
61341
61365
  btnPermission: '',
61342
61366
  btnStyleType: 'default'
61343
61367
  };
61344
- footerBtns.splice(0, 0, _openDocBtn);
61368
+ footerBtns.splice(0, 0, historyFilesBtn);
61369
+ }
61370
+ if (window.mappType === 'ecinc') {
61371
+ otherAppBtn = {
61372
+ id: 'btn_otherApp',
61373
+ btnName: '其它应用打开',
61374
+ btnIcon: 'otherApp',
61375
+ btnClick: _this5.btnOtherAppOpenClick,
61376
+ btnPermission: '',
61377
+ btnStyleType: 'default'
61378
+ };
61379
+ footerBtns.splice(0, 0, otherAppBtn);
61345
61380
  }
61346
- }
61347
- wfInstance = _this5.$vnode.context.wfInstance;
61348
- if (_this5.flBodyfile && wfInstance.passenger.attachH5CanDownload !== 0) {
61349
- downloadBtn = {
61350
- id: 'btn_download',
61351
- btnName: '下 载',
61352
- btnIcon: 'download',
61353
- btnClick: _this5.downLoadFile,
61354
- btnPermission: '',
61355
- btnStyleType: 'default'
61356
- };
61357
- footerBtns.splice(0, 0, downloadBtn);
61358
- }
61359
- if (_this5.flBodyfile && _this5.flBodyfile.fileId) {
61360
- historyFilesBtn = {
61361
- id: 'btn_historyFiles',
61362
- btnName: '历史版本',
61363
- btnIcon: 'upload',
61364
- btnClick: _this5.btnViewHistoryFilesClick,
61365
- btnPermission: '',
61366
- btnStyleType: 'default'
61367
- };
61368
- footerBtns.splice(0, 0, historyFilesBtn);
61369
- }
61370
- if (window.mappType === 'ecinc') {
61371
- otherAppBtn = {
61372
- id: 'btn_otherApp',
61373
- btnName: '其它应用打开',
61374
- btnIcon: 'otherApp',
61375
- btnClick: _this5.btnOtherAppOpenClick,
61376
- btnPermission: '',
61377
- btnStyleType: 'default'
61378
- };
61379
- footerBtns.splice(0, 0, otherAppBtn);
61380
61381
  }
61381
61382
  if (_this5.curTN.tnCanEdit === 1) {
61382
61383
  if (!_this5.flBodyfile || !_this5.flBodyfile.id) {
@@ -61472,7 +61473,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61472
61473
  }
61473
61474
  console.log(footerBtns, 'footerBtns --- >363');
61474
61475
  _this5.$vnode.context.footerBtns = footerBtns;
61475
- case 23:
61476
+ case 19:
61476
61477
  case "end":
61477
61478
  return _context2.stop();
61478
61479
  }
@@ -61566,8 +61567,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61566
61567
  var url = "/apigw";
61567
61568
  url += this.wfAttachUrl.substring(0, 1) === '/' ? this.wfAttachUrl : '/' + this.wfAttachUrl;
61568
61569
  url += '/downloadById?topdf=false&attachIds=' + this.flBodyfile.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
61569
- this.flBodyfile.passenger.downloadUrl = url;
61570
- this.$wv.showAttachmentOtherApps(this.flBodyfile);
61570
+ window.$wv.downloadFile(url, null, this.flBodyfile.fileName, null);
61571
61571
  },
61572
61572
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
61573
61573
  var _this8 = this;
@@ -61604,9 +61604,8 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61604
61604
  if (!result) return;
61605
61605
  _this8.flBodyfile = _this8.flBodyfileBak;
61606
61606
  _this8.$nextTick(function () {
61607
- //input type=file对象,不允许在Promise中调用,只能位于用户点击事件处理函数的顶层同步代码中调用
61608
- //先触发按钮点击事件,图标click事件中再调用input type=file对象的click
61609
- _this8.$el.querySelector('#btn-upload').click();
61607
+ var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
61608
+ uploadBtn.click();
61610
61609
  });
61611
61610
  });
61612
61611
  });
@@ -61614,10 +61613,6 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61614
61613
  console.log(e);
61615
61614
  });
61616
61615
  },
61617
- openSelectFileDialog: function openSelectFileDialog() {
61618
- var uploadBtn = this.$el.querySelector('.van-uploader__input');
61619
- uploadBtn.click();
61620
- },
61621
61616
  btnOpenWordClick: function btnOpenWordClick() {
61622
61617
  var _this9 = this;
61623
61618
  // 编辑正文
@@ -62089,9 +62084,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
62089
62084
  });
62090
62085
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
62091
62086
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
62092
- // 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=5c5e59bf&prod&scoped=true&lang=scss
62093
- var BodyFilevue_type_style_index_0_id_5c5e59bf_prod_scoped_true_lang_scss = __webpack_require__(1086);
62094
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=5c5e59bf&prod&scoped=true&lang=scss
62087
+ // 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=337caa12&prod&scoped=true&lang=scss
62088
+ var BodyFilevue_type_style_index_0_id_337caa12_prod_scoped_true_lang_scss = __webpack_require__(9923);
62089
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=337caa12&prod&scoped=true&lang=scss
62095
62090
 
62096
62091
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
62097
62092
 
@@ -62104,11 +62099,11 @@ var BodyFilevue_type_style_index_0_id_5c5e59bf_prod_scoped_true_lang_scss = __we
62104
62099
 
62105
62100
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
62106
62101
  src_BodyFilevue_type_script_lang_js,
62107
- BodyFilevue_type_template_id_5c5e59bf_scoped_true_render,
62108
- BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns,
62102
+ BodyFilevue_type_template_id_337caa12_scoped_true_render,
62103
+ BodyFilevue_type_template_id_337caa12_scoped_true_staticRenderFns,
62109
62104
  false,
62110
62105
  null,
62111
- "5c5e59bf",
62106
+ "337caa12",
62112
62107
  null
62113
62108
 
62114
62109
  )