ecinc-cloud-mappaio 9.6.45 → 9.6.47

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
- /***/ 683:
7226
+ /***/ 5529:
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-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)}", ""]);
7240
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-b21b262c],.wfattach-container[data-v-b21b262c] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-b21b262c] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-b21b262c] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-b21b262c] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-b21b262c] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-b21b262c] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-b21b262c] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-b21b262c]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-b21b262c]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-b21b262c]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-b21b262c]: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-b21b262c]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-b21b262c]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-b21b262c]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-b21b262c]{position:relative}.van-attachment-field[data-v-b21b262c]: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
- /***/ 8353:
32424
+ /***/ 2871:
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__(683);
32430
+ var content = __webpack_require__(5529);
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("593b10d2", content, true, {"sourceMap":false,"shadowMode":false});
32436
+ var update = add("aaeb4ace", 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=c6bd8876&scoped=true
56233
- var Attachmentvue_type_template_id_c6bd8876_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=b21b262c&scoped=true
56233
+ var Attachmentvue_type_template_id_b21b262c_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_c6bd8876_scoped_true_render = function render
56491
56491
  }
56492
56492
  })], 1) : _vm._e()], 1);
56493
56493
  };
56494
- var Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns = [];
56494
+ var Attachmentvue_type_template_id_b21b262c_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); }
@@ -56695,7 +56695,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56695
56695
  },
56696
56696
  created: function created() {
56697
56697
  if (!this.limitCount) this.limitCount = 100;
56698
- if (!this.onlineFile) this.onlineEditor = '';
56699
56698
  if (this.curTN.tnCanEdit === undefined) {
56700
56699
  // 非流程表单
56701
56700
  var $scope = this.$vnode.context;
@@ -56713,6 +56712,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56713
56712
  },
56714
56713
  beforeDestroy: function beforeDestroy() {},
56715
56714
  updated: function updated() {
56715
+ if (!this.onlineFile) this.onlineEditor = '';
56716
56716
  this.setWfAttachUrl();
56717
56717
  },
56718
56718
  mounted: function mounted() {
@@ -56886,10 +56886,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56886
56886
  }
56887
56887
  }
56888
56888
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
56889
- _context.next = 22;
56889
+ _context.next = 21;
56890
56890
  break;
56891
56891
  }
56892
- _this6.$vnode.context.doing = true;
56893
56892
  tSessionId = res.body.tSessionId;
56894
56893
  hostname = location.href.split('mindex.html')[0];
56895
56894
  downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this6.wfAttachUrl + '/downloadById?attachIds=' + attach.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
@@ -56904,7 +56903,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56904
56903
  downUrl += _this6.viewerUrlParams;
56905
56904
  }
56906
56905
  $.post(downUrl, {}, function (res) {
56907
- _this6.$vnode.context.doing = false;
56908
56906
  if (res.errorcode === 0) {
56909
56907
  window.open(res.data.viewUrl);
56910
56908
  } else {
@@ -56913,11 +56911,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56913
56911
  });
56914
56912
  }
56915
56913
  }, 'json');
56916
- _context.next = 66;
56914
+ _context.next = 64;
56917
56915
  break;
56918
- case 22:
56916
+ case 21:
56919
56917
  if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd'))) {
56920
- _context.next = 41;
56918
+ _context.next = 39;
56921
56919
  break;
56922
56920
  }
56923
56921
  // 打开 wps h5
@@ -56925,10 +56923,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56925
56923
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
56926
56924
  appUrl = 'http://toa.ecinc.com.cn:2028/';
56927
56925
  }
56928
- _this6.$vnode.context.doing = true;
56929
- _context.next = 28;
56926
+ _context.next = 26;
56930
56927
  return _this6.getSessionId();
56931
- case 28:
56928
+ case 26:
56932
56929
  _tSessionId = _context.sent;
56933
56930
  //正文下载地址
56934
56931
  _downUrl = appUrl + "/apigw";
@@ -56960,41 +56957,42 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56960
56957
  var editorUrl = './plugins/wpsjs/h5office/editor.html';
56961
56958
  editorUrl += '?token=' + encodeURI(res.body.accessToken);
56962
56959
  editorUrl += '&signatureurl=' + encodeURIComponent(res.body.url);
56963
- window.open(editorUrl); // 打开
56960
+ //window.open(editorUrl) // 打开
56961
+ _this6.$mappUtils.downLoadAndOpenFile(_this6, editorUrl, attach.fileName, attach.fileRealSize);
56964
56962
  } else {
56965
56963
  _this6.$dialog.alert({
56966
56964
  message: res.message
56967
56965
  });
56968
56966
  }
56969
- _this6.$vnode.context.doing = false;
56970
56967
  });
56971
- _context.next = 66;
56968
+ _context.next = 64;
56972
56969
  break;
56973
- case 41:
56970
+ case 39:
56974
56971
  if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
56975
- _context.next = 58;
56972
+ _context.next = 56;
56976
56973
  break;
56977
56974
  }
56978
56975
  _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
56979
- _context.next = 45;
56976
+ _context.next = 43;
56980
56977
  return _this6.getSessionId();
56981
- case 45:
56978
+ case 43:
56982
56979
  _tSessionId2 = _context.sent;
56983
56980
  if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
56984
- _context.next = 50;
56981
+ _context.next = 48;
56985
56982
  break;
56986
56983
  }
56987
56984
  sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
56988
56985
  window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
56989
56986
  return _context.abrupt("return");
56990
- case 50:
56987
+ case 48:
56991
56988
  _downUrl2 = _appUrl + "/apigw";
56992
56989
  _downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
56993
56990
  _downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
56994
56991
  _downUrl2 += _this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : '';
56995
56992
  _downUrl2 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId2;
56996
56993
  if (_this6.fuxinBaseUrl) {
56997
- window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
56994
+ //window.open(this.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl))
56995
+ _this6.$mappUtils.downLoadAndOpenFile(_this6, his.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2), attach.fileName, attach.fileRealSize);
56998
56996
  } else {
56999
56997
  _this6.$http({
57000
56998
  method: 'get',
@@ -57003,7 +57001,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57003
57001
  }).then(function (res) {
57004
57002
  if (res.code === 'success') {
57005
57003
  _this6.fuxinBaseUrl = res.body.value;
57006
- window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
57004
+ //window.open(this.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl))
57005
+ _this6.$mappUtils.downLoadAndOpenFile(_this6, his.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2), attach.fileName, attach.fileRealSize);
57007
57006
  } else {
57008
57007
  _this6.$dialog.alert({
57009
57008
  message: '未配置福星预览地址参数 fuxin.viewer.url'
@@ -57011,9 +57010,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57011
57010
  }
57012
57011
  });
57013
57012
  }
57014
- _context.next = 66;
57013
+ _context.next = 64;
57015
57014
  break;
57016
- case 58:
57015
+ case 56:
57017
57016
  url = "/apigw";
57018
57017
  url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
57019
57018
  url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
@@ -57029,7 +57028,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57029
57028
  }
57030
57029
  }
57031
57030
  _this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
57032
- case 66:
57031
+ case 64:
57033
57032
  case "end":
57034
57033
  return _context.stop();
57035
57034
  }
@@ -57500,9 +57499,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57500
57499
  });
57501
57500
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
57502
57501
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
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
57502
+ // 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=b21b262c&prod&scoped=true&lang=scss
57503
+ var Attachmentvue_type_style_index_0_id_b21b262c_prod_scoped_true_lang_scss = __webpack_require__(2871);
57504
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=b21b262c&prod&scoped=true&lang=scss
57506
57505
 
57507
57506
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
57508
57507
 
@@ -57515,11 +57514,11 @@ var Attachmentvue_type_style_index_0_id_c6bd8876_prod_scoped_true_lang_scss = __
57515
57514
 
57516
57515
  var Attachment_component = (0,componentNormalizer/* default */.A)(
57517
57516
  src_Attachmentvue_type_script_lang_js,
57518
- Attachmentvue_type_template_id_c6bd8876_scoped_true_render,
57519
- Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns,
57517
+ Attachmentvue_type_template_id_b21b262c_scoped_true_render,
57518
+ Attachmentvue_type_template_id_b21b262c_scoped_true_staticRenderFns,
57520
57519
  false,
57521
57520
  null,
57522
- "c6bd8876",
57521
+ "b21b262c",
57523
57522
  null
57524
57523
 
57525
57524
  )
@@ -7233,7 +7233,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
7233
7233
 
7234
7234
  /***/ }),
7235
7235
 
7236
- /***/ 4139:
7236
+ /***/ 8985:
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-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)}", ""]);
7250
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-b21b262c],.wfattach-container[data-v-b21b262c] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-b21b262c] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-b21b262c] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-b21b262c] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-b21b262c] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-b21b262c] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-b21b262c] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-b21b262c]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-b21b262c]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-b21b262c]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-b21b262c]: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-b21b262c]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-b21b262c]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-b21b262c]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-b21b262c]{position:relative}.van-attachment-field[data-v-b21b262c]: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
- /***/ 247:
32434
+ /***/ 1341:
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__(4139);
32440
+ var content = __webpack_require__(8985);
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("d820cb4a", content, true, {"sourceMap":false,"shadowMode":false});
32446
+ var update = add("6b177d5d", 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=c6bd8876&scoped=true
56243
- var Attachmentvue_type_template_id_c6bd8876_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=b21b262c&scoped=true
56243
+ var Attachmentvue_type_template_id_b21b262c_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_c6bd8876_scoped_true_render = function render
56501
56501
  }
56502
56502
  })], 1) : _vm._e()], 1);
56503
56503
  };
56504
- var Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns = [];
56504
+ var Attachmentvue_type_template_id_b21b262c_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); }
@@ -56705,7 +56705,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56705
56705
  },
56706
56706
  created: function created() {
56707
56707
  if (!this.limitCount) this.limitCount = 100;
56708
- if (!this.onlineFile) this.onlineEditor = '';
56709
56708
  if (this.curTN.tnCanEdit === undefined) {
56710
56709
  // 非流程表单
56711
56710
  var $scope = this.$vnode.context;
@@ -56723,6 +56722,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56723
56722
  },
56724
56723
  beforeDestroy: function beforeDestroy() {},
56725
56724
  updated: function updated() {
56725
+ if (!this.onlineFile) this.onlineEditor = '';
56726
56726
  this.setWfAttachUrl();
56727
56727
  },
56728
56728
  mounted: function mounted() {
@@ -56896,10 +56896,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56896
56896
  }
56897
56897
  }
56898
56898
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
56899
- _context.next = 22;
56899
+ _context.next = 21;
56900
56900
  break;
56901
56901
  }
56902
- _this6.$vnode.context.doing = true;
56903
56902
  tSessionId = res.body.tSessionId;
56904
56903
  hostname = location.href.split('mindex.html')[0];
56905
56904
  downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this6.wfAttachUrl + '/downloadById?attachIds=' + attach.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
@@ -56914,7 +56913,6 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56914
56913
  downUrl += _this6.viewerUrlParams;
56915
56914
  }
56916
56915
  $.post(downUrl, {}, function (res) {
56917
- _this6.$vnode.context.doing = false;
56918
56916
  if (res.errorcode === 0) {
56919
56917
  window.open(res.data.viewUrl);
56920
56918
  } else {
@@ -56923,11 +56921,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56923
56921
  });
56924
56922
  }
56925
56923
  }, 'json');
56926
- _context.next = 66;
56924
+ _context.next = 64;
56927
56925
  break;
56928
- case 22:
56926
+ case 21:
56929
56927
  if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd'))) {
56930
- _context.next = 41;
56928
+ _context.next = 39;
56931
56929
  break;
56932
56930
  }
56933
56931
  // 打开 wps h5
@@ -56935,10 +56933,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56935
56933
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
56936
56934
  appUrl = 'http://toa.ecinc.com.cn:2028/';
56937
56935
  }
56938
- _this6.$vnode.context.doing = true;
56939
- _context.next = 28;
56936
+ _context.next = 26;
56940
56937
  return _this6.getSessionId();
56941
- case 28:
56938
+ case 26:
56942
56939
  _tSessionId = _context.sent;
56943
56940
  //正文下载地址
56944
56941
  _downUrl = appUrl + "/apigw";
@@ -56970,41 +56967,42 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56970
56967
  var editorUrl = './plugins/wpsjs/h5office/editor.html';
56971
56968
  editorUrl += '?token=' + encodeURI(res.body.accessToken);
56972
56969
  editorUrl += '&signatureurl=' + encodeURIComponent(res.body.url);
56973
- window.open(editorUrl); // 打开
56970
+ //window.open(editorUrl) // 打开
56971
+ _this6.$mappUtils.downLoadAndOpenFile(_this6, editorUrl, attach.fileName, attach.fileRealSize);
56974
56972
  } else {
56975
56973
  _this6.$dialog.alert({
56976
56974
  message: res.message
56977
56975
  });
56978
56976
  }
56979
- _this6.$vnode.context.doing = false;
56980
56977
  });
56981
- _context.next = 66;
56978
+ _context.next = 64;
56982
56979
  break;
56983
- case 41:
56980
+ case 39:
56984
56981
  if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
56985
- _context.next = 58;
56982
+ _context.next = 56;
56986
56983
  break;
56987
56984
  }
56988
56985
  _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
56989
- _context.next = 45;
56986
+ _context.next = 43;
56990
56987
  return _this6.getSessionId();
56991
- case 45:
56988
+ case 43:
56992
56989
  _tSessionId2 = _context.sent;
56993
56990
  if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
56994
- _context.next = 50;
56991
+ _context.next = 48;
56995
56992
  break;
56996
56993
  }
56997
56994
  sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
56998
56995
  window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
56999
56996
  return _context.abrupt("return");
57000
- case 50:
56997
+ case 48:
57001
56998
  _downUrl2 = _appUrl + "/apigw";
57002
56999
  _downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
57003
57000
  _downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
57004
57001
  _downUrl2 += _this6.waterMark ? '&waterMark=' + _this6.waterMark + '&markContent=' + _this6.markContent : '';
57005
57002
  _downUrl2 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId2;
57006
57003
  if (_this6.fuxinBaseUrl) {
57007
- window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
57004
+ //window.open(this.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl))
57005
+ _this6.$mappUtils.downLoadAndOpenFile(_this6, his.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2), attach.fileName, attach.fileRealSize);
57008
57006
  } else {
57009
57007
  _this6.$http({
57010
57008
  method: 'get',
@@ -57013,7 +57011,8 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57013
57011
  }).then(function (res) {
57014
57012
  if (res.code === 'success') {
57015
57013
  _this6.fuxinBaseUrl = res.body.value;
57016
- window.open(_this6.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2));
57014
+ //window.open(this.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl))
57015
+ _this6.$mappUtils.downLoadAndOpenFile(_this6, his.fuxinBaseUrl + '?docuri=' + encodeURIComponent(_downUrl2), attach.fileName, attach.fileRealSize);
57017
57016
  } else {
57018
57017
  _this6.$dialog.alert({
57019
57018
  message: '未配置福星预览地址参数 fuxin.viewer.url'
@@ -57021,9 +57020,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57021
57020
  }
57022
57021
  });
57023
57022
  }
57024
- _context.next = 66;
57023
+ _context.next = 64;
57025
57024
  break;
57026
- case 58:
57025
+ case 56:
57027
57026
  url = "/apigw";
57028
57027
  url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
57029
57028
  url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
@@ -57039,7 +57038,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57039
57038
  }
57040
57039
  }
57041
57040
  _this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
57042
- case 66:
57041
+ case 64:
57043
57042
  case "end":
57044
57043
  return _context.stop();
57045
57044
  }
@@ -57510,9 +57509,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
57510
57509
  });
57511
57510
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
57512
57511
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
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
57512
+ // 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=b21b262c&prod&scoped=true&lang=scss
57513
+ var Attachmentvue_type_style_index_0_id_b21b262c_prod_scoped_true_lang_scss = __webpack_require__(1341);
57514
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=b21b262c&prod&scoped=true&lang=scss
57516
57515
 
57517
57516
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
57518
57517
 
@@ -57525,11 +57524,11 @@ var Attachmentvue_type_style_index_0_id_c6bd8876_prod_scoped_true_lang_scss = __
57525
57524
 
57526
57525
  var Attachment_component = (0,componentNormalizer/* default */.A)(
57527
57526
  src_Attachmentvue_type_script_lang_js,
57528
- Attachmentvue_type_template_id_c6bd8876_scoped_true_render,
57529
- Attachmentvue_type_template_id_c6bd8876_scoped_true_staticRenderFns,
57527
+ Attachmentvue_type_template_id_b21b262c_scoped_true_render,
57528
+ Attachmentvue_type_template_id_b21b262c_scoped_true_staticRenderFns,
57530
57529
  false,
57531
57530
  null,
57532
- "c6bd8876",
57531
+ "b21b262c",
57533
57532
  null
57534
57533
 
57535
57534
  )