ecinc-cloud-yoaemail 9.6.248 → 9.6.250
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/ecyoaemail.common.js +432 -207
- package/lib/ecyoaemail.umd.js +432 -207
- package/lib/ecyoaemail.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecyoaemail.common.js
CHANGED
|
@@ -2433,7 +2433,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".el-dialog-div[data-v-ad99ca52]{height
|
|
|
2433
2433
|
|
|
2434
2434
|
/***/ }),
|
|
2435
2435
|
|
|
2436
|
-
/***/
|
|
2436
|
+
/***/ 4965:
|
|
2437
2437
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2438
2438
|
|
|
2439
2439
|
"use strict";
|
|
@@ -2447,7 +2447,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2447
2447
|
|
|
2448
2448
|
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()));
|
|
2449
2449
|
// Module
|
|
2450
|
-
___CSS_LOADER_EXPORT___.push([module.id, ":export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);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)}.appname{margin-left:-5px}.el-menu--popup{overflow:hidden;border-radius:3px}.nest-menu.notop{border-top:none!important}.nest-menu.notop .el-menu-item{background-color:#384b63!important;border-bottom:1px dotted #777;height:50px;line-height:50px}.nest-menu.notop .el-menu-item.is-active{color:#fff!important}.nest-menu.notop .el-menu-item.is-active:after{right:0}.nest-menu.notop .el-menu-item:hover{background-color:#445c80!important;color:#fff!important}.nest-menu.notop:last-child .el-menu-item{border-bottom:none}.el-menu-item{height:50px}.std-scrollbar-wrapper{background-color:var(--lmBgColor);border-right:1px solid #e6e6e6}.std-scrollbar-wrapper .el-submenu__title:hover,.std-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:var(--lmBgColorActive) !important!important}.std-scrollbar-wrapper .is-active>.el-submenu__title{color:var(--lmTextColorActive)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:var(--lmBgColor)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item:hover,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:hsla(193,8%,67%,.42)!important}.dark-scrollbar-wrapper{background-color:#304156;border-right:1px solid #304156}.dark-scrollbar-wrapper .el-submenu__title:hover,.dark-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:#263445!important}.dark-scrollbar-wrapper .is-active>.el-submenu__title{color:#fff}.dark-scrollbar-wrapper .el-submenu .el-menu-item,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:#384b63!important;border-bottom:none}.dark-scrollbar-wrapper .el-submenu .el-menu-item.is-active,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title.is-active{color:#fff!important}.dark-scrollbar-wrapper .el-submenu .el-menu-item:hover,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#445c80!important;color:#fff!important}/deep/.topBtn-wrapper{text-align:center;height:55px}.separate{height:10px;background-color:#fff}.writeEmail{position:relative;justify-items:start;margin:0;border-radius:2px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;line-height:49px;border:1px solid #eee;text-align:center;background-color:#fff;height:31px;margin:
|
|
2450
|
+
___CSS_LOADER_EXPORT___.push([module.id, ":export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);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)}.appname{margin-left:-5px}.el-menu--popup{overflow:hidden;border-radius:3px}.nest-menu.notop{border-top:none!important}.nest-menu.notop .el-menu-item{background-color:#384b63!important;border-bottom:1px dotted #777;height:50px;line-height:50px}.nest-menu.notop .el-menu-item.is-active{color:#fff!important}.nest-menu.notop .el-menu-item.is-active:after{right:0}.nest-menu.notop .el-menu-item:hover{background-color:#445c80!important;color:#fff!important}.nest-menu.notop:last-child .el-menu-item{border-bottom:none}.el-menu-item{height:50px}.std-scrollbar-wrapper{background-color:var(--lmBgColor);border-right:1px solid #e6e6e6}.std-scrollbar-wrapper .el-submenu__title:hover,.std-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:var(--lmBgColorActive) !important!important}.std-scrollbar-wrapper .is-active>.el-submenu__title{color:var(--lmTextColorActive)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:var(--lmBgColor)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item:hover,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:hsla(193,8%,67%,.42)!important}.dark-scrollbar-wrapper{background-color:#304156;border-right:1px solid #304156}.dark-scrollbar-wrapper .el-submenu__title:hover,.dark-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:#263445!important}.dark-scrollbar-wrapper .is-active>.el-submenu__title{color:#fff}.dark-scrollbar-wrapper .el-submenu .el-menu-item,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:#384b63!important;border-bottom:none}.dark-scrollbar-wrapper .el-submenu .el-menu-item.is-active,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title.is-active{color:#fff!important}.dark-scrollbar-wrapper .el-submenu .el-menu-item:hover,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#445c80!important;color:#fff!important}/deep/.topBtn-wrapper{text-align:center;height:55px}.separate{height:10px;background-color:#fff}.writeEmail{position:relative;justify-items:start;margin:0;border-radius:2px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;line-height:49px;border:1px solid #eee;text-align:center;background-color:#fff;height:31px;margin:0 4px;width:76px;cursor:pointer}.writeEmail:first-child{border-right:1px solid #d8d9da}.writeEmail .svg-icon{width:14px;height:14px;position:absolute;top:30%;left:25%}.writeEmail span{font-size:var(--portalFontSize14);line-height:19px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:50%}", ""]);
|
|
2451
2451
|
// Exports
|
|
2452
2452
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2453
2453
|
|
|
@@ -2727,7 +2727,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c807af5e]:export{stdMenuBgcolo
|
|
|
2727
2727
|
|
|
2728
2728
|
/***/ }),
|
|
2729
2729
|
|
|
2730
|
-
/***/
|
|
2730
|
+
/***/ 3047:
|
|
2731
2731
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2732
2732
|
|
|
2733
2733
|
"use strict";
|
|
@@ -2741,7 +2741,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2741
2741
|
|
|
2742
2742
|
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()));
|
|
2743
2743
|
// Module
|
|
2744
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
2744
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-221b8b0c] .attachFile .el-input__inner{width:76px;height:20px;text-align:center;line-height:20px;padding:0 5px}[data-v-221b8b0c] #busiForm table td{vertical-align:top}.RichtextEditor[data-v-221b8b0c] .richtext-container .el-table td div{height:100%}.RichtextEditor[data-v-221b8b0c] .richtext-container .cke_inner{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.RichtextEditor[data-v-221b8b0c] .richtext-container .cke_inner .cke_contents{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.spanLH[data-v-221b8b0c]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.mailWrap[data-v-221b8b0c]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:9px 0 0 0;position:relative}.mailWrap[data-v-221b8b0c],.mailWrap .drag-mask[data-v-221b8b0c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mailWrap .drag-mask[data-v-221b8b0c]{position:absolute;left:0;top:0;height:calc(100% - 518px);width:100%;background-color:hsla(0,0%,100%,.8);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);z-index:999;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:8px}.mailWrap .drag-mask .svg-icon[data-v-221b8b0c]{color:var(--subjectColor);font-size:100px}.sendMail[data-v-221b8b0c]{padding:0 0 0 10px}.sendMail .lineRow[data-v-221b8b0c]{margin:0!important;border-bottom:1px solid #eceff5;display:-webkit-box;display:-ms-flexbox;display:flex}.sendMail .lineRow .grid-content[data-v-221b8b0c]{height:100%;width:calc(100% - 72px);padding-left:16px}.sendMail .lineRow .grid-content .btnBorder[data-v-221b8b0c]{border:none!important}.sendMail .lineRow .grid-content .btnBorder[data-v-221b8b0c] .el-input__inner{border:none!important;height:unset;line-height:20px;padding-left:unset}.el-inputLyy__inner[data-v-221b8b0c] .el-input__inner{line-height:40px!important}[data-v-221b8b0c] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-221b8b0c] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-221b8b0c] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-221b8b0c]{width:220px;max-height:calc(100vh - 270px);position:absolute;left:4%;z-index:99;top:135px;background-color:#fff;overflow-y:auto;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px}.linkEmail div[data-v-221b8b0c]{overflow-x:hidden;padding:10px}.linkEmail div p[data-v-221b8b0c]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:var(--portalFontSize12);cursor:pointer}.linkEmail div p[data-v-221b8b0c]:hover{color:#409eff}.linkEmail[data-v-221b8b0c]::-webkit-scrollbar{display:none}[data-v-221b8b0c] .el-input__suffix{display:none}[data-v-221b8b0c] .el-input__inner{text-align:left}.RichtextEditor[data-v-221b8b0c] .richtext-container{margin:0;height:100%}.RichtextEditor[data-v-221b8b0c] .richtext-container .el-table{height:100%;border:none}.RichtextEditor[data-v-221b8b0c] .richtext-container .el-table:before{width:0}.RichtextEditor[data-v-221b8b0c] .richtext-container .el-table .el-table__body-wrapper,.RichtextEditor[data-v-221b8b0c] .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-221b8b0c] .cke_top{border-bottom:none}[data-v-221b8b0c] .el-table--border:after{width:0}[data-v-221b8b0c] #busiForm table,[data-v-221b8b0c] #busiForm table td{border:none}.emailAddrStyle[data-v-221b8b0c]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:10px;margin-bottom:8px}.emailAddrStyle div[data-v-221b8b0c]{font-size:var(--portalFontSize12);border-radius:20px;cursor:pointer;border:1px solid #e0e0e0}.emailAddrStyle div i[data-v-221b8b0c]{color:#c0c4cc}.emailAddrStyle div[data-v-221b8b0c]:hover{border-color:#aaa}.emailAddrStyle div:hover i[data-v-221b8b0c]{border-left-color:#aaa!important;color:#aaa}.emailAddrStyle div span[data-v-221b8b0c]{padding:3px 5px 3px 10px;color:#333;cursor:pointer}.emailAddrStyle div i[data-v-221b8b0c]:hover{color:red!important}.inputWrap[data-v-221b8b0c]{padding-top:10px}.inputWrap[data-v-221b8b0c] .el-scrollbar .el-scrollbar__wrap{max-height:150px;overflow-x:hidden}.inputWrap[data-v-221b8b0c] .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{padding-bottom:20px}.inputWrap>div.emailAddrStyle[data-v-221b8b0c]:last-child{margin-right:unset}.readyFile[data-v-221b8b0c]{margin:0 23px 14px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:330px;height:56px;background:#f7f8fa;padding:10px}", ""]);
|
|
2745
2745
|
// Exports
|
|
2746
2746
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2747
2747
|
|
|
@@ -26926,19 +26926,19 @@ var update = add("16258996", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
26926
26926
|
|
|
26927
26927
|
/***/ }),
|
|
26928
26928
|
|
|
26929
|
-
/***/
|
|
26929
|
+
/***/ 3439:
|
|
26930
26930
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
26931
26931
|
|
|
26932
26932
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
26933
26933
|
|
|
26934
26934
|
// load the styles
|
|
26935
|
-
var content = __webpack_require__(
|
|
26935
|
+
var content = __webpack_require__(4965);
|
|
26936
26936
|
if(content.__esModule) content = content.default;
|
|
26937
26937
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
26938
26938
|
if(content.locals) module.exports = content.locals;
|
|
26939
26939
|
// add the styles to the DOM
|
|
26940
26940
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
26941
|
-
var update = add("
|
|
26941
|
+
var update = add("224e9434", content, true, {"sourceMap":false,"shadowMode":false});
|
|
26942
26942
|
|
|
26943
26943
|
/***/ }),
|
|
26944
26944
|
|
|
@@ -27150,19 +27150,19 @@ var update = add("76cb9540", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27150
27150
|
|
|
27151
27151
|
/***/ }),
|
|
27152
27152
|
|
|
27153
|
-
/***/
|
|
27153
|
+
/***/ 5237:
|
|
27154
27154
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27155
27155
|
|
|
27156
27156
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27157
27157
|
|
|
27158
27158
|
// load the styles
|
|
27159
|
-
var content = __webpack_require__(
|
|
27159
|
+
var content = __webpack_require__(3047);
|
|
27160
27160
|
if(content.__esModule) content = content.default;
|
|
27161
27161
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27162
27162
|
if(content.locals) module.exports = content.locals;
|
|
27163
27163
|
// add the styles to the DOM
|
|
27164
27164
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27165
|
-
var update = add("
|
|
27165
|
+
var update = add("f0f0378a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27166
27166
|
|
|
27167
27167
|
/***/ }),
|
|
27168
27168
|
|
|
@@ -27811,8 +27811,8 @@ var render = function render() {
|
|
|
27811
27811
|
};
|
|
27812
27812
|
var staticRenderFns = [];
|
|
27813
27813
|
|
|
27814
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=template&id=
|
|
27815
|
-
var
|
|
27814
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=template&id=48e502c4
|
|
27815
|
+
var LeftMenuvue_type_template_id_48e502c4_render = function render() {
|
|
27816
27816
|
var _vm = this,
|
|
27817
27817
|
_c = _vm._self._c;
|
|
27818
27818
|
return _c('el-scrollbar', {
|
|
@@ -27826,7 +27826,7 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27826
27826
|
}, [_c('el-menu', {
|
|
27827
27827
|
attrs: {
|
|
27828
27828
|
"default-active": _vm.activeMenu,
|
|
27829
|
-
"collapse":
|
|
27829
|
+
"collapse": _vm.isCollapse,
|
|
27830
27830
|
"background-color": _vm.menuBg,
|
|
27831
27831
|
"text-color": _vm.menuText,
|
|
27832
27832
|
"unique-opened": true,
|
|
@@ -27852,11 +27852,74 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27852
27852
|
class: _vm.menuIcon
|
|
27853
27853
|
}) : _vm._e(), _c('span', {
|
|
27854
27854
|
staticClass: "appname"
|
|
27855
|
-
}, [_vm._v(_vm._s(_vm.menuName))])], 1), _c('
|
|
27855
|
+
}, [_vm._v(_vm._s(_vm.menuName))])], 1), _c('el-menu-item', {
|
|
27856
|
+
staticClass: "submenu-title-noDropdown submenu-title-default",
|
|
27857
|
+
style: _vm.layoutStyle === 1 ? 'border-bottom:1px solid #EBEBEB;' : '',
|
|
27858
|
+
on: {
|
|
27859
|
+
"click": _vm.clickTag
|
|
27860
|
+
}
|
|
27861
|
+
}, [!_vm.isCollapse ? _c('svg-icon', {
|
|
27862
|
+
staticStyle: {
|
|
27863
|
+
"font-size": "16px"
|
|
27864
|
+
},
|
|
27865
|
+
attrs: {
|
|
27866
|
+
"icon-class": "yingyong"
|
|
27867
|
+
},
|
|
27868
|
+
on: {
|
|
27869
|
+
"click": _vm.clickTag
|
|
27870
|
+
}
|
|
27871
|
+
}) : _c('svg', {
|
|
27872
|
+
staticClass: "hamburger-siderA",
|
|
27873
|
+
attrs: {
|
|
27874
|
+
"viewBox": "0 0 1024 1024",
|
|
27875
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
27876
|
+
"width": "64",
|
|
27877
|
+
"height": "64"
|
|
27878
|
+
},
|
|
27879
|
+
on: {
|
|
27880
|
+
"click": _vm.clickTag
|
|
27881
|
+
}
|
|
27882
|
+
}, [_c('path', {
|
|
27883
|
+
attrs: {
|
|
27884
|
+
"fill": "var(--lmTextColor)",
|
|
27885
|
+
"d": "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"
|
|
27886
|
+
}
|
|
27887
|
+
})]), _c('span', {
|
|
27888
|
+
staticClass: "appnameA"
|
|
27889
|
+
}, [_vm._v(" 内部邮箱 "), _c('svg', {
|
|
27890
|
+
staticClass: "hamburger-sider hamburgerActive",
|
|
27891
|
+
attrs: {
|
|
27892
|
+
"viewBox": "0 0 1024 1024",
|
|
27893
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
27894
|
+
"width": "64",
|
|
27895
|
+
"height": "64"
|
|
27896
|
+
},
|
|
27897
|
+
on: {
|
|
27898
|
+
"click": _vm.clickTag
|
|
27899
|
+
}
|
|
27900
|
+
}, [_c('path', {
|
|
27901
|
+
attrs: {
|
|
27902
|
+
"fill": "var(--lmTextColor)",
|
|
27903
|
+
"d": "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"
|
|
27904
|
+
}
|
|
27905
|
+
})])])], 1), _vm.isCollapse ? _c('el-menu-item', {
|
|
27906
|
+
style: _vm.layoutStyle === 1 ? 'border-bottom:1px solid #EBEBEB;' : '',
|
|
27907
|
+
on: {
|
|
27908
|
+
"click": _vm.gotoWrite
|
|
27909
|
+
}
|
|
27910
|
+
}, [_c('svg-icon', {
|
|
27911
|
+
staticStyle: {
|
|
27912
|
+
"width": "14px",
|
|
27913
|
+
"height": "14px"
|
|
27914
|
+
},
|
|
27915
|
+
attrs: {
|
|
27916
|
+
"icon-class": "email_xieyoujian"
|
|
27917
|
+
}
|
|
27918
|
+
})], 1) : _vm._e(), !_vm.isCollapse ? _c('div', {
|
|
27856
27919
|
staticClass: "topBtn-wrapper",
|
|
27857
27920
|
staticStyle: {
|
|
27858
27921
|
"text-align": "center",
|
|
27859
|
-
"
|
|
27922
|
+
"padding": "10px 0"
|
|
27860
27923
|
}
|
|
27861
27924
|
}, [_c('div', {
|
|
27862
27925
|
staticClass: "writeEmail",
|
|
@@ -27902,7 +27965,7 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27902
27965
|
value: 'writeLetters',
|
|
27903
27966
|
expression: "'writeLetters'"
|
|
27904
27967
|
}]
|
|
27905
|
-
}, [_vm._v("写信")])], 1)]), _vm._l(_vm.routes, function (route, index) {
|
|
27968
|
+
}, [_vm._v("写信")])], 1)]) : _vm._e(), _vm._l(_vm.routes, function (route, index) {
|
|
27906
27969
|
return [!route.hidden && route.meta && (route.meta.title === '邮件监控' || route.meta.icon === 'yjjk.svg') ? [_vm.yjjkMenu ? _c('sidebar-item', {
|
|
27907
27970
|
key: index,
|
|
27908
27971
|
attrs: {
|
|
@@ -27924,7 +27987,7 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27924
27987
|
}) : _vm._e()];
|
|
27925
27988
|
})], 2)], 1);
|
|
27926
27989
|
};
|
|
27927
|
-
var
|
|
27990
|
+
var LeftMenuvue_type_template_id_48e502c4_staticRenderFns = [];
|
|
27928
27991
|
|
|
27929
27992
|
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27930
27993
|
/*!
|
|
@@ -29579,14 +29642,28 @@ var _variables = __webpack_require__(5112);
|
|
|
29579
29642
|
}
|
|
29580
29643
|
}
|
|
29581
29644
|
return route;
|
|
29645
|
+
},
|
|
29646
|
+
clickTag: function clickTag() {
|
|
29647
|
+
if (this.layoutStyle === 1) {
|
|
29648
|
+
this.hamburgerActive = !this.hamburgerActive;
|
|
29649
|
+
this.$bus.emit('toggleClick');
|
|
29650
|
+
this.$bus.emit('theSiderShow');
|
|
29651
|
+
this.$bus.emit('openSideBar', false);
|
|
29652
|
+
this.$store.dispatch('app/toggleSideBar');
|
|
29653
|
+
} else {
|
|
29654
|
+
this.hamburgerActive = !this.hamburgerActive;
|
|
29655
|
+
this.$store.dispatch('app/toggleSideBar');
|
|
29656
|
+
this.$bus.emit('toggleClick');
|
|
29657
|
+
this.$bus.emit('theSiderShow');
|
|
29658
|
+
}
|
|
29582
29659
|
}
|
|
29583
29660
|
}
|
|
29584
29661
|
});
|
|
29585
29662
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=script&lang=js
|
|
29586
29663
|
/* harmony default export */ var components_LeftMenuvue_type_script_lang_js = (LeftMenuvue_type_script_lang_js);
|
|
29587
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=
|
|
29588
|
-
var
|
|
29589
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=
|
|
29664
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=48e502c4&prod&lang=scss
|
|
29665
|
+
var LeftMenuvue_type_style_index_0_id_48e502c4_prod_lang_scss = __webpack_require__(3439);
|
|
29666
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=48e502c4&prod&lang=scss
|
|
29590
29667
|
|
|
29591
29668
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
29592
29669
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -29697,8 +29774,8 @@ function normalizeComponent(
|
|
|
29697
29774
|
|
|
29698
29775
|
var component = normalizeComponent(
|
|
29699
29776
|
components_LeftMenuvue_type_script_lang_js,
|
|
29700
|
-
|
|
29701
|
-
|
|
29777
|
+
LeftMenuvue_type_template_id_48e502c4_render,
|
|
29778
|
+
LeftMenuvue_type_template_id_48e502c4_staticRenderFns,
|
|
29702
29779
|
false,
|
|
29703
29780
|
null,
|
|
29704
29781
|
null,
|
|
@@ -36426,8 +36503,8 @@ var list_component = normalizeComponent(
|
|
|
36426
36503
|
)
|
|
36427
36504
|
|
|
36428
36505
|
/* harmony default export */ var list = (list_component.exports);
|
|
36429
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=template&id=
|
|
36430
|
-
var
|
|
36506
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=template&id=221b8b0c&scoped=true
|
|
36507
|
+
var xieyoujianvue_type_template_id_221b8b0c_scoped_true_render = function render() {
|
|
36431
36508
|
var _vm = this,
|
|
36432
36509
|
_c = _vm._self._c;
|
|
36433
36510
|
return _c('div', {
|
|
@@ -37230,7 +37307,7 @@ var xieyoujianvue_type_template_id_0936748c_scoped_true_render = function render
|
|
|
37230
37307
|
}
|
|
37231
37308
|
})], 1)])]) : _vm._e()])]);
|
|
37232
37309
|
};
|
|
37233
|
-
var
|
|
37310
|
+
var xieyoujianvue_type_template_id_221b8b0c_scoped_true_staticRenderFns = [];
|
|
37234
37311
|
|
|
37235
37312
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/txl.vue?vue&type=template&id=0d337f2c&scoped=true
|
|
37236
37313
|
var txlvue_type_template_id_0d337f2c_scoped_true_render = function render() {
|
|
@@ -41530,14 +41607,14 @@ Sortable.mount(Remove, Revert);
|
|
|
41530
41607
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=script&lang=js
|
|
41531
41608
|
function xieyoujianvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return xieyoujianvue_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; }, xieyoujianvue_type_script_lang_js_typeof(o); }
|
|
41532
41609
|
function xieyoujianvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ xieyoujianvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == xieyoujianvue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(xieyoujianvue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
41533
|
-
function xieyoujianvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
41534
|
-
function xieyoujianvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
41535
41610
|
function xieyoujianvue_type_script_lang_js_toConsumableArray(r) { return xieyoujianvue_type_script_lang_js_arrayWithoutHoles(r) || xieyoujianvue_type_script_lang_js_iterableToArray(r) || xieyoujianvue_type_script_lang_js_unsupportedIterableToArray(r) || xieyoujianvue_type_script_lang_js_nonIterableSpread(); }
|
|
41536
41611
|
function xieyoujianvue_type_script_lang_js_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
41537
41612
|
function xieyoujianvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return xieyoujianvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? xieyoujianvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
|
|
41538
41613
|
function xieyoujianvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
41539
41614
|
function xieyoujianvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return xieyoujianvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
41540
41615
|
function xieyoujianvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
41616
|
+
function xieyoujianvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
41617
|
+
function xieyoujianvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
41541
41618
|
function xieyoujianvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
41542
41619
|
function xieyoujianvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? xieyoujianvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { xieyoujianvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : xieyoujianvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41543
41620
|
function xieyoujianvue_type_script_lang_js_defineProperty(e, r, t) { return (r = xieyoujianvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -42213,139 +42290,220 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42213
42290
|
// 新邮件初始化
|
|
42214
42291
|
newMail: function newMail(type) {
|
|
42215
42292
|
var _this11 = this;
|
|
42216
|
-
|
|
42217
|
-
|
|
42218
|
-
|
|
42219
|
-
|
|
42220
|
-
|
|
42221
|
-
|
|
42222
|
-
|
|
42223
|
-
|
|
42224
|
-
|
|
42225
|
-
|
|
42226
|
-
// this.mailInfo = this.$route.query
|
|
42227
|
-
// }
|
|
42228
|
-
// 新版本,使用缓存
|
|
42229
|
-
var objKeys = localStorage.getItem('newMailInfo');
|
|
42230
|
-
if (objKeys && objKeys !== '{}') {
|
|
42231
|
-
objKeys = JSON.parse(objKeys);
|
|
42232
|
-
if (this.mailInfo.sentdate) {
|
|
42233
|
-
// 草稿邮件不能删除id。。转发,回复等操作需要
|
|
42234
|
-
delete objKeys.id;
|
|
42235
|
-
}
|
|
42236
|
-
this.mailInfo = objKeys;
|
|
42237
|
-
localStorage.removeItem('newMailInfo');
|
|
42238
|
-
}
|
|
42239
|
-
}
|
|
42240
|
-
if (this.mailInfo.srcBusiDataId !== undefined) {
|
|
42241
|
-
// 流程表单转发邮件
|
|
42242
|
-
this.wflowForwardMail();
|
|
42243
|
-
} else if (this.mailInfo.mailMessageId == null) {
|
|
42244
|
-
// 新邮件
|
|
42245
|
-
this.mailContent = '<br/>';
|
|
42246
|
-
if (this.defultMail.signFlag === 1) {
|
|
42247
|
-
this.mailContent += this.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42248
|
-
}
|
|
42249
|
-
} else if (this.mailInfo.sentdate == null) {
|
|
42250
|
-
// 草稿邮件
|
|
42251
|
-
this.sendList = [];
|
|
42252
|
-
this.copyToList = [];
|
|
42253
|
-
this.blindCopyToList = [];
|
|
42254
|
-
if (this.mailInfo.sendTo !== null && this.mailInfo.sendTo !== '') {
|
|
42255
|
-
var arr = this.mailInfo.sendTo.split(',');
|
|
42256
|
-
this.sendList = this.sendList.concat(arr);
|
|
42257
|
-
}
|
|
42258
|
-
if (this.mailInfo.copyTo !== null && this.mailInfo.copyTo !== '') {
|
|
42259
|
-
var _arr = this.mailInfo.copyTo.split(',');
|
|
42260
|
-
this.copyToList = this.copyToList.concat(_arr);
|
|
42261
|
-
}
|
|
42262
|
-
if (this.mailInfo.blindCopyTo !== null && this.mailInfo.blindCopyTo !== '') {
|
|
42263
|
-
var _arr2 = this.mailInfo.blindCopyTo.split(',');
|
|
42264
|
-
this.blindCopyToList = this.blindCopyToList.concat(_arr2);
|
|
42265
|
-
}
|
|
42266
|
-
this.mailContent = this.mailInfo.content;
|
|
42267
|
-
if (this.mailInfo.attachments) {
|
|
42268
|
-
var _this$readyList;
|
|
42269
|
-
// if (this.mailInfo.attachments.length > 0) {
|
|
42270
|
-
this.readyList = (_this$readyList = this.readyList).concat.apply(_this$readyList, xieyoujianvue_type_script_lang_js_toConsumableArray(this.mailInfo.attachments));
|
|
42271
|
-
this.readyList.forEach(function (item) {
|
|
42272
|
-
if (!item.name) {
|
|
42273
|
-
item.name = item.fileName;
|
|
42274
|
-
}
|
|
42275
|
-
});
|
|
42276
|
-
// } else {
|
|
42277
|
-
// const _this = this
|
|
42278
|
-
// _this.$message.error(this.$tx('email.xieyoujian.addresseeEnter'))
|
|
42279
|
-
// return false
|
|
42280
|
-
// }
|
|
42281
|
-
}
|
|
42282
|
-
} else if (this.mailInfo.actionType) {
|
|
42283
|
-
// 转发、重新发送、回复邮件
|
|
42284
|
-
if (this.mailInfo.actionType === 'respAll') {
|
|
42285
|
-
var lists1 = this.mailInfo.sendTo.split(',');
|
|
42286
|
-
var lists2 = this.mailInfo.fromAddr.split(',');
|
|
42287
|
-
var lists3 = this.mailInfo.copyTo.split(',');
|
|
42288
|
-
lists1.forEach(function (item, index) {
|
|
42289
|
-
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42290
|
-
_this11.sendList.push(item);
|
|
42291
|
-
}
|
|
42292
|
-
});
|
|
42293
|
-
lists2.forEach(function (item, index) {
|
|
42294
|
-
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42295
|
-
_this11.sendList.push(item);
|
|
42296
|
-
}
|
|
42297
|
-
});
|
|
42298
|
-
lists3.forEach(function (item, index) {
|
|
42299
|
-
if (item !== '') {
|
|
42300
|
-
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42301
|
-
_this11.copyToList.push(item);
|
|
42302
|
-
_this11.csr = true;
|
|
42293
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
42294
|
+
var objKeys, curTag, tempMailMessageId, _yield$_this11$$http, body, code, message, find, res, arr, _arr, _arr2, _this11$readyList, lists1, lists2, lists3, _this11$readyList2, _this11$readyList3;
|
|
42295
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
42296
|
+
while (1) switch (_context.prev = _context.next) {
|
|
42297
|
+
case 0:
|
|
42298
|
+
_this11.loading = true;
|
|
42299
|
+
_this11.sendList = [];
|
|
42300
|
+
if (!(type === 'againMail')) {
|
|
42301
|
+
_context.next = 8;
|
|
42302
|
+
break;
|
|
42303
42303
|
}
|
|
42304
|
-
|
|
42305
|
-
|
|
42306
|
-
|
|
42307
|
-
|
|
42308
|
-
|
|
42309
|
-
|
|
42310
|
-
|
|
42311
|
-
|
|
42312
|
-
|
|
42313
|
-
|
|
42314
|
-
|
|
42315
|
-
|
|
42316
|
-
|
|
42317
|
-
|
|
42318
|
-
|
|
42319
|
-
|
|
42320
|
-
|
|
42321
|
-
|
|
42322
|
-
|
|
42323
|
-
|
|
42324
|
-
|
|
42304
|
+
_this11.mailInfo = {};
|
|
42305
|
+
_this11.mailInfo.sendTo = '';
|
|
42306
|
+
_this11.mailInfo.sended = false;
|
|
42307
|
+
_context.next = 37;
|
|
42308
|
+
break;
|
|
42309
|
+
case 8:
|
|
42310
|
+
// 老版本写法,使用路由携带参数
|
|
42311
|
+
// var objKeys = Object.keys(this.$route.query)
|
|
42312
|
+
// if (objKeys.length > 2) {
|
|
42313
|
+
// this.mailInfo = this.$route.query
|
|
42314
|
+
// }
|
|
42315
|
+
// 新版本,使用缓存
|
|
42316
|
+
objKeys = localStorage.getItem('newMailInfo');
|
|
42317
|
+
if (!(objKeys && objKeys !== '{}')) {
|
|
42318
|
+
_context.next = 16;
|
|
42319
|
+
break;
|
|
42320
|
+
}
|
|
42321
|
+
objKeys = JSON.parse(objKeys);
|
|
42322
|
+
if (_this11.mailInfo.sentdate) {
|
|
42323
|
+
// 草稿邮件不能删除id。。转发,回复等操作需要
|
|
42324
|
+
delete objKeys.id;
|
|
42325
|
+
}
|
|
42326
|
+
_this11.mailInfo = objKeys;
|
|
42327
|
+
localStorage.removeItem('newMailInfo');
|
|
42328
|
+
_context.next = 37;
|
|
42329
|
+
break;
|
|
42330
|
+
case 16:
|
|
42331
|
+
curTag = _this11.$store.state.tagsView.visitedViews.find(function (item) {
|
|
42332
|
+
var _item$meta;
|
|
42333
|
+
return (item === null || item === void 0 || (_item$meta = item.meta) === null || _item$meta === void 0 ? void 0 : _item$meta.code) == "writeMail";
|
|
42334
|
+
});
|
|
42335
|
+
if (!curTag) {
|
|
42336
|
+
_context.next = 37;
|
|
42337
|
+
break;
|
|
42338
|
+
}
|
|
42339
|
+
if (!curTag.meta["tempMailMessageId-".concat(_this11.loginUser.orgCode, "-").concat(_this11.loginUser.personId)]) {
|
|
42340
|
+
_context.next = 37;
|
|
42341
|
+
break;
|
|
42342
|
+
}
|
|
42343
|
+
tempMailMessageId = curTag.meta["tempMailMessageId-".concat(_this11.loginUser.orgCode, "-").concat(_this11.loginUser.personId)];
|
|
42344
|
+
if (!tempMailMessageId) {
|
|
42345
|
+
_context.next = 37;
|
|
42346
|
+
break;
|
|
42347
|
+
}
|
|
42348
|
+
_context.next = 23;
|
|
42349
|
+
return _this11.$http({
|
|
42350
|
+
method: 'post',
|
|
42351
|
+
url: '/mail/messageBox/listdata',
|
|
42352
|
+
data: _this11.$qs.stringify({
|
|
42353
|
+
urlsearch: "usersetId:".concat(_this11.defultMail.id, ";")
|
|
42354
|
+
})
|
|
42355
|
+
});
|
|
42356
|
+
case 23:
|
|
42357
|
+
_yield$_this11$$http = _context.sent;
|
|
42358
|
+
body = _yield$_this11$$http.body;
|
|
42359
|
+
code = _yield$_this11$$http.code;
|
|
42360
|
+
message = _yield$_this11$$http.message;
|
|
42361
|
+
if (!(code == 'success')) {
|
|
42362
|
+
_context.next = 36;
|
|
42363
|
+
break;
|
|
42364
|
+
}
|
|
42365
|
+
find = body.pageInfo.list.find(function (item) {
|
|
42366
|
+
return item.boxType == 'DRAFT';
|
|
42367
|
+
});
|
|
42368
|
+
if (!find) {
|
|
42369
|
+
_context.next = 34;
|
|
42370
|
+
break;
|
|
42371
|
+
}
|
|
42372
|
+
_context.next = 32;
|
|
42373
|
+
return _this11.$http({
|
|
42374
|
+
method: 'get',
|
|
42375
|
+
url: '/mail/message/getMailInfoById',
|
|
42376
|
+
params: {
|
|
42377
|
+
messageId: tempMailMessageId,
|
|
42378
|
+
mailBoxId: find.id,
|
|
42379
|
+
apigw: 'apigw'
|
|
42325
42380
|
}
|
|
42326
42381
|
});
|
|
42327
|
-
|
|
42328
|
-
|
|
42329
|
-
|
|
42330
|
-
|
|
42331
|
-
|
|
42332
|
-
|
|
42333
|
-
|
|
42334
|
-
|
|
42382
|
+
case 32:
|
|
42383
|
+
res = _context.sent;
|
|
42384
|
+
if (res.code == 'success') {
|
|
42385
|
+
_this11.mailInfo = res.body.vo;
|
|
42386
|
+
} else {
|
|
42387
|
+
console.error(res.message);
|
|
42388
|
+
}
|
|
42389
|
+
case 34:
|
|
42390
|
+
_context.next = 37;
|
|
42391
|
+
break;
|
|
42392
|
+
case 36:
|
|
42393
|
+
console.error(message);
|
|
42394
|
+
case 37:
|
|
42395
|
+
if (_this11.mailInfo.srcBusiDataId !== undefined) {
|
|
42396
|
+
// 流程表单转发邮件
|
|
42397
|
+
_this11.wflowForwardMail();
|
|
42398
|
+
} else if (_this11.mailInfo.mailMessageId == null) {
|
|
42399
|
+
// 新邮件
|
|
42400
|
+
_this11.mailContent = '<br/>';
|
|
42401
|
+
if (_this11.defultMail.signFlag === 1) {
|
|
42402
|
+
_this11.mailContent += _this11.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42403
|
+
}
|
|
42404
|
+
} else if (_this11.mailInfo.sentdate == null) {
|
|
42405
|
+
// 草稿邮件
|
|
42406
|
+
_this11.sendList = [];
|
|
42407
|
+
_this11.copyToList = [];
|
|
42408
|
+
_this11.blindCopyToList = [];
|
|
42409
|
+
if (_this11.mailInfo.sendTo !== null && _this11.mailInfo.sendTo !== '') {
|
|
42410
|
+
arr = _this11.mailInfo.sendTo.split(',');
|
|
42411
|
+
_this11.sendList = _this11.sendList.concat(arr);
|
|
42412
|
+
}
|
|
42413
|
+
if (_this11.mailInfo.copyTo !== null && _this11.mailInfo.copyTo !== '') {
|
|
42414
|
+
_arr = _this11.mailInfo.copyTo.split(',');
|
|
42415
|
+
_this11.copyToList = _this11.copyToList.concat(_arr);
|
|
42416
|
+
}
|
|
42417
|
+
if (_this11.mailInfo.blindCopyTo !== null && _this11.mailInfo.blindCopyTo !== '') {
|
|
42418
|
+
_arr2 = _this11.mailInfo.blindCopyTo.split(',');
|
|
42419
|
+
_this11.blindCopyToList = _this11.blindCopyToList.concat(_arr2);
|
|
42420
|
+
}
|
|
42421
|
+
_this11.mailContent = _this11.mailInfo.content;
|
|
42422
|
+
if (_this11.mailInfo.attachments) {
|
|
42423
|
+
// if (this.mailInfo.attachments.length > 0) {
|
|
42424
|
+
_this11.readyList = (_this11$readyList = _this11.readyList).concat.apply(_this11$readyList, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42425
|
+
_this11.readyList.forEach(function (item) {
|
|
42426
|
+
if (!item.name) {
|
|
42427
|
+
item.name = item.fileName;
|
|
42428
|
+
}
|
|
42429
|
+
});
|
|
42430
|
+
// } else {
|
|
42431
|
+
// const _this = this
|
|
42432
|
+
// _this.$message.error(this.$tx('email.xieyoujian.addresseeEnter'))
|
|
42433
|
+
// return false
|
|
42434
|
+
// }
|
|
42435
|
+
}
|
|
42436
|
+
} else if (_this11.mailInfo.actionType) {
|
|
42437
|
+
// 转发、重新发送、回复邮件
|
|
42438
|
+
if (_this11.mailInfo.actionType === 'respAll') {
|
|
42439
|
+
lists1 = _this11.mailInfo.sendTo.split(',');
|
|
42440
|
+
lists2 = _this11.mailInfo.fromAddr.split(',');
|
|
42441
|
+
lists3 = _this11.mailInfo.copyTo.split(',');
|
|
42442
|
+
lists1.forEach(function (item, index) {
|
|
42443
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42444
|
+
_this11.sendList.push(item);
|
|
42445
|
+
}
|
|
42446
|
+
});
|
|
42447
|
+
lists2.forEach(function (item, index) {
|
|
42448
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42449
|
+
_this11.sendList.push(item);
|
|
42450
|
+
}
|
|
42451
|
+
});
|
|
42452
|
+
lists3.forEach(function (item, index) {
|
|
42453
|
+
if (item !== '') {
|
|
42454
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42455
|
+
_this11.copyToList.push(item);
|
|
42456
|
+
_this11.csr = true;
|
|
42457
|
+
}
|
|
42458
|
+
}
|
|
42459
|
+
});
|
|
42460
|
+
} else if (_this11.mailInfo.actionType === 'resp') {
|
|
42461
|
+
_this11.sendList.push(_this11.mailInfo.fromAddr);
|
|
42462
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42463
|
+
} else if (_this11.mailInfo.actionType === 'resend') {
|
|
42464
|
+
_this11.sendList.push(_this11.mailInfo.sendTo);
|
|
42465
|
+
if (_this11.mailInfo.attachments.length > 0) {
|
|
42466
|
+
(_this11$readyList2 = _this11.readyList).push.apply(_this11$readyList2, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42467
|
+
}
|
|
42468
|
+
} else if (_this11.mailInfo.actionType === 'forward') {
|
|
42469
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42470
|
+
_this11.sendList = [];
|
|
42471
|
+
if (_this11.mailInfo.attachments) {
|
|
42472
|
+
if (_this11.mailInfo.attachments.length > 0) {
|
|
42473
|
+
(_this11$readyList3 = _this11.readyList).push.apply(_this11$readyList3, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42474
|
+
_this11.readyList.forEach(function (item) {
|
|
42475
|
+
if (!item.name) {
|
|
42476
|
+
item.name = item.fileName;
|
|
42477
|
+
}
|
|
42478
|
+
});
|
|
42479
|
+
}
|
|
42480
|
+
}
|
|
42481
|
+
}
|
|
42482
|
+
if (_this11.mailInfo.actionType !== 'resend') {
|
|
42483
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42484
|
+
_this11.mailContent = '<br/><br/><br/><br/><br/>';
|
|
42485
|
+
if (_this11.defultMail.signFlag === 1) {
|
|
42486
|
+
_this11.mailContent += _this11.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42487
|
+
}
|
|
42488
|
+
_this11.mailContent += '<hr/>------------------ 原始邮件 ------------------<br/>';
|
|
42489
|
+
}
|
|
42490
|
+
_this11.mailContent += _this11.mailInfo.content;
|
|
42491
|
+
_this11.mailInfo.mailMessageId = null;
|
|
42492
|
+
_this11.mailInfo.id = null;
|
|
42493
|
+
_this11.mailInfo.sentdate = null;
|
|
42494
|
+
}
|
|
42495
|
+
_this11.$set(_this11.mailInfo, 'receipt', 1);
|
|
42496
|
+
_this11.loading = false;
|
|
42497
|
+
_this11.mailInfo.content = _this11.mailContent;
|
|
42498
|
+
// this.mailInfo.mailType = 2
|
|
42499
|
+
_this11.newMailInfo = null;
|
|
42500
|
+
_this11.$forceUpdate();
|
|
42501
|
+
case 43:
|
|
42502
|
+
case "end":
|
|
42503
|
+
return _context.stop();
|
|
42335
42504
|
}
|
|
42336
|
-
|
|
42337
|
-
|
|
42338
|
-
this.mailContent += this.mailInfo.content;
|
|
42339
|
-
this.mailInfo.mailMessageId = null;
|
|
42340
|
-
this.mailInfo.id = null;
|
|
42341
|
-
this.mailInfo.sentdate = null;
|
|
42342
|
-
}
|
|
42343
|
-
this.$set(this.mailInfo, 'receipt', 1);
|
|
42344
|
-
this.loading = false;
|
|
42345
|
-
this.mailInfo.content = this.mailContent;
|
|
42346
|
-
// this.mailInfo.mailType = 2
|
|
42347
|
-
this.newMailInfo = null;
|
|
42348
|
-
this.$forceUpdate();
|
|
42505
|
+
}, _callee);
|
|
42506
|
+
}))();
|
|
42349
42507
|
},
|
|
42350
42508
|
// 流程表单转发邮件
|
|
42351
42509
|
wflowForwardMail: function wflowForwardMail() {
|
|
@@ -42423,6 +42581,32 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42423
42581
|
this.readyList[j].fileSize = (this.readyList[j].size / this.pow1024(1)).toFixed(2);
|
|
42424
42582
|
}
|
|
42425
42583
|
}
|
|
42584
|
+
var data = new FormData();
|
|
42585
|
+
data.append('module', 'DRAFT');
|
|
42586
|
+
data.append('fileLevel', '');
|
|
42587
|
+
data.append('busiDataId', this.mailInfo.id);
|
|
42588
|
+
data.append('attachsType', 'ATTACH');
|
|
42589
|
+
data.append('attachsSize', file.size);
|
|
42590
|
+
data.append('attachsName', file.name);
|
|
42591
|
+
data.append('file', file.raw);
|
|
42592
|
+
data.append('usersetId', this.defultMail.id);
|
|
42593
|
+
var url = '/mail/attach/upload';
|
|
42594
|
+
this.uploadDdta = data;
|
|
42595
|
+
this.$http({
|
|
42596
|
+
method: 'POST',
|
|
42597
|
+
url: url,
|
|
42598
|
+
data: this.uploadDdta
|
|
42599
|
+
}).then(function successCallback(response) {
|
|
42600
|
+
if (response.code === 'success') {
|
|
42601
|
+
file.id = response.body.uploadAttachList[0].id;
|
|
42602
|
+
this.mailInfo.attachments.push(response.body.uploadAttachList[0]);
|
|
42603
|
+
} else {
|
|
42604
|
+
this.loading = false;
|
|
42605
|
+
this.$message.error(response.message);
|
|
42606
|
+
return false;
|
|
42607
|
+
}
|
|
42608
|
+
});
|
|
42609
|
+
// this.fileUploadFuc('Draft',false)
|
|
42426
42610
|
},
|
|
42427
42611
|
// 求次幂
|
|
42428
42612
|
pow1024: function pow1024(num) {
|
|
@@ -42446,13 +42630,15 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42446
42630
|
// 保存邮件草稿
|
|
42447
42631
|
saveDraft: function saveDraft(type) {
|
|
42448
42632
|
var _this13 = this;
|
|
42633
|
+
var checkSendList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
42634
|
+
var callBack = arguments.length > 2 ? arguments[2] : undefined;
|
|
42449
42635
|
var _this = this;
|
|
42450
42636
|
_this.mailInfo.usersetId = _this.defultMail.id;
|
|
42451
42637
|
if (_this.sendList.length > 0) {
|
|
42452
42638
|
_this.mailInfo.sendTo = this.sendList.toString();
|
|
42453
42639
|
_this.mailInfo.copyTo = this.copyToList.toString();
|
|
42454
42640
|
_this.mailInfo.blindCopyTo = this.blindCopyToList.toString();
|
|
42455
|
-
} else {
|
|
42641
|
+
} else if (checkSendList) {
|
|
42456
42642
|
_this.$message.error(this.$tx('email.messages.addresseeEnter', '请输入收件人!'));
|
|
42457
42643
|
return false;
|
|
42458
42644
|
}
|
|
@@ -42483,7 +42669,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42483
42669
|
_this.sendMail();
|
|
42484
42670
|
} else {
|
|
42485
42671
|
_this.loading = false;
|
|
42486
|
-
|
|
42672
|
+
if (checkSendList) {
|
|
42673
|
+
_this.$message.success(_this13.$tx('email.messages.SaveDraftsu', '保存草稿成功'));
|
|
42674
|
+
}
|
|
42487
42675
|
// location.reload()
|
|
42488
42676
|
}
|
|
42489
42677
|
}
|
|
@@ -42491,6 +42679,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42491
42679
|
_this.loading = false;
|
|
42492
42680
|
_this.$message.error(data.message);
|
|
42493
42681
|
}
|
|
42682
|
+
if (!checkSendList) {
|
|
42683
|
+
callBack(data);
|
|
42684
|
+
}
|
|
42494
42685
|
resolve(data);
|
|
42495
42686
|
}).catch(function (err) {
|
|
42496
42687
|
reject(err);
|
|
@@ -42500,27 +42691,29 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42500
42691
|
},
|
|
42501
42692
|
// * 上传附件
|
|
42502
42693
|
fileUploadFuc: function fileUploadFuc(type) {
|
|
42503
|
-
var
|
|
42504
|
-
|
|
42505
|
-
|
|
42506
|
-
|
|
42507
|
-
|
|
42694
|
+
var _arguments = arguments,
|
|
42695
|
+
_this14 = this;
|
|
42696
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
42697
|
+
var isShowMessage, _this, url, _loop3, i;
|
|
42698
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context3) {
|
|
42699
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
42508
42700
|
case 0:
|
|
42701
|
+
isShowMessage = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : true;
|
|
42509
42702
|
_this = _this14; // 两种上传接口 处理 草稿和转发和再次发送操作带过来的旧附件 和 新上传的附件
|
|
42510
42703
|
url = '/mail/attach/upload';
|
|
42511
42704
|
if (!(_this.readyList.length === 0)) {
|
|
42512
|
-
|
|
42705
|
+
_context3.next = 7;
|
|
42513
42706
|
break;
|
|
42514
42707
|
}
|
|
42515
42708
|
_this.$messages.info(_this14.$tx('email.messages.selectExportFile', '请选择导入文件'));
|
|
42516
|
-
|
|
42709
|
+
_context3.next = 16;
|
|
42517
42710
|
break;
|
|
42518
|
-
case
|
|
42711
|
+
case 7:
|
|
42519
42712
|
_this.mailInfo.attachments = [];
|
|
42520
42713
|
_loop3 = /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _loop3() {
|
|
42521
42714
|
var file, data, moveFilarr;
|
|
42522
|
-
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _loop3$(
|
|
42523
|
-
while (1) switch (
|
|
42715
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _loop3$(_context2) {
|
|
42716
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
42524
42717
|
case 0:
|
|
42525
42718
|
file = _this.readyList[i];
|
|
42526
42719
|
data = new FormData();
|
|
@@ -42538,11 +42731,11 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42538
42731
|
_this.$app.deleteByIds('/mail/attach/deleted', moveFilarr);
|
|
42539
42732
|
}
|
|
42540
42733
|
if (!file.id) {
|
|
42541
|
-
|
|
42734
|
+
_context2.next = 17;
|
|
42542
42735
|
break;
|
|
42543
42736
|
}
|
|
42544
42737
|
if (!(_this.mailInfo.actionType && (_this.mailInfo.actionType === 'forward' || _this.mailInfo.actionType === 'resend') || _this.$route.query.srcBusiDataId || _this.$route.query.row)) {
|
|
42545
|
-
|
|
42738
|
+
_context2.next = 14;
|
|
42546
42739
|
break;
|
|
42547
42740
|
}
|
|
42548
42741
|
if (_this.$route.query.srcBusiDataId) {
|
|
@@ -42564,7 +42757,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42564
42757
|
|
|
42565
42758
|
_this.uploadDdta = data;
|
|
42566
42759
|
}
|
|
42567
|
-
|
|
42760
|
+
_context2.next = 12;
|
|
42568
42761
|
return _this.$http({
|
|
42569
42762
|
method: 'POST',
|
|
42570
42763
|
url: url,
|
|
@@ -42581,12 +42774,12 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42581
42774
|
}
|
|
42582
42775
|
});
|
|
42583
42776
|
case 12:
|
|
42584
|
-
|
|
42777
|
+
_context2.next = 15;
|
|
42585
42778
|
break;
|
|
42586
42779
|
case 14:
|
|
42587
42780
|
_this.mailInfo.attachments.push(file);
|
|
42588
42781
|
case 15:
|
|
42589
|
-
|
|
42782
|
+
_context2.next = 27;
|
|
42590
42783
|
break;
|
|
42591
42784
|
case 17:
|
|
42592
42785
|
data.append('busiDataId', _this.mailInfo.id);
|
|
@@ -42597,7 +42790,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42597
42790
|
data.append('usersetId', _this.defultMail.id);
|
|
42598
42791
|
url = '/mail/attach/upload';
|
|
42599
42792
|
_this.uploadDdta = data;
|
|
42600
|
-
|
|
42793
|
+
_context2.next = 27;
|
|
42601
42794
|
return _this.$http({
|
|
42602
42795
|
method: 'POST',
|
|
42603
42796
|
url: url,
|
|
@@ -42614,27 +42807,29 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42614
42807
|
});
|
|
42615
42808
|
case 27:
|
|
42616
42809
|
case "end":
|
|
42617
|
-
return
|
|
42810
|
+
return _context2.stop();
|
|
42618
42811
|
}
|
|
42619
42812
|
}, _loop3);
|
|
42620
42813
|
});
|
|
42621
42814
|
i = 0;
|
|
42622
|
-
case
|
|
42815
|
+
case 10:
|
|
42623
42816
|
if (!(i < _this.readyList.length)) {
|
|
42624
|
-
|
|
42817
|
+
_context3.next = 15;
|
|
42625
42818
|
break;
|
|
42626
42819
|
}
|
|
42627
|
-
return
|
|
42628
|
-
case
|
|
42820
|
+
return _context3.delegateYield(_loop3(), "t0", 12);
|
|
42821
|
+
case 12:
|
|
42629
42822
|
i++;
|
|
42630
|
-
|
|
42823
|
+
_context3.next = 10;
|
|
42631
42824
|
break;
|
|
42632
|
-
case
|
|
42825
|
+
case 15:
|
|
42633
42826
|
if (type === 'send') {
|
|
42634
42827
|
_this.sendMail();
|
|
42635
42828
|
} else {
|
|
42636
42829
|
_this.loading = false;
|
|
42637
|
-
|
|
42830
|
+
// if(isShowMessage){
|
|
42831
|
+
// _this.$message.success(this.$tx('email.messages.SaveDraftsu', '保存草稿成功'))
|
|
42832
|
+
// }
|
|
42638
42833
|
_this.readyList = _this.mailInfo.attachments;
|
|
42639
42834
|
if (_this.mailInfo.actionType) {
|
|
42640
42835
|
delete _this.mailInfo.actionType;
|
|
@@ -42643,11 +42838,11 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42643
42838
|
delete _this.$route.query.row;
|
|
42644
42839
|
}
|
|
42645
42840
|
}
|
|
42646
|
-
case
|
|
42841
|
+
case 16:
|
|
42647
42842
|
case "end":
|
|
42648
|
-
return
|
|
42843
|
+
return _context3.stop();
|
|
42649
42844
|
}
|
|
42650
|
-
},
|
|
42845
|
+
}, _callee2);
|
|
42651
42846
|
}))();
|
|
42652
42847
|
},
|
|
42653
42848
|
// 发送互联网邮件
|
|
@@ -42769,47 +42964,47 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42769
42964
|
// 手动输入的邮箱账号, 失去焦点后去验证输入的的邮件格式
|
|
42770
42965
|
keyUpFuc: function keyUpFuc() {
|
|
42771
42966
|
var _this15 = this;
|
|
42772
|
-
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
42967
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
42773
42968
|
var emailDomain, tfFlag, errRes;
|
|
42774
|
-
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
42775
|
-
while (1) switch (
|
|
42969
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context4) {
|
|
42970
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
42776
42971
|
case 0:
|
|
42777
42972
|
if (!((_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput).trim() !== '')) {
|
|
42778
|
-
|
|
42973
|
+
_context4.next = 25;
|
|
42779
42974
|
break;
|
|
42780
42975
|
}
|
|
42781
42976
|
emailDomain = null;
|
|
42782
42977
|
if (!(_this15.closeLink === false)) {
|
|
42783
|
-
|
|
42978
|
+
_context4.next = 25;
|
|
42784
42979
|
break;
|
|
42785
42980
|
}
|
|
42786
|
-
|
|
42981
|
+
_context4.next = 5;
|
|
42787
42982
|
return _this15.isEmail(_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput);
|
|
42788
42983
|
case 5:
|
|
42789
|
-
tfFlag =
|
|
42984
|
+
tfFlag = _context4.sent;
|
|
42790
42985
|
if (!tfFlag) {
|
|
42791
|
-
|
|
42986
|
+
_context4.next = 25;
|
|
42792
42987
|
break;
|
|
42793
42988
|
}
|
|
42794
42989
|
errRes = null; // 验证当前为内部邮箱时,是否需要绑定外部邮箱
|
|
42795
42990
|
if (!(_this15.defultMail.emailReceiveType === null)) {
|
|
42796
|
-
|
|
42991
|
+
_context4.next = 15;
|
|
42797
42992
|
break;
|
|
42798
42993
|
}
|
|
42799
42994
|
emailDomain = '@' + _this15.defultMail.emailAddr.split('@')[1];
|
|
42800
42995
|
if (_this15.defultMail.internetEmailAddr) {
|
|
42801
|
-
|
|
42996
|
+
_context4.next = 15;
|
|
42802
42997
|
break;
|
|
42803
42998
|
}
|
|
42804
42999
|
if (!((_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput).indexOf(emailDomain) === -1)) {
|
|
42805
|
-
|
|
43000
|
+
_context4.next = 15;
|
|
42806
43001
|
break;
|
|
42807
43002
|
}
|
|
42808
43003
|
_this15.$alert(_this15.$tx('email.xieyoujian.content2', '当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱'), _this15.$tx('common.operationTip', '操作提示'), {
|
|
42809
43004
|
type: 'warning'
|
|
42810
43005
|
});
|
|
42811
43006
|
_this15.focusInput === 1 ? _this15.sendListInput = '' : _this15.focusInput === 2 ? _this15.copyToInput = '' : _this15.blindCopyToInput = '';
|
|
42812
|
-
return
|
|
43007
|
+
return _context4.abrupt("return", false);
|
|
42813
43008
|
case 15:
|
|
42814
43009
|
// 验证手动输入的与已经存在的是否重复
|
|
42815
43010
|
;
|
|
@@ -42826,7 +43021,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42826
43021
|
// }
|
|
42827
43022
|
// })
|
|
42828
43023
|
if (!(errRes === 1)) {
|
|
42829
|
-
|
|
43024
|
+
_context4.next = 24;
|
|
42830
43025
|
break;
|
|
42831
43026
|
}
|
|
42832
43027
|
if (_this15.focusInput === 1) {
|
|
@@ -42838,7 +43033,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42838
43033
|
if (_this15.focusInput === 3) {
|
|
42839
43034
|
_this15.$message.warning(_this15.$tx('email.messages.emailTip3', '已存在该密送人!'));
|
|
42840
43035
|
}
|
|
42841
|
-
return
|
|
43036
|
+
return _context4.abrupt("return", false);
|
|
42842
43037
|
case 24:
|
|
42843
43038
|
if (_this15.focusInput === 1) {
|
|
42844
43039
|
_this15.sendList.push(_this15.sendListInput);
|
|
@@ -42855,9 +43050,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42855
43050
|
}
|
|
42856
43051
|
case 25:
|
|
42857
43052
|
case "end":
|
|
42858
|
-
return
|
|
43053
|
+
return _context4.stop();
|
|
42859
43054
|
}
|
|
42860
|
-
},
|
|
43055
|
+
}, _callee3);
|
|
42861
43056
|
}))();
|
|
42862
43057
|
},
|
|
42863
43058
|
removeMail: function removeMail(item, index, val) {
|
|
@@ -43026,13 +43221,43 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
43026
43221
|
this.handleChange(fileBody);
|
|
43027
43222
|
}
|
|
43028
43223
|
}
|
|
43224
|
+
},
|
|
43225
|
+
beforeRouteLeave: function beforeRouteLeave(to, from, next) {
|
|
43226
|
+
var _this17 = this;
|
|
43227
|
+
if (this.mailInfo.sended) {
|
|
43228
|
+
next();
|
|
43229
|
+
return;
|
|
43230
|
+
}
|
|
43231
|
+
if (!this.mailInfo.subject) {
|
|
43232
|
+
this.$set(this.mailInfo, 'subject', '无主题');
|
|
43233
|
+
}
|
|
43234
|
+
setTimeout(function () {
|
|
43235
|
+
try {
|
|
43236
|
+
_this17.saveDraft('Draft', false, function (_ref) {
|
|
43237
|
+
var body = _ref.body,
|
|
43238
|
+
code = _ref.code,
|
|
43239
|
+
message = _ref.message;
|
|
43240
|
+
if (code == 'success') {
|
|
43241
|
+
var curTag = _this17.$store.state.tagsView.visitedViews.find(function (item) {
|
|
43242
|
+
var _item$meta2;
|
|
43243
|
+
return (item === null || item === void 0 || (_item$meta2 = item.meta) === null || _item$meta2 === void 0 ? void 0 : _item$meta2.code) == "writeMail";
|
|
43244
|
+
});
|
|
43245
|
+
if (curTag) {
|
|
43246
|
+
curTag.meta["tempMailMessageId-".concat(_this17.loginUser.orgCode, "-").concat(_this17.loginUser.personId)] = body.mailMessageId;
|
|
43247
|
+
}
|
|
43248
|
+
}
|
|
43249
|
+
});
|
|
43250
|
+
} finally {
|
|
43251
|
+
next();
|
|
43252
|
+
}
|
|
43253
|
+
}, 0);
|
|
43029
43254
|
}
|
|
43030
43255
|
});
|
|
43031
43256
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=script&lang=js
|
|
43032
43257
|
/* harmony default export */ var src_xieyoujianvue_type_script_lang_js = (xieyoujianvue_type_script_lang_js);
|
|
43033
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=
|
|
43034
|
-
var
|
|
43035
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=
|
|
43258
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=221b8b0c&prod&lang=scss&scoped=true
|
|
43259
|
+
var xieyoujianvue_type_style_index_0_id_221b8b0c_prod_lang_scss_scoped_true = __webpack_require__(5237);
|
|
43260
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=221b8b0c&prod&lang=scss&scoped=true
|
|
43036
43261
|
|
|
43037
43262
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue
|
|
43038
43263
|
|
|
@@ -43045,11 +43270,11 @@ var xieyoujianvue_type_style_index_0_id_0936748c_prod_lang_scss_scoped_true = __
|
|
|
43045
43270
|
|
|
43046
43271
|
var xieyoujian_component = normalizeComponent(
|
|
43047
43272
|
src_xieyoujianvue_type_script_lang_js,
|
|
43048
|
-
|
|
43049
|
-
|
|
43273
|
+
xieyoujianvue_type_template_id_221b8b0c_scoped_true_render,
|
|
43274
|
+
xieyoujianvue_type_template_id_221b8b0c_scoped_true_staticRenderFns,
|
|
43050
43275
|
false,
|
|
43051
43276
|
null,
|
|
43052
|
-
"
|
|
43277
|
+
"221b8b0c",
|
|
43053
43278
|
null
|
|
43054
43279
|
|
|
43055
43280
|
)
|