ecinc-cloud-mappaio 9.6.185 → 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.umd.js
CHANGED
|
@@ -7974,7 +7974,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-d6f101a0] .van-nav-bar__title{
|
|
|
7974
7974
|
|
|
7975
7975
|
/***/ }),
|
|
7976
7976
|
|
|
7977
|
-
/***/
|
|
7977
|
+
/***/ 7169:
|
|
7978
7978
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7979
7979
|
|
|
7980
7980
|
"use strict";
|
|
@@ -7988,14 +7988,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7988
7988
|
|
|
7989
7989
|
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()));
|
|
7990
7990
|
// Module
|
|
7991
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-
|
|
7991
|
+
___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)}", ""]);
|
|
7992
7992
|
// Exports
|
|
7993
7993
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
7994
7994
|
|
|
7995
7995
|
|
|
7996
7996
|
/***/ }),
|
|
7997
7997
|
|
|
7998
|
-
/***/
|
|
7998
|
+
/***/ 5051:
|
|
7999
7999
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8000
8000
|
|
|
8001
8001
|
"use strict";
|
|
@@ -8009,7 +8009,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8009
8009
|
|
|
8010
8010
|
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()));
|
|
8011
8011
|
// Module
|
|
8012
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-
|
|
8012
|
+
___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}", ""]);
|
|
8013
8013
|
// Exports
|
|
8014
8014
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
8015
8015
|
|
|
@@ -34900,35 +34900,35 @@ var update = add("2f575395", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
34900
34900
|
|
|
34901
34901
|
/***/ }),
|
|
34902
34902
|
|
|
34903
|
-
/***/
|
|
34903
|
+
/***/ 6349:
|
|
34904
34904
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34905
34905
|
|
|
34906
34906
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34907
34907
|
|
|
34908
34908
|
// load the styles
|
|
34909
|
-
var content = __webpack_require__(
|
|
34909
|
+
var content = __webpack_require__(7169);
|
|
34910
34910
|
if(content.__esModule) content = content.default;
|
|
34911
34911
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34912
34912
|
if(content.locals) module.exports = content.locals;
|
|
34913
34913
|
// add the styles to the DOM
|
|
34914
34914
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34915
|
-
var update = add("
|
|
34915
|
+
var update = add("da8b6162", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34916
34916
|
|
|
34917
34917
|
/***/ }),
|
|
34918
34918
|
|
|
34919
|
-
/***/
|
|
34919
|
+
/***/ 9655:
|
|
34920
34920
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
34921
34921
|
|
|
34922
34922
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
34923
34923
|
|
|
34924
34924
|
// load the styles
|
|
34925
|
-
var content = __webpack_require__(
|
|
34925
|
+
var content = __webpack_require__(5051);
|
|
34926
34926
|
if(content.__esModule) content = content.default;
|
|
34927
34927
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
34928
34928
|
if(content.locals) module.exports = content.locals;
|
|
34929
34929
|
// add the styles to the DOM
|
|
34930
34930
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
34931
|
-
var update = add("
|
|
34931
|
+
var update = add("331cdbc4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
34932
34932
|
|
|
34933
34933
|
/***/ }),
|
|
34934
34934
|
|
|
@@ -41841,6 +41841,7 @@ var auth_install = function install(Vue) {
|
|
|
41841
41841
|
},
|
|
41842
41842
|
setTicket: function setTicket(ticket) {
|
|
41843
41843
|
js_cookie_default().set((window.ecwebTicket || 'ecweb-ticket') + port, ticket);
|
|
41844
|
+
js_cookie_default().set((window.ecwebTicket || 'ecweb-ticket') + productCode, ticket);
|
|
41844
41845
|
return sessionStorage.setItem((window.ecwebTicket || 'ecweb-ticket') + productCode, ticket);
|
|
41845
41846
|
},
|
|
41846
41847
|
removeTicket: function removeTicket() {
|
|
@@ -59684,8 +59685,8 @@ WfStatus_src.install = function (Vue) {
|
|
|
59684
59685
|
Vue.component(WfStatus_src.name, WfStatus_src);
|
|
59685
59686
|
};
|
|
59686
59687
|
/* harmony default export */ var WfStatus = (WfStatus_src);
|
|
59687
|
-
;// 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=
|
|
59688
|
-
var
|
|
59688
|
+
;// 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=4ccafcfd&scoped=true
|
|
59689
|
+
var Attachmentvue_type_template_id_4ccafcfd_scoped_true_render = function render() {
|
|
59689
59690
|
var _vm = this,
|
|
59690
59691
|
_c = _vm._self._c;
|
|
59691
59692
|
return _c('div', {
|
|
@@ -59959,7 +59960,7 @@ var Attachmentvue_type_template_id_74053824_scoped_true_render = function render
|
|
|
59959
59960
|
}
|
|
59960
59961
|
})], 1) : _vm._e()], 1);
|
|
59961
59962
|
};
|
|
59962
|
-
var
|
|
59963
|
+
var Attachmentvue_type_template_id_4ccafcfd_scoped_true_staticRenderFns = [];
|
|
59963
59964
|
|
|
59964
59965
|
;// 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
|
|
59965
59966
|
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); }
|
|
@@ -60561,9 +60562,10 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
60561
60562
|
}).then(function (res) {
|
|
60562
60563
|
_this6.loaded = false;
|
|
60563
60564
|
if (res.code === 'success') {
|
|
60564
|
-
|
|
60565
|
-
|
|
60566
|
-
window.open(openUrl, '_blank')
|
|
60565
|
+
//const docId = res.body.docId
|
|
60566
|
+
//let openUrl = './plugins/foxitjj/editor.html?docId=' + docId + '&attachName=' + attachName + '&fileUrl=' + encodeURI(res.body.url)
|
|
60567
|
+
//window.open(openUrl, '_blank')
|
|
60568
|
+
window.open(res.body.url, '_blank');
|
|
60567
60569
|
} else {
|
|
60568
60570
|
_this6.$dialog.alert({
|
|
60569
60571
|
message: res.message,
|
|
@@ -61089,9 +61091,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
|
|
|
61089
61091
|
});
|
|
61090
61092
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
|
|
61091
61093
|
/* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
|
|
61092
|
-
// 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=
|
|
61093
|
-
var
|
|
61094
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=
|
|
61094
|
+
// 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=4ccafcfd&prod&scoped=true&lang=scss
|
|
61095
|
+
var Attachmentvue_type_style_index_0_id_4ccafcfd_prod_scoped_true_lang_scss = __webpack_require__(6349);
|
|
61096
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=4ccafcfd&prod&scoped=true&lang=scss
|
|
61095
61097
|
|
|
61096
61098
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
|
|
61097
61099
|
|
|
@@ -61104,18 +61106,18 @@ var Attachmentvue_type_style_index_0_id_74053824_prod_scoped_true_lang_scss = __
|
|
|
61104
61106
|
|
|
61105
61107
|
var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
61106
61108
|
src_Attachmentvue_type_script_lang_js,
|
|
61107
|
-
|
|
61108
|
-
|
|
61109
|
+
Attachmentvue_type_template_id_4ccafcfd_scoped_true_render,
|
|
61110
|
+
Attachmentvue_type_template_id_4ccafcfd_scoped_true_staticRenderFns,
|
|
61109
61111
|
false,
|
|
61110
61112
|
null,
|
|
61111
|
-
"
|
|
61113
|
+
"4ccafcfd",
|
|
61112
61114
|
null
|
|
61113
61115
|
|
|
61114
61116
|
)
|
|
61115
61117
|
|
|
61116
61118
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
61117
|
-
;// 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/BodyFile.vue?vue&type=template&id=
|
|
61118
|
-
var
|
|
61119
|
+
;// 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/BodyFile.vue?vue&type=template&id=d6674536&scoped=true
|
|
61120
|
+
var BodyFilevue_type_template_id_d6674536_scoped_true_render = function render() {
|
|
61119
61121
|
var _vm = this,
|
|
61120
61122
|
_c = _vm._self._c;
|
|
61121
61123
|
return _c('div', {
|
|
@@ -61490,7 +61492,7 @@ var BodyFilevue_type_template_id_2dc96f84_scoped_true_render = function render()
|
|
|
61490
61492
|
})])]) : _vm._e()]) : _vm._e()];
|
|
61491
61493
|
})], 2)])], 1);
|
|
61492
61494
|
};
|
|
61493
|
-
var
|
|
61495
|
+
var BodyFilevue_type_template_id_d6674536_scoped_true_staticRenderFns = [];
|
|
61494
61496
|
|
|
61495
61497
|
;// 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/BodyFile.vue?vue&type=script&lang=js
|
|
61496
61498
|
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); }
|
|
@@ -62455,7 +62457,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62455
62457
|
handleAttachmentPreview: function handleAttachmentPreview(attach) {
|
|
62456
62458
|
var _this14 = this;
|
|
62457
62459
|
return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
|
|
62458
|
-
var device, canView, topdf, extName, wfInstance, tSessionId, hostname, downUrl, convertType, appUrl, _tSessionId2, _downUrl2, WfModule, WFBodyDocId, WFBusiDataId, params, _appUrl, _tSessionId3, _downUrl3, url, _wfInstance, attachShowDownload, fileName;
|
|
62460
|
+
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;
|
|
62459
62461
|
return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
62460
62462
|
while (1) switch (_context7.prev = _context7.next) {
|
|
62461
62463
|
case 0:
|
|
@@ -62527,7 +62529,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62527
62529
|
});
|
|
62528
62530
|
}
|
|
62529
62531
|
}, 'json');
|
|
62530
|
-
_context7.next =
|
|
62532
|
+
_context7.next = 96;
|
|
62531
62533
|
break;
|
|
62532
62534
|
case 27:
|
|
62533
62535
|
if (!(_this14.viewer === 'wpsh5' && (topdf || extName === '.ofd' || extName === '.wps'))) {
|
|
@@ -62581,7 +62583,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62581
62583
|
});
|
|
62582
62584
|
}
|
|
62583
62585
|
});
|
|
62584
|
-
_context7.next =
|
|
62586
|
+
_context7.next = 96;
|
|
62585
62587
|
break;
|
|
62586
62588
|
case 45:
|
|
62587
62589
|
if (!(_this14.viewer === 'fuxin' && (topdf || extName === '.ofd'))) {
|
|
@@ -62626,9 +62628,68 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62626
62628
|
}
|
|
62627
62629
|
});
|
|
62628
62630
|
}
|
|
62629
|
-
_context7.next =
|
|
62631
|
+
_context7.next = 96;
|
|
62630
62632
|
break;
|
|
62631
62633
|
case 62:
|
|
62634
|
+
if (!(_this14.viewer === 'foxith5' && (topdf || extName === '.ofd'))) {
|
|
62635
|
+
_context7.next = 84;
|
|
62636
|
+
break;
|
|
62637
|
+
}
|
|
62638
|
+
_appUrl2 = location.href.split('#')[0].split('mindex.html')[0];
|
|
62639
|
+
if (_appUrl2.indexOf('//127') !== -1) {
|
|
62640
|
+
_appUrl2 = 'http://toa.ecinc.com.cn:2028/';
|
|
62641
|
+
}
|
|
62642
|
+
_context7.next = 67;
|
|
62643
|
+
return _this14.getSessionId();
|
|
62644
|
+
case 67:
|
|
62645
|
+
_tSessionId4 = _context7.sent;
|
|
62646
|
+
//正文下载地址
|
|
62647
|
+
_downUrl4 = _appUrl2 + "/apigw";
|
|
62648
|
+
_downUrl4 += _this14.wfAttachUrl.substring(0, 1) === '/' ? _this14.wfAttachUrl : '/' + _this14.wfAttachUrl;
|
|
62649
|
+
_downUrl4 += '/downloadById?attachIds=' + attach.id + '&topdf=false';
|
|
62650
|
+
//downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
|
|
62651
|
+
_downUrl4 += '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + _tSessionId4;
|
|
62652
|
+
_downUrl4 += '&saveAs=' + encodeURI(attach.fileName);
|
|
62653
|
+
_WFBusiDataId = _this14.$vnode.context.vo.id;
|
|
62654
|
+
_WFBodyDocId = _this14.$vnode.context.wfInstance.bodyDocId;
|
|
62655
|
+
_WfModule = _this14.$vnode.context.wfInstance.module;
|
|
62656
|
+
attachName = attach.fileName;
|
|
62657
|
+
attachType = attach.fileType;
|
|
62658
|
+
uploadUrl = _appUrl2 + "/apigw".substring(1) + '/' + _this14.$vnode.context.wfAttachUrl + '/upload';
|
|
62659
|
+
foxitOpenType = 'openPreview';
|
|
62660
|
+
fileTitle = attachName;
|
|
62661
|
+
_this14.$http({
|
|
62662
|
+
method: 'GET',
|
|
62663
|
+
url: 'foxitEditor/getEditorUrl',
|
|
62664
|
+
params: {
|
|
62665
|
+
module: _WfModule,
|
|
62666
|
+
busiDataId: _WFBusiDataId,
|
|
62667
|
+
attachId: '',
|
|
62668
|
+
attachName: encodeURIComponent(attachName),
|
|
62669
|
+
attachType: attachType,
|
|
62670
|
+
fileTitle: fileTitle,
|
|
62671
|
+
bodyDocId: _WFBodyDocId,
|
|
62672
|
+
downUrl: _downUrl4,
|
|
62673
|
+
uploadUrl: uploadUrl,
|
|
62674
|
+
openType: foxitOpenType
|
|
62675
|
+
}
|
|
62676
|
+
}).then(function (res) {
|
|
62677
|
+
_this14.loaded = false;
|
|
62678
|
+
if (res.code === 'success') {
|
|
62679
|
+
//const docId = res.body.docId
|
|
62680
|
+
//let openUrl = './plugins/foxitjj/editor.html?docId=' + docId + '&attachName=' + attachName + '&fileUrl=' + encodeURI(res.body.url)
|
|
62681
|
+
//window.open(openUrl, '_blank')
|
|
62682
|
+
window.open(res.body.url, '_blank');
|
|
62683
|
+
} else {
|
|
62684
|
+
_this14.$dialog.alert({
|
|
62685
|
+
message: res.message,
|
|
62686
|
+
type: 'error'
|
|
62687
|
+
});
|
|
62688
|
+
}
|
|
62689
|
+
});
|
|
62690
|
+
_context7.next = 96;
|
|
62691
|
+
break;
|
|
62692
|
+
case 84:
|
|
62632
62693
|
url = "/apigw";
|
|
62633
62694
|
url += _this14.wfAttachUrl.substring(0, 1) === '/' ? _this14.wfAttachUrl : '/' + _this14.wfAttachUrl;
|
|
62634
62695
|
url += '/downloadById?inline=true&attachIds=' + attach.id + '&topdf=' + topdf;
|
|
@@ -62652,7 +62713,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62652
62713
|
url += '&img=true';
|
|
62653
62714
|
}
|
|
62654
62715
|
_this14.$mappUtils.downLoadAndOpenFile(_this14, url, fileName, attach.fileRealSize);
|
|
62655
|
-
case
|
|
62716
|
+
case 96:
|
|
62656
62717
|
case "end":
|
|
62657
62718
|
return _context7.stop();
|
|
62658
62719
|
}
|
|
@@ -62663,9 +62724,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
62663
62724
|
});
|
|
62664
62725
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
62665
62726
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
62666
|
-
// 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/BodyFile.vue?vue&type=style&index=0&id=
|
|
62667
|
-
var
|
|
62668
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
62727
|
+
// 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/BodyFile.vue?vue&type=style&index=0&id=d6674536&prod&scoped=true&lang=scss
|
|
62728
|
+
var BodyFilevue_type_style_index_0_id_d6674536_prod_scoped_true_lang_scss = __webpack_require__(9655);
|
|
62729
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=d6674536&prod&scoped=true&lang=scss
|
|
62669
62730
|
|
|
62670
62731
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
|
|
62671
62732
|
|
|
@@ -62678,11 +62739,11 @@ var BodyFilevue_type_style_index_0_id_2dc96f84_prod_scoped_true_lang_scss = __we
|
|
|
62678
62739
|
|
|
62679
62740
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
62680
62741
|
src_BodyFilevue_type_script_lang_js,
|
|
62681
|
-
|
|
62682
|
-
|
|
62742
|
+
BodyFilevue_type_template_id_d6674536_scoped_true_render,
|
|
62743
|
+
BodyFilevue_type_template_id_d6674536_scoped_true_staticRenderFns,
|
|
62683
62744
|
false,
|
|
62684
62745
|
null,
|
|
62685
|
-
"
|
|
62746
|
+
"d6674536",
|
|
62686
62747
|
null
|
|
62687
62748
|
|
|
62688
62749
|
)
|