ecinc-cloud-yoabase 9.5.32 → 9.5.34
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/ecyoabase.common.js +372 -225
- package/lib/ecyoabase.umd.js +372 -225
- package/lib/ecyoabase.umd.min.js +13 -13
- package/package.json +1 -1
package/lib/ecyoabase.common.js
CHANGED
|
@@ -931,20 +931,6 @@ var update = add("7d6f066a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
931
931
|
/* unused harmony reexport * */
|
|
932
932
|
|
|
933
933
|
|
|
934
|
-
/***/ }),
|
|
935
|
-
|
|
936
|
-
/***/ "0685":
|
|
937
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
938
|
-
|
|
939
|
-
// Imports
|
|
940
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
941
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
942
|
-
// Module
|
|
943
|
-
exports.push([module.i, "[data-v-2df27b8c]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:rgba(163,174,177,.419608);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.block-box[data-v-2df27b8c]{width:100%;height:100%;background:#fff;border-radius:3px;border:1px solid #dee2e6}.block-box .block-head[data-v-2df27b8c]{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;color:#000;line-height:49px;background:#fff;padding:0 15px;-webkit-box-shadow:none;box-shadow:none;border-bottom:1px solid #dee2e6;border-radius:3px 3px 0 0}.block-box .block-head .block-head-icon[data-v-2df27b8c]{margin-right:10px;color:var(--subjectColor)}.block-box .block-head .block-head-title[data-v-2df27b8c]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex}.block-box .block-head .block-head-title .block-head-title-array[data-v-2df27b8c]{cursor:pointer;padding:0 5px;position:relative}.block-box .block-head .block-head-title .block-head-title-array-click[data-v-2df27b8c]{color:#333!important}.block-box .block-head .block-head-title .block-head-title-array-click[data-v-2df27b8c]:after{content:\"\";bottom:0;left:0;width:100%;position:absolute;border-bottom:3px solid var(--subjectColor)}.block-box .block-head .block-head-title .tag_count[data-v-2df27b8c]{font-size:12px;padding:1px 5px;line-height:normal;height:auto;border-radius:10px;border:none;position:relative;top:-2px;min-width:25px;text-align:center}.block-box .block-head .block-head-more[data-v-2df27b8c]{cursor:pointer;font-size:13px}.block-box .block-content[data-v-2df27b8c]{height:calc(100% - 49px);border-radius:0 0 3px 3px}.block-box .block-content-border[data-v-2df27b8c]{-webkit-box-shadow:none;box-shadow:none}", ""]);
|
|
944
|
-
// Exports
|
|
945
|
-
module.exports = exports;
|
|
946
|
-
|
|
947
|
-
|
|
948
934
|
/***/ }),
|
|
949
935
|
|
|
950
936
|
/***/ "0693":
|
|
@@ -13803,6 +13789,22 @@ __webpack_require__("5eda")('isExtensible', function ($isExtensible) {
|
|
|
13803
13789
|
});
|
|
13804
13790
|
|
|
13805
13791
|
|
|
13792
|
+
/***/ }),
|
|
13793
|
+
|
|
13794
|
+
/***/ "167a":
|
|
13795
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13796
|
+
|
|
13797
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
13798
|
+
|
|
13799
|
+
// load the styles
|
|
13800
|
+
var content = __webpack_require__("7810");
|
|
13801
|
+
if(content.__esModule) content = content.default;
|
|
13802
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
13803
|
+
if(content.locals) module.exports = content.locals;
|
|
13804
|
+
// add the styles to the DOM
|
|
13805
|
+
var add = __webpack_require__("499e").default
|
|
13806
|
+
var update = add("30e50990", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13807
|
+
|
|
13806
13808
|
/***/ }),
|
|
13807
13809
|
|
|
13808
13810
|
/***/ "167b":
|
|
@@ -16228,17 +16230,6 @@ $export($export.G + $export.W + $export.F * !__webpack_require__("0f88").ABV, {
|
|
|
16228
16230
|
})));
|
|
16229
16231
|
|
|
16230
16232
|
|
|
16231
|
-
/***/ }),
|
|
16232
|
-
|
|
16233
|
-
/***/ "270d":
|
|
16234
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16235
|
-
|
|
16236
|
-
"use strict";
|
|
16237
|
-
/* 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_InlineTextEditor_vue_vue_type_style_index_0_id_784b5696_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b13e");
|
|
16238
|
-
/* 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_InlineTextEditor_vue_vue_type_style_index_0_id_784b5696_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_InlineTextEditor_vue_vue_type_style_index_0_id_784b5696_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
16239
|
-
/* unused harmony reexport * */
|
|
16240
|
-
|
|
16241
|
-
|
|
16242
16233
|
/***/ }),
|
|
16243
16234
|
|
|
16244
16235
|
/***/ "272c":
|
|
@@ -25445,6 +25436,20 @@ __webpack_require__("01f9")(String, 'String', function (iterated) {
|
|
|
25445
25436
|
});
|
|
25446
25437
|
|
|
25447
25438
|
|
|
25439
|
+
/***/ }),
|
|
25440
|
+
|
|
25441
|
+
/***/ "5eac":
|
|
25442
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25443
|
+
|
|
25444
|
+
// Imports
|
|
25445
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
25446
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
25447
|
+
// Module
|
|
25448
|
+
exports.push([module.i, ".bottombar[data-v-5d6731f2]{position:absolute;background-color:#f1f1f1;height:4px;width:100%;margin-top:-4px}#bodyfilebox[data-v-5d6731f2]{height:calc(100vh - 74px);border:0;text-align:center;font-size:16px}#bodyfilebox .bodyfile[data-v-5d6731f2]{height:100%;width:100%}.nobodyfile[data-v-5d6731f2]{background-color:#fff;height:calc(100% - 10px);margin:auto}.nobodyfile .nofile[data-v-5d6731f2]{width:76px!important;height:76px!important;margin-top:100px;opacity:.5}.nobodyfile .filename[data-v-5d6731f2]{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-5d6731f2]{width:980px}}@media (min-width:1570px){.nobodyfile[data-v-5d6731f2]{width:1200px}}", ""]);
|
|
25449
|
+
// Exports
|
|
25450
|
+
module.exports = exports;
|
|
25451
|
+
|
|
25452
|
+
|
|
25448
25453
|
/***/ }),
|
|
25449
25454
|
|
|
25450
25455
|
/***/ "5eb6":
|
|
@@ -29295,6 +29300,20 @@ module.exports = function (index, length) {
|
|
|
29295
29300
|
};
|
|
29296
29301
|
|
|
29297
29302
|
|
|
29303
|
+
/***/ }),
|
|
29304
|
+
|
|
29305
|
+
/***/ "7810":
|
|
29306
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
29307
|
+
|
|
29308
|
+
// Imports
|
|
29309
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
29310
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
29311
|
+
// Module
|
|
29312
|
+
exports.push([module.i, "[data-v-ca607234]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:rgba(163,174,177,.419608);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.block-box[data-v-ca607234]{width:100%;height:100%;background:#fff;border-radius:3px;border:1px solid #dee2e6}.block-box .block-head[data-v-ca607234]{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;color:#000;line-height:49px;background:#fff;padding:0 15px;-webkit-box-shadow:none;box-shadow:none;border-bottom:1px solid #dee2e6;border-radius:3px 3px 0 0}.block-box .block-head .block-head-icon[data-v-ca607234]{margin-right:10px;color:var(--subjectColor)}.block-box .block-head .block-head-title[data-v-ca607234]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex}.block-box .block-head .block-head-title .block-head-title-array[data-v-ca607234]{cursor:pointer;padding:0 5px;position:relative}.block-box .block-head .block-head-title .block-head-title-array-click[data-v-ca607234]{color:#333!important}.block-box .block-head .block-head-title .block-head-title-array-click[data-v-ca607234]:after{content:\"\";bottom:0;left:0;width:100%;position:absolute;border-bottom:3px solid var(--subjectColor)}.block-box .block-head .block-head-title .tag_count[data-v-ca607234]{font-size:12px;padding:1px 5px;line-height:normal;height:auto;border-radius:10px;border:none;position:relative;top:-2px;min-width:25px;text-align:center}.block-box .block-head .block-head-more[data-v-ca607234]{cursor:pointer;font-size:13px}.block-box .block-content[data-v-ca607234]{height:calc(100% - 49px);border-radius:0 0 3px 3px}.block-box .block-content-border[data-v-ca607234]{-webkit-box-shadow:none;box-shadow:none}", ""]);
|
|
29313
|
+
// Exports
|
|
29314
|
+
module.exports = exports;
|
|
29315
|
+
|
|
29316
|
+
|
|
29298
29317
|
/***/ }),
|
|
29299
29318
|
|
|
29300
29319
|
/***/ "782b":
|
|
@@ -46238,20 +46257,6 @@ exports.locals = {
|
|
|
46238
46257
|
module.exports = exports;
|
|
46239
46258
|
|
|
46240
46259
|
|
|
46241
|
-
/***/ }),
|
|
46242
|
-
|
|
46243
|
-
/***/ "8cd3":
|
|
46244
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
46245
|
-
|
|
46246
|
-
// Imports
|
|
46247
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
46248
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
46249
|
-
// Module
|
|
46250
|
-
exports.push([module.i, ".bottombar[data-v-784b5696]{position:absolute;background-color:#f1f1f1;height:4px;width:100%;margin-top:-4px}#bodyfilebox[data-v-784b5696]{height:calc(100vh - 74px);border:0;text-align:center;font-size:16px}#bodyfilebox .bodyfile[data-v-784b5696]{height:100%;width:100%}.nobodyfile[data-v-784b5696]{background-color:#fff;height:calc(100% - 10px);margin:auto}.nobodyfile .nofile[data-v-784b5696]{width:76px!important;height:76px!important;margin-top:100px;opacity:.5}.nobodyfile .filename[data-v-784b5696]{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-784b5696]{width:980px}}@media (min-width:1570px){.nobodyfile[data-v-784b5696]{width:1200px}}", ""]);
|
|
46251
|
-
// Exports
|
|
46252
|
-
module.exports = exports;
|
|
46253
|
-
|
|
46254
|
-
|
|
46255
46260
|
/***/ }),
|
|
46256
46261
|
|
|
46257
46262
|
/***/ "8d47":
|
|
@@ -50433,17 +50438,6 @@ if(content.locals) module.exports = content.locals;
|
|
|
50433
50438
|
var add = __webpack_require__("499e").default
|
|
50434
50439
|
var update = add("0f9c5f32", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50435
50440
|
|
|
50436
|
-
/***/ }),
|
|
50437
|
-
|
|
50438
|
-
/***/ "a837":
|
|
50439
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
50440
|
-
|
|
50441
|
-
"use strict";
|
|
50442
|
-
/* 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_index_vue_vue_type_style_index_0_id_2df27b8c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e888");
|
|
50443
|
-
/* 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_index_vue_vue_type_style_index_0_id_2df27b8c_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_index_vue_vue_type_style_index_0_id_2df27b8c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
50444
|
-
/* unused harmony reexport * */
|
|
50445
|
-
|
|
50446
|
-
|
|
50447
50441
|
/***/ }),
|
|
50448
50442
|
|
|
50449
50443
|
/***/ "a8dc":
|
|
@@ -51231,22 +51225,6 @@ __webpack_require__("5ca1")({
|
|
|
51231
51225
|
});
|
|
51232
51226
|
|
|
51233
51227
|
|
|
51234
|
-
/***/ }),
|
|
51235
|
-
|
|
51236
|
-
/***/ "b13e":
|
|
51237
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
51238
|
-
|
|
51239
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
51240
|
-
|
|
51241
|
-
// load the styles
|
|
51242
|
-
var content = __webpack_require__("8cd3");
|
|
51243
|
-
if(content.__esModule) content = content.default;
|
|
51244
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
51245
|
-
if(content.locals) module.exports = content.locals;
|
|
51246
|
-
// add the styles to the DOM
|
|
51247
|
-
var add = __webpack_require__("499e").default
|
|
51248
|
-
var update = add("997c3148", content, true, {"sourceMap":false,"shadowMode":false});
|
|
51249
|
-
|
|
51250
51228
|
/***/ }),
|
|
51251
51229
|
|
|
51252
51230
|
/***/ "b149":
|
|
@@ -54606,6 +54584,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
54606
54584
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "addClass", function() { return addClass; });
|
|
54607
54585
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeClass", function() { return removeClass; });
|
|
54608
54586
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formatFileSize", function() { return formatFileSize; });
|
|
54587
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "attachIconUrl", function() { return attachIconUrl; });
|
|
54609
54588
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isExternal", function() { return isExternal; });
|
|
54610
54589
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formItemValidate", function() { return formItemValidate; });
|
|
54611
54590
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getExplore", function() { return getExplore; });
|
|
@@ -54707,7 +54686,7 @@ function byteLength(str) {
|
|
|
54707
54686
|
for (var i = str.length - 1; i >= 0; i--) {
|
|
54708
54687
|
var code = str.charCodeAt(i);
|
|
54709
54688
|
if (code > 0x7f && code <= 0x7ff) s++;else if (code > 0x7ff && code <= 0xffff) s += 1;
|
|
54710
|
-
if (code >=
|
|
54689
|
+
if (code >= 0xdc00 && code <= 0xdfff) i--;
|
|
54711
54690
|
}
|
|
54712
54691
|
return s;
|
|
54713
54692
|
}
|
|
@@ -54946,6 +54925,39 @@ function formatFileSize(fileSize) {
|
|
|
54946
54925
|
return _temp2 + 'GB';
|
|
54947
54926
|
}
|
|
54948
54927
|
}
|
|
54928
|
+
// 返回图片路径
|
|
54929
|
+
function attachIconUrl(item) {
|
|
54930
|
+
// 文件类型
|
|
54931
|
+
var extension = item.oriangialName || item.fileName;
|
|
54932
|
+
extension = extension.substring(extension.lastIndexOf('.'));
|
|
54933
|
+
if (extension === '.doc' || extension === '.docx') {
|
|
54934
|
+
return 'images/w-imgs/email/word.png';
|
|
54935
|
+
}
|
|
54936
|
+
if (extension === '.ppt' || extension === '.pptx') {
|
|
54937
|
+
return 'images/w-imgs/email/ppt.png';
|
|
54938
|
+
}
|
|
54939
|
+
if (extension === '.xls' || extension === '.xlsx') {
|
|
54940
|
+
return 'images/w-imgs/email/excel.png';
|
|
54941
|
+
}
|
|
54942
|
+
if (extension === '.pdf') {
|
|
54943
|
+
return 'images/w-imgs/email/pdf.png';
|
|
54944
|
+
}
|
|
54945
|
+
if (extension === '.txt') {
|
|
54946
|
+
return 'images/w-imgs/email/txt.png';
|
|
54947
|
+
} else if (extension === '.audio' || extension === '.amr' || extension === '.mp3' || extension === '.wav') {
|
|
54948
|
+
return 'images/w-imgs/email/audio.png';
|
|
54949
|
+
} else if (extension === '.video' || extension === '.mp4' || extension === '.mov') {
|
|
54950
|
+
return 'images/w-imgs/email/video.png';
|
|
54951
|
+
} else if (extension === '.zip' || extension === '.rar') {
|
|
54952
|
+
return 'images/w-imgs/email/zip.png';
|
|
54953
|
+
} else if (extension === '.image' || extension === '.mp4' || extension === '.jpg' || extension === '.jpeg' || extension === '.png' || extension === '.gif' || extension === '.bmp' || extension === '.svg') {
|
|
54954
|
+
return 'images/w-imgs/email/picture.png';
|
|
54955
|
+
} else if (extension === ' ') {
|
|
54956
|
+
return 'images/w-imgs/email/none.png';
|
|
54957
|
+
} else {
|
|
54958
|
+
return 'images/w-imgs/email/other.png';
|
|
54959
|
+
}
|
|
54960
|
+
}
|
|
54949
54961
|
|
|
54950
54962
|
/**
|
|
54951
54963
|
* @param {string} path
|
|
@@ -69721,6 +69733,17 @@ exports.push([module.i, ".search-box[data-v-47dc45ac]{margin:10px 0;display:-web
|
|
|
69721
69733
|
module.exports = exports;
|
|
69722
69734
|
|
|
69723
69735
|
|
|
69736
|
+
/***/ }),
|
|
69737
|
+
|
|
69738
|
+
/***/ "cbc3":
|
|
69739
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69740
|
+
|
|
69741
|
+
"use strict";
|
|
69742
|
+
/* 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_index_vue_vue_type_style_index_0_id_ca607234_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("167a");
|
|
69743
|
+
/* 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_index_vue_vue_type_style_index_0_id_ca607234_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_index_vue_vue_type_style_index_0_id_ca607234_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
69744
|
+
/* unused harmony reexport * */
|
|
69745
|
+
|
|
69746
|
+
|
|
69724
69747
|
/***/ }),
|
|
69725
69748
|
|
|
69726
69749
|
/***/ "cc48":
|
|
@@ -89088,22 +89111,6 @@ module.exports = function (original) {
|
|
|
89088
89111
|
};
|
|
89089
89112
|
|
|
89090
89113
|
|
|
89091
|
-
/***/ }),
|
|
89092
|
-
|
|
89093
|
-
/***/ "e888":
|
|
89094
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
89095
|
-
|
|
89096
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
89097
|
-
|
|
89098
|
-
// load the styles
|
|
89099
|
-
var content = __webpack_require__("0685");
|
|
89100
|
-
if(content.__esModule) content = content.default;
|
|
89101
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
89102
|
-
if(content.locals) module.exports = content.locals;
|
|
89103
|
-
// add the styles to the DOM
|
|
89104
|
-
var add = __webpack_require__("499e").default
|
|
89105
|
-
var update = add("1491b258", content, true, {"sourceMap":false,"shadowMode":false});
|
|
89106
|
-
|
|
89107
89114
|
/***/ }),
|
|
89108
89115
|
|
|
89109
89116
|
/***/ "e895":
|
|
@@ -90008,6 +90015,22 @@ if (__webpack_require__("9e1e")) {
|
|
|
90008
90015
|
} else module.exports = function () { /* empty */ };
|
|
90009
90016
|
|
|
90010
90017
|
|
|
90018
|
+
/***/ }),
|
|
90019
|
+
|
|
90020
|
+
/***/ "ec74":
|
|
90021
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
90022
|
+
|
|
90023
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
90024
|
+
|
|
90025
|
+
// load the styles
|
|
90026
|
+
var content = __webpack_require__("5eac");
|
|
90027
|
+
if(content.__esModule) content = content.default;
|
|
90028
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
90029
|
+
if(content.locals) module.exports = content.locals;
|
|
90030
|
+
// add the styles to the DOM
|
|
90031
|
+
var add = __webpack_require__("499e").default
|
|
90032
|
+
var update = add("0ee53a0f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
90033
|
+
|
|
90011
90034
|
/***/ }),
|
|
90012
90035
|
|
|
90013
90036
|
/***/ "ec9d":
|
|
@@ -90066,6 +90089,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
90066
90089
|
var add = __webpack_require__("499e").default
|
|
90067
90090
|
var update = add("23bd1d48", content, true, {"sourceMap":false,"shadowMode":false});
|
|
90068
90091
|
|
|
90092
|
+
/***/ }),
|
|
90093
|
+
|
|
90094
|
+
/***/ "ece9":
|
|
90095
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
90096
|
+
|
|
90097
|
+
"use strict";
|
|
90098
|
+
/* 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_InlineTextEditor_vue_vue_type_style_index_0_id_5d6731f2_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ec74");
|
|
90099
|
+
/* 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_InlineTextEditor_vue_vue_type_style_index_0_id_5d6731f2_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_InlineTextEditor_vue_vue_type_style_index_0_id_5d6731f2_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
90100
|
+
/* unused harmony reexport * */
|
|
90101
|
+
|
|
90102
|
+
|
|
90069
90103
|
/***/ }),
|
|
90070
90104
|
|
|
90071
90105
|
/***/ "ecf2":
|
|
@@ -202777,7 +202811,7 @@ var SimulateLeftvue_type_template_id_5ab2a02e_scoped_true_staticRenderFns = [];
|
|
|
202777
202811
|
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/conversation/SimulateLeft.vue?vue&type=template&id=5ab2a02e&scoped=true
|
|
202778
202812
|
|
|
202779
202813
|
// 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/ecyoa/yoabase/src/conversation/SimulateLeft.vue?vue&type=script&lang=js
|
|
202780
|
-
var
|
|
202814
|
+
var SimulateLeftvue_type_script_lang_js_moment = __webpack_require__("c1df");
|
|
202781
202815
|
/* harmony default export */ var SimulateLeftvue_type_script_lang_js = ({
|
|
202782
202816
|
name: 'ConversationSimulateLeft',
|
|
202783
202817
|
components: {},
|
|
@@ -202842,7 +202876,7 @@ var moment = __webpack_require__("c1df");
|
|
|
202842
202876
|
},
|
|
202843
202877
|
changeTime: function changeTime() {
|
|
202844
202878
|
return function (time) {
|
|
202845
|
-
return
|
|
202879
|
+
return SimulateLeftvue_type_script_lang_js_moment.utc(time).format('HH:mm:ss');
|
|
202846
202880
|
};
|
|
202847
202881
|
}
|
|
202848
202882
|
},
|
|
@@ -230460,8 +230494,8 @@ var Applyvue_type_template_id_bb66cbd6_scoped_true_staticRenderFns = [];
|
|
|
230460
230494
|
|
|
230461
230495
|
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/Apply/index.vue?vue&type=template&id=bb66cbd6&scoped=true
|
|
230462
230496
|
|
|
230463
|
-
// 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/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=template&id=
|
|
230464
|
-
var
|
|
230497
|
+
// 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/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=template&id=ca607234&scoped=true
|
|
230498
|
+
var BlockFramevue_type_template_id_ca607234_scoped_true_render = function render() {
|
|
230465
230499
|
var _vm = this,
|
|
230466
230500
|
_c = _vm._self._c;
|
|
230467
230501
|
return _c('div', {
|
|
@@ -230481,7 +230515,36 @@ var BlockFramevue_type_template_id_2df27b8c_scoped_true_render = function render
|
|
|
230481
230515
|
staticClass: "block-head-title"
|
|
230482
230516
|
}, [_vm.getJudge(_vm.header.title) === String ? _c('div', {
|
|
230483
230517
|
staticClass: "block-head-title-string"
|
|
230484
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.header.title))]), _vm.header.count !== undefined ? _c('span', [_vm._v(_vm._s(_vm.header.count))]) : _vm._e()
|
|
230518
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.header.title))]), _vm.header.count !== undefined ? _c('span', [_vm._v(_vm._s(_vm.header.count))]) : _vm._e(), _vm.header.showYearSelect ? _c('div', {
|
|
230519
|
+
staticClass: "header-time-select",
|
|
230520
|
+
staticStyle: {
|
|
230521
|
+
"position": "absolute",
|
|
230522
|
+
"right": "10px",
|
|
230523
|
+
"top": "0"
|
|
230524
|
+
}
|
|
230525
|
+
}, [_c('el-date-picker', {
|
|
230526
|
+
staticStyle: {
|
|
230527
|
+
"width": "105px"
|
|
230528
|
+
},
|
|
230529
|
+
attrs: {
|
|
230530
|
+
"type": "year",
|
|
230531
|
+
"size": "mini",
|
|
230532
|
+
"format": "yyyy年",
|
|
230533
|
+
"placeholder": "选择年份",
|
|
230534
|
+
"value-format": "yyyy",
|
|
230535
|
+
"clearable": false
|
|
230536
|
+
},
|
|
230537
|
+
on: {
|
|
230538
|
+
"change": _vm.changeSelect
|
|
230539
|
+
},
|
|
230540
|
+
model: {
|
|
230541
|
+
value: _vm.selectValue,
|
|
230542
|
+
callback: function callback($$v) {
|
|
230543
|
+
_vm.selectValue = $$v;
|
|
230544
|
+
},
|
|
230545
|
+
expression: "selectValue"
|
|
230546
|
+
}
|
|
230547
|
+
})], 1) : _vm._e()]) : _vm._e(), _vm.getJudge(_vm.header.title) === Array ? [_vm._l(_vm.header.title, function (v, i) {
|
|
230485
230548
|
return _c('div', {
|
|
230486
230549
|
key: i,
|
|
230487
230550
|
staticStyle: {
|
|
@@ -230546,9 +230609,9 @@ var BlockFramevue_type_template_id_2df27b8c_scoped_true_render = function render
|
|
|
230546
230609
|
}
|
|
230547
230610
|
}, [_vm._v("暂无数据")])])], 2)]);
|
|
230548
230611
|
};
|
|
230549
|
-
var
|
|
230612
|
+
var BlockFramevue_type_template_id_ca607234_scoped_true_staticRenderFns = [];
|
|
230550
230613
|
|
|
230551
|
-
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=template&id=
|
|
230614
|
+
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=template&id=ca607234&scoped=true
|
|
230552
230615
|
|
|
230553
230616
|
// 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/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=script&lang=js
|
|
230554
230617
|
function BlockFramevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BlockFramevue_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; }, BlockFramevue_type_script_lang_js_typeof(o); }
|
|
@@ -230583,7 +230646,8 @@ function BlockFramevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != B
|
|
|
230583
230646
|
showMore: false,
|
|
230584
230647
|
headerMoreClick: null,
|
|
230585
230648
|
bgColor: this.$store.state.settings.headerbgColor,
|
|
230586
|
-
isNomessage: false
|
|
230649
|
+
isNomessage: false,
|
|
230650
|
+
selectValue: ''
|
|
230587
230651
|
};
|
|
230588
230652
|
},
|
|
230589
230653
|
computed: BlockFramevue_type_script_lang_js_objectSpread({}, Object(vuex_esm["a" /* mapGetters */])(['routes'])),
|
|
@@ -230600,6 +230664,7 @@ function BlockFramevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != B
|
|
|
230600
230664
|
}
|
|
230601
230665
|
},
|
|
230602
230666
|
created: function created() {
|
|
230667
|
+
this.selectValue = moment(new Date()).format('YYYY');
|
|
230603
230668
|
if (this.header.more !== '' && this.header.more !== null && this.header.more !== undefined) this.showMore = this.header.more;
|
|
230604
230669
|
},
|
|
230605
230670
|
beforeDestroy: function beforeDestroy() {},
|
|
@@ -230699,13 +230764,17 @@ function BlockFramevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != B
|
|
|
230699
230764
|
}
|
|
230700
230765
|
return filterpath;
|
|
230701
230766
|
}
|
|
230767
|
+
},
|
|
230768
|
+
// 选择框 的值发生了变化
|
|
230769
|
+
changeSelect: function changeSelect(val) {
|
|
230770
|
+
this.$emit('changeSelect', val);
|
|
230702
230771
|
}
|
|
230703
230772
|
}
|
|
230704
230773
|
});
|
|
230705
230774
|
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=script&lang=js
|
|
230706
230775
|
/* harmony default export */ var components_BlockFramevue_type_script_lang_js = (BlockFramevue_type_script_lang_js);
|
|
230707
|
-
// EXTERNAL MODULE: ./packages/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=style&index=0&id=
|
|
230708
|
-
var
|
|
230776
|
+
// EXTERNAL MODULE: ./packages/ecyoa/yoabase/src/common/components/BlockFrame/index.vue?vue&type=style&index=0&id=ca607234&prod&scoped=true&lang=scss
|
|
230777
|
+
var BlockFramevue_type_style_index_0_id_ca607234_prod_scoped_true_lang_scss = __webpack_require__("cbc3");
|
|
230709
230778
|
|
|
230710
230779
|
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/BlockFrame/index.vue
|
|
230711
230780
|
|
|
@@ -230718,11 +230787,11 @@ var BlockFramevue_type_style_index_0_id_2df27b8c_prod_scoped_true_lang_scss = __
|
|
|
230718
230787
|
|
|
230719
230788
|
var BlockFrame_component = normalizeComponent(
|
|
230720
230789
|
components_BlockFramevue_type_script_lang_js,
|
|
230721
|
-
|
|
230722
|
-
|
|
230790
|
+
BlockFramevue_type_template_id_ca607234_scoped_true_render,
|
|
230791
|
+
BlockFramevue_type_template_id_ca607234_scoped_true_staticRenderFns,
|
|
230723
230792
|
false,
|
|
230724
230793
|
null,
|
|
230725
|
-
"
|
|
230794
|
+
"ca607234",
|
|
230726
230795
|
null
|
|
230727
230796
|
|
|
230728
230797
|
)
|
|
@@ -230882,8 +230951,8 @@ var Apply_component = normalizeComponent(
|
|
|
230882
230951
|
)
|
|
230883
230952
|
|
|
230884
230953
|
/* harmony default export */ var Apply = (Apply_component.exports);
|
|
230885
|
-
// 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/ecyoa/yoabase/src/common/components/AreaSelect/index.vue?vue&type=template&id=
|
|
230886
|
-
var
|
|
230954
|
+
// 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/ecyoa/yoabase/src/common/components/AreaSelect/index.vue?vue&type=template&id=d919b9f2&scoped=true
|
|
230955
|
+
var AreaSelectvue_type_template_id_d919b9f2_scoped_true_render = function render() {
|
|
230887
230956
|
var _vm = this,
|
|
230888
230957
|
_c = _vm._self._c;
|
|
230889
230958
|
return _c('div', {
|
|
@@ -230962,9 +231031,9 @@ var AreaSelectvue_type_template_id_471b7e38_scoped_true_render = function render
|
|
|
230962
231031
|
}], null, false, 2059085747)
|
|
230963
231032
|
})] : _c('div', [_vm._v(_vm._s(_vm.vo[_vm.module.field]))])], 2);
|
|
230964
231033
|
};
|
|
230965
|
-
var
|
|
231034
|
+
var AreaSelectvue_type_template_id_d919b9f2_scoped_true_staticRenderFns = [];
|
|
230966
231035
|
|
|
230967
|
-
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/AreaSelect/index.vue?vue&type=template&id=
|
|
231036
|
+
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/AreaSelect/index.vue?vue&type=template&id=d919b9f2&scoped=true
|
|
230968
231037
|
|
|
230969
231038
|
// 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/ecyoa/yoabase/src/common/components/AreaSelect/index.vue?vue&type=script&lang=js
|
|
230970
231039
|
function AreaSelectvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return AreaSelectvue_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; }, AreaSelectvue_type_script_lang_js_typeof(o); }
|
|
@@ -231095,6 +231164,11 @@ function AreaSelectvue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
231095
231164
|
'field': 'nLevel',
|
|
231096
231165
|
'merge': true,
|
|
231097
231166
|
'value': 1
|
|
231167
|
+
}, {
|
|
231168
|
+
'compare': '=',
|
|
231169
|
+
'field': 'nType',
|
|
231170
|
+
'merge': true,
|
|
231171
|
+
'value': 0
|
|
231098
231172
|
}];
|
|
231099
231173
|
if (!node.root) {
|
|
231100
231174
|
data = [{
|
|
@@ -231151,11 +231225,11 @@ function AreaSelectvue_type_script_lang_js_asyncToGenerator(n) { return function
|
|
|
231151
231225
|
|
|
231152
231226
|
var AreaSelect_component = normalizeComponent(
|
|
231153
231227
|
components_AreaSelectvue_type_script_lang_js,
|
|
231154
|
-
|
|
231155
|
-
|
|
231228
|
+
AreaSelectvue_type_template_id_d919b9f2_scoped_true_render,
|
|
231229
|
+
AreaSelectvue_type_template_id_d919b9f2_scoped_true_staticRenderFns,
|
|
231156
231230
|
false,
|
|
231157
231231
|
null,
|
|
231158
|
-
"
|
|
231232
|
+
"d919b9f2",
|
|
231159
231233
|
null
|
|
231160
231234
|
|
|
231161
231235
|
)
|
|
@@ -246052,8 +246126,8 @@ var HandleIdea1_component = normalizeComponent(
|
|
|
246052
246126
|
)
|
|
246053
246127
|
|
|
246054
246128
|
/* harmony default export */ var HandleIdea1 = (HandleIdea1_component.exports);
|
|
246055
|
-
// 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/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=template&id=
|
|
246056
|
-
var
|
|
246129
|
+
// 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/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=template&id=5d6731f2&scoped=true
|
|
246130
|
+
var InlineTextEditorvue_type_template_id_5d6731f2_scoped_true_render = function render() {
|
|
246057
246131
|
var _vm = this,
|
|
246058
246132
|
_c = _vm._self._c;
|
|
246059
246133
|
return _c('div', {
|
|
@@ -246107,9 +246181,9 @@ var InlineTextEditorvue_type_template_id_784b5696_scoped_true_render = function
|
|
|
246107
246181
|
}
|
|
246108
246182
|
}, [_vm._t("right-sidebar")], 2)]);
|
|
246109
246183
|
};
|
|
246110
|
-
var
|
|
246184
|
+
var InlineTextEditorvue_type_template_id_5d6731f2_scoped_true_staticRenderFns = [];
|
|
246111
246185
|
|
|
246112
|
-
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=template&id=
|
|
246186
|
+
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=template&id=5d6731f2&scoped=true
|
|
246113
246187
|
|
|
246114
246188
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
246115
246189
|
var moment_moment = __webpack_require__("c1df");
|
|
@@ -246191,8 +246265,6 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246191
246265
|
this.$http({
|
|
246192
246266
|
method: 'POST',
|
|
246193
246267
|
contentType: 'application/x-www-form-urlencoded',
|
|
246194
|
-
// params: { 'orderBy': 'sortNo,name' }, // 模版排序
|
|
246195
|
-
// data: [{ 'compare': '=', 'field': 'orgCode', 'value': $scope.wfInstance.orgCode }, { 'compare': '=', 'field': 'status', 'value': 1 }], // 模版状态
|
|
246196
246268
|
data: [{
|
|
246197
246269
|
'compare': '=',
|
|
246198
246270
|
'field': 'orgCode',
|
|
@@ -246241,16 +246313,117 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246241
246313
|
});
|
|
246242
246314
|
},
|
|
246243
246315
|
/**
|
|
246244
|
-
*
|
|
246316
|
+
* redTitle 模式 更换红头事件 -- 所有编辑方式通用方法
|
|
246317
|
+
* @param {*} $scope
|
|
246318
|
+
*/
|
|
246319
|
+
btnModifyFlTypeClick: function btnModifyFlTypeClick($scope) {
|
|
246320
|
+
this.validateEditModeWithPrompt($scope);
|
|
246321
|
+
},
|
|
246322
|
+
/**
|
|
246323
|
+
* NoTitle 模式 套红头事件 -- 所有编辑方式通用方法
|
|
246245
246324
|
* @param {*} $scope
|
|
246246
246325
|
*/
|
|
246247
246326
|
btnNoTitleModifyFlTypeClick: function btnNoTitleModifyFlTypeClick($scope) {
|
|
246327
|
+
this.validateEditModeWithPrompt($scope);
|
|
246328
|
+
},
|
|
246329
|
+
/**
|
|
246330
|
+
* 查询红头模版前的校验操作 -- (内嵌编辑)通用方法
|
|
246331
|
+
* @param {*} $scope
|
|
246332
|
+
*/
|
|
246333
|
+
validateEditModeWithPrompt: function validateEditModeWithPrompt($scope) {
|
|
246248
246334
|
var _this3 = this;
|
|
246249
|
-
if (!$scope.InlineTextEditor) {
|
|
246250
|
-
return;
|
|
246251
|
-
}
|
|
246252
246335
|
this.mbDownUrl = 'gwgl/fwmb/';
|
|
246253
|
-
|
|
246336
|
+
var confirmMessage, officeType;
|
|
246337
|
+
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
246338
|
+
if ($scope.vo.signedFileName) {
|
|
246339
|
+
// 简化条件判断
|
|
246340
|
+
confirmMessage = '该公文已经盖章,重新编辑正文后需要重新盖章!<br>是否继续?';
|
|
246341
|
+
officeType = 'RedliningOnce'; // 如果是在NoTitle模式下,并且有签名文件,则使用'RedliningOnce'
|
|
246342
|
+
} else if ($scope.wfInstance.haveDoc === 2) {
|
|
246343
|
+
confirmMessage = '该公文已经套过红!<br>是否继续?';
|
|
246344
|
+
officeType = 'Redlining'; // 如果是NoTitle模式下且再次套红(haveDoc为2),则使用'Redlining'
|
|
246345
|
+
} else {
|
|
246346
|
+
officeType = 'Redlining'; // 否则默认使用'Redlining'
|
|
246347
|
+
}
|
|
246348
|
+
} else {
|
|
246349
|
+
if ($scope.vo.signedFileName) {
|
|
246350
|
+
confirmMessage = '该公文已经盖章,重新编辑正文后需要重新盖章!<br>是否继续?';
|
|
246351
|
+
officeType = 'OpenTwoDoc'; // 如果不是NoTitle模式下,且有签名文件,则使用'OpenTwoDoc'
|
|
246352
|
+
} else {
|
|
246353
|
+
officeType = 'OpenTwoDoc'; // 否则默认使用'OpenTwoDoc'
|
|
246354
|
+
}
|
|
246355
|
+
}
|
|
246356
|
+
if (confirmMessage) {
|
|
246357
|
+
this.$confirm(confirmMessage, '确认操作', {
|
|
246358
|
+
type: 'warning',
|
|
246359
|
+
dangerouslyUseHTMLString: true
|
|
246360
|
+
}).then(function () {
|
|
246361
|
+
_this3.ModifyFlTypeClick($scope, officeType);
|
|
246362
|
+
}).catch(function () {
|
|
246363
|
+
$scope.embeddedEditorToggle(false);
|
|
246364
|
+
return;
|
|
246365
|
+
});
|
|
246366
|
+
} else {
|
|
246367
|
+
// 如果没有需要确认的消息,则直接调用函数
|
|
246368
|
+
this.ModifyFlTypeClick($scope, officeType);
|
|
246369
|
+
}
|
|
246370
|
+
},
|
|
246371
|
+
/**
|
|
246372
|
+
* 选择红头事件 -- (内嵌编辑)通用方法
|
|
246373
|
+
* @param {*} $scope
|
|
246374
|
+
*/
|
|
246375
|
+
ModifyFlTypeClick: function ModifyFlTypeClick($scope, officeType) {
|
|
246376
|
+
var _this4 = this;
|
|
246377
|
+
this.fetchFwmbTemplateData($scope).then(function (res) {
|
|
246378
|
+
if (res.code === 'success') {
|
|
246379
|
+
// 匹配文件字号相同的红头模版,并设置所有模板的value和text属性
|
|
246380
|
+
var mbList = [];
|
|
246381
|
+
if ($scope.vo && $scope.vo.flWord) {
|
|
246382
|
+
// 过滤出文件字号相同的红头模版
|
|
246383
|
+
mbList = res.body.listdata.filter(function (item) {
|
|
246384
|
+
return item.fileWord === $scope.vo.flWord;
|
|
246385
|
+
});
|
|
246386
|
+
|
|
246387
|
+
// 如果找到了匹配的模版,则替换res.body.listdata
|
|
246388
|
+
if (mbList.length > 0) {
|
|
246389
|
+
res.body.listdata = mbList;
|
|
246390
|
+
}
|
|
246391
|
+
}
|
|
246392
|
+
// 无论是否找到了匹配的模版,都设置所有模板的value和text属性
|
|
246393
|
+
res.body.listdata.forEach(function (item) {
|
|
246394
|
+
item.value = item.id;
|
|
246395
|
+
item.text = item.name;
|
|
246396
|
+
});
|
|
246397
|
+
if (res.body.listdata.length > 1) {
|
|
246398
|
+
_this4.$bus.emit('openListitemDialog', '选择红头模板', res.body.listdata, function (rst) {
|
|
246399
|
+
if (rst.code === 'success') {
|
|
246400
|
+
var gwmb = res.body.listdata.filter(function (item) {
|
|
246401
|
+
if (item.id === rst.value) return true;
|
|
246402
|
+
});
|
|
246403
|
+
_this4.validateAndEditFwmbTemplate($scope, gwmb, officeType);
|
|
246404
|
+
} else {
|
|
246405
|
+
$scope.embeddedEditorToggle(false);
|
|
246406
|
+
}
|
|
246407
|
+
}, $scope.vo.gwmbId, '红头模板', '请选择红头模板');
|
|
246408
|
+
} else if (res.body.listdata.length === 1) {
|
|
246409
|
+
// 调用选择模版后处理方法
|
|
246410
|
+
|
|
246411
|
+
_this4.validateAndEditFwmbTemplate($scope, res.body.listdata, officeType);
|
|
246412
|
+
}
|
|
246413
|
+
} else {
|
|
246414
|
+
$scope.embeddedEditorToggle(false);
|
|
246415
|
+
_this4.$alert(res.message, '操作提示', {
|
|
246416
|
+
type: 'error'
|
|
246417
|
+
});
|
|
246418
|
+
}
|
|
246419
|
+
});
|
|
246420
|
+
},
|
|
246421
|
+
/**
|
|
246422
|
+
* 请求发文模版数据
|
|
246423
|
+
* @param {*} $scope
|
|
246424
|
+
*/
|
|
246425
|
+
fetchFwmbTemplateData: function fetchFwmbTemplateData($scope) {
|
|
246426
|
+
return this.$http({
|
|
246254
246427
|
method: 'POST',
|
|
246255
246428
|
contentType: 'application/x-www-form-urlencoded',
|
|
246256
246429
|
params: {
|
|
@@ -246266,66 +246439,22 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246266
246439
|
'value': 1
|
|
246267
246440
|
}],
|
|
246268
246441
|
url: 'gwgl/fwmb/querydata'
|
|
246269
|
-
}).then(function (res) {
|
|
246270
|
-
if (res.code === 'success') {
|
|
246271
|
-
res.body.listdata.forEach(function (item) {
|
|
246272
|
-
item.value = item.id;
|
|
246273
|
-
item.text = item.name;
|
|
246274
|
-
});
|
|
246275
|
-
_this3.$bus.emit('openListitemDialog', '修改公文类型', res.body.listdata, function (rst) {
|
|
246276
|
-
if (rst.code === 'success') {
|
|
246277
|
-
var gwmb = res.body.listdata.filter(function (item) {
|
|
246278
|
-
if (item.id === rst.value) return true;
|
|
246279
|
-
});
|
|
246280
|
-
$scope.vo.flWord = gwmb[0].fileWord;
|
|
246281
|
-
$scope.vo.flFormName = gwmb[0].formTitle;
|
|
246282
|
-
$scope.vo.flRedTitle = gwmb[0].fileHeader;
|
|
246283
|
-
$scope.vo.gwmbId = gwmb[0].id;
|
|
246284
|
-
$scope.vo.flType = gwmb[0].name;
|
|
246285
|
-
|
|
246286
|
-
// 套红调用
|
|
246287
|
-
if ($scope.vo.signedFileName && $scope.vo.signedFileName !== null && $scope.vo.signedFileName !== '') {
|
|
246288
|
-
_this3.$confirm('该公文已经盖章,重新编辑正文后需要重新盖章!<br>是否继续?', '确认操作', {
|
|
246289
|
-
type: 'warning',
|
|
246290
|
-
dangerouslyUseHTMLString: true
|
|
246291
|
-
}).then(function () {
|
|
246292
|
-
_this3.btnOpenWordClick($scope, 'RedliningOnce');
|
|
246293
|
-
}).catch(function () {
|
|
246294
|
-
// 处理选择否的情况
|
|
246295
|
-
$scope.embeddedEditorToggle(false);
|
|
246296
|
-
return;
|
|
246297
|
-
});
|
|
246298
|
-
} else {
|
|
246299
|
-
if ($scope.wfInstance.haveDoc === 2) {
|
|
246300
|
-
// 再次套红 secondRed
|
|
246301
|
-
_this3.$confirm("\u8BE5\u516C\u6587\u5DF2\u7ECF\u5957\u8FC7\u7EA2\uFF01<br>\u662F\u5426\u7EE7\u7EED\uFF1F", '确认操作', {
|
|
246302
|
-
type: 'warning',
|
|
246303
|
-
dangerouslyUseHTMLString: true
|
|
246304
|
-
}).then(function () {
|
|
246305
|
-
_this3.btnOpenWordClick($scope, 'Redlining');
|
|
246306
|
-
}).catch(function () {
|
|
246307
|
-
// 处理选择否的情况
|
|
246308
|
-
$scope.embeddedEditorToggle(false);
|
|
246309
|
-
return;
|
|
246310
|
-
});
|
|
246311
|
-
} else {
|
|
246312
|
-
_this3.btnOpenWordClick($scope, 'Redlining');
|
|
246313
|
-
}
|
|
246314
|
-
}
|
|
246315
|
-
} else {
|
|
246316
|
-
$scope.embeddedEditorToggle(false);
|
|
246317
|
-
}
|
|
246318
|
-
}, $scope.vo.gwmbId, '公文类型', '请选择新的公文类型:');
|
|
246319
|
-
} else {
|
|
246320
|
-
$scope.embeddedEditorToggle(false);
|
|
246321
|
-
_this3.$alert(res.message, '操作提示', {
|
|
246322
|
-
type: 'error'
|
|
246323
|
-
});
|
|
246324
|
-
}
|
|
246325
246442
|
});
|
|
246326
246443
|
},
|
|
246444
|
+
/**
|
|
246445
|
+
* 拿到红头模版后的调用编辑正文操作 -- 非wpsjs、ecexe 通用方法
|
|
246446
|
+
* @param {*} $scope
|
|
246447
|
+
*/
|
|
246448
|
+
validateAndEditFwmbTemplate: function validateAndEditFwmbTemplate($scope, gwmb, officeType) {
|
|
246449
|
+
$scope.vo.flWord = gwmb[0].fileWord;
|
|
246450
|
+
$scope.vo.flFormName = gwmb[0].formTitle;
|
|
246451
|
+
$scope.vo.flRedTitle = gwmb[0].fileHeader;
|
|
246452
|
+
$scope.vo.gwmbId = gwmb[0].id;
|
|
246453
|
+
$scope.vo.flType = gwmb[0].name;
|
|
246454
|
+
this.btnOpenWordClick($scope, officeType);
|
|
246455
|
+
},
|
|
246327
246456
|
btnOpenWordClick: function btnOpenWordClick($scope, openType, fanwen_url) {
|
|
246328
|
-
var
|
|
246457
|
+
var _this5 = this;
|
|
246329
246458
|
// 编辑文本打开事件
|
|
246330
246459
|
this.fanwen_url = fanwen_url;
|
|
246331
246460
|
console.log(openType, 'openType');
|
|
@@ -246436,6 +246565,24 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246436
246565
|
bookName: 'ContractFzrTel',
|
|
246437
246566
|
bookValue: $scope.vo.fzrTel == null ? '' : $scope.vo.fzrTel
|
|
246438
246567
|
}); // 合同负责人电话
|
|
246568
|
+
|
|
246569
|
+
var bookmarkArray = [];
|
|
246570
|
+
// 遍历vo对象的所有键
|
|
246571
|
+
Object.keys($scope.vo).forEach(function (key) {
|
|
246572
|
+
// 创建书签对象,并处理空值
|
|
246573
|
+
var bookmark = {
|
|
246574
|
+
bookName: "Contract".concat(key.charAt(0).toUpperCase()).concat(key.slice(1)),
|
|
246575
|
+
// 转换为驼峰命名并添加前缀
|
|
246576
|
+
bookValue: $scope.vo[key] == null ? '' : $scope.vo[key]
|
|
246577
|
+
};
|
|
246578
|
+
// 将书签对象添加到数组中
|
|
246579
|
+
bookmarkArray.push(bookmark);
|
|
246580
|
+
});
|
|
246581
|
+
if (bookmarkArray.length > 0) {
|
|
246582
|
+
var _bookmarks;
|
|
246583
|
+
(_bookmarks = bookmarks).push.apply(_bookmarks, bookmarkArray);
|
|
246584
|
+
}
|
|
246585
|
+
console.log(bookmarks, 'bookmarks --- 合同审批书签批量插入');
|
|
246439
246586
|
} else if (module === 'document') {
|
|
246440
246587
|
if ($scope.vo.flContent) {
|
|
246441
246588
|
bookmarks.push({
|
|
@@ -246465,7 +246612,7 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246465
246612
|
}
|
|
246466
246613
|
var WFBusiDataId = $scope.vo.id;
|
|
246467
246614
|
var WFBodyDocId = $scope.wfInstance.bodyDocId;
|
|
246468
|
-
|
|
246615
|
+
_this5.WFBodyDocId = WFBodyDocId;
|
|
246469
246616
|
var fileId = '';
|
|
246470
246617
|
var fileVer = '';
|
|
246471
246618
|
var downUrl = '';
|
|
@@ -246473,8 +246620,8 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246473
246620
|
var mbDownUrl = 'gwgl/fwmb/'; // 指定模版下载接口
|
|
246474
246621
|
var mbId = ''; // 指定模版id
|
|
246475
246622
|
|
|
246476
|
-
if (
|
|
246477
|
-
mbDownUrl =
|
|
246623
|
+
if (_this5.mbDownUrl) {
|
|
246624
|
+
mbDownUrl = _this5.mbDownUrl;
|
|
246478
246625
|
}
|
|
246479
246626
|
if (module === 'htsp') {
|
|
246480
246627
|
mbId = $scope.vo.htmbId;
|
|
@@ -246483,8 +246630,8 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246483
246630
|
}
|
|
246484
246631
|
if ($scope.wfInstance.haveDoc === 0) {
|
|
246485
246632
|
// 初始无正文
|
|
246486
|
-
if (
|
|
246487
|
-
downUrl = "/apigw".substring(1) +
|
|
246633
|
+
if (_this5.fanwen_url) {
|
|
246634
|
+
downUrl = "/apigw".substring(1) + _this5.fanwen_url;
|
|
246488
246635
|
} else if ($scope.wfInstance.passenger.docEditMode === 'NoTitle' && module !== 'htsp') {
|
|
246489
246636
|
// NoTitle 直接启用空白模版进行正文编辑 合同审批流程直接套模版,无NoTitle模式
|
|
246490
246637
|
downUrl = 'templates/Editor.doc';
|
|
@@ -246547,19 +246694,19 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246547
246694
|
// } else if (this.officeType === 'yzh5') {
|
|
246548
246695
|
// this.btnOpenYzdocEditorClick($scope, bookmarks, data, params, openType)
|
|
246549
246696
|
// } else
|
|
246550
|
-
if (
|
|
246551
|
-
|
|
246697
|
+
if (_this5.officeType === 'ech5') {
|
|
246698
|
+
_this5.btnOpenEcdocEditorClick($scope, bookmarks, data, downUrl, fileId, fileVer, openType);
|
|
246552
246699
|
}
|
|
246553
246700
|
});
|
|
246554
246701
|
},
|
|
246555
246702
|
btnOpenEcdocEditorClick: function btnOpenEcdocEditorClick($scope, bookmarks, data, downUrl, fileId, fileVer, openType) {
|
|
246556
|
-
var
|
|
246703
|
+
var _this6 = this;
|
|
246557
246704
|
return InlineTextEditorvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/InlineTextEditorvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
246558
246705
|
var _this, appUrl, fileName, attachType, msg, insertFileUrl, tSessionId;
|
|
246559
246706
|
return InlineTextEditorvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
246560
246707
|
while (1) switch (_context.prev = _context.next) {
|
|
246561
246708
|
case 0:
|
|
246562
|
-
_this =
|
|
246709
|
+
_this = _this6;
|
|
246563
246710
|
appUrl = location.href.split('#')[0].split('windex.html')[0]; // if (appUrl.indexOf('//127') !== -1) {
|
|
246564
246711
|
// appUrl = 'http://192.168.0.100:9529/'
|
|
246565
246712
|
// }
|
|
@@ -246577,7 +246724,7 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246577
246724
|
// if (openType === 'Redlining') {
|
|
246578
246725
|
// fileName = 'RedTitle_' + $scope.wfInstance.bodyDocId + '.doc'
|
|
246579
246726
|
// }
|
|
246580
|
-
|
|
246727
|
+
_this6.$bus.emit('showDoingDialog', msg);
|
|
246581
246728
|
if (!(data.bkInsertFile && data.insertFileUrl)) {
|
|
246582
246729
|
_context.next = 16;
|
|
246583
246730
|
break;
|
|
@@ -246587,14 +246734,14 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246587
246734
|
insertFileUrl = downUrl;
|
|
246588
246735
|
downUrl = data.insertFileUrl;
|
|
246589
246736
|
_context.next = 14;
|
|
246590
|
-
return
|
|
246737
|
+
return _this6.getSessionId();
|
|
246591
246738
|
case 14:
|
|
246592
246739
|
tSessionId = _context.sent;
|
|
246593
246740
|
insertFileUrl += '&tSessionId=' + tSessionId;
|
|
246594
246741
|
case 16:
|
|
246595
246742
|
console.log(downUrl, 'downUrl');
|
|
246596
246743
|
console.log(insertFileUrl, 'insertFileUrl');
|
|
246597
|
-
|
|
246744
|
+
_this6.$http({
|
|
246598
246745
|
method: 'GET',
|
|
246599
246746
|
url: 'wopi/getAccessToken',
|
|
246600
246747
|
params: {
|
|
@@ -246603,18 +246750,18 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246603
246750
|
}
|
|
246604
246751
|
}).then(function (res) {
|
|
246605
246752
|
if (res.code === 'success') {
|
|
246606
|
-
|
|
246753
|
+
_this6.tSessionId = res.body.tSessionId;
|
|
246607
246754
|
var editorUrl = res.body.editorUrl;
|
|
246608
246755
|
// editorUrl = editorUrl.split('/browser/')[0] + '/browser/dist/ecweboffice/editor.html?url=' + encodeURIComponent(editorUrl)
|
|
246609
246756
|
// editorUrl = encodeURIComponent(editorUrl)
|
|
246610
246757
|
if (editorUrl.indexOf('lang=') < 0) {
|
|
246611
246758
|
editorUrl += '&lang=zh-CN';
|
|
246612
246759
|
}
|
|
246613
|
-
|
|
246760
|
+
_this6.editorUrl = editorUrl;
|
|
246614
246761
|
var docEditor;
|
|
246615
246762
|
new Promise(function (resolve, reject) {
|
|
246616
246763
|
_this.$nextTick(function () {
|
|
246617
|
-
|
|
246764
|
+
_this6.ecweboffice = true;
|
|
246618
246765
|
_this.$nextTick(function () {
|
|
246619
246766
|
docEditor = _this.$refs.ecweboffice;
|
|
246620
246767
|
if (docEditor) {
|
|
@@ -246626,12 +246773,12 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246626
246773
|
if (!result) return;
|
|
246627
246774
|
|
|
246628
246775
|
// if (openType !== 'Redlining') {
|
|
246629
|
-
|
|
246776
|
+
_this6.$bus.emit('closeDoingDialog');
|
|
246630
246777
|
// }
|
|
246631
246778
|
var setBookmarked = false;
|
|
246632
246779
|
var bodyInsered = false;
|
|
246633
246780
|
var reloadMsg = '正在保存附件,请稍候...';
|
|
246634
|
-
|
|
246781
|
+
_this6.doctimer = setInterval(function () {
|
|
246635
246782
|
// 在线编辑代码开始
|
|
246636
246783
|
if (!bodyInsered && data.bkInsertFile && data.insertFileUrl) {
|
|
246637
246784
|
// 套红
|
|
@@ -246652,18 +246799,18 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246652
246799
|
docEditor.InsertBookmarks(bookmarks);
|
|
246653
246800
|
setBookmarked = true;
|
|
246654
246801
|
}
|
|
246655
|
-
if (!
|
|
246656
|
-
clearInterval(
|
|
246802
|
+
if (!_this6.ecweboffice && !_this6.waiting) {
|
|
246803
|
+
clearInterval(_this6.doctimer);
|
|
246657
246804
|
if (window.fileStatus > 0) {
|
|
246658
|
-
|
|
246805
|
+
_this6.$bus.emit('showDoingDialog', reloadMsg);
|
|
246659
246806
|
var _uploadUrl = appUrl + "/apigw".substring(1) + '/' + $scope.wfAttachUrl + '/upload';
|
|
246660
|
-
|
|
246807
|
+
_this6.checkEcincEditorFinished($scope, _this6.tSessionId, _uploadUrl, 0, params.attachType);
|
|
246661
246808
|
}
|
|
246662
246809
|
}
|
|
246663
246810
|
// 在线编辑代码结束
|
|
246664
|
-
if (!
|
|
246665
|
-
clearInterval(
|
|
246666
|
-
|
|
246811
|
+
if (!_this6.ecweboffice) {
|
|
246812
|
+
clearInterval(_this6.doctimer);
|
|
246813
|
+
_this6.btnEcdocSavedClick(true);
|
|
246667
246814
|
}
|
|
246668
246815
|
}, 300);
|
|
246669
246816
|
});
|
|
@@ -246672,22 +246819,22 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246672
246819
|
uploadUrl += '&bodyDocId=' + $scope.wfInstance.bodyDocId;
|
|
246673
246820
|
uploadUrl += '&module=' + $scope.wfInstance.module;
|
|
246674
246821
|
var attachsName = '';
|
|
246675
|
-
if (
|
|
246676
|
-
attachsName = 'RedTitle_' +
|
|
246822
|
+
if (_this6.openType === 'Redlining' || _this6.openType === 'RedliningOnce') {
|
|
246823
|
+
attachsName = 'RedTitle_' + _this6.WFBodyDocId + '.doc';
|
|
246677
246824
|
msg = '正在套红,请稍候...';
|
|
246678
246825
|
} else {
|
|
246679
|
-
attachsName =
|
|
246826
|
+
attachsName = _this6.WFBodyDocId + '.doc';
|
|
246680
246827
|
}
|
|
246681
246828
|
uploadUrl += '&attachsName=' + attachsName;
|
|
246682
246829
|
uploadUrl += '&attachsType=' + attachType;
|
|
246683
246830
|
uploadUrl += '&topdf=true';
|
|
246684
|
-
uploadUrl += '&saveAs=' +
|
|
246831
|
+
uploadUrl += '&saveAs=' + _this6.WFBodyDocId + '.doc';
|
|
246685
246832
|
uploadUrl += '&r=' + Math.random();
|
|
246686
246833
|
document.querySelector('#btnEcdocSaved').uploadUrl = uploadUrl;
|
|
246687
246834
|
console.log(document.querySelector('#btnEcdocSaved'), 'btnEcdocSaved');
|
|
246688
246835
|
document.querySelector('#btnEcdocSaved').checkSave = false;
|
|
246689
246836
|
} else {
|
|
246690
|
-
|
|
246837
|
+
_this6.$alert(res.message, '操作提示', {
|
|
246691
246838
|
type: 'error'
|
|
246692
246839
|
});
|
|
246693
246840
|
}
|
|
@@ -246737,7 +246884,7 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246737
246884
|
}
|
|
246738
246885
|
},
|
|
246739
246886
|
checkEcincEditorFinished: function checkEcincEditorFinished($scope, fileId, uploadUrl, checkCount, attachType) {
|
|
246740
|
-
var
|
|
246887
|
+
var _this7 = this;
|
|
246741
246888
|
this.waiting = true;
|
|
246742
246889
|
this.$http({
|
|
246743
246890
|
method: 'GET',
|
|
@@ -246751,22 +246898,22 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246751
246898
|
if (chkRes.code === 'success') {
|
|
246752
246899
|
if (chkRes.body.waiting) {
|
|
246753
246900
|
setTimeout(function () {
|
|
246754
|
-
|
|
246755
|
-
|
|
246901
|
+
_this7.waiting = true;
|
|
246902
|
+
_this7.checkEcincEditorFinished($scope, fileId, uploadUrl, ++checkCount, attachType);
|
|
246756
246903
|
}, 1000);
|
|
246757
246904
|
} else if (chkRes.body.finished) {
|
|
246758
|
-
|
|
246759
|
-
|
|
246905
|
+
_this7.waiting = false;
|
|
246906
|
+
_this7.$bus.emit('closeDoingDialog');
|
|
246760
246907
|
} else if (chkRes.body.saved) {
|
|
246761
|
-
|
|
246908
|
+
_this7.waiting = true;
|
|
246762
246909
|
if (attachType === 'BODY') {
|
|
246763
246910
|
var haveDoc = $scope.wfInstance.haveDoc;
|
|
246764
246911
|
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
246765
246912
|
// NoTitle 模式
|
|
246766
|
-
if (!
|
|
246913
|
+
if (!_this7.openType) {
|
|
246767
246914
|
// 编辑正文且无红头
|
|
246768
246915
|
$scope.wfInstance.haveDoc = 1;
|
|
246769
|
-
} else if (
|
|
246916
|
+
} else if (_this7.openType === 'Redlining' || _this7.openType === 'RedliningOnce') {
|
|
246770
246917
|
// 套红
|
|
246771
246918
|
$scope.wfInstance.haveDoc = 2;
|
|
246772
246919
|
}
|
|
@@ -246775,45 +246922,45 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246775
246922
|
$scope.wfInstance.haveDoc = 2;
|
|
246776
246923
|
}
|
|
246777
246924
|
if ($scope.vo.signedFileName) $scope.vo.signedFileName = null;
|
|
246778
|
-
if ($scope.wfInstance.status === -1 || haveDoc !== $scope.wfInstance.haveDoc ||
|
|
246925
|
+
if ($scope.wfInstance.status === -1 || haveDoc !== $scope.wfInstance.haveDoc || _this7.openType === 'Redlining' || _this7.openType === 'RedliningOnce') {
|
|
246779
246926
|
// 拟稿状态需保存流程
|
|
246780
|
-
|
|
246927
|
+
_this7.waiting = false;
|
|
246781
246928
|
$scope.embeddedEditorToggle(false);
|
|
246782
246929
|
localStorage.setItem('activeName', 1);
|
|
246783
246930
|
$scope.btnSubmitClick('SaveAndReload');
|
|
246784
246931
|
} else if ($scope.actionType !== 'AutoSave' && $scope.actionType !== '') {
|
|
246785
246932
|
// 表单保存或提交时调用
|
|
246786
|
-
|
|
246933
|
+
_this7.waiting = false;
|
|
246787
246934
|
$scope.embeddedEditorToggle(false);
|
|
246788
246935
|
$scope.btnSubmitClick($scope.actionType);
|
|
246789
246936
|
} else {
|
|
246790
246937
|
// 正文编辑内部保存调用
|
|
246791
|
-
|
|
246938
|
+
_this7.waiting = false;
|
|
246792
246939
|
$scope.btnSubmitClick('AutoSave', function (saveRst, a, b, c) {
|
|
246793
246940
|
if (saveRst) {
|
|
246794
|
-
|
|
246795
|
-
|
|
246796
|
-
|
|
246797
|
-
|
|
246941
|
+
_this7.$bus.emit('reloadBodyFile');
|
|
246942
|
+
_this7.$bus.emit('closeDoingDialog');
|
|
246943
|
+
_this7.$nextTick(function () {
|
|
246944
|
+
_this7.editorUrl = '';
|
|
246798
246945
|
$scope.embeddedEditorToggle(false);
|
|
246799
246946
|
});
|
|
246800
246947
|
}
|
|
246801
246948
|
});
|
|
246802
246949
|
}
|
|
246803
246950
|
} else {
|
|
246804
|
-
|
|
246951
|
+
_this7.$bus.emit('closeDoingDialog');
|
|
246805
246952
|
}
|
|
246806
246953
|
}
|
|
246807
246954
|
} else {
|
|
246808
|
-
|
|
246955
|
+
_this7.$bus.emit('closeDoingDialog');
|
|
246809
246956
|
// this.$alert(chkRes.message, '操作提示', { type: 'error' })
|
|
246810
246957
|
}
|
|
246811
246958
|
});
|
|
246812
246959
|
},
|
|
246813
246960
|
getSessionId: function getSessionId() {
|
|
246814
|
-
var
|
|
246961
|
+
var _this8 = this;
|
|
246815
246962
|
return new Promise(function (resolve, reject) {
|
|
246816
|
-
|
|
246963
|
+
_this8.$http({
|
|
246817
246964
|
method: 'GET',
|
|
246818
246965
|
params: {
|
|
246819
246966
|
timeLength: 60
|
|
@@ -246865,8 +247012,8 @@ function InlineTextEditorvue_type_script_lang_js_asyncToGenerator(n) { return fu
|
|
|
246865
247012
|
});
|
|
246866
247013
|
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=script&lang=js
|
|
246867
247014
|
/* harmony default export */ var components_InlineTextEditorvue_type_script_lang_js = (InlineTextEditorvue_type_script_lang_js);
|
|
246868
|
-
// EXTERNAL MODULE: ./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=style&index=0&id=
|
|
246869
|
-
var
|
|
247015
|
+
// EXTERNAL MODULE: ./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue?vue&type=style&index=0&id=5d6731f2&prod&scoped=true&lang=scss
|
|
247016
|
+
var InlineTextEditorvue_type_style_index_0_id_5d6731f2_prod_scoped_true_lang_scss = __webpack_require__("ece9");
|
|
246870
247017
|
|
|
246871
247018
|
// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/InlineTextEditor.vue
|
|
246872
247019
|
|
|
@@ -246879,11 +247026,11 @@ var InlineTextEditorvue_type_style_index_0_id_784b5696_prod_scoped_true_lang_scs
|
|
|
246879
247026
|
|
|
246880
247027
|
var InlineTextEditor_component = normalizeComponent(
|
|
246881
247028
|
components_InlineTextEditorvue_type_script_lang_js,
|
|
246882
|
-
|
|
246883
|
-
|
|
247029
|
+
InlineTextEditorvue_type_template_id_5d6731f2_scoped_true_render,
|
|
247030
|
+
InlineTextEditorvue_type_template_id_5d6731f2_scoped_true_staticRenderFns,
|
|
246884
247031
|
false,
|
|
246885
247032
|
null,
|
|
246886
|
-
"
|
|
247033
|
+
"5d6731f2",
|
|
246887
247034
|
null
|
|
246888
247035
|
|
|
246889
247036
|
)
|