ecinc-cloud-mappaio 9.6.158 → 9.6.160

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
- /***/ 4372:
7705
+ /***/ 8580:
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-615a8c59]{margin-top:100px;text-align:center}.upload-progress[data-v-615a8c59]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-615a8c59]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-615a8c59]{font-size:70px}.file-svg-icon .svg-icon[data-v-615a8c59]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-615a8c59]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-615a8c59]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-615a8c59]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-615a8c59]{font-size:16px;margin-right:10px}[data-v-615a8c59] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-615a8c59]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-615a8c59]{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-615a8c59],.attachmentContent .attachmentContent_son .icon_right[data-v-615a8c59]{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-615a8c59]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-615a8c59]{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-615a8c59]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-615a8c59] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-615a8c59] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
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}", ""]);
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
- /***/ 3074:
34605
+ /***/ 1086:
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__(4372);
34611
+ var content = __webpack_require__(8580);
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("0ef94779", content, true, {"sourceMap":false,"shadowMode":false});
34617
+ var update = add("7befe3ae", 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=615a8c59&scoped=true
60534
- var BodyFilevue_type_template_id_615a8c59_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=5c5e59bf&scoped=true
60534
+ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render() {
60535
60535
  var _vm = this,
60536
60536
  _c = _vm._self._c;
60537
60537
  return _c('div', {
@@ -60684,7 +60684,20 @@ var BodyFilevue_type_template_id_615a8c59_scoped_true_render = function render()
60684
60684
  attrs: {
60685
60685
  "name": "add-o"
60686
60686
  }
60687
- })], 1), _c('PopupDialog', {
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', {
60688
60701
  attrs: {
60689
60702
  "showpop": _vm.historyDialogVisible,
60690
60703
  "title": _vm.$tx('ecmapp.wflowform.historicalVersion', '历史版本'),
@@ -60864,7 +60877,7 @@ var BodyFilevue_type_template_id_615a8c59_scoped_true_render = function render()
60864
60877
  }
60865
60878
  }, [_c('use', {
60866
60879
  attrs: {
60867
- "xlink:href": '#icon-file_' + item.fileName.split('.')[1]
60880
+ "xlink:href": '#icon-file_' + item.fileName.split('.')[item.fileName.split('.').length - 1]
60868
60881
  }
60869
60882
  })])]), _c('div', {
60870
60883
  staticClass: "content"
@@ -60900,7 +60913,7 @@ var BodyFilevue_type_template_id_615a8c59_scoped_true_render = function render()
60900
60913
  })])]) : _vm._e()]) : _vm._e()];
60901
60914
  })], 2)])], 1);
60902
60915
  };
60903
- var BodyFilevue_type_template_id_615a8c59_scoped_true_staticRenderFns = [];
60916
+ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns = [];
60904
60917
 
60905
60918
  ;// 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
60906
60919
  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); }
@@ -61591,8 +61604,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61591
61604
  if (!result) return;
61592
61605
  _this8.flBodyfile = _this8.flBodyfileBak;
61593
61606
  _this8.$nextTick(function () {
61594
- var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
61595
- uploadBtn.click();
61607
+ //input type=file对象,不允许在Promise中调用,只能位于用户点击事件处理函数的顶层同步代码中调用
61608
+ //先触发按钮点击事件,图标click事件中再调用input type=file对象的click
61609
+ _this8.$el.querySelector('#btn-upload').click();
61596
61610
  });
61597
61611
  });
61598
61612
  });
@@ -61600,6 +61614,10 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61600
61614
  console.log(e);
61601
61615
  });
61602
61616
  },
61617
+ openSelectFileDialog: function openSelectFileDialog() {
61618
+ var uploadBtn = this.$el.querySelector('.van-uploader__input');
61619
+ uploadBtn.click();
61620
+ },
61603
61621
  btnOpenWordClick: function btnOpenWordClick() {
61604
61622
  var _this9 = this;
61605
61623
  // 编辑正文
@@ -62071,9 +62089,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
62071
62089
  });
62072
62090
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
62073
62091
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
62074
- // 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=615a8c59&prod&scoped=true&lang=scss
62075
- var BodyFilevue_type_style_index_0_id_615a8c59_prod_scoped_true_lang_scss = __webpack_require__(3074);
62076
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=615a8c59&prod&scoped=true&lang=scss
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
62077
62095
 
62078
62096
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
62079
62097
 
@@ -62086,11 +62104,11 @@ var BodyFilevue_type_style_index_0_id_615a8c59_prod_scoped_true_lang_scss = __we
62086
62104
 
62087
62105
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
62088
62106
  src_BodyFilevue_type_script_lang_js,
62089
- BodyFilevue_type_template_id_615a8c59_scoped_true_render,
62090
- BodyFilevue_type_template_id_615a8c59_scoped_true_staticRenderFns,
62107
+ BodyFilevue_type_template_id_5c5e59bf_scoped_true_render,
62108
+ BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns,
62091
62109
  false,
62092
62110
  null,
62093
- "615a8c59",
62111
+ "5c5e59bf",
62094
62112
  null
62095
62113
 
62096
62114
  )
@@ -7712,7 +7712,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
7712
7712
 
7713
7713
  /***/ }),
7714
7714
 
7715
- /***/ 1812:
7715
+ /***/ 6020:
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-615a8c59]{margin-top:100px;text-align:center}.upload-progress[data-v-615a8c59]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-615a8c59]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-615a8c59]{font-size:70px}.file-svg-icon .svg-icon[data-v-615a8c59]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-615a8c59]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-615a8c59]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-615a8c59]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-615a8c59]{font-size:16px;margin-right:10px}[data-v-615a8c59] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-615a8c59]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-615a8c59]{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-615a8c59],.attachmentContent .attachmentContent_son .icon_right[data-v-615a8c59]{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-615a8c59]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-615a8c59]{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-615a8c59]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-615a8c59] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-615a8c59] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
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}", ""]);
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
- /***/ 2768:
34615
+ /***/ 1696:
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__(1812);
34621
+ var content = __webpack_require__(6020);
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("4bee6c3d", content, true, {"sourceMap":false,"shadowMode":false});
34627
+ var update = add("02059a26", 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=615a8c59&scoped=true
60544
- var BodyFilevue_type_template_id_615a8c59_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=5c5e59bf&scoped=true
60544
+ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_render = function render() {
60545
60545
  var _vm = this,
60546
60546
  _c = _vm._self._c;
60547
60547
  return _c('div', {
@@ -60694,7 +60694,20 @@ var BodyFilevue_type_template_id_615a8c59_scoped_true_render = function render()
60694
60694
  attrs: {
60695
60695
  "name": "add-o"
60696
60696
  }
60697
- })], 1), _c('PopupDialog', {
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', {
60698
60711
  attrs: {
60699
60712
  "showpop": _vm.historyDialogVisible,
60700
60713
  "title": _vm.$tx('ecmapp.wflowform.historicalVersion', '历史版本'),
@@ -60874,7 +60887,7 @@ var BodyFilevue_type_template_id_615a8c59_scoped_true_render = function render()
60874
60887
  }
60875
60888
  }, [_c('use', {
60876
60889
  attrs: {
60877
- "xlink:href": '#icon-file_' + item.fileName.split('.')[1]
60890
+ "xlink:href": '#icon-file_' + item.fileName.split('.')[item.fileName.split('.').length - 1]
60878
60891
  }
60879
60892
  })])]), _c('div', {
60880
60893
  staticClass: "content"
@@ -60910,7 +60923,7 @@ var BodyFilevue_type_template_id_615a8c59_scoped_true_render = function render()
60910
60923
  })])]) : _vm._e()]) : _vm._e()];
60911
60924
  })], 2)])], 1);
60912
60925
  };
60913
- var BodyFilevue_type_template_id_615a8c59_scoped_true_staticRenderFns = [];
60926
+ var BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns = [];
60914
60927
 
60915
60928
  ;// 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
60916
60929
  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); }
@@ -61601,8 +61614,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61601
61614
  if (!result) return;
61602
61615
  _this8.flBodyfile = _this8.flBodyfileBak;
61603
61616
  _this8.$nextTick(function () {
61604
- var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
61605
- uploadBtn.click();
61617
+ //input type=file对象,不允许在Promise中调用,只能位于用户点击事件处理函数的顶层同步代码中调用
61618
+ //先触发按钮点击事件,图标click事件中再调用input type=file对象的click
61619
+ _this8.$el.querySelector('#btn-upload').click();
61606
61620
  });
61607
61621
  });
61608
61622
  });
@@ -61610,6 +61624,10 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
61610
61624
  console.log(e);
61611
61625
  });
61612
61626
  },
61627
+ openSelectFileDialog: function openSelectFileDialog() {
61628
+ var uploadBtn = this.$el.querySelector('.van-uploader__input');
61629
+ uploadBtn.click();
61630
+ },
61613
61631
  btnOpenWordClick: function btnOpenWordClick() {
61614
61632
  var _this9 = this;
61615
61633
  // 编辑正文
@@ -62081,9 +62099,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
62081
62099
  });
62082
62100
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
62083
62101
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
62084
- // 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=615a8c59&prod&scoped=true&lang=scss
62085
- var BodyFilevue_type_style_index_0_id_615a8c59_prod_scoped_true_lang_scss = __webpack_require__(2768);
62086
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=615a8c59&prod&scoped=true&lang=scss
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
62087
62105
 
62088
62106
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
62089
62107
 
@@ -62096,11 +62114,11 @@ var BodyFilevue_type_style_index_0_id_615a8c59_prod_scoped_true_lang_scss = __we
62096
62114
 
62097
62115
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
62098
62116
  src_BodyFilevue_type_script_lang_js,
62099
- BodyFilevue_type_template_id_615a8c59_scoped_true_render,
62100
- BodyFilevue_type_template_id_615a8c59_scoped_true_staticRenderFns,
62117
+ BodyFilevue_type_template_id_5c5e59bf_scoped_true_render,
62118
+ BodyFilevue_type_template_id_5c5e59bf_scoped_true_staticRenderFns,
62101
62119
  false,
62102
62120
  null,
62103
- "615a8c59",
62121
+ "5c5e59bf",
62104
62122
  null
62105
62123
 
62106
62124
  )