ecinc-cloud-mappaio 9.6.161 → 9.6.162

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.
@@ -7702,7 +7702,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
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
 
@@ -34602,19 +34602,19 @@ var update = add("3c1d5fd3", content, true, {"sourceMap":false,"shadowMode":fals
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
 
@@ -60530,8 +60530,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
60530
60530
  )
60531
60531
 
60532
60532
  /* 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() {
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=337caa12&scoped=true
60534
+ var BodyFilevue_type_template_id_337caa12_scoped_true_render = function render() {
60535
60535
  var _vm = this,
60536
60536
  _c = _vm._self._c;
60537
60537
  return _c('div', {
@@ -60684,20 +60684,7 @@ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render()
60684
60684
  attrs: {
60685
60685
  "name": "add-o"
60686
60686
  }
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', {
60687
+ })], 1), _c('PopupDialog', {
60701
60688
  attrs: {
60702
60689
  "showpop": _vm.historyDialogVisible,
60703
60690
  "title": _vm.$tx('ecmapp.wflowform.historicalVersion', '历史版本'),
@@ -60913,7 +60900,7 @@ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render()
60913
60900
  })])]) : _vm._e()]) : _vm._e()];
60914
60901
  })], 2)])], 1);
60915
60902
  };
60916
- var BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns = [];
60903
+ var BodyFilevue_type_template_id_337caa12_scoped_true_staticRenderFns = [];
60917
60904
 
60918
60905
  ;// 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
60906
  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 +61260,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61273
61260
  break;
61274
61261
  }
61275
61262
  _this5.$vnode.context.setFooterBtns();
61276
- _context2.next = 23;
61263
+ _context2.next = 19;
61277
61264
  break;
61278
61265
  case 5:
61279
61266
  if (!_this5.pdfSealChange) {
@@ -61320,63 +61307,65 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61320
61307
  // 非套红模式下可直接盖章
61321
61308
  isSeal = true;
61322
61309
  }
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,
61310
+ if (_this5.flBodyfile && _this5.flBodyfile.id) {
61311
+ if (_this5.curTN.tnCanEdit === 1) {
61312
+ if (_this5.seal && isSeal) {
61313
+ openDocBtn = {
61314
+ id: 'btn_openDoc',
61315
+ btnName: '盖 章',
61316
+ btnIcon: 'upload',
61317
+ btnClick: _this5.openSeal,
61318
+ btnPermission: '',
61319
+ btnStyleType: 'default'
61320
+ };
61321
+ footerBtns.splice(0, 0, openDocBtn);
61322
+ }
61323
+ if (_this5.sign && isSeal) {
61324
+ _openDocBtn = {
61325
+ id: 'btn_openDoc',
61326
+ btnName: '签 名',
61327
+ btnIcon: 'upload',
61328
+ btnClick: _this5.pdfSign,
61329
+ btnPermission: '',
61330
+ btnStyleType: 'default'
61331
+ };
61332
+ footerBtns.splice(0, 0, _openDocBtn);
61333
+ }
61334
+ }
61335
+ wfInstance = _this5.$vnode.context.wfInstance;
61336
+ if (wfInstance.passenger.attachH5CanDownload !== 0) {
61337
+ downloadBtn = {
61338
+ id: 'btn_download',
61339
+ btnName: '下 载',
61340
+ btnIcon: 'download',
61341
+ btnClick: _this5.downLoadFile,
61330
61342
  btnPermission: '',
61331
61343
  btnStyleType: 'default'
61332
61344
  };
61333
- footerBtns.splice(0, 0, openDocBtn);
61345
+ footerBtns.splice(0, 0, downloadBtn);
61334
61346
  }
61335
- if (_this5.sign && isSeal) {
61336
- _openDocBtn = {
61337
- id: 'btn_openDoc',
61338
- btnName: '签 名',
61347
+ if (_this5.flBodyfile.fileId) {
61348
+ historyFilesBtn = {
61349
+ id: 'btn_historyFiles',
61350
+ btnName: '历史版本',
61339
61351
  btnIcon: 'upload',
61340
- btnClick: _this5.pdfSign,
61352
+ btnClick: _this5.btnViewHistoryFilesClick,
61341
61353
  btnPermission: '',
61342
61354
  btnStyleType: 'default'
61343
61355
  };
61344
- footerBtns.splice(0, 0, _openDocBtn);
61356
+ footerBtns.splice(0, 0, historyFilesBtn);
61357
+ }
61358
+ if (window.mappType === 'ecinc') {
61359
+ otherAppBtn = {
61360
+ id: 'btn_otherApp',
61361
+ btnName: '其它应用打开',
61362
+ btnIcon: 'otherApp',
61363
+ btnClick: _this5.btnOtherAppOpenClick,
61364
+ btnPermission: '',
61365
+ btnStyleType: 'default'
61366
+ };
61367
+ footerBtns.splice(0, 0, otherAppBtn);
61345
61368
  }
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
61369
  }
61381
61370
  if (_this5.curTN.tnCanEdit === 1) {
61382
61371
  if (!_this5.flBodyfile || !_this5.flBodyfile.id) {
@@ -61472,7 +61461,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61472
61461
  }
61473
61462
  console.log(footerBtns, 'footerBtns --- >363');
61474
61463
  _this5.$vnode.context.footerBtns = footerBtns;
61475
- case 23:
61464
+ case 19:
61476
61465
  case "end":
61477
61466
  return _context2.stop();
61478
61467
  }
@@ -61566,8 +61555,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61566
61555
  var url = "/apigw";
61567
61556
  url += this.wfAttachUrl.substring(0, 1) === '/' ? this.wfAttachUrl : '/' + this.wfAttachUrl;
61568
61557
  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);
61558
+ window.$wv.downloadFile(url, null, this.flBodyfile.fileName, null);
61571
61559
  },
61572
61560
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
61573
61561
  var _this8 = this;
@@ -61604,9 +61592,8 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61604
61592
  if (!result) return;
61605
61593
  _this8.flBodyfile = _this8.flBodyfileBak;
61606
61594
  _this8.$nextTick(function () {
61607
- //input type=file对象,不允许在Promise中调用,只能位于用户点击事件处理函数的顶层同步代码中调用
61608
- //先触发按钮点击事件,图标click事件中再调用input type=file对象的click
61609
- _this8.$el.querySelector('#btn-upload').click();
61595
+ var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
61596
+ uploadBtn.click();
61610
61597
  });
61611
61598
  });
61612
61599
  });
@@ -61614,10 +61601,6 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61614
61601
  console.log(e);
61615
61602
  });
61616
61603
  },
61617
- openSelectFileDialog: function openSelectFileDialog() {
61618
- var uploadBtn = this.$el.querySelector('.van-uploader__input');
61619
- uploadBtn.click();
61620
- },
61621
61604
  btnOpenWordClick: function btnOpenWordClick() {
61622
61605
  var _this9 = this;
61623
61606
  // 编辑正文
@@ -62089,9 +62072,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
62089
62072
  });
62090
62073
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
62091
62074
  /* 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
62075
+ // 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
62076
+ var BodyFilevue_type_style_index_0_id_337caa12_prod_scoped_true_lang_scss = __webpack_require__(9923);
62077
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=337caa12&prod&scoped=true&lang=scss
62095
62078
 
62096
62079
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
62097
62080
 
@@ -62104,11 +62087,11 @@ var BodyFilevue_type_style_index_0_id_5c5e59bf_prod_scoped_true_lang_scss = __we
62104
62087
 
62105
62088
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
62106
62089
  src_BodyFilevue_type_script_lang_js,
62107
- BodyFilevue_type_template_id_5c5e59bf_scoped_true_render,
62108
- BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns,
62090
+ BodyFilevue_type_template_id_337caa12_scoped_true_render,
62091
+ BodyFilevue_type_template_id_337caa12_scoped_true_staticRenderFns,
62109
62092
  false,
62110
62093
  null,
62111
- "5c5e59bf",
62094
+ "337caa12",
62112
62095
  null
62113
62096
 
62114
62097
  )
@@ -7712,7 +7712,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
7712
7712
 
7713
7713
  /***/ }),
7714
7714
 
7715
- /***/ 6020:
7715
+ /***/ 7161:
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-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}", ""]);
7729
+ ___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}", ""]);
7730
7730
  // Exports
7731
7731
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7732
7732
 
@@ -34612,19 +34612,19 @@ var update = add("06aafad2", content, true, {"sourceMap":false,"shadowMode":fals
34612
34612
 
34613
34613
  /***/ }),
34614
34614
 
34615
- /***/ 1696:
34615
+ /***/ 5365:
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__(6020);
34621
+ var content = __webpack_require__(7161);
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("02059a26", content, true, {"sourceMap":false,"shadowMode":false});
34627
+ var update = add("158755d8", content, true, {"sourceMap":false,"shadowMode":false});
34628
34628
 
34629
34629
  /***/ }),
34630
34630
 
@@ -60540,8 +60540,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
60540
60540
  )
60541
60541
 
60542
60542
  /* harmony default export */ var Attachment = (Attachment_component.exports);
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=5c5e59bf&scoped=true
60544
- var BodyFilevue_type_template_id_5c5e59bf_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=337caa12&scoped=true
60544
+ var BodyFilevue_type_template_id_337caa12_scoped_true_render = function render() {
60545
60545
  var _vm = this,
60546
60546
  _c = _vm._self._c;
60547
60547
  return _c('div', {
@@ -60694,20 +60694,7 @@ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render()
60694
60694
  attrs: {
60695
60695
  "name": "add-o"
60696
60696
  }
60697
- })], 1), _c('van-button', {
60698
- directives: [{
60699
- name: "show",
60700
- rawName: "v-show",
60701
- value: false,
60702
- expression: "false"
60703
- }],
60704
- attrs: {
60705
- "id": "btn-upload"
60706
- },
60707
- on: {
60708
- "click": _vm.openSelectFileDialog
60709
- }
60710
- }, [_vm._v("上传正文")]), _c('PopupDialog', {
60697
+ })], 1), _c('PopupDialog', {
60711
60698
  attrs: {
60712
60699
  "showpop": _vm.historyDialogVisible,
60713
60700
  "title": _vm.$tx('ecmapp.wflowform.historicalVersion', '历史版本'),
@@ -60923,7 +60910,7 @@ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render()
60923
60910
  })])]) : _vm._e()]) : _vm._e()];
60924
60911
  })], 2)])], 1);
60925
60912
  };
60926
- var BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns = [];
60913
+ var BodyFilevue_type_template_id_337caa12_scoped_true_staticRenderFns = [];
60927
60914
 
60928
60915
  ;// 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
60929
60916
  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); }
@@ -61283,7 +61270,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61283
61270
  break;
61284
61271
  }
61285
61272
  _this5.$vnode.context.setFooterBtns();
61286
- _context2.next = 23;
61273
+ _context2.next = 19;
61287
61274
  break;
61288
61275
  case 5:
61289
61276
  if (!_this5.pdfSealChange) {
@@ -61330,63 +61317,65 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61330
61317
  // 非套红模式下可直接盖章
61331
61318
  isSeal = true;
61332
61319
  }
61333
- if (_this5.curTN.tnCanEdit === 1) {
61334
- if (_this5.seal && isSeal) {
61335
- openDocBtn = {
61336
- id: 'btn_openDoc',
61337
- btnName: '盖 章',
61338
- btnIcon: 'upload',
61339
- btnClick: _this5.openSeal,
61320
+ if (_this5.flBodyfile && _this5.flBodyfile.id) {
61321
+ if (_this5.curTN.tnCanEdit === 1) {
61322
+ if (_this5.seal && isSeal) {
61323
+ openDocBtn = {
61324
+ id: 'btn_openDoc',
61325
+ btnName: '盖 章',
61326
+ btnIcon: 'upload',
61327
+ btnClick: _this5.openSeal,
61328
+ btnPermission: '',
61329
+ btnStyleType: 'default'
61330
+ };
61331
+ footerBtns.splice(0, 0, openDocBtn);
61332
+ }
61333
+ if (_this5.sign && isSeal) {
61334
+ _openDocBtn = {
61335
+ id: 'btn_openDoc',
61336
+ btnName: '签 名',
61337
+ btnIcon: 'upload',
61338
+ btnClick: _this5.pdfSign,
61339
+ btnPermission: '',
61340
+ btnStyleType: 'default'
61341
+ };
61342
+ footerBtns.splice(0, 0, _openDocBtn);
61343
+ }
61344
+ }
61345
+ wfInstance = _this5.$vnode.context.wfInstance;
61346
+ if (wfInstance.passenger.attachH5CanDownload !== 0) {
61347
+ downloadBtn = {
61348
+ id: 'btn_download',
61349
+ btnName: '下 载',
61350
+ btnIcon: 'download',
61351
+ btnClick: _this5.downLoadFile,
61340
61352
  btnPermission: '',
61341
61353
  btnStyleType: 'default'
61342
61354
  };
61343
- footerBtns.splice(0, 0, openDocBtn);
61355
+ footerBtns.splice(0, 0, downloadBtn);
61344
61356
  }
61345
- if (_this5.sign && isSeal) {
61346
- _openDocBtn = {
61347
- id: 'btn_openDoc',
61348
- btnName: '签 名',
61357
+ if (_this5.flBodyfile.fileId) {
61358
+ historyFilesBtn = {
61359
+ id: 'btn_historyFiles',
61360
+ btnName: '历史版本',
61349
61361
  btnIcon: 'upload',
61350
- btnClick: _this5.pdfSign,
61362
+ btnClick: _this5.btnViewHistoryFilesClick,
61351
61363
  btnPermission: '',
61352
61364
  btnStyleType: 'default'
61353
61365
  };
61354
- footerBtns.splice(0, 0, _openDocBtn);
61366
+ footerBtns.splice(0, 0, historyFilesBtn);
61367
+ }
61368
+ if (window.mappType === 'ecinc') {
61369
+ otherAppBtn = {
61370
+ id: 'btn_otherApp',
61371
+ btnName: '其它应用打开',
61372
+ btnIcon: 'otherApp',
61373
+ btnClick: _this5.btnOtherAppOpenClick,
61374
+ btnPermission: '',
61375
+ btnStyleType: 'default'
61376
+ };
61377
+ footerBtns.splice(0, 0, otherAppBtn);
61355
61378
  }
61356
- }
61357
- wfInstance = _this5.$vnode.context.wfInstance;
61358
- if (_this5.flBodyfile && wfInstance.passenger.attachH5CanDownload !== 0) {
61359
- downloadBtn = {
61360
- id: 'btn_download',
61361
- btnName: '下 载',
61362
- btnIcon: 'download',
61363
- btnClick: _this5.downLoadFile,
61364
- btnPermission: '',
61365
- btnStyleType: 'default'
61366
- };
61367
- footerBtns.splice(0, 0, downloadBtn);
61368
- }
61369
- if (_this5.flBodyfile && _this5.flBodyfile.fileId) {
61370
- historyFilesBtn = {
61371
- id: 'btn_historyFiles',
61372
- btnName: '历史版本',
61373
- btnIcon: 'upload',
61374
- btnClick: _this5.btnViewHistoryFilesClick,
61375
- btnPermission: '',
61376
- btnStyleType: 'default'
61377
- };
61378
- footerBtns.splice(0, 0, historyFilesBtn);
61379
- }
61380
- if (window.mappType === 'ecinc') {
61381
- otherAppBtn = {
61382
- id: 'btn_otherApp',
61383
- btnName: '其它应用打开',
61384
- btnIcon: 'otherApp',
61385
- btnClick: _this5.btnOtherAppOpenClick,
61386
- btnPermission: '',
61387
- btnStyleType: 'default'
61388
- };
61389
- footerBtns.splice(0, 0, otherAppBtn);
61390
61379
  }
61391
61380
  if (_this5.curTN.tnCanEdit === 1) {
61392
61381
  if (!_this5.flBodyfile || !_this5.flBodyfile.id) {
@@ -61482,7 +61471,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61482
61471
  }
61483
61472
  console.log(footerBtns, 'footerBtns --- >363');
61484
61473
  _this5.$vnode.context.footerBtns = footerBtns;
61485
- case 23:
61474
+ case 19:
61486
61475
  case "end":
61487
61476
  return _context2.stop();
61488
61477
  }
@@ -61576,8 +61565,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61576
61565
  var url = "/apigw";
61577
61566
  url += this.wfAttachUrl.substring(0, 1) === '/' ? this.wfAttachUrl : '/' + this.wfAttachUrl;
61578
61567
  url += '/downloadById?topdf=false&attachIds=' + this.flBodyfile.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
61579
- this.flBodyfile.passenger.downloadUrl = url;
61580
- this.$wv.showAttachmentOtherApps(this.flBodyfile);
61568
+ window.$wv.downloadFile(url, null, this.flBodyfile.fileName, null);
61581
61569
  },
61582
61570
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
61583
61571
  var _this8 = this;
@@ -61614,9 +61602,8 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61614
61602
  if (!result) return;
61615
61603
  _this8.flBodyfile = _this8.flBodyfileBak;
61616
61604
  _this8.$nextTick(function () {
61617
- //input type=file对象,不允许在Promise中调用,只能位于用户点击事件处理函数的顶层同步代码中调用
61618
- //先触发按钮点击事件,图标click事件中再调用input type=file对象的click
61619
- _this8.$el.querySelector('#btn-upload').click();
61605
+ var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
61606
+ uploadBtn.click();
61620
61607
  });
61621
61608
  });
61622
61609
  });
@@ -61624,10 +61611,6 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61624
61611
  console.log(e);
61625
61612
  });
61626
61613
  },
61627
- openSelectFileDialog: function openSelectFileDialog() {
61628
- var uploadBtn = this.$el.querySelector('.van-uploader__input');
61629
- uploadBtn.click();
61630
- },
61631
61614
  btnOpenWordClick: function btnOpenWordClick() {
61632
61615
  var _this9 = this;
61633
61616
  // 编辑正文
@@ -62099,9 +62082,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
62099
62082
  });
62100
62083
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
62101
62084
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
62102
- // 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=5c5e59bf&prod&scoped=true&lang=scss
62103
- var BodyFilevue_type_style_index_0_id_5c5e59bf_prod_scoped_true_lang_scss = __webpack_require__(1696);
62104
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=5c5e59bf&prod&scoped=true&lang=scss
62085
+ // 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=337caa12&prod&scoped=true&lang=scss
62086
+ var BodyFilevue_type_style_index_0_id_337caa12_prod_scoped_true_lang_scss = __webpack_require__(5365);
62087
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=337caa12&prod&scoped=true&lang=scss
62105
62088
 
62106
62089
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
62107
62090
 
@@ -62114,11 +62097,11 @@ var BodyFilevue_type_style_index_0_id_5c5e59bf_prod_scoped_true_lang_scss = __we
62114
62097
 
62115
62098
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
62116
62099
  src_BodyFilevue_type_script_lang_js,
62117
- BodyFilevue_type_template_id_5c5e59bf_scoped_true_render,
62118
- BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns,
62100
+ BodyFilevue_type_template_id_337caa12_scoped_true_render,
62101
+ BodyFilevue_type_template_id_337caa12_scoped_true_staticRenderFns,
62119
62102
  false,
62120
62103
  null,
62121
- "5c5e59bf",
62104
+ "337caa12",
62122
62105
  null
62123
62106
 
62124
62107
  )