ecinc-cloud-wappaio 9.0.114 → 9.0.115
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/ecwappaio.common.js +96 -91
- package/lib/ecwappaio.umd.js +96 -91
- package/lib/ecwappaio.umd.min.js +34 -34
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -157068,6 +157068,20 @@ module.exports = exports;
|
|
|
157068
157068
|
/* unused harmony reexport * */
|
|
157069
157069
|
|
|
157070
157070
|
|
|
157071
|
+
/***/ }),
|
|
157072
|
+
|
|
157073
|
+
/***/ "8ded":
|
|
157074
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
157075
|
+
|
|
157076
|
+
// Imports
|
|
157077
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
157078
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
157079
|
+
// Module
|
|
157080
|
+
exports.push([module.i, ".bottombar[data-v-65e3a26b]{position:absolute;background-color:#f1f1f1;height:4px;width:100%;margin-top:-4px}#bodyfilebox[data-v-65e3a26b]{height:calc(100vh - 71px);border:0;text-align:center;font-size:16px}#bodyfilebox .bodyfile[data-v-65e3a26b]{height:100%;width:100%}.nobodyfile[data-v-65e3a26b]{background-color:#fff;height:calc(100% - 10px);margin:auto}.nobodyfile .nofile[data-v-65e3a26b]{width:76px!important;height:76px!important;margin-top:100px;opacity:.5}.nobodyfile .filename[data-v-65e3a26b]{display:inline-block;font-size:18px;font-weight:600;width:90%;text-align:center;margin-top:100px;margin-bottom:20px}@media (max-width:1569px){.nobodyfile[data-v-65e3a26b]{width:980px}}@media (min-width:1570px){.nobodyfile[data-v-65e3a26b]{width:1200px}}", ""]);
|
|
157081
|
+
// Exports
|
|
157082
|
+
module.exports = exports;
|
|
157083
|
+
|
|
157084
|
+
|
|
157071
157085
|
/***/ }),
|
|
157072
157086
|
|
|
157073
157087
|
/***/ "8df4":
|
|
@@ -157998,6 +158012,17 @@ module.exports = function (Constructor, NAME, next) {
|
|
|
157998
158012
|
};
|
|
157999
158013
|
|
|
158000
158014
|
|
|
158015
|
+
/***/ }),
|
|
158016
|
+
|
|
158017
|
+
/***/ "8f8b":
|
|
158018
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
158019
|
+
|
|
158020
|
+
"use strict";
|
|
158021
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ViewBodyFile_vue_vue_type_style_index_0_id_65e3a26b_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("912c");
|
|
158022
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ViewBodyFile_vue_vue_type_style_index_0_id_65e3a26b_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ViewBodyFile_vue_vue_type_style_index_0_id_65e3a26b_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
158023
|
+
/* unused harmony reexport * */
|
|
158024
|
+
|
|
158025
|
+
|
|
158001
158026
|
/***/ }),
|
|
158002
158027
|
|
|
158003
158028
|
/***/ "8f94":
|
|
@@ -158808,6 +158833,22 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
158808
158833
|
/* unused harmony reexport * */
|
|
158809
158834
|
|
|
158810
158835
|
|
|
158836
|
+
/***/ }),
|
|
158837
|
+
|
|
158838
|
+
/***/ "912c":
|
|
158839
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
158840
|
+
|
|
158841
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
158842
|
+
|
|
158843
|
+
// load the styles
|
|
158844
|
+
var content = __webpack_require__("8ded");
|
|
158845
|
+
if(content.__esModule) content = content.default;
|
|
158846
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
158847
|
+
if(content.locals) module.exports = content.locals;
|
|
158848
|
+
// add the styles to the DOM
|
|
158849
|
+
var add = __webpack_require__("499e").default
|
|
158850
|
+
var update = add("b4d2025e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
158851
|
+
|
|
158811
158852
|
/***/ }),
|
|
158812
158853
|
|
|
158813
158854
|
/***/ "9138":
|
|
@@ -167905,17 +167946,6 @@ function EVP_BytesToKey (password, salt, keyBits, ivLen) {
|
|
|
167905
167946
|
module.exports = EVP_BytesToKey
|
|
167906
167947
|
|
|
167907
167948
|
|
|
167908
|
-
/***/ }),
|
|
167909
|
-
|
|
167910
|
-
/***/ "ae9c":
|
|
167911
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167912
|
-
|
|
167913
|
-
"use strict";
|
|
167914
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ViewBodyFile_vue_vue_type_style_index_0_id_68e68533_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ef46");
|
|
167915
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ViewBodyFile_vue_vue_type_style_index_0_id_68e68533_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ViewBodyFile_vue_vue_type_style_index_0_id_68e68533_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
167916
|
-
/* unused harmony reexport * */
|
|
167917
|
-
|
|
167918
|
-
|
|
167919
167949
|
/***/ }),
|
|
167920
167950
|
|
|
167921
167951
|
/***/ "aebd":
|
|
@@ -180208,7 +180238,7 @@ var update = add("824413f4", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
180208
180238
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return uuid; });
|
|
180209
180239
|
/* unused harmony export aesEncrypt */
|
|
180210
180240
|
/* unused harmony export aesDecrypt */
|
|
180211
|
-
/* harmony export
|
|
180241
|
+
/* unused harmony export determineOS */
|
|
180212
180242
|
function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }
|
|
180213
180243
|
var moment = __webpack_require__("c1df");
|
|
180214
180244
|
|
|
@@ -180302,7 +180332,7 @@ function byteLength(str) {
|
|
|
180302
180332
|
for (var i = str.length - 1; i >= 0; i--) {
|
|
180303
180333
|
var code = str.charCodeAt(i);
|
|
180304
180334
|
if (code > 0x7f && code <= 0x7ff) s++;else if (code > 0x7ff && code <= 0xffff) s += 1;
|
|
180305
|
-
if (code >=
|
|
180335
|
+
if (code >= 0xDC00 && code <= 0xDFFF) i--;
|
|
180306
180336
|
}
|
|
180307
180337
|
return s;
|
|
180308
180338
|
}
|
|
@@ -180435,10 +180465,8 @@ function debounce(func, wait, immediate) {
|
|
|
180435
180465
|
}
|
|
180436
180466
|
};
|
|
180437
180467
|
return function () {
|
|
180438
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
180439
|
-
args[_key] = arguments[_key];
|
|
180440
|
-
}
|
|
180441
180468
|
context = this;
|
|
180469
|
+
args = arguments;
|
|
180442
180470
|
timestamp = +new Date();
|
|
180443
180471
|
var callNow = immediate && !timeout;
|
|
180444
180472
|
// 如果延时不存在,重新设定延时
|
|
@@ -180695,37 +180723,17 @@ function aesDecrypt(word) {
|
|
|
180695
180723
|
return window.CryptoJS.enc.Utf8.stringify(decrypt).toString();
|
|
180696
180724
|
}
|
|
180697
180725
|
|
|
180698
|
-
|
|
180699
|
-
|
|
180700
|
-
|
|
180701
|
-
|
|
180702
|
-
|
|
180703
|
-
if (
|
|
180704
|
-
return '
|
|
180705
|
-
}
|
|
180706
|
-
|
|
180707
|
-
return 'images/w-imgs/email/ppt.png';
|
|
180708
|
-
}
|
|
180709
|
-
if (extension === '.xls' || extension === '.xlsx') {
|
|
180710
|
-
return 'images/w-imgs/email/excel.png';
|
|
180711
|
-
}
|
|
180712
|
-
if (extension === '.pdf') {
|
|
180713
|
-
return 'images/w-imgs/email/pdf.png';
|
|
180714
|
-
}
|
|
180715
|
-
if (extension === '.txt') {
|
|
180716
|
-
return 'images/w-imgs/email/txt.png';
|
|
180717
|
-
} else if (extension === '.audio' || extension === '.amr' || extension === '.mp3' || extension === '.wav') {
|
|
180718
|
-
return 'images/w-imgs/email/audio.png';
|
|
180719
|
-
} else if (extension === '.video' || extension === '.mp4' || extension === '.mov') {
|
|
180720
|
-
return 'images/w-imgs/email/video.png';
|
|
180721
|
-
} else if (extension === '.zip' || extension === '.rar') {
|
|
180722
|
-
return 'images/w-imgs/email/zip.png';
|
|
180723
|
-
} else if (extension === '.image' || extension === '.mp4' || extension === '.jpg' || extension === '.jpeg' || extension === '.png' || extension === '.gif' || extension === '.bmp' || extension === '.svg') {
|
|
180724
|
-
return 'images/w-imgs/email/picture.png';
|
|
180725
|
-
} else if (extension === ' ') {
|
|
180726
|
-
return 'images/w-imgs/email/none.png';
|
|
180726
|
+
/**
|
|
180727
|
+
*
|
|
180728
|
+
*/
|
|
180729
|
+
function determineOS() {
|
|
180730
|
+
var userAgent = window.navigator.userAgent;
|
|
180731
|
+
if (/windows|win32/i.test(userAgent)) {
|
|
180732
|
+
return 'Windows';
|
|
180733
|
+
} else if (/linux/i.test(userAgent)) {
|
|
180734
|
+
return 'Linux';
|
|
180727
180735
|
} else {
|
|
180728
|
-
return '
|
|
180736
|
+
return '其他操作系统'; // 例如:macOS、iOS、Android 等
|
|
180729
180737
|
}
|
|
180730
180738
|
}
|
|
180731
180739
|
|
|
@@ -191996,20 +192004,6 @@ exports.push([module.i, ".form_item .el-date-editor .el-input__prefix{right:5px;
|
|
|
191996
192004
|
module.exports = exports;
|
|
191997
192005
|
|
|
191998
192006
|
|
|
191999
|
-
/***/ }),
|
|
192000
|
-
|
|
192001
|
-
/***/ "cb89":
|
|
192002
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
192003
|
-
|
|
192004
|
-
// Imports
|
|
192005
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
192006
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
192007
|
-
// Module
|
|
192008
|
-
exports.push([module.i, ".bottombar[data-v-68e68533]{position:absolute;background-color:#f1f1f1;height:4px;width:100%;margin-top:-4px}#bodyfilebox[data-v-68e68533]{height:calc(100vh - 71px);border:0;text-align:center;font-size:16px}#bodyfilebox .bodyfile[data-v-68e68533]{height:100%;width:100%}.nobodyfile[data-v-68e68533]{background-color:#fff;height:calc(100% - 10px);margin:auto}.nobodyfile .nofile[data-v-68e68533]{width:76px!important;height:76px!important;margin-top:100px;opacity:.5}.nobodyfile .filename[data-v-68e68533]{display:inline-block;font-size:18px;font-weight:600;width:90%;text-align:center;margin-top:100px;margin-bottom:20px}@media (max-width:1569px){.nobodyfile[data-v-68e68533]{width:980px}}@media (min-width:1570px){.nobodyfile[data-v-68e68533]{width:1200px}}", ""]);
|
|
192009
|
-
// Exports
|
|
192010
|
-
module.exports = exports;
|
|
192011
|
-
|
|
192012
|
-
|
|
192013
192007
|
/***/ }),
|
|
192014
192008
|
|
|
192015
192009
|
/***/ "cbc7":
|
|
@@ -228669,22 +228663,6 @@ Entity.prototype.encode = function encode(data, enc, /* internal */ reporter) {
|
|
|
228669
228663
|
};
|
|
228670
228664
|
|
|
228671
228665
|
|
|
228672
|
-
/***/ }),
|
|
228673
|
-
|
|
228674
|
-
/***/ "ef46":
|
|
228675
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
228676
|
-
|
|
228677
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
228678
|
-
|
|
228679
|
-
// load the styles
|
|
228680
|
-
var content = __webpack_require__("cb89");
|
|
228681
|
-
if(content.__esModule) content = content.default;
|
|
228682
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
228683
|
-
if(content.locals) module.exports = content.locals;
|
|
228684
|
-
// add the styles to the DOM
|
|
228685
|
-
var add = __webpack_require__("499e").default
|
|
228686
|
-
var update = add("75b83ad2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
228687
|
-
|
|
228688
228666
|
/***/ }),
|
|
228689
228667
|
|
|
228690
228668
|
/***/ "efcb":
|
|
@@ -258563,7 +258541,7 @@ var IdeaInputBoxvue_type_script_lang_js_moment = __webpack_require__("c1df");
|
|
|
258563
258541
|
}
|
|
258564
258542
|
},
|
|
258565
258543
|
attachIconUrl: function attachIconUrl(attach) {
|
|
258566
|
-
return Object(utils["
|
|
258544
|
+
return Object(utils["attachIconUrl"])(attach);
|
|
258567
258545
|
},
|
|
258568
258546
|
deleteWfIdeaAttach: function deleteWfIdeaAttach(ideaAttach) {
|
|
258569
258547
|
if (this.ideaAttacMultiple) {
|
|
@@ -265757,14 +265735,14 @@ var ReplaceFile_component = Object(componentNormalizer["a" /* default */])(
|
|
|
265757
265735
|
)
|
|
265758
265736
|
|
|
265759
265737
|
/* harmony default export */ var ReplaceFile = (ReplaceFile_component.exports);
|
|
265760
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"98378f54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=template&id=
|
|
265761
|
-
var
|
|
265738
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"98378f54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=template&id=65e3a26b&scoped=true
|
|
265739
|
+
var ViewBodyFilevue_type_template_id_65e3a26b_scoped_true_render = function render() {
|
|
265762
265740
|
var _vm = this,
|
|
265763
265741
|
_c = _vm._self._c;
|
|
265764
265742
|
return _vm.bodyFileUrl != '' ? _c('div', {
|
|
265765
265743
|
staticClass: "bodyfile-container",
|
|
265766
265744
|
style: {
|
|
265767
|
-
|
|
265745
|
+
height: _vm.viewBodyfileHeight > 0 ? _vm.viewBodyfileHeight + 'px' : ''
|
|
265768
265746
|
},
|
|
265769
265747
|
attrs: {
|
|
265770
265748
|
"id": "bodyfilebox"
|
|
@@ -265850,13 +265828,13 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_render = function rend
|
|
|
265850
265828
|
on: {
|
|
265851
265829
|
"click": _vm.downloadBodyFile
|
|
265852
265830
|
}
|
|
265853
|
-
}, [_vm._v("不支持在线预览,您可下载到本地查看
|
|
265831
|
+
}, [_vm._v(" 不支持在线预览,您可下载到本地查看 "), _c('i', {
|
|
265854
265832
|
class: 'el-icon-download'
|
|
265855
265833
|
})])], 1)]], 2)]);
|
|
265856
265834
|
};
|
|
265857
|
-
var
|
|
265835
|
+
var ViewBodyFilevue_type_template_id_65e3a26b_scoped_true_staticRenderFns = [];
|
|
265858
265836
|
|
|
265859
|
-
// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=template&id=
|
|
265837
|
+
// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=template&id=65e3a26b&scoped=true
|
|
265860
265838
|
|
|
265861
265839
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=script&lang=js
|
|
265862
265840
|
/* harmony default export */ var ViewBodyFilevue_type_script_lang_js = ({
|
|
@@ -265887,14 +265865,27 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_staticRenderFns = [];
|
|
|
265887
265865
|
type: Boolean,
|
|
265888
265866
|
default: false
|
|
265889
265867
|
},
|
|
265868
|
+
//显示水印
|
|
265869
|
+
viewRevisions: {
|
|
265870
|
+
type: Boolean,
|
|
265871
|
+
default: false
|
|
265872
|
+
},
|
|
265873
|
+
//查看修订
|
|
265874
|
+
revisionsTopdf: {
|
|
265875
|
+
type: Boolean,
|
|
265876
|
+
default: false
|
|
265877
|
+
},
|
|
265878
|
+
//查看修订是滞转pdf
|
|
265890
265879
|
markContent: {
|
|
265891
265880
|
type: String,
|
|
265892
265881
|
default: ''
|
|
265893
265882
|
},
|
|
265883
|
+
//水印内容
|
|
265894
265884
|
fileNeedSign: {
|
|
265895
265885
|
type: Number,
|
|
265896
265886
|
default: 0
|
|
265897
265887
|
},
|
|
265888
|
+
//文件签名
|
|
265898
265889
|
curTN: {
|
|
265899
265890
|
type: Object,
|
|
265900
265891
|
default: function _default() {
|
|
@@ -265924,7 +265915,8 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_staticRenderFns = [];
|
|
|
265924
265915
|
return {
|
|
265925
265916
|
bodyFileUrl: '',
|
|
265926
265917
|
bodyFileCanEdit: 0,
|
|
265927
|
-
docEditMode: ''
|
|
265918
|
+
docEditMode: '',
|
|
265919
|
+
bodyDocFile: ''
|
|
265928
265920
|
};
|
|
265929
265921
|
},
|
|
265930
265922
|
computed: {},
|
|
@@ -265952,6 +265944,11 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_staticRenderFns = [];
|
|
|
265952
265944
|
window.editBtn = function () {
|
|
265953
265945
|
_this.$vnode.context.btnOpenWordClick();
|
|
265954
265946
|
};
|
|
265947
|
+
window.viewRevisions = function () {
|
|
265948
|
+
var fileurl = "/apigw" + '/' + _this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this.bodyDocFile[0].id;
|
|
265949
|
+
fileurl += '&topdf=' + _this.revisionsTopdf + '&viewRevisions=true';
|
|
265950
|
+
window.open(fileurl);
|
|
265951
|
+
};
|
|
265955
265952
|
},
|
|
265956
265953
|
methods: {
|
|
265957
265954
|
viewBodyFile: function viewBodyFile(flBodyfile) {
|
|
@@ -265967,8 +265964,8 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_staticRenderFns = [];
|
|
|
265967
265964
|
}
|
|
265968
265965
|
this.bodyFileUrl = '';
|
|
265969
265966
|
this.$nextTick(function () {
|
|
265970
|
-
var
|
|
265971
|
-
var extName =
|
|
265967
|
+
var originalName = _this2.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
|
|
265968
|
+
var extName = originalName.substring(originalName.lastIndexOf('.')).toLowerCase();
|
|
265972
265969
|
if (extName === '.pdf' || (_this2.onlineFile + ',').indexOf(extName + ',') !== -1) {
|
|
265973
265970
|
var fileurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id;
|
|
265974
265971
|
fileurl += '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
|
|
@@ -265993,6 +265990,14 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_staticRenderFns = [];
|
|
|
265993
265990
|
fileurl += '&deleteBtn=1';
|
|
265994
265991
|
}
|
|
265995
265992
|
}
|
|
265993
|
+
if (_this2.viewRevisions && _this2.$vnode.context.wfInstance.status > 0) {
|
|
265994
|
+
_this2.bodyDocFile = _this2.$vnode.context.attachments.filter(function (attach) {
|
|
265995
|
+
return attach.originalName.indexOf(_this2.$vnode.context.wfInstance.bodyDocId + '.doc') === 0;
|
|
265996
|
+
});
|
|
265997
|
+
if (_this2.bodyDocFile.length > 0) {
|
|
265998
|
+
fileurl += '&viewRevisions=1';
|
|
265999
|
+
}
|
|
266000
|
+
}
|
|
265996
266001
|
fileurl += '&r=' + Math.random();
|
|
265997
266002
|
_this2.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
|
|
265998
266003
|
}
|
|
@@ -266042,8 +266047,8 @@ var ViewBodyFilevue_type_template_id_68e68533_scoped_true_staticRenderFns = [];
|
|
|
266042
266047
|
});
|
|
266043
266048
|
// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=script&lang=js
|
|
266044
266049
|
/* harmony default export */ var src_ViewBodyFilevue_type_script_lang_js = (ViewBodyFilevue_type_script_lang_js);
|
|
266045
|
-
// EXTERNAL MODULE: ./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=style&index=0&id=
|
|
266046
|
-
var
|
|
266050
|
+
// EXTERNAL MODULE: ./packages/ecwapp/Wflowform/src/ViewBodyFile.vue?vue&type=style&index=0&id=65e3a26b&prod&scoped=true&lang=scss
|
|
266051
|
+
var ViewBodyFilevue_type_style_index_0_id_65e3a26b_prod_scoped_true_lang_scss = __webpack_require__("8f8b");
|
|
266047
266052
|
|
|
266048
266053
|
// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ViewBodyFile.vue
|
|
266049
266054
|
|
|
@@ -266056,11 +266061,11 @@ var ViewBodyFilevue_type_style_index_0_id_68e68533_prod_scoped_true_lang_scss =
|
|
|
266056
266061
|
|
|
266057
266062
|
var ViewBodyFile_component = Object(componentNormalizer["a" /* default */])(
|
|
266058
266063
|
src_ViewBodyFilevue_type_script_lang_js,
|
|
266059
|
-
|
|
266060
|
-
|
|
266064
|
+
ViewBodyFilevue_type_template_id_65e3a26b_scoped_true_render,
|
|
266065
|
+
ViewBodyFilevue_type_template_id_65e3a26b_scoped_true_staticRenderFns,
|
|
266061
266066
|
false,
|
|
266062
266067
|
null,
|
|
266063
|
-
"
|
|
266068
|
+
"65e3a26b",
|
|
266064
266069
|
null
|
|
266065
266070
|
|
|
266066
266071
|
)
|