ecinc-cloud-mappaio 9.6.43 → 9.6.45

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.
@@ -7223,7 +7223,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
7223
7223
 
7224
7224
  /***/ }),
7225
7225
 
7226
- /***/ 6275:
7226
+ /***/ 683:
7227
7227
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7228
7228
 
7229
7229
  "use strict";
@@ -7237,7 +7237,7 @@ __webpack_require__.r(__webpack_exports__);
7237
7237
 
7238
7238
  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()));
7239
7239
  // Module
7240
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-fb72985a],.wfattach-container[data-v-fb72985a] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-fb72985a] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-fb72985a] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-fb72985a] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-fb72985a] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-fb72985a] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-fb72985a] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-fb72985a]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]: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-fb72985a]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-fb72985a]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-fb72985a]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-fb72985a]{position:relative}.van-attachment-field[data-v-fb72985a]: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)}", ""]);
7240
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-c6bd8876],.wfattach-container[data-v-c6bd8876] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-c6bd8876] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-c6bd8876] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-c6bd8876]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]: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-c6bd8876]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-c6bd8876]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-c6bd8876]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-c6bd8876]{position:relative}.van-attachment-field[data-v-c6bd8876]: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)}", ""]);
7241
7241
  // Exports
7242
7242
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7243
7243
 
@@ -32421,19 +32421,19 @@ var update = add("a502c74c", content, true, {"sourceMap":false,"shadowMode":fals
32421
32421
 
32422
32422
  /***/ }),
32423
32423
 
32424
- /***/ 4317:
32424
+ /***/ 8353:
32425
32425
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32426
32426
 
32427
32427
  // style-loader: Adds some css to the DOM by adding a <style> tag
32428
32428
 
32429
32429
  // load the styles
32430
- var content = __webpack_require__(6275);
32430
+ var content = __webpack_require__(683);
32431
32431
  if(content.__esModule) content = content.default;
32432
32432
  if(typeof content === 'string') content = [[module.id, content, '']];
32433
32433
  if(content.locals) module.exports = content.locals;
32434
32434
  // add the styles to the DOM
32435
32435
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32436
- var update = add("197c4f45", content, true, {"sourceMap":false,"shadowMode":false});
32436
+ var update = add("593b10d2", content, true, {"sourceMap":false,"shadowMode":false});
32437
32437
 
32438
32438
  /***/ }),
32439
32439
 
@@ -56229,8 +56229,8 @@ WfStatus_src.install = function (Vue) {
56229
56229
  Vue.component(WfStatus_src.name, WfStatus_src);
56230
56230
  };
56231
56231
  /* harmony default export */ var WfStatus = (WfStatus_src);
56232
- ;// 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=fb72985a&scoped=true
56233
- var Attachmentvue_type_template_id_fb72985a_scoped_true_render = function render() {
56232
+ ;// 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=c6bd8876&scoped=true
56233
+ var Attachmentvue_type_template_id_c6bd8876_scoped_true_render = function render() {
56234
56234
  var _vm = this,
56235
56235
  _c = _vm._self._c;
56236
56236
  return _c('div', {
@@ -56491,7 +56491,7 @@ var Attachmentvue_type_template_id_fb72985a_scoped_true_render = function render
56491
56491
  }
56492
56492
  })], 1) : _vm._e()], 1);
56493
56493
  };
56494
- var Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns = [];
56494
+ var Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns = [];
56495
56495
 
56496
56496
  ;// 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
56497
56497
  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); }
@@ -56550,7 +56550,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56550
56550
  type: String,
56551
56551
  default: ''
56552
56552
  },
56553
- // doc转pdf在线预览文件格式
56553
+ // 附件在线编辑文件格式
56554
56554
  viewer: {
56555
56555
  type: String,
56556
56556
  default: 'pdfjs'
@@ -56641,7 +56641,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56641
56641
  rename: ''
56642
56642
  },
56643
56643
  licExpiredAlert: null,
56644
- loginUser: this.$store.getters.loginUser
56644
+ loginUser: this.$store.getters.loginUser,
56645
+ topdfFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx' //pdfjs在线预览支持转pdf的文件格式
56645
56646
  };
56646
56647
  },
56647
56648
  computed: Attachmentvue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
@@ -56694,6 +56695,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56694
56695
  },
56695
56696
  created: function created() {
56696
56697
  if (!this.limitCount) this.limitCount = 100;
56698
+ if (!this.onlineFile) this.onlineEditor = '';
56697
56699
  if (this.curTN.tnCanEdit === undefined) {
56698
56700
  // 非流程表单
56699
56701
  var $scope = this.$vnode.context;
@@ -56721,9 +56723,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56721
56723
  _this3.$forceUpdate();
56722
56724
  }
56723
56725
  }, 500);
56724
- if (!this.onlineFile) {
56725
- this.onlineFile = '.doc,.docx,.xls,.xlsx,.ppt,.pptx';
56726
- }
56727
56726
 
56728
56727
  // 添加到basicform组件管理的附件组件数组中,实现一个表单多个附件组件可正常上传功能
56729
56728
  var refsAttachments = this.$vnode.context.refsAttachments || this.$vnode.context.$parent.refsAttachments || this.$vnode.context.$parent.$vnode.context.refsAttachments;
@@ -56769,7 +56768,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56769
56768
  var extName = '';
56770
56769
  if (attach.fileName.indexOf('.') !== -1) {
56771
56770
  extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
56772
- if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.onlineFile + ',').indexOf(extName + ',') !== -1) {
56771
+ if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.topdfFile + ',').indexOf(extName + ',') !== -1) {
56773
56772
  topdf = true;
56774
56773
  }
56775
56774
  }
@@ -56882,12 +56881,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56882
56881
  }
56883
56882
  if (device !== 'qywx' && device !== 'zwwx') {
56884
56883
  // 企业微信、粤政易支持文档在线预览,不需要转pdf
56885
- if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.onlineFile + ',').indexOf(extName + ',') !== -1) {
56884
+ if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.topdfFile + ',').indexOf(extName + ',') !== -1) {
56886
56885
  topdf = true;
56887
56886
  }
56888
- } else if ((_this6.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
56889
- // 后端支持ofd转pdf
56890
- topdf = true;
56891
56887
  }
56892
56888
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
56893
56889
  _context.next = 22;
@@ -56925,7 +56921,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56925
56921
  break;
56926
56922
  }
56927
56923
  // 打开 wps h5
56928
- appUrl = location.href.split('#')[0].split('windex.html')[0]; // 开发调试期间指定地址
56924
+ appUrl = location.href.split('#')[0].split('mindex.html')[0]; // 开发调试期间指定地址
56929
56925
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
56930
56926
  appUrl = 'http://toa.ecinc.com.cn:2028/';
56931
56927
  }
@@ -56979,7 +56975,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56979
56975
  _context.next = 58;
56980
56976
  break;
56981
56977
  }
56982
- _appUrl = location.href.split('#')[0]; // url
56978
+ _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
56983
56979
  _context.next = 45;
56984
56980
  return _this6.getSessionId();
56985
56981
  case 45:
@@ -57504,9 +57500,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57504
57500
  });
57505
57501
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
57506
57502
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
57507
- // 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=fb72985a&prod&scoped=true&lang=scss
57508
- var Attachmentvue_type_style_index_0_id_fb72985a_prod_scoped_true_lang_scss = __webpack_require__(4317);
57509
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
57503
+ // 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=c6bd8876&prod&scoped=true&lang=scss
57504
+ var Attachmentvue_type_style_index_0_id_c6bd8876_prod_scoped_true_lang_scss = __webpack_require__(8353);
57505
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c6bd8876&prod&scoped=true&lang=scss
57510
57506
 
57511
57507
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
57512
57508
 
@@ -57519,11 +57515,11 @@ var Attachmentvue_type_style_index_0_id_fb72985a_prod_scoped_true_lang_scss = __
57519
57515
 
57520
57516
  var Attachment_component = (0,componentNormalizer/* default */.A)(
57521
57517
  src_Attachmentvue_type_script_lang_js,
57522
- Attachmentvue_type_template_id_fb72985a_scoped_true_render,
57523
- Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns,
57518
+ Attachmentvue_type_template_id_c6bd8876_scoped_true_render,
57519
+ Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns,
57524
57520
  false,
57525
57521
  null,
57526
- "fb72985a",
57522
+ "c6bd8876",
57527
57523
  null
57528
57524
 
57529
57525
  )
@@ -7233,7 +7233,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
7233
7233
 
7234
7234
  /***/ }),
7235
7235
 
7236
- /***/ 3379:
7236
+ /***/ 4139:
7237
7237
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7238
7238
 
7239
7239
  "use strict";
@@ -7247,7 +7247,7 @@ __webpack_require__.r(__webpack_exports__);
7247
7247
 
7248
7248
  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()));
7249
7249
  // Module
7250
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-fb72985a],.wfattach-container[data-v-fb72985a] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-fb72985a] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-fb72985a] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-fb72985a] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-fb72985a] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-fb72985a] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-fb72985a] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-fb72985a]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-fb72985a]: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-fb72985a]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-fb72985a]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-fb72985a]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-fb72985a]{position:relative}.van-attachment-field[data-v-fb72985a]: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)}", ""]);
7250
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-c6bd8876],.wfattach-container[data-v-c6bd8876] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-c6bd8876] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-c6bd8876] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-c6bd8876] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-c6bd8876] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-c6bd8876]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-c6bd8876]: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-c6bd8876]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-c6bd8876]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-c6bd8876]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-c6bd8876]{position:relative}.van-attachment-field[data-v-c6bd8876]: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)}", ""]);
7251
7251
  // Exports
7252
7252
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7253
7253
 
@@ -32431,19 +32431,19 @@ var update = add("04d25616", content, true, {"sourceMap":false,"shadowMode":fals
32431
32431
 
32432
32432
  /***/ }),
32433
32433
 
32434
- /***/ 8631:
32434
+ /***/ 247:
32435
32435
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32436
32436
 
32437
32437
  // style-loader: Adds some css to the DOM by adding a <style> tag
32438
32438
 
32439
32439
  // load the styles
32440
- var content = __webpack_require__(3379);
32440
+ var content = __webpack_require__(4139);
32441
32441
  if(content.__esModule) content = content.default;
32442
32442
  if(typeof content === 'string') content = [[module.id, content, '']];
32443
32443
  if(content.locals) module.exports = content.locals;
32444
32444
  // add the styles to the DOM
32445
32445
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32446
- var update = add("4bed1bee", content, true, {"sourceMap":false,"shadowMode":false});
32446
+ var update = add("d820cb4a", content, true, {"sourceMap":false,"shadowMode":false});
32447
32447
 
32448
32448
  /***/ }),
32449
32449
 
@@ -56239,8 +56239,8 @@ WfStatus_src.install = function (Vue) {
56239
56239
  Vue.component(WfStatus_src.name, WfStatus_src);
56240
56240
  };
56241
56241
  /* harmony default export */ var WfStatus = (WfStatus_src);
56242
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=fb72985a&scoped=true
56243
- var Attachmentvue_type_template_id_fb72985a_scoped_true_render = function render() {
56242
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=c6bd8876&scoped=true
56243
+ var Attachmentvue_type_template_id_c6bd8876_scoped_true_render = function render() {
56244
56244
  var _vm = this,
56245
56245
  _c = _vm._self._c;
56246
56246
  return _c('div', {
@@ -56501,7 +56501,7 @@ var Attachmentvue_type_template_id_fb72985a_scoped_true_render = function render
56501
56501
  }
56502
56502
  })], 1) : _vm._e()], 1);
56503
56503
  };
56504
- var Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns = [];
56504
+ var Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns = [];
56505
56505
 
56506
56506
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
56507
56507
  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); }
@@ -56560,7 +56560,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56560
56560
  type: String,
56561
56561
  default: ''
56562
56562
  },
56563
- // doc转pdf在线预览文件格式
56563
+ // 附件在线编辑文件格式
56564
56564
  viewer: {
56565
56565
  type: String,
56566
56566
  default: 'pdfjs'
@@ -56651,7 +56651,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56651
56651
  rename: ''
56652
56652
  },
56653
56653
  licExpiredAlert: null,
56654
- loginUser: this.$store.getters.loginUser
56654
+ loginUser: this.$store.getters.loginUser,
56655
+ topdfFile: '.doc,.docx,.xls,.xlsx,.ppt,.pptx' //pdfjs在线预览支持转pdf的文件格式
56655
56656
  };
56656
56657
  },
56657
56658
  computed: Attachmentvue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
@@ -56704,6 +56705,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56704
56705
  },
56705
56706
  created: function created() {
56706
56707
  if (!this.limitCount) this.limitCount = 100;
56708
+ if (!this.onlineFile) this.onlineEditor = '';
56707
56709
  if (this.curTN.tnCanEdit === undefined) {
56708
56710
  // 非流程表单
56709
56711
  var $scope = this.$vnode.context;
@@ -56731,9 +56733,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56731
56733
  _this3.$forceUpdate();
56732
56734
  }
56733
56735
  }, 500);
56734
- if (!this.onlineFile) {
56735
- this.onlineFile = '.doc,.docx,.xls,.xlsx,.ppt,.pptx';
56736
- }
56737
56736
 
56738
56737
  // 添加到basicform组件管理的附件组件数组中,实现一个表单多个附件组件可正常上传功能
56739
56738
  var refsAttachments = this.$vnode.context.refsAttachments || this.$vnode.context.$parent.refsAttachments || this.$vnode.context.$parent.$vnode.context.refsAttachments;
@@ -56779,7 +56778,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56779
56778
  var extName = '';
56780
56779
  if (attach.fileName.indexOf('.') !== -1) {
56781
56780
  extName = attach.fileName.substring(attach.fileName.lastIndexOf('.')).toLowerCase();
56782
- if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.onlineFile + ',').indexOf(extName + ',') !== -1) {
56781
+ if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (this.topdfFile + ',').indexOf(extName + ',') !== -1) {
56783
56782
  topdf = true;
56784
56783
  }
56785
56784
  }
@@ -56892,12 +56891,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56892
56891
  }
56893
56892
  if (device !== 'qywx' && device !== 'zwwx') {
56894
56893
  // 企业微信、粤政易支持文档在线预览,不需要转pdf
56895
- if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.onlineFile + ',').indexOf(extName + ',') !== -1) {
56894
+ if (extName !== '' && extName !== '.pdf' && extName !== '.pdfx' && (_this6.topdfFile + ',').indexOf(extName + ',') !== -1) {
56896
56895
  topdf = true;
56897
56896
  }
56898
- } else if ((_this6.onlineFile + ',').indexOf('.ofd,') !== -1 && extName === '.ofd') {
56899
- // 后端支持ofd转pdf
56900
- topdf = true;
56901
56897
  }
56902
56898
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
56903
56899
  _context.next = 22;
@@ -56935,7 +56931,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56935
56931
  break;
56936
56932
  }
56937
56933
  // 打开 wps h5
56938
- appUrl = location.href.split('#')[0].split('windex.html')[0]; // 开发调试期间指定地址
56934
+ appUrl = location.href.split('#')[0].split('mindex.html')[0]; // 开发调试期间指定地址
56939
56935
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
56940
56936
  appUrl = 'http://toa.ecinc.com.cn:2028/';
56941
56937
  }
@@ -56989,7 +56985,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56989
56985
  _context.next = 58;
56990
56986
  break;
56991
56987
  }
56992
- _appUrl = location.href.split('#')[0]; // url
56988
+ _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
56993
56989
  _context.next = 45;
56994
56990
  return _this6.getSessionId();
56995
56991
  case 45:
@@ -57514,9 +57510,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57514
57510
  });
57515
57511
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
57516
57512
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
57517
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
57518
- var Attachmentvue_type_style_index_0_id_fb72985a_prod_scoped_true_lang_scss = __webpack_require__(8631);
57519
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=fb72985a&prod&scoped=true&lang=scss
57513
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c6bd8876&prod&scoped=true&lang=scss
57514
+ var Attachmentvue_type_style_index_0_id_c6bd8876_prod_scoped_true_lang_scss = __webpack_require__(247);
57515
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=c6bd8876&prod&scoped=true&lang=scss
57520
57516
 
57521
57517
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
57522
57518
 
@@ -57529,11 +57525,11 @@ var Attachmentvue_type_style_index_0_id_fb72985a_prod_scoped_true_lang_scss = __
57529
57525
 
57530
57526
  var Attachment_component = (0,componentNormalizer/* default */.A)(
57531
57527
  src_Attachmentvue_type_script_lang_js,
57532
- Attachmentvue_type_template_id_fb72985a_scoped_true_render,
57533
- Attachmentvue_type_template_id_fb72985a_scoped_true_staticRenderFns,
57528
+ Attachmentvue_type_template_id_c6bd8876_scoped_true_render,
57529
+ Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns,
57534
57530
  false,
57535
57531
  null,
57536
- "fb72985a",
57532
+ "c6bd8876",
57537
57533
  null
57538
57534
 
57539
57535
  )