ecinc-cloud-mappaio 9.6.120 → 9.6.121

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.
@@ -7611,7 +7611,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
7611
7611
 
7612
7612
  /***/ }),
7613
7613
 
7614
- /***/ 9915:
7614
+ /***/ 994:
7615
7615
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7616
7616
 
7617
7617
  "use strict";
@@ -7625,7 +7625,7 @@ __webpack_require__.r(__webpack_exports__);
7625
7625
 
7626
7626
  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()));
7627
7627
  // Module
7628
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-60e13902],.wfattach-container[data-v-60e13902] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-60e13902] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-60e13902] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-60e13902] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-60e13902] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-60e13902] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-60e13902] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-60e13902]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]: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-60e13902]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-60e13902]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-60e13902]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-60e13902]{position:relative}.van-attachment-field[data-v-60e13902]: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)}", ""]);
7628
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-222c1f3d],.wfattach-container[data-v-222c1f3d] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-222c1f3d] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-222c1f3d] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-222c1f3d] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-222c1f3d] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-222c1f3d] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-222c1f3d] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-222c1f3d]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-222c1f3d]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-222c1f3d]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-222c1f3d]: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-222c1f3d]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-222c1f3d]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-222c1f3d]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-222c1f3d]{position:relative}.van-attachment-field[data-v-222c1f3d]: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)}", ""]);
7629
7629
  // Exports
7630
7630
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7631
7631
 
@@ -34516,19 +34516,19 @@ var update = add("4ff8cc4e", content, true, {"sourceMap":false,"shadowMode":fals
34516
34516
 
34517
34517
  /***/ }),
34518
34518
 
34519
- /***/ 2993:
34519
+ /***/ 4380:
34520
34520
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
34521
34521
 
34522
34522
  // style-loader: Adds some css to the DOM by adding a <style> tag
34523
34523
 
34524
34524
  // load the styles
34525
- var content = __webpack_require__(9915);
34525
+ var content = __webpack_require__(994);
34526
34526
  if(content.__esModule) content = content.default;
34527
34527
  if(typeof content === 'string') content = [[module.id, content, '']];
34528
34528
  if(content.locals) module.exports = content.locals;
34529
34529
  // add the styles to the DOM
34530
34530
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
34531
- var update = add("ecf048de", content, true, {"sourceMap":false,"shadowMode":false});
34531
+ var update = add("58f4131a", content, true, {"sourceMap":false,"shadowMode":false});
34532
34532
 
34533
34533
  /***/ }),
34534
34534
 
@@ -58914,8 +58914,8 @@ WfStatus_src.install = function (Vue) {
58914
58914
  Vue.component(WfStatus_src.name, WfStatus_src);
58915
58915
  };
58916
58916
  /* harmony default export */ var WfStatus = (WfStatus_src);
58917
- ;// 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=60e13902&scoped=true
58918
- var Attachmentvue_type_template_id_60e13902_scoped_true_render = function render() {
58917
+ ;// 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=222c1f3d&scoped=true
58918
+ var Attachmentvue_type_template_id_222c1f3d_scoped_true_render = function render() {
58919
58919
  var _vm = this,
58920
58920
  _c = _vm._self._c;
58921
58921
  return _c('div', {
@@ -59176,7 +59176,7 @@ var Attachmentvue_type_template_id_60e13902_scoped_true_render = function render
59176
59176
  }
59177
59177
  })], 1) : _vm._e()], 1);
59178
59178
  };
59179
- var Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns = [];
59179
+ var Attachmentvue_type_template_id_222c1f3d_scoped_true_staticRenderFns = [];
59180
59180
 
59181
59181
  ;// 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
59182
59182
  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); }
@@ -59572,15 +59572,21 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59572
59572
  topdf = true;
59573
59573
  }
59574
59574
  }
59575
- if (!topdf) {
59576
- wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
59577
- if (wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0) {
59578
- //只能在线预览、不能下载到本地
59579
- _this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
59580
- }
59575
+ if (!(!topdf && extName !== '.pdf')) {
59576
+ _context.next = 15;
59577
+ break;
59578
+ }
59579
+ wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
59580
+ if (!(wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0)) {
59581
+ _context.next = 15;
59582
+ break;
59581
59583
  }
59584
+ //只能在线预览、不能下载到本地
59585
+ _this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
59586
+ return _context.abrupt("return");
59587
+ case 15:
59582
59588
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
59583
- _context.next = 22;
59589
+ _context.next = 26;
59584
59590
  break;
59585
59591
  }
59586
59592
  tSessionId = res.body.tSessionId;
@@ -59605,11 +59611,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59605
59611
  });
59606
59612
  }
59607
59613
  }, 'json');
59608
- _context.next = 65;
59614
+ _context.next = 69;
59609
59615
  break;
59610
- case 22:
59616
+ case 26:
59611
59617
  if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
59612
- _context.next = 40;
59618
+ _context.next = 44;
59613
59619
  break;
59614
59620
  }
59615
59621
  // 打开 wps h5
@@ -59617,9 +59623,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59617
59623
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
59618
59624
  appUrl = 'http://toa.ecinc.com.cn:2028/';
59619
59625
  }
59620
- _context.next = 27;
59626
+ _context.next = 31;
59621
59627
  return _this6.getSessionId();
59622
- case 27:
59628
+ case 31:
59623
59629
  _tSessionId = _context.sent;
59624
59630
  //正文下载地址
59625
59631
  _downUrl = appUrl + "/apigw";
@@ -59659,26 +59665,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59659
59665
  });
59660
59666
  }
59661
59667
  });
59662
- _context.next = 65;
59668
+ _context.next = 69;
59663
59669
  break;
59664
- case 40:
59670
+ case 44:
59665
59671
  if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
59666
- _context.next = 57;
59672
+ _context.next = 61;
59667
59673
  break;
59668
59674
  }
59669
59675
  _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
59670
- _context.next = 44;
59676
+ _context.next = 48;
59671
59677
  return _this6.getSessionId();
59672
- case 44:
59678
+ case 48:
59673
59679
  _tSessionId2 = _context.sent;
59674
59680
  if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
59675
- _context.next = 49;
59681
+ _context.next = 53;
59676
59682
  break;
59677
59683
  }
59678
59684
  sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
59679
59685
  window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
59680
59686
  return _context.abrupt("return");
59681
- case 49:
59687
+ case 53:
59682
59688
  _downUrl2 = _appUrl + "/apigw";
59683
59689
  _downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
59684
59690
  _downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
@@ -59704,9 +59710,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59704
59710
  }
59705
59711
  });
59706
59712
  }
59707
- _context.next = 65;
59713
+ _context.next = 69;
59708
59714
  break;
59709
- case 57:
59715
+ case 61:
59710
59716
  url = "/apigw";
59711
59717
  url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
59712
59718
  url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
@@ -59722,7 +59728,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59722
59728
  }
59723
59729
  }
59724
59730
  _this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
59725
- case 65:
59731
+ case 69:
59726
59732
  case "end":
59727
59733
  return _context.stop();
59728
59734
  }
@@ -60208,9 +60214,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
60208
60214
  });
60209
60215
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
60210
60216
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
60211
- // 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=60e13902&prod&scoped=true&lang=scss
60212
- var Attachmentvue_type_style_index_0_id_60e13902_prod_scoped_true_lang_scss = __webpack_require__(2993);
60213
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=60e13902&prod&scoped=true&lang=scss
60217
+ // 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=222c1f3d&prod&scoped=true&lang=scss
60218
+ var Attachmentvue_type_style_index_0_id_222c1f3d_prod_scoped_true_lang_scss = __webpack_require__(4380);
60219
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=222c1f3d&prod&scoped=true&lang=scss
60214
60220
 
60215
60221
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
60216
60222
 
@@ -60223,11 +60229,11 @@ var Attachmentvue_type_style_index_0_id_60e13902_prod_scoped_true_lang_scss = __
60223
60229
 
60224
60230
  var Attachment_component = (0,componentNormalizer/* default */.A)(
60225
60231
  src_Attachmentvue_type_script_lang_js,
60226
- Attachmentvue_type_template_id_60e13902_scoped_true_render,
60227
- Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns,
60232
+ Attachmentvue_type_template_id_222c1f3d_scoped_true_render,
60233
+ Attachmentvue_type_template_id_222c1f3d_scoped_true_staticRenderFns,
60228
60234
  false,
60229
60235
  null,
60230
- "60e13902",
60236
+ "222c1f3d",
60231
60237
  null
60232
60238
 
60233
60239
  )
@@ -7621,7 +7621,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
7621
7621
 
7622
7622
  /***/ }),
7623
7623
 
7624
- /***/ 3371:
7624
+ /***/ 4450:
7625
7625
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7626
7626
 
7627
7627
  "use strict";
@@ -7635,7 +7635,7 @@ __webpack_require__.r(__webpack_exports__);
7635
7635
 
7636
7636
  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()));
7637
7637
  // Module
7638
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-60e13902],.wfattach-container[data-v-60e13902] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-60e13902] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-60e13902] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-60e13902] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-60e13902] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-60e13902] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-60e13902] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-60e13902]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-60e13902]: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-60e13902]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-60e13902]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-60e13902]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-60e13902]{position:relative}.van-attachment-field[data-v-60e13902]: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)}", ""]);
7638
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-222c1f3d],.wfattach-container[data-v-222c1f3d] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-222c1f3d] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-222c1f3d] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-222c1f3d] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-222c1f3d] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-222c1f3d] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-222c1f3d] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-222c1f3d]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-222c1f3d]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-222c1f3d]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-222c1f3d]: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-222c1f3d]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-222c1f3d]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-222c1f3d]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-222c1f3d]{position:relative}.van-attachment-field[data-v-222c1f3d]: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)}", ""]);
7639
7639
  // Exports
7640
7640
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7641
7641
 
@@ -34526,19 +34526,19 @@ var update = add("2f575395", content, true, {"sourceMap":false,"shadowMode":fals
34526
34526
 
34527
34527
  /***/ }),
34528
34528
 
34529
- /***/ 519:
34529
+ /***/ 4734:
34530
34530
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
34531
34531
 
34532
34532
  // style-loader: Adds some css to the DOM by adding a <style> tag
34533
34533
 
34534
34534
  // load the styles
34535
- var content = __webpack_require__(3371);
34535
+ var content = __webpack_require__(4450);
34536
34536
  if(content.__esModule) content = content.default;
34537
34537
  if(typeof content === 'string') content = [[module.id, content, '']];
34538
34538
  if(content.locals) module.exports = content.locals;
34539
34539
  // add the styles to the DOM
34540
34540
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
34541
- var update = add("4a14fe55", content, true, {"sourceMap":false,"shadowMode":false});
34541
+ var update = add("198135de", content, true, {"sourceMap":false,"shadowMode":false});
34542
34542
 
34543
34543
  /***/ }),
34544
34544
 
@@ -58924,8 +58924,8 @@ WfStatus_src.install = function (Vue) {
58924
58924
  Vue.component(WfStatus_src.name, WfStatus_src);
58925
58925
  };
58926
58926
  /* harmony default export */ var WfStatus = (WfStatus_src);
58927
- ;// 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=60e13902&scoped=true
58928
- var Attachmentvue_type_template_id_60e13902_scoped_true_render = function render() {
58927
+ ;// 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=222c1f3d&scoped=true
58928
+ var Attachmentvue_type_template_id_222c1f3d_scoped_true_render = function render() {
58929
58929
  var _vm = this,
58930
58930
  _c = _vm._self._c;
58931
58931
  return _c('div', {
@@ -59186,7 +59186,7 @@ var Attachmentvue_type_template_id_60e13902_scoped_true_render = function render
59186
59186
  }
59187
59187
  })], 1) : _vm._e()], 1);
59188
59188
  };
59189
- var Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns = [];
59189
+ var Attachmentvue_type_template_id_222c1f3d_scoped_true_staticRenderFns = [];
59190
59190
 
59191
59191
  ;// 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
59192
59192
  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); }
@@ -59582,15 +59582,21 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59582
59582
  topdf = true;
59583
59583
  }
59584
59584
  }
59585
- if (!topdf) {
59586
- wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
59587
- if (wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0) {
59588
- //只能在线预览、不能下载到本地
59589
- _this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
59590
- }
59585
+ if (!(!topdf && extName !== '.pdf')) {
59586
+ _context.next = 15;
59587
+ break;
59588
+ }
59589
+ wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
59590
+ if (!(wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0)) {
59591
+ _context.next = 15;
59592
+ break;
59591
59593
  }
59594
+ //只能在线预览、不能下载到本地
59595
+ _this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
59596
+ return _context.abrupt("return");
59597
+ case 15:
59592
59598
  if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
59593
- _context.next = 22;
59599
+ _context.next = 26;
59594
59600
  break;
59595
59601
  }
59596
59602
  tSessionId = res.body.tSessionId;
@@ -59615,11 +59621,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59615
59621
  });
59616
59622
  }
59617
59623
  }, 'json');
59618
- _context.next = 65;
59624
+ _context.next = 69;
59619
59625
  break;
59620
- case 22:
59626
+ case 26:
59621
59627
  if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
59622
- _context.next = 40;
59628
+ _context.next = 44;
59623
59629
  break;
59624
59630
  }
59625
59631
  // 打开 wps h5
@@ -59627,9 +59633,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59627
59633
  if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
59628
59634
  appUrl = 'http://toa.ecinc.com.cn:2028/';
59629
59635
  }
59630
- _context.next = 27;
59636
+ _context.next = 31;
59631
59637
  return _this6.getSessionId();
59632
- case 27:
59638
+ case 31:
59633
59639
  _tSessionId = _context.sent;
59634
59640
  //正文下载地址
59635
59641
  _downUrl = appUrl + "/apigw";
@@ -59669,26 +59675,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59669
59675
  });
59670
59676
  }
59671
59677
  });
59672
- _context.next = 65;
59678
+ _context.next = 69;
59673
59679
  break;
59674
- case 40:
59680
+ case 44:
59675
59681
  if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
59676
- _context.next = 57;
59682
+ _context.next = 61;
59677
59683
  break;
59678
59684
  }
59679
59685
  _appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
59680
- _context.next = 44;
59686
+ _context.next = 48;
59681
59687
  return _this6.getSessionId();
59682
- case 44:
59688
+ case 48:
59683
59689
  _tSessionId2 = _context.sent;
59684
59690
  if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
59685
- _context.next = 49;
59691
+ _context.next = 53;
59686
59692
  break;
59687
59693
  }
59688
59694
  sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
59689
59695
  window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
59690
59696
  return _context.abrupt("return");
59691
- case 49:
59697
+ case 53:
59692
59698
  _downUrl2 = _appUrl + "/apigw";
59693
59699
  _downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
59694
59700
  _downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
@@ -59714,9 +59720,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59714
59720
  }
59715
59721
  });
59716
59722
  }
59717
- _context.next = 65;
59723
+ _context.next = 69;
59718
59724
  break;
59719
- case 57:
59725
+ case 61:
59720
59726
  url = "/apigw";
59721
59727
  url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
59722
59728
  url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
@@ -59732,7 +59738,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
59732
59738
  }
59733
59739
  }
59734
59740
  _this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
59735
- case 65:
59741
+ case 69:
59736
59742
  case "end":
59737
59743
  return _context.stop();
59738
59744
  }
@@ -60218,9 +60224,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
60218
60224
  });
60219
60225
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
60220
60226
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
60221
- // 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=60e13902&prod&scoped=true&lang=scss
60222
- var Attachmentvue_type_style_index_0_id_60e13902_prod_scoped_true_lang_scss = __webpack_require__(519);
60223
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=60e13902&prod&scoped=true&lang=scss
60227
+ // 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=222c1f3d&prod&scoped=true&lang=scss
60228
+ var Attachmentvue_type_style_index_0_id_222c1f3d_prod_scoped_true_lang_scss = __webpack_require__(4734);
60229
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=222c1f3d&prod&scoped=true&lang=scss
60224
60230
 
60225
60231
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
60226
60232
 
@@ -60233,11 +60239,11 @@ var Attachmentvue_type_style_index_0_id_60e13902_prod_scoped_true_lang_scss = __
60233
60239
 
60234
60240
  var Attachment_component = (0,componentNormalizer/* default */.A)(
60235
60241
  src_Attachmentvue_type_script_lang_js,
60236
- Attachmentvue_type_template_id_60e13902_scoped_true_render,
60237
- Attachmentvue_type_template_id_60e13902_scoped_true_staticRenderFns,
60242
+ Attachmentvue_type_template_id_222c1f3d_scoped_true_render,
60243
+ Attachmentvue_type_template_id_222c1f3d_scoped_true_staticRenderFns,
60238
60244
  false,
60239
60245
  null,
60240
- "60e13902",
60246
+ "222c1f3d",
60241
60247
  null
60242
60248
 
60243
60249
  )