ecinc-cloud-mappaio 9.6.184 → 9.6.186
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 +97 -36
- package/lib/ecmappaio.umd.js +97 -36
- package/lib/ecmappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -7964,7 +7964,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
7964
7964
|
|
|
7965
7965
|
/***/ }),
|
|
7966
7966
|
|
|
7967
|
-
/***/
|
|
7967
|
+
/***/ 65:
|
|
7968
7968
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7969
7969
|
|
|
7970
7970
|
"use strict";
|
|
@@ -7978,14 +7978,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7978
7978
|
|
|
7979
7979
|
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()));
|
|
7980
7980
|
// Module
|
|
7981
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7981
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-4ccafcfd],.wfattach-container[data-v-4ccafcfd] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-4ccafcfd] .van-cell__title{width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-4ccafcfd] .van-cell__value{width:35%;height:24px}.wfattach-container[data-v-4ccafcfd] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-4ccafcfd] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-4ccafcfd] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-4ccafcfd] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-4ccafcfd]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4ccafcfd]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4ccafcfd]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-4ccafcfd]: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-4ccafcfd]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-4ccafcfd]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-4ccafcfd]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-4ccafcfd]{position:relative}.van-attachment-field[data-v-4ccafcfd]: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)}", ""]);
|
|
7982
7982
|
// Exports
|
|
7983
7983
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7984
7984
|
|
|
7985
7985
|
|
|
7986
7986
|
/***/ }),
|
|
7987
7987
|
|
|
7988
|
-
/***/
|
|
7988
|
+
/***/ 7611:
|
|
7989
7989
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7990
7990
|
|
|
7991
7991
|
"use strict";
|
|
@@ -7999,7 +7999,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7999
7999
|
|
|
8000
8000
|
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()));
|
|
8001
8001
|
// Module
|
|
8002
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
8002
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-d6674536]{margin-top:100px;text-align:center}.upload-progress[data-v-d6674536]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-d6674536]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-d6674536]{font-size:70px}.file-svg-icon .svg-icon[data-v-d6674536]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-d6674536]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-d6674536]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-d6674536]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-d6674536]{font-size:16px;margin-right:10px}[data-v-d6674536] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-d6674536]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-d6674536]{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-d6674536],.attachmentContent .attachmentContent_son .icon_right[data-v-d6674536]{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-d6674536]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-d6674536]{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-d6674536]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-d6674536] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-d6674536] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
|
|
8003
8003
|
// Exports
|
|
8004
8004
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
8005
8005
|
|
|
@@ -34890,35 +34890,35 @@ var update = add("4ff8cc4e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34890
34890
|
|
|
34891
34891
|
/***/ }),
|
|
34892
34892
|
|
|
34893
|
-
/***/
|
|
34893
|
+
/***/ 3551:
|
|
34894
34894
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34895
34895
|
|
|
34896
34896
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34897
34897
|
|
|
34898
34898
|
// load the styles
|
|
34899
|
-
var content = __webpack_require__(
|
|
34899
|
+
var content = __webpack_require__(65);
|
|
34900
34900
|
if(content.__esModule) content = content.default;
|
|
34901
34901
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34902
34902
|
if(content.locals) module.exports = content.locals;
|
|
34903
34903
|
// add the styles to the DOM
|
|
34904
34904
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34905
|
-
var update = add("
|
|
34905
|
+
var update = add("5ba5a6ea", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34906
34906
|
|
|
34907
34907
|
/***/ }),
|
|
34908
34908
|
|
|
34909
|
-
/***/
|
|
34909
|
+
/***/ 5965:
|
|
34910
34910
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34911
34911
|
|
|
34912
34912
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34913
34913
|
|
|
34914
34914
|
// load the styles
|
|
34915
|
-
var content = __webpack_require__(
|
|
34915
|
+
var content = __webpack_require__(7611);
|
|
34916
34916
|
if(content.__esModule) content = content.default;
|
|
34917
34917
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34918
34918
|
if(content.locals) module.exports = content.locals;
|
|
34919
34919
|
// add the styles to the DOM
|
|
34920
34920
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34921
|
-
var update = add("
|
|
34921
|
+
var update = add("ad07254c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34922
34922
|
|
|
34923
34923
|
/***/ }),
|
|
34924
34924
|
|
|
@@ -41831,6 +41831,7 @@ var auth_install = function install(Vue) {
|
|
|
41831
41831
|
},
|
|
41832
41832
|
setTicket: function setTicket(ticket) {
|
|
41833
41833
|
js_cookie_default().set((window.ecwebTicket || 'ecweb-ticket') + port, ticket);
|
|
41834
|
+
js_cookie_default().set((window.ecwebTicket || 'ecweb-ticket') + productCode, ticket);
|
|
41834
41835
|
return sessionStorage.setItem((window.ecwebTicket || 'ecweb-ticket') + productCode, ticket);
|
|
41835
41836
|
},
|
|
41836
41837
|
removeTicket: function removeTicket() {
|
|
@@ -59674,8 +59675,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
59674
59675
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
59675
59676
|
};
|
|
59676
59677
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
59677
|
-
;// 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=
|
|
59678
|
-
var
|
|
59678
|
+
;// 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=4ccafcfd&scoped=true
|
|
59679
|
+
var Attachmentvue_type_template_id_4ccafcfd_scoped_true_render = function render() {
|
|
59679
59680
|
var _vm = this,
|
|
59680
59681
|
_c = _vm._self._c;
|
|
59681
59682
|
return _c('div', {
|
|
@@ -59949,7 +59950,7 @@ var Attachmentvue_type_template_id_74053824_scoped_true_render = function render
|
|
|
59949
59950
|
}
|
|
59950
59951
|
})], 1) : _vm._e()], 1);
|
|
59951
59952
|
};
|
|
59952
|
-
var
|
|
59953
|
+
var Attachmentvue_type_template_id_4ccafcfd_scoped_true_staticRenderFns = [];
|
|
59953
59954
|
|
|
59954
59955
|
;// 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
|
|
59955
59956
|
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); }
|
|
@@ -60551,9 +60552,10 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
60551
60552
|
}).then(function (res) {
|
|
60552
60553
|
_this6.loaded = false;
|
|
60553
60554
|
if (res.code === 'success') {
|
|
60554
|
-
|
|
60555
|
-
|
|
60556
|
-
window.open(openUrl, '_blank')
|
|
60555
|
+
//const docId = res.body.docId
|
|
60556
|
+
//let openUrl = './plugins/foxitjj/editor.html?docId=' + docId + '&attachName=' + attachName + '&fileUrl=' + encodeURI(res.body.url)
|
|
60557
|
+
//window.open(openUrl, '_blank')
|
|
60558
|
+
window.open(res.body.url, '_blank');
|
|
60557
60559
|
} else {
|
|
60558
60560
|
_this6.$dialog.alert({
|
|
60559
60561
|
message: res.message,
|
|
@@ -61079,9 +61081,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
61079
61081
|
});
|
|
61080
61082
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
61081
61083
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
61082
|
-
// 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=
|
|
61083
|
-
var
|
|
61084
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
61084
|
+
// 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=4ccafcfd&prod&scoped=true&lang=scss
|
|
61085
|
+
var Attachmentvue_type_style_index_0_id_4ccafcfd_prod_scoped_true_lang_scss = __webpack_require__(3551);
|
|
61086
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=4ccafcfd&prod&scoped=true&lang=scss
|
|
61085
61087
|
|
|
61086
61088
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
61087
61089
|
|
|
@@ -61094,18 +61096,18 @@ var Attachmentvue_type_style_index_0_id_74053824_prod_scoped_true_lang_scss = __
|
|
|
61094
61096
|
|
|
61095
61097
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
61096
61098
|
src_Attachmentvue_type_script_lang_js,
|
|
61097
|
-
|
|
61098
|
-
|
|
61099
|
+
Attachmentvue_type_template_id_4ccafcfd_scoped_true_render,
|
|
61100
|
+
Attachmentvue_type_template_id_4ccafcfd_scoped_true_staticRenderFns,
|
|
61099
61101
|
false,
|
|
61100
61102
|
null,
|
|
61101
|
-
"
|
|
61103
|
+
"4ccafcfd",
|
|
61102
61104
|
null
|
|
61103
61105
|
|
|
61104
61106
|
)
|
|
61105
61107
|
|
|
61106
61108
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
61107
|
-
;// 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=
|
|
61108
|
-
var
|
|
61109
|
+
;// 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=d6674536&scoped=true
|
|
61110
|
+
var BodyFilevue_type_template_id_d6674536_scoped_true_render = function render() {
|
|
61109
61111
|
var _vm = this,
|
|
61110
61112
|
_c = _vm._self._c;
|
|
61111
61113
|
return _c('div', {
|
|
@@ -61480,7 +61482,7 @@ var BodyFilevue_type_template_id_2dc96f84_scoped_true_render = function render()
|
|
|
61480
61482
|
})])]) : _vm._e()]) : _vm._e()];
|
|
61481
61483
|
})], 2)])], 1);
|
|
61482
61484
|
};
|
|
61483
|
-
var
|
|
61485
|
+
var BodyFilevue_type_template_id_d6674536_scoped_true_staticRenderFns = [];
|
|
61484
61486
|
|
|
61485
61487
|
;// 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
|
|
61486
61488
|
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); }
|
|
@@ -62445,7 +62447,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62445
62447
|
handleAttachmentPreview: function handleAttachmentPreview(attach) {
|
|
62446
62448
|
var _this14 = this;
|
|
62447
62449
|
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
|
|
62448
|
-
var device, canView, topdf, extName, wfInstance, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId2, _downUrl2, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId3, _downUrl3, url, _wfInstance, attachShowDownload, fileName;
|
|
62450
|
+
var device, canView, topdf, extName, wfInstance, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId2, _downUrl2, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId3, _downUrl3, _appUrl2, _tSessionId4, _downUrl4, _WFBusiDataId, _WFBodyDocId, _WfModule, attachName, attachType, uploadUrl, foxitOpenType, fileTitle, url, _wfInstance, attachShowDownload, fileName;
|
|
62449
62451
|
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
62450
62452
|
while (1) switch (_context7.prev = _context7.next) {
|
|
62451
62453
|
case 0:
|
|
@@ -62517,7 +62519,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62517
62519
|
});
|
|
62518
62520
|
}
|
|
62519
62521
|
}, 'json');
|
|
62520
|
-
_context7.next =
|
|
62522
|
+
_context7.next = 96;
|
|
62521
62523
|
break;
|
|
62522
62524
|
case 27:
|
|
62523
62525
|
if (!(_this14.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
@@ -62571,7 +62573,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62571
62573
|
});
|
|
62572
62574
|
}
|
|
62573
62575
|
});
|
|
62574
|
-
_context7.next =
|
|
62576
|
+
_context7.next = 96;
|
|
62575
62577
|
break;
|
|
62576
62578
|
case 45:
|
|
62577
62579
|
if (!(_this14.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
@@ -62616,9 +62618,68 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62616
62618
|
}
|
|
62617
62619
|
});
|
|
62618
62620
|
}
|
|
62619
|
-
_context7.next =
|
|
62621
|
+
_context7.next = 96;
|
|
62620
62622
|
break;
|
|
62621
62623
|
case 62:
|
|
62624
|
+
if (!(_this14.viewer === 'foxith5' && (topdf || extName === '.ofd'))) {
|
|
62625
|
+
_context7.next = 84;
|
|
62626
|
+
break;
|
|
62627
|
+
}
|
|
62628
|
+
_appUrl2 = location.href.split('#')[0].split('mindex.html')[0];
|
|
62629
|
+
if (_appUrl2.indexOf('//127') !== -1) {
|
|
62630
|
+
_appUrl2 = 'http://toa.ecinc.com.cn:2028/';
|
|
62631
|
+
}
|
|
62632
|
+
_context7.next = 67;
|
|
62633
|
+
return _this14.getSessionId();
|
|
62634
|
+
case 67:
|
|
62635
|
+
_tSessionId4 = _context7.sent;
|
|
62636
|
+
//正文下载地址
|
|
62637
|
+
_downUrl4 = _appUrl2 + "/apigw";
|
|
62638
|
+
_downUrl4 += _this14.wfAttachUrl.substring(0, 1) === '/' ? _this14.wfAttachUrl : '/' + _this14.wfAttachUrl;
|
|
62639
|
+
_downUrl4 += '/downloadById?attachIds=' + attach.id + '&topdf=false';
|
|
62640
|
+
//downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
62641
|
+
_downUrl4 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId4;
|
|
62642
|
+
_downUrl4 += '&saveAs=' + encodeURI(attach.fileName);
|
|
62643
|
+
_WFBusiDataId = _this14.$vnode.context.vo.id;
|
|
62644
|
+
_WFBodyDocId = _this14.$vnode.context.wfInstance.bodyDocId;
|
|
62645
|
+
_WfModule = _this14.$vnode.context.wfInstance.module;
|
|
62646
|
+
attachName = attach.fileName;
|
|
62647
|
+
attachType = attach.fileType;
|
|
62648
|
+
uploadUrl = _appUrl2 + "/apigw".substring(1) + '/' + _this14.$vnode.context.wfAttachUrl + '/upload';
|
|
62649
|
+
foxitOpenType = 'openPreview';
|
|
62650
|
+
fileTitle = attachName;
|
|
62651
|
+
_this14.$http({
|
|
62652
|
+
method: 'GET',
|
|
62653
|
+
url: 'foxitEditor/getEditorUrl',
|
|
62654
|
+
params: {
|
|
62655
|
+
module: _WfModule,
|
|
62656
|
+
busiDataId: _WFBusiDataId,
|
|
62657
|
+
attachId: '',
|
|
62658
|
+
attachName: encodeURIComponent(attachName),
|
|
62659
|
+
attachType: attachType,
|
|
62660
|
+
fileTitle: fileTitle,
|
|
62661
|
+
bodyDocId: _WFBodyDocId,
|
|
62662
|
+
downUrl: _downUrl4,
|
|
62663
|
+
uploadUrl: uploadUrl,
|
|
62664
|
+
openType: foxitOpenType
|
|
62665
|
+
}
|
|
62666
|
+
}).then(function (res) {
|
|
62667
|
+
_this14.loaded = false;
|
|
62668
|
+
if (res.code === 'success') {
|
|
62669
|
+
//const docId = res.body.docId
|
|
62670
|
+
//let openUrl = './plugins/foxitjj/editor.html?docId=' + docId + '&attachName=' + attachName + '&fileUrl=' + encodeURI(res.body.url)
|
|
62671
|
+
//window.open(openUrl, '_blank')
|
|
62672
|
+
window.open(res.body.url, '_blank');
|
|
62673
|
+
} else {
|
|
62674
|
+
_this14.$dialog.alert({
|
|
62675
|
+
message: res.message,
|
|
62676
|
+
type: 'error'
|
|
62677
|
+
});
|
|
62678
|
+
}
|
|
62679
|
+
});
|
|
62680
|
+
_context7.next = 96;
|
|
62681
|
+
break;
|
|
62682
|
+
case 84:
|
|
62622
62683
|
url = "/apigw";
|
|
62623
62684
|
url += _this14.wfAttachUrl.substring(0, 1) === '/' ? _this14.wfAttachUrl : '/' + _this14.wfAttachUrl;
|
|
62624
62685
|
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -62642,7 +62703,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62642
62703
|
url += '&img=true';
|
|
62643
62704
|
}
|
|
62644
62705
|
_this14.$mappUtils.downLoadAndOpenFile(_this14, url, fileName, attach.fileRealSize);
|
|
62645
|
-
case
|
|
62706
|
+
case 96:
|
|
62646
62707
|
case "end":
|
|
62647
62708
|
return _context7.stop();
|
|
62648
62709
|
}
|
|
@@ -62653,9 +62714,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62653
62714
|
});
|
|
62654
62715
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
62655
62716
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
62656
|
-
// 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=
|
|
62657
|
-
var
|
|
62658
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
62717
|
+
// 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=d6674536&prod&scoped=true&lang=scss
|
|
62718
|
+
var BodyFilevue_type_style_index_0_id_d6674536_prod_scoped_true_lang_scss = __webpack_require__(5965);
|
|
62719
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d6674536&prod&scoped=true&lang=scss
|
|
62659
62720
|
|
|
62660
62721
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
62661
62722
|
|
|
@@ -62668,11 +62729,11 @@ var BodyFilevue_type_style_index_0_id_2dc96f84_prod_scoped_true_lang_scss = __we
|
|
|
62668
62729
|
|
|
62669
62730
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
62670
62731
|
src_BodyFilevue_type_script_lang_js,
|
|
62671
|
-
|
|
62672
|
-
|
|
62732
|
+
BodyFilevue_type_template_id_d6674536_scoped_true_render,
|
|
62733
|
+
BodyFilevue_type_template_id_d6674536_scoped_true_staticRenderFns,
|
|
62673
62734
|
false,
|
|
62674
62735
|
null,
|
|
62675
|
-
"
|
|
62736
|
+
"d6674536",
|
|
62676
62737
|
null
|
|
62677
62738
|
|
|
62678
62739
|
)
|