ecinc-cloud-mappaio 9.6.124 → 9.6.126
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 +87 -80
- package/lib/ecmappaio.umd.js +87 -80
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -6954,7 +6954,7 @@ if ($defineProperty) {
|
|
|
6954
6954
|
|
|
6955
6955
|
/***/ }),
|
|
6956
6956
|
|
|
6957
|
-
/***/
|
|
6957
|
+
/***/ 9579:
|
|
6958
6958
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6959
6959
|
|
|
6960
6960
|
"use strict";
|
|
@@ -7401,7 +7401,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1789b27e] .popup-body{backgrou
|
|
|
7401
7401
|
|
|
7402
7402
|
/***/ }),
|
|
7403
7403
|
|
|
7404
|
-
/***/
|
|
7404
|
+
/***/ 9938:
|
|
7405
7405
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7406
7406
|
|
|
7407
7407
|
"use strict";
|
|
@@ -7415,7 +7415,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7415
7415
|
|
|
7416
7416
|
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()));
|
|
7417
7417
|
// Module
|
|
7418
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-
|
|
7418
|
+
___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-6890bd6e]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-6890bd6e]:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:20;left:0;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);z-index:1}#bodyfilebox .box[data-v-6890bd6e]{height:100%}#bodyfilebox .box .box-inner[data-v-6890bd6e]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-6890bd6e] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-6890bd6e]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-6890bd6e]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-6890bd6e]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-6890bd6e]:not(:first-child){margin-top:10px}.van-loading[data-v-6890bd6e]{height:inherit;padding:inherit}", ""]);
|
|
7419
7419
|
// Exports
|
|
7420
7420
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7421
7421
|
|
|
@@ -7632,7 +7632,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
|
|
|
7632
7632
|
|
|
7633
7633
|
/***/ }),
|
|
7634
7634
|
|
|
7635
|
-
/***/
|
|
7635
|
+
/***/ 9720:
|
|
7636
7636
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7637
7637
|
|
|
7638
7638
|
"use strict";
|
|
@@ -7646,7 +7646,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7646
7646
|
|
|
7647
7647
|
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()));
|
|
7648
7648
|
// Module
|
|
7649
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
7649
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-d26aeb40]{margin-top:100px;text-align:center}.upload-progress[data-v-d26aeb40]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-d26aeb40]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-d26aeb40]{font-size:70px}.file-svg-icon .svg-icon[data-v-d26aeb40]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-d26aeb40]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-d26aeb40]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-d26aeb40]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-d26aeb40]{font-size:16px;margin-right:10px}[data-v-d26aeb40] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-d26aeb40]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-d26aeb40]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-d26aeb40],.attachmentContent .attachmentContent_son .icon_right[data-v-d26aeb40]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-d26aeb40]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-d26aeb40]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-d26aeb40]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-d26aeb40] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-d26aeb40] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
|
|
7650
7650
|
// Exports
|
|
7651
7651
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7652
7652
|
|
|
@@ -34020,19 +34020,19 @@ module.exports = function getSideChannel() {
|
|
|
34020
34020
|
|
|
34021
34021
|
/***/ }),
|
|
34022
34022
|
|
|
34023
|
-
/***/
|
|
34023
|
+
/***/ 1104:
|
|
34024
34024
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34025
34025
|
|
|
34026
34026
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34027
34027
|
|
|
34028
34028
|
// load the styles
|
|
34029
|
-
var content = __webpack_require__(
|
|
34029
|
+
var content = __webpack_require__(9579);
|
|
34030
34030
|
if(content.__esModule) content = content.default;
|
|
34031
34031
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34032
34032
|
if(content.locals) module.exports = content.locals;
|
|
34033
34033
|
// add the styles to the DOM
|
|
34034
34034
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34035
|
-
var update = add("
|
|
34035
|
+
var update = add("d3879cc6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34036
34036
|
|
|
34037
34037
|
/***/ }),
|
|
34038
34038
|
|
|
@@ -34356,19 +34356,19 @@ var update = add("3e7011d4", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34356
34356
|
|
|
34357
34357
|
/***/ }),
|
|
34358
34358
|
|
|
34359
|
-
/***/
|
|
34359
|
+
/***/ 9136:
|
|
34360
34360
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34361
34361
|
|
|
34362
34362
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34363
34363
|
|
|
34364
34364
|
// load the styles
|
|
34365
|
-
var content = __webpack_require__(
|
|
34365
|
+
var content = __webpack_require__(9938);
|
|
34366
34366
|
if(content.__esModule) content = content.default;
|
|
34367
34367
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34368
34368
|
if(content.locals) module.exports = content.locals;
|
|
34369
34369
|
// add the styles to the DOM
|
|
34370
34370
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34371
|
-
var update = add("
|
|
34371
|
+
var update = add("58e8b91b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34372
34372
|
|
|
34373
34373
|
/***/ }),
|
|
34374
34374
|
|
|
@@ -34532,19 +34532,19 @@ var update = add("58f4131a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34532
34532
|
|
|
34533
34533
|
/***/ }),
|
|
34534
34534
|
|
|
34535
|
-
/***/
|
|
34535
|
+
/***/ 754:
|
|
34536
34536
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34537
34537
|
|
|
34538
34538
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34539
34539
|
|
|
34540
34540
|
// load the styles
|
|
34541
|
-
var content = __webpack_require__(
|
|
34541
|
+
var content = __webpack_require__(9720);
|
|
34542
34542
|
if(content.__esModule) content = content.default;
|
|
34543
34543
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34544
34544
|
if(content.locals) module.exports = content.locals;
|
|
34545
34545
|
// add the styles to the DOM
|
|
34546
34546
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34547
|
-
var update = add("
|
|
34547
|
+
var update = add("9d347b96", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34548
34548
|
|
|
34549
34549
|
/***/ }),
|
|
34550
34550
|
|
|
@@ -53631,8 +53631,8 @@ InnerTable_src.install = function (Vue) {
|
|
|
53631
53631
|
Vue.component(InnerTable_src.name, InnerTable_src);
|
|
53632
53632
|
};
|
|
53633
53633
|
/* harmony default export */ var InnerTable = (InnerTable_src);
|
|
53634
|
-
;// 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/PdfTools/src/index.vue?vue&type=template&id=
|
|
53635
|
-
var
|
|
53634
|
+
;// 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/PdfTools/src/index.vue?vue&type=template&id=6890bd6e&scoped=true
|
|
53635
|
+
var srcvue_type_template_id_6890bd6e_scoped_true_render = function render() {
|
|
53636
53636
|
var _vm = this,
|
|
53637
53637
|
_c = _vm._self._c;
|
|
53638
53638
|
return _c('div', {
|
|
@@ -53705,7 +53705,7 @@ var srcvue_type_template_id_d3c10b86_scoped_true_render = function render() {
|
|
|
53705
53705
|
}]
|
|
53706
53706
|
}, [_c('ShowViewer', {
|
|
53707
53707
|
attrs: {
|
|
53708
|
-
"body-url": _vm.bodyFileUrl,
|
|
53708
|
+
"body-url": _vm.addType ? _vm.sealFileUrl : _vm.bodyFileUrl,
|
|
53709
53709
|
"view-body-file-show": _vm.viewBodyFileShow,
|
|
53710
53710
|
"type": 1
|
|
53711
53711
|
}
|
|
@@ -53723,7 +53723,7 @@ var srcvue_type_template_id_d3c10b86_scoped_true_render = function render() {
|
|
|
53723
53723
|
"width": "100%",
|
|
53724
53724
|
"height": "100%",
|
|
53725
53725
|
"frameborder": "0",
|
|
53726
|
-
"src": _vm.bodyFileUrl
|
|
53726
|
+
"src": _vm.addType ? _vm.sealFileUrl : _vm.bodyFileUrl
|
|
53727
53727
|
}
|
|
53728
53728
|
}) : _vm.viewBodyFileShow === 'ofd' ? _c('iframe', {
|
|
53729
53729
|
ref: "OfdjsView",
|
|
@@ -53733,7 +53733,7 @@ var srcvue_type_template_id_d3c10b86_scoped_true_render = function render() {
|
|
|
53733
53733
|
"height": "100%",
|
|
53734
53734
|
"frameborder": "0",
|
|
53735
53735
|
"scrolling": "yes",
|
|
53736
|
-
"src": _vm.bodyFileUrl
|
|
53736
|
+
"src": _vm.addType ? _vm.sealFileUrl : _vm.bodyFileUrl
|
|
53737
53737
|
}
|
|
53738
53738
|
}) : _vm._e()])], 2)]), _vm.sign || _vm.seal ? _c('div', {
|
|
53739
53739
|
staticClass: "bottom-bar"
|
|
@@ -53753,7 +53753,7 @@ var srcvue_type_template_id_d3c10b86_scoped_true_render = function render() {
|
|
|
53753
53753
|
}
|
|
53754
53754
|
}) : _vm._e()], 1) : _vm._e()]);
|
|
53755
53755
|
};
|
|
53756
|
-
var
|
|
53756
|
+
var srcvue_type_template_id_6890bd6e_scoped_true_staticRenderFns = [];
|
|
53757
53757
|
|
|
53758
53758
|
;// 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/PdfTools/src/AddSign.vue?vue&type=template&id=4baca1b9&scoped=true
|
|
53759
53759
|
var AddSignvue_type_template_id_4baca1b9_scoped_true_render = function render() {
|
|
@@ -54835,7 +54835,8 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
54835
54835
|
loginUser: this.$store.getters.loginUser,
|
|
54836
54836
|
addType: '',
|
|
54837
54837
|
downloadBtn: true,
|
|
54838
|
-
showViewer: false
|
|
54838
|
+
showViewer: false,
|
|
54839
|
+
sealFileUrl: ''
|
|
54839
54840
|
};
|
|
54840
54841
|
},
|
|
54841
54842
|
computed: {},
|
|
@@ -54844,34 +54845,41 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
54844
54845
|
if (this.bodyFileUrl.indexOf('?') !== -1) {
|
|
54845
54846
|
this.pdfId = decodeURIComponent(this.bodyFileUrl.split('?')[1]).split('&')[1].split('=')[1];
|
|
54846
54847
|
}
|
|
54848
|
+
this.sealFileUrl = this.bodyFileUrl.replace('%26waterMark%3Dtrue', '%26waterMark%3Dfalse');
|
|
54847
54849
|
},
|
|
54848
54850
|
beforeDestroy: function beforeDestroy() {
|
|
54849
54851
|
window.removeEventListener('message', this.iframeBtnClick, false);
|
|
54850
54852
|
},
|
|
54851
54853
|
updated: function updated() {},
|
|
54852
54854
|
mounted: function mounted() {
|
|
54853
|
-
var _this = this;
|
|
54854
54855
|
if (this.bodyFileUrl.indexOf('?') !== -1 && this.viewBodyFileShow === 'pdf') {
|
|
54855
54856
|
this.iframeBodyFile = this.$refs.iframeBodyFile.contentWindow;
|
|
54856
|
-
setTimeout(function () {
|
|
54857
|
-
if (_this.iframeBodyFile && _this.iframeBodyFile.loadBodyFileType) {
|
|
54858
|
-
_this.iframeBodyFile.loadBodyFileType('app');
|
|
54859
|
-
}
|
|
54860
|
-
}, 0);
|
|
54861
54857
|
}
|
|
54862
54858
|
},
|
|
54863
54859
|
methods: {
|
|
54864
54860
|
// 打开签名
|
|
54865
54861
|
openSign: function openSign() {
|
|
54862
|
+
var _this = this;
|
|
54866
54863
|
this.addType = 'sign';
|
|
54867
54864
|
this.dVisiblesign = true;
|
|
54868
54865
|
this.canAddsign = false;
|
|
54866
|
+
this.$nextTick(function () {
|
|
54867
|
+
if (_this.iframeBodyFile && _this.iframeBodyFile.loadBodyFileType) {
|
|
54868
|
+
_this.iframeBodyFile.loadBodyFileType('app');
|
|
54869
|
+
}
|
|
54870
|
+
});
|
|
54869
54871
|
},
|
|
54870
54872
|
// 打开盖章
|
|
54871
54873
|
openSeal: function openSeal() {
|
|
54874
|
+
var _this2 = this;
|
|
54872
54875
|
this.addType = 'seal';
|
|
54873
54876
|
this.dVisibleseal = true;
|
|
54874
54877
|
this.canAddseal = false;
|
|
54878
|
+
this.$nextTick(function () {
|
|
54879
|
+
if (_this2.iframeBodyFile && _this2.iframeBodyFile.loadBodyFileType) {
|
|
54880
|
+
_this2.iframeBodyFile.loadBodyFileType('app');
|
|
54881
|
+
}
|
|
54882
|
+
});
|
|
54875
54883
|
},
|
|
54876
54884
|
// 获取每毫米的像素值
|
|
54877
54885
|
getOneMmsPx: function getOneMmsPx(w, h) {
|
|
@@ -54982,7 +54990,7 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
54982
54990
|
// },
|
|
54983
54991
|
// 保存签名
|
|
54984
54992
|
pdfSign: function pdfSign() {
|
|
54985
|
-
var
|
|
54993
|
+
var _this3 = this;
|
|
54986
54994
|
this.$toast.loading({
|
|
54987
54995
|
className: 'pdftools-savedialog',
|
|
54988
54996
|
duration: 0,
|
|
@@ -55008,30 +55016,30 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55008
55016
|
}
|
|
55009
55017
|
}).then(function (response) {
|
|
55010
55018
|
if (response.code === 'success') {
|
|
55011
|
-
|
|
55012
|
-
|
|
55019
|
+
_this3.$toast.clear();
|
|
55020
|
+
_this3.$toast({
|
|
55013
55021
|
message: response.message,
|
|
55014
55022
|
position: 'bottom'
|
|
55015
55023
|
});
|
|
55016
|
-
|
|
55017
|
-
|
|
55018
|
-
|
|
55024
|
+
_this3.canAddsign = true;
|
|
55025
|
+
_this3.canSavesign = false;
|
|
55026
|
+
_this3.$bus.emit('btnSaveSignedfile', 'sign');
|
|
55019
55027
|
} else {
|
|
55020
|
-
|
|
55021
|
-
|
|
55028
|
+
_this3.$toast.clear();
|
|
55029
|
+
_this3.$dialog.alert({
|
|
55022
55030
|
message: response.message
|
|
55023
55031
|
});
|
|
55024
55032
|
}
|
|
55025
55033
|
}, function (error) {
|
|
55026
|
-
|
|
55027
|
-
|
|
55034
|
+
_this3.$toast.clear();
|
|
55035
|
+
_this3.$dialog.alert({
|
|
55028
55036
|
message: error
|
|
55029
55037
|
});
|
|
55030
55038
|
});
|
|
55031
55039
|
},
|
|
55032
55040
|
// 保存电子印章
|
|
55033
55041
|
pdfStamp: function pdfStamp() {
|
|
55034
|
-
var
|
|
55042
|
+
var _this4 = this;
|
|
55035
55043
|
this.$toast.loading({
|
|
55036
55044
|
className: 'pdftools-savedialog',
|
|
55037
55045
|
duration: 0,
|
|
@@ -55073,19 +55081,19 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55073
55081
|
contentType: 'application/x-www-form-urlencoded',
|
|
55074
55082
|
params: params
|
|
55075
55083
|
}).then(function (response) {
|
|
55076
|
-
|
|
55084
|
+
_this4.$bus.emit('closeDoingDialog');
|
|
55077
55085
|
if (response.code === 'success') {
|
|
55078
|
-
|
|
55079
|
-
|
|
55086
|
+
_this4.$toast.clear();
|
|
55087
|
+
_this4.$toast({
|
|
55080
55088
|
message: response.message,
|
|
55081
55089
|
position: 'bottom'
|
|
55082
55090
|
});
|
|
55083
|
-
|
|
55084
|
-
|
|
55085
|
-
|
|
55091
|
+
_this4.canAddseal = true;
|
|
55092
|
+
_this4.canSaveseal = false;
|
|
55093
|
+
_this4.$bus.emit('btnSaveSignedfile', 'stamp', response.body.fileKey);
|
|
55086
55094
|
} else {
|
|
55087
|
-
|
|
55088
|
-
|
|
55095
|
+
_this4.$toast.clear();
|
|
55096
|
+
_this4.$dialog.alert({
|
|
55089
55097
|
message: response.message
|
|
55090
55098
|
});
|
|
55091
55099
|
}
|
|
@@ -55095,13 +55103,13 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
55095
55103
|
});
|
|
55096
55104
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
|
|
55097
55105
|
/* harmony default export */ var ecmapp_PdfTools_srcvue_type_script_lang_js = (PdfTools_srcvue_type_script_lang_js);
|
|
55098
|
-
// 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/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
55099
|
-
var
|
|
55100
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=
|
|
55106
|
+
// 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/PdfTools/src/index.vue?vue&type=style&index=0&id=6890bd6e&prod&scoped=true&lang=scss
|
|
55107
|
+
var srcvue_type_style_index_0_id_6890bd6e_prod_scoped_true_lang_scss = __webpack_require__(9136);
|
|
55108
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=6890bd6e&prod&scoped=true&lang=scss
|
|
55101
55109
|
|
|
55102
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
55103
|
-
var
|
|
55104
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=
|
|
55110
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=6890bd6e&prod&lang=css
|
|
55111
|
+
var srcvue_type_style_index_1_id_6890bd6e_prod_lang_css = __webpack_require__(1104);
|
|
55112
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=6890bd6e&prod&lang=css
|
|
55105
55113
|
|
|
55106
55114
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
55107
55115
|
|
|
@@ -55115,11 +55123,11 @@ var srcvue_type_style_index_1_id_d3c10b86_prod_lang_css = __webpack_require__(46
|
|
|
55115
55123
|
|
|
55116
55124
|
var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
|
|
55117
55125
|
ecmapp_PdfTools_srcvue_type_script_lang_js,
|
|
55118
|
-
|
|
55119
|
-
|
|
55126
|
+
srcvue_type_template_id_6890bd6e_scoped_true_render,
|
|
55127
|
+
srcvue_type_template_id_6890bd6e_scoped_true_staticRenderFns,
|
|
55120
55128
|
false,
|
|
55121
55129
|
null,
|
|
55122
|
-
"
|
|
55130
|
+
"6890bd6e",
|
|
55123
55131
|
null
|
|
55124
55132
|
|
|
55125
55133
|
)
|
|
@@ -60239,8 +60247,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
|
60239
60247
|
)
|
|
60240
60248
|
|
|
60241
60249
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
60242
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=
|
|
60243
|
-
var
|
|
60250
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=d26aeb40&scoped=true
|
|
60251
|
+
var BodyFilevue_type_template_id_d26aeb40_scoped_true_render = function render() {
|
|
60244
60252
|
var _vm = this,
|
|
60245
60253
|
_c = _vm._self._c;
|
|
60246
60254
|
return _c('div', {
|
|
@@ -60606,7 +60614,7 @@ var BodyFilevue_type_template_id_197fd9ec_scoped_true_render = function render()
|
|
|
60606
60614
|
})])]) : _vm._e()]) : _vm._e()];
|
|
60607
60615
|
})], 2)])], 1);
|
|
60608
60616
|
};
|
|
60609
|
-
var
|
|
60617
|
+
var BodyFilevue_type_template_id_d26aeb40_scoped_true_staticRenderFns = [];
|
|
60610
60618
|
|
|
60611
60619
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
60612
60620
|
function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, BodyFilevue_type_script_lang_js_typeof(o); }
|
|
@@ -60746,13 +60754,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
60746
60754
|
this.$bus.off('setBtnSingSave', this.setBtnSingSave);
|
|
60747
60755
|
this.$bus.off('setBtnSealSave', this.setBtnSealSave);
|
|
60748
60756
|
},
|
|
60749
|
-
mounted: function mounted() {
|
|
60750
|
-
var wmcScope = js_cookie_default().get('WaterMarkConfig-' + this.loginUser.orgCode);
|
|
60751
|
-
if (wmcScope && wmcScope == '0') {
|
|
60752
|
-
//系统页面及文件预览页面全局水平,正文预览页面不再显示水印
|
|
60753
|
-
this.waterMark = false;
|
|
60754
|
-
}
|
|
60755
|
-
},
|
|
60757
|
+
mounted: function mounted() {},
|
|
60756
60758
|
methods: {
|
|
60757
60759
|
onTabChanged: function onTabChanged(tabActive) {
|
|
60758
60760
|
if (this.wflowNavbarList[tabActive] === 'BodyFile') {
|
|
@@ -60763,7 +60765,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
60763
60765
|
viewBodyFile: function viewBodyFile() {
|
|
60764
60766
|
var _this2 = this;
|
|
60765
60767
|
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
60766
|
-
var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
|
|
60768
|
+
var oriangialName, extName, _this, wmcScope, appUrl, tSessionId, downUrl, fileurl, _fileurl;
|
|
60767
60769
|
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
60768
60770
|
while (1) switch (_context.prev = _context.next) {
|
|
60769
60771
|
case 0:
|
|
@@ -60791,17 +60793,25 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
60791
60793
|
_this2.sign = false;
|
|
60792
60794
|
}
|
|
60793
60795
|
_this = _this2;
|
|
60796
|
+
wmcScope = js_cookie_default().get('WaterMarkConfig-' + _this2.loginUser.orgCode);
|
|
60797
|
+
if (wmcScope && wmcScope == '0') {
|
|
60798
|
+
//系统页面及文件预览全局水印,正文预览不再显示水印
|
|
60799
|
+
_this2.waterMark = false;
|
|
60800
|
+
} else if (wmcScope == '1') {
|
|
60801
|
+
//文件预览显示水印
|
|
60802
|
+
_this2.waterMark = true;
|
|
60803
|
+
}
|
|
60794
60804
|
if (!(extName === '.ofd' && _this2.viewer === 'fuxin')) {
|
|
60795
|
-
_context.next =
|
|
60805
|
+
_context.next = 30;
|
|
60796
60806
|
break;
|
|
60797
60807
|
}
|
|
60798
60808
|
appUrl = location.href.split('#')[0]; // url
|
|
60799
60809
|
if (appUrl.indexOf('/mindex.html') > -1) {
|
|
60800
60810
|
appUrl = appUrl.split('/mindex.html')[0];
|
|
60801
60811
|
}
|
|
60802
|
-
_context.next =
|
|
60812
|
+
_context.next = 19;
|
|
60803
60813
|
return _this2.getSessionId();
|
|
60804
|
-
case
|
|
60814
|
+
case 19:
|
|
60805
60815
|
tSessionId = _context.sent;
|
|
60806
60816
|
downUrl = appUrl + "/apigw";
|
|
60807
60817
|
downUrl += _this2.wfAttachUrl.substring(0, 1) === '/' ? _this2.wfAttachUrl : '/' + _this2.wfAttachUrl;
|
|
@@ -60834,13 +60844,10 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
60834
60844
|
});
|
|
60835
60845
|
_this.loaded = false;
|
|
60836
60846
|
return _context.abrupt("return");
|
|
60837
|
-
case
|
|
60847
|
+
case 30:
|
|
60838
60848
|
_this2.viewer = 'pdfjs';
|
|
60839
60849
|
if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this2.viewer === 'pdfjs' || _this2.sign || _this2.seal)) {
|
|
60840
60850
|
_this2.viewBodyFileShow = 'pdf';
|
|
60841
|
-
if (_this2.sign || _this2.seal) {
|
|
60842
|
-
_this2.waterMark = false;
|
|
60843
|
-
}
|
|
60844
60851
|
fileurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&widthType=auto&viewType=mobile';
|
|
60845
60852
|
fileurl += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
|
|
60846
60853
|
if (_this2.flBodyfile.fileName.indexOf('{') !== -1 || _this2.flBodyfile.fileName.indexOf('%') !== -1 || _this2.flBodyfile.fileName.indexOf('[') !== -1) {
|
|
@@ -60914,7 +60921,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
60914
60921
|
} else {
|
|
60915
60922
|
_this2.downloadurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
|
|
60916
60923
|
}
|
|
60917
|
-
case
|
|
60924
|
+
case 32:
|
|
60918
60925
|
case "end":
|
|
60919
60926
|
return _context.stop();
|
|
60920
60927
|
}
|
|
@@ -61560,9 +61567,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
61560
61567
|
});
|
|
61561
61568
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
61562
61569
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
61563
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
61564
|
-
var
|
|
61565
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
61570
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d26aeb40&prod&scoped=true&lang=scss
|
|
61571
|
+
var BodyFilevue_type_style_index_0_id_d26aeb40_prod_scoped_true_lang_scss = __webpack_require__(754);
|
|
61572
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d26aeb40&prod&scoped=true&lang=scss
|
|
61566
61573
|
|
|
61567
61574
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
61568
61575
|
|
|
@@ -61575,11 +61582,11 @@ var BodyFilevue_type_style_index_0_id_197fd9ec_prod_scoped_true_lang_scss = __we
|
|
|
61575
61582
|
|
|
61576
61583
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
61577
61584
|
src_BodyFilevue_type_script_lang_js,
|
|
61578
|
-
|
|
61579
|
-
|
|
61585
|
+
BodyFilevue_type_template_id_d26aeb40_scoped_true_render,
|
|
61586
|
+
BodyFilevue_type_template_id_d26aeb40_scoped_true_staticRenderFns,
|
|
61580
61587
|
false,
|
|
61581
61588
|
null,
|
|
61582
|
-
"
|
|
61589
|
+
"d26aeb40",
|
|
61583
61590
|
null
|
|
61584
61591
|
|
|
61585
61592
|
)
|