ecinc-cloud-mappaio 9.6.162 → 9.6.163
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.
- package/lib/ecmappaio.common.js +47 -35
- package/lib/ecmappaio.umd.js +47 -35
- package/lib/ecmappaio.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -7681,7 +7681,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
7681
7681
|
|
|
7682
7682
|
/***/ }),
|
|
7683
7683
|
|
|
7684
|
-
/***/
|
|
7684
|
+
/***/ 9524:
|
|
7685
7685
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7686
7686
|
|
|
7687
7687
|
"use strict";
|
|
@@ -7695,7 +7695,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7695
7695
|
|
|
7696
7696
|
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()));
|
|
7697
7697
|
// Module
|
|
7698
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7698
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-dffbb010],.wfattach-container[data-v-dffbb010] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-dffbb010] .van-cell__title{width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-dffbb010] .van-cell__value{width:35%;height:24px}.wfattach-container[data-v-dffbb010] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-dffbb010] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-dffbb010] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-dffbb010] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-dffbb010]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]: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-dffbb010]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-dffbb010]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-dffbb010]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-dffbb010]{position:relative}.van-attachment-field[data-v-dffbb010]: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)}", ""]);
|
|
7699
7699
|
// Exports
|
|
7700
7700
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7701
7701
|
|
|
@@ -34586,19 +34586,19 @@ var update = add("4ff8cc4e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34586
34586
|
|
|
34587
34587
|
/***/ }),
|
|
34588
34588
|
|
|
34589
|
-
/***/
|
|
34589
|
+
/***/ 3382:
|
|
34590
34590
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34591
34591
|
|
|
34592
34592
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34593
34593
|
|
|
34594
34594
|
// load the styles
|
|
34595
|
-
var content = __webpack_require__(
|
|
34595
|
+
var content = __webpack_require__(9524);
|
|
34596
34596
|
if(content.__esModule) content = content.default;
|
|
34597
34597
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34598
34598
|
if(content.locals) module.exports = content.locals;
|
|
34599
34599
|
// add the styles to the DOM
|
|
34600
34600
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34601
|
-
var update = add("
|
|
34601
|
+
var update = add("a5f5dea4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34602
34602
|
|
|
34603
34603
|
/***/ }),
|
|
34604
34604
|
|
|
@@ -44250,7 +44250,7 @@ var src_install = function install(Vue) {
|
|
|
44250
44250
|
this.jsBridgeCallNativeMethod('showAttachmentMenus', attach, callback);
|
|
44251
44251
|
},
|
|
44252
44252
|
showAttachmentOtherApps: function showAttachmentOtherApps(attach) {
|
|
44253
|
-
/**
|
|
44253
|
+
/** 我的-我的文件,打开已下载过的本地附件
|
|
44254
44254
|
* attach:附件对象
|
|
44255
44255
|
*/
|
|
44256
44256
|
this.jsBridgeCallNativeMethod('showAttachmentOtherApps', attach);
|
|
@@ -59171,8 +59171,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
59171
59171
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
59172
59172
|
};
|
|
59173
59173
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
59174
|
-
;// 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=
|
|
59175
|
-
var
|
|
59174
|
+
;// 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=dffbb010&scoped=true
|
|
59175
|
+
var Attachmentvue_type_template_id_dffbb010_scoped_true_render = function render() {
|
|
59176
59176
|
var _vm = this,
|
|
59177
59177
|
_c = _vm._self._c;
|
|
59178
59178
|
return _c('div', {
|
|
@@ -59446,7 +59446,7 @@ var Attachmentvue_type_template_id_3f9009eb_scoped_true_render = function render
|
|
|
59446
59446
|
}
|
|
59447
59447
|
})], 1) : _vm._e()], 1);
|
|
59448
59448
|
};
|
|
59449
|
-
var
|
|
59449
|
+
var Attachmentvue_type_template_id_dffbb010_scoped_true_staticRenderFns = [];
|
|
59450
59450
|
|
|
59451
59451
|
;// 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
|
|
59452
59452
|
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); }
|
|
@@ -59587,7 +59587,12 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59587
59587
|
attachShowDownload: {
|
|
59588
59588
|
type: Number,
|
|
59589
59589
|
default: 1
|
|
59590
|
-
}
|
|
59590
|
+
},
|
|
59591
|
+
// 移动端附件预览是否允许展示下载按钮,0-不允许,1-允许
|
|
59592
|
+
onZipAttachPreviewClick: {
|
|
59593
|
+
type: Function,
|
|
59594
|
+
default: null
|
|
59595
|
+
} // 自定义压缩附件处理方式
|
|
59591
59596
|
},
|
|
59592
59597
|
data: function data() {
|
|
59593
59598
|
return {
|
|
@@ -59850,21 +59855,28 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59850
59855
|
}
|
|
59851
59856
|
}
|
|
59852
59857
|
}
|
|
59858
|
+
if (!((extName == '.zip' || extName == '.rar') && _this6.onZipAttachPreviewClick && typeof _this6.onZipAttachPreviewClick == 'function')) {
|
|
59859
|
+
_context.next = 14;
|
|
59860
|
+
break;
|
|
59861
|
+
}
|
|
59862
|
+
_this6.onZipAttachPreviewClick(attach, _this6.wfAttachUrl);
|
|
59863
|
+
return _context.abrupt("return");
|
|
59864
|
+
case 14:
|
|
59853
59865
|
if (!(!topdf && extName !== '.pdf' && canView.indexOf(extName) === -1)) {
|
|
59854
|
-
_context.next =
|
|
59866
|
+
_context.next = 19;
|
|
59855
59867
|
break;
|
|
59856
59868
|
}
|
|
59857
59869
|
wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
|
|
59858
59870
|
if (!(wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0)) {
|
|
59859
|
-
_context.next =
|
|
59871
|
+
_context.next = 19;
|
|
59860
59872
|
break;
|
|
59861
59873
|
}
|
|
59862
59874
|
//只能在线预览、不能下载到本地
|
|
59863
59875
|
_this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
|
|
59864
59876
|
return _context.abrupt("return");
|
|
59865
|
-
case
|
|
59877
|
+
case 19:
|
|
59866
59878
|
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
59867
|
-
_context.next =
|
|
59879
|
+
_context.next = 30;
|
|
59868
59880
|
break;
|
|
59869
59881
|
}
|
|
59870
59882
|
tSessionId = res.body.tSessionId;
|
|
@@ -59889,11 +59901,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59889
59901
|
});
|
|
59890
59902
|
}
|
|
59891
59903
|
}, 'json');
|
|
59892
|
-
_context.next =
|
|
59904
|
+
_context.next = 74;
|
|
59893
59905
|
break;
|
|
59894
|
-
case
|
|
59906
|
+
case 30:
|
|
59895
59907
|
if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
59896
|
-
_context.next =
|
|
59908
|
+
_context.next = 48;
|
|
59897
59909
|
break;
|
|
59898
59910
|
}
|
|
59899
59911
|
// 打开 wps h5
|
|
@@ -59901,9 +59913,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59901
59913
|
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
59902
59914
|
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
59903
59915
|
}
|
|
59904
|
-
_context.next =
|
|
59916
|
+
_context.next = 35;
|
|
59905
59917
|
return _this6.getSessionId();
|
|
59906
|
-
case
|
|
59918
|
+
case 35:
|
|
59907
59919
|
_tSessionId = _context.sent;
|
|
59908
59920
|
//正文下载地址
|
|
59909
59921
|
_downUrl = appUrl + "/apigw";
|
|
@@ -59943,26 +59955,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59943
59955
|
});
|
|
59944
59956
|
}
|
|
59945
59957
|
});
|
|
59946
|
-
_context.next =
|
|
59958
|
+
_context.next = 74;
|
|
59947
59959
|
break;
|
|
59948
|
-
case
|
|
59960
|
+
case 48:
|
|
59949
59961
|
if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
59950
|
-
_context.next =
|
|
59962
|
+
_context.next = 65;
|
|
59951
59963
|
break;
|
|
59952
59964
|
}
|
|
59953
59965
|
_appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
|
|
59954
|
-
_context.next =
|
|
59966
|
+
_context.next = 52;
|
|
59955
59967
|
return _this6.getSessionId();
|
|
59956
|
-
case
|
|
59968
|
+
case 52:
|
|
59957
59969
|
_tSessionId2 = _context.sent;
|
|
59958
59970
|
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
59959
|
-
_context.next =
|
|
59971
|
+
_context.next = 57;
|
|
59960
59972
|
break;
|
|
59961
59973
|
}
|
|
59962
59974
|
sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
|
|
59963
59975
|
window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
|
|
59964
59976
|
return _context.abrupt("return");
|
|
59965
|
-
case
|
|
59977
|
+
case 57:
|
|
59966
59978
|
_downUrl2 = _appUrl + "/apigw";
|
|
59967
59979
|
_downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
59968
59980
|
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -59988,9 +60000,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59988
60000
|
}
|
|
59989
60001
|
});
|
|
59990
60002
|
}
|
|
59991
|
-
_context.next =
|
|
60003
|
+
_context.next = 74;
|
|
59992
60004
|
break;
|
|
59993
|
-
case
|
|
60005
|
+
case 65:
|
|
59994
60006
|
url = "/apigw";
|
|
59995
60007
|
url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
59996
60008
|
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -60009,7 +60021,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
60009
60021
|
url += '&img=true';
|
|
60010
60022
|
}
|
|
60011
60023
|
_this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
|
|
60012
|
-
case
|
|
60024
|
+
case 74:
|
|
60013
60025
|
case "end":
|
|
60014
60026
|
return _context.stop();
|
|
60015
60027
|
}
|
|
@@ -60505,9 +60517,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
60505
60517
|
});
|
|
60506
60518
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
60507
60519
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
60508
|
-
// 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=
|
|
60509
|
-
var
|
|
60510
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
60520
|
+
// 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=dffbb010&prod&scoped=true&lang=scss
|
|
60521
|
+
var Attachmentvue_type_style_index_0_id_dffbb010_prod_scoped_true_lang_scss = __webpack_require__(3382);
|
|
60522
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=dffbb010&prod&scoped=true&lang=scss
|
|
60511
60523
|
|
|
60512
60524
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
60513
60525
|
|
|
@@ -60520,11 +60532,11 @@ var Attachmentvue_type_style_index_0_id_3f9009eb_prod_scoped_true_lang_scss = __
|
|
|
60520
60532
|
|
|
60521
60533
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
60522
60534
|
src_Attachmentvue_type_script_lang_js,
|
|
60523
|
-
|
|
60524
|
-
|
|
60535
|
+
Attachmentvue_type_template_id_dffbb010_scoped_true_render,
|
|
60536
|
+
Attachmentvue_type_template_id_dffbb010_scoped_true_staticRenderFns,
|
|
60525
60537
|
false,
|
|
60526
60538
|
null,
|
|
60527
|
-
"
|
|
60539
|
+
"dffbb010",
|
|
60528
60540
|
null
|
|
60529
60541
|
|
|
60530
60542
|
)
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -7691,7 +7691,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
7691
7691
|
|
|
7692
7692
|
/***/ }),
|
|
7693
7693
|
|
|
7694
|
-
/***/
|
|
7694
|
+
/***/ 6628:
|
|
7695
7695
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7696
7696
|
|
|
7697
7697
|
"use strict";
|
|
@@ -7705,7 +7705,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7705
7705
|
|
|
7706
7706
|
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()));
|
|
7707
7707
|
// Module
|
|
7708
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7708
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-dffbb010],.wfattach-container[data-v-dffbb010] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-dffbb010] .van-cell__title{width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-dffbb010] .van-cell__value{width:35%;height:24px}.wfattach-container[data-v-dffbb010] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-dffbb010] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-dffbb010] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-dffbb010] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-dffbb010]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-dffbb010]: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-dffbb010]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-dffbb010]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-dffbb010]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-dffbb010]{position:relative}.van-attachment-field[data-v-dffbb010]: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)}", ""]);
|
|
7709
7709
|
// Exports
|
|
7710
7710
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7711
7711
|
|
|
@@ -34596,19 +34596,19 @@ var update = add("2f575395", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34596
34596
|
|
|
34597
34597
|
/***/ }),
|
|
34598
34598
|
|
|
34599
|
-
/***/
|
|
34599
|
+
/***/ 3800:
|
|
34600
34600
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34601
34601
|
|
|
34602
34602
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34603
34603
|
|
|
34604
34604
|
// load the styles
|
|
34605
|
-
var content = __webpack_require__(
|
|
34605
|
+
var content = __webpack_require__(6628);
|
|
34606
34606
|
if(content.__esModule) content = content.default;
|
|
34607
34607
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34608
34608
|
if(content.locals) module.exports = content.locals;
|
|
34609
34609
|
// add the styles to the DOM
|
|
34610
34610
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34611
|
-
var update = add("
|
|
34611
|
+
var update = add("6d923372", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34612
34612
|
|
|
34613
34613
|
/***/ }),
|
|
34614
34614
|
|
|
@@ -44260,7 +44260,7 @@ var src_install = function install(Vue) {
|
|
|
44260
44260
|
this.jsBridgeCallNativeMethod('showAttachmentMenus', attach, callback);
|
|
44261
44261
|
},
|
|
44262
44262
|
showAttachmentOtherApps: function showAttachmentOtherApps(attach) {
|
|
44263
|
-
/**
|
|
44263
|
+
/** 我的-我的文件,打开已下载过的本地附件
|
|
44264
44264
|
* attach:附件对象
|
|
44265
44265
|
*/
|
|
44266
44266
|
this.jsBridgeCallNativeMethod('showAttachmentOtherApps', attach);
|
|
@@ -59181,8 +59181,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
59181
59181
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
59182
59182
|
};
|
|
59183
59183
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
59184
|
-
;// 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=
|
|
59185
|
-
var
|
|
59184
|
+
;// 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=dffbb010&scoped=true
|
|
59185
|
+
var Attachmentvue_type_template_id_dffbb010_scoped_true_render = function render() {
|
|
59186
59186
|
var _vm = this,
|
|
59187
59187
|
_c = _vm._self._c;
|
|
59188
59188
|
return _c('div', {
|
|
@@ -59456,7 +59456,7 @@ var Attachmentvue_type_template_id_3f9009eb_scoped_true_render = function render
|
|
|
59456
59456
|
}
|
|
59457
59457
|
})], 1) : _vm._e()], 1);
|
|
59458
59458
|
};
|
|
59459
|
-
var
|
|
59459
|
+
var Attachmentvue_type_template_id_dffbb010_scoped_true_staticRenderFns = [];
|
|
59460
59460
|
|
|
59461
59461
|
;// 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
|
|
59462
59462
|
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); }
|
|
@@ -59597,7 +59597,12 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59597
59597
|
attachShowDownload: {
|
|
59598
59598
|
type: Number,
|
|
59599
59599
|
default: 1
|
|
59600
|
-
}
|
|
59600
|
+
},
|
|
59601
|
+
// 移动端附件预览是否允许展示下载按钮,0-不允许,1-允许
|
|
59602
|
+
onZipAttachPreviewClick: {
|
|
59603
|
+
type: Function,
|
|
59604
|
+
default: null
|
|
59605
|
+
} // 自定义压缩附件处理方式
|
|
59601
59606
|
},
|
|
59602
59607
|
data: function data() {
|
|
59603
59608
|
return {
|
|
@@ -59860,21 +59865,28 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59860
59865
|
}
|
|
59861
59866
|
}
|
|
59862
59867
|
}
|
|
59868
|
+
if (!((extName == '.zip' || extName == '.rar') && _this6.onZipAttachPreviewClick && typeof _this6.onZipAttachPreviewClick == 'function')) {
|
|
59869
|
+
_context.next = 14;
|
|
59870
|
+
break;
|
|
59871
|
+
}
|
|
59872
|
+
_this6.onZipAttachPreviewClick(attach, _this6.wfAttachUrl);
|
|
59873
|
+
return _context.abrupt("return");
|
|
59874
|
+
case 14:
|
|
59863
59875
|
if (!(!topdf && extName !== '.pdf' && canView.indexOf(extName) === -1)) {
|
|
59864
|
-
_context.next =
|
|
59876
|
+
_context.next = 19;
|
|
59865
59877
|
break;
|
|
59866
59878
|
}
|
|
59867
59879
|
wfInstance = _this6.$vnode.context.wfInstance || _this6.$vnode.context.$vnode.context.wfInstance;
|
|
59868
59880
|
if (!(wfInstance && wfInstance.passenger && wfInstance.passenger.attachH5CanDownload === 0)) {
|
|
59869
|
-
_context.next =
|
|
59881
|
+
_context.next = 19;
|
|
59870
59882
|
break;
|
|
59871
59883
|
}
|
|
59872
59884
|
//只能在线预览、不能下载到本地
|
|
59873
59885
|
_this6.$toast.fail('文件格式“' + extName + '”不支持在线预览');
|
|
59874
59886
|
return _context.abrupt("return");
|
|
59875
|
-
case
|
|
59887
|
+
case 19:
|
|
59876
59888
|
if (!(_this6.viewer.indexOf('dcs=') === 0 && (topdf || extName === '.ofd'))) {
|
|
59877
|
-
_context.next =
|
|
59889
|
+
_context.next = 30;
|
|
59878
59890
|
break;
|
|
59879
59891
|
}
|
|
59880
59892
|
tSessionId = res.body.tSessionId;
|
|
@@ -59899,11 +59911,11 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59899
59911
|
});
|
|
59900
59912
|
}
|
|
59901
59913
|
}, 'json');
|
|
59902
|
-
_context.next =
|
|
59914
|
+
_context.next = 74;
|
|
59903
59915
|
break;
|
|
59904
|
-
case
|
|
59916
|
+
case 30:
|
|
59905
59917
|
if (!(_this6.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
59906
|
-
_context.next =
|
|
59918
|
+
_context.next = 48;
|
|
59907
59919
|
break;
|
|
59908
59920
|
}
|
|
59909
59921
|
// 打开 wps h5
|
|
@@ -59911,9 +59923,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59911
59923
|
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
59912
59924
|
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
59913
59925
|
}
|
|
59914
|
-
_context.next =
|
|
59926
|
+
_context.next = 35;
|
|
59915
59927
|
return _this6.getSessionId();
|
|
59916
|
-
case
|
|
59928
|
+
case 35:
|
|
59917
59929
|
_tSessionId = _context.sent;
|
|
59918
59930
|
//正文下载地址
|
|
59919
59931
|
_downUrl = appUrl + "/apigw";
|
|
@@ -59953,26 +59965,26 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59953
59965
|
});
|
|
59954
59966
|
}
|
|
59955
59967
|
});
|
|
59956
|
-
_context.next =
|
|
59968
|
+
_context.next = 74;
|
|
59957
59969
|
break;
|
|
59958
|
-
case
|
|
59970
|
+
case 48:
|
|
59959
59971
|
if (!(_this6.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
59960
|
-
_context.next =
|
|
59972
|
+
_context.next = 65;
|
|
59961
59973
|
break;
|
|
59962
59974
|
}
|
|
59963
59975
|
_appUrl = location.href.split('#')[0].split('mindex.html')[0]; // url
|
|
59964
|
-
_context.next =
|
|
59976
|
+
_context.next = 52;
|
|
59965
59977
|
return _this6.getSessionId();
|
|
59966
|
-
case
|
|
59978
|
+
case 52:
|
|
59967
59979
|
_tSessionId2 = _context.sent;
|
|
59968
59980
|
if (!(imgType.indexOf(extName.substring(1)) > -1 && window.openImgView)) {
|
|
59969
|
-
_context.next =
|
|
59981
|
+
_context.next = 57;
|
|
59970
59982
|
break;
|
|
59971
59983
|
}
|
|
59972
59984
|
sessionStorage.setItem('IMG_INDEX_' + _this6.vo.id, attach.index);
|
|
59973
59985
|
window.open('#/imgView?wfAttachUrl=' + _this6.wfAttachUrl + '&busiDataId=' + _this6.vo.id);
|
|
59974
59986
|
return _context.abrupt("return");
|
|
59975
|
-
case
|
|
59987
|
+
case 57:
|
|
59976
59988
|
_downUrl2 = _appUrl + "/apigw";
|
|
59977
59989
|
_downUrl2 += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
59978
59990
|
_downUrl2 += '/downloadById?attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -59998,9 +60010,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
59998
60010
|
}
|
|
59999
60011
|
});
|
|
60000
60012
|
}
|
|
60001
|
-
_context.next =
|
|
60013
|
+
_context.next = 74;
|
|
60002
60014
|
break;
|
|
60003
|
-
case
|
|
60015
|
+
case 65:
|
|
60004
60016
|
url = "/apigw";
|
|
60005
60017
|
url += _this6.wfAttachUrl.substring(0, 1) === '/' ? _this6.wfAttachUrl : '/' + _this6.wfAttachUrl;
|
|
60006
60018
|
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -60019,7 +60031,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
60019
60031
|
url += '&img=true';
|
|
60020
60032
|
}
|
|
60021
60033
|
_this6.$mappUtils.downLoadAndOpenFile(_this6, url, fileName, attach.fileRealSize);
|
|
60022
|
-
case
|
|
60034
|
+
case 74:
|
|
60023
60035
|
case "end":
|
|
60024
60036
|
return _context.stop();
|
|
60025
60037
|
}
|
|
@@ -60515,9 +60527,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
60515
60527
|
});
|
|
60516
60528
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
60517
60529
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
60518
|
-
// 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=
|
|
60519
|
-
var
|
|
60520
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
60530
|
+
// 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=dffbb010&prod&scoped=true&lang=scss
|
|
60531
|
+
var Attachmentvue_type_style_index_0_id_dffbb010_prod_scoped_true_lang_scss = __webpack_require__(3800);
|
|
60532
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=dffbb010&prod&scoped=true&lang=scss
|
|
60521
60533
|
|
|
60522
60534
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
60523
60535
|
|
|
@@ -60530,11 +60542,11 @@ var Attachmentvue_type_style_index_0_id_3f9009eb_prod_scoped_true_lang_scss = __
|
|
|
60530
60542
|
|
|
60531
60543
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
60532
60544
|
src_Attachmentvue_type_script_lang_js,
|
|
60533
|
-
|
|
60534
|
-
|
|
60545
|
+
Attachmentvue_type_template_id_dffbb010_scoped_true_render,
|
|
60546
|
+
Attachmentvue_type_template_id_dffbb010_scoped_true_staticRenderFns,
|
|
60535
60547
|
false,
|
|
60536
60548
|
null,
|
|
60537
|
-
"
|
|
60549
|
+
"dffbb010",
|
|
60538
60550
|
null
|
|
60539
60551
|
|
|
60540
60552
|
)
|