ecinc-cloud-yoaemail 9.6.248 → 9.6.249
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 +423 -207
- package/lib/ecyoaemail.umd.js +423 -207
- package/lib/ecyoaemail.umd.min.js +6 -6
- 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
|
+
/***/ 5402:
|
|
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-1da03451] .attachFile .el-input__inner{width:76px;height:20px;text-align:center;line-height:20px;padding:0 5px}[data-v-1da03451] #busiForm table td{vertical-align:top}.RichtextEditor[data-v-1da03451] .richtext-container .el-table td div{height:100%}.RichtextEditor[data-v-1da03451] .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-1da03451] .richtext-container .cke_inner .cke_contents{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.spanLH[data-v-1da03451]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.mailWrap[data-v-1da03451]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:9px 0 0 0;position:relative}.mailWrap[data-v-1da03451],.mailWrap .drag-mask[data-v-1da03451]{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-1da03451]{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-1da03451]{color:var(--subjectColor);font-size:100px}.sendMail[data-v-1da03451]{padding:0 0 0 10px}.sendMail .lineRow[data-v-1da03451]{margin:0!important;border-bottom:1px solid #eceff5;display:-webkit-box;display:-ms-flexbox;display:flex}.sendMail .lineRow .grid-content[data-v-1da03451]{height:100%;width:calc(100% - 72px);padding-left:16px}.sendMail .lineRow .grid-content .btnBorder[data-v-1da03451]{border:none!important}.sendMail .lineRow .grid-content .btnBorder[data-v-1da03451] .el-input__inner{border:none!important;height:unset;line-height:20px;padding-left:unset}.el-inputLyy__inner[data-v-1da03451] .el-input__inner{line-height:40px!important}[data-v-1da03451] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-1da03451] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-1da03451] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-1da03451]{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-1da03451]{overflow-x:hidden;padding:10px}.linkEmail div p[data-v-1da03451]{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-1da03451]:hover{color:#409eff}.linkEmail[data-v-1da03451]::-webkit-scrollbar{display:none}[data-v-1da03451] .el-input__suffix{display:none}[data-v-1da03451] .el-input__inner{text-align:left}.RichtextEditor[data-v-1da03451] .richtext-container{margin:0;height:100%}.RichtextEditor[data-v-1da03451] .richtext-container .el-table{height:100%;border:none}.RichtextEditor[data-v-1da03451] .richtext-container .el-table:before{width:0}.RichtextEditor[data-v-1da03451] .richtext-container .el-table .el-table__body-wrapper,.RichtextEditor[data-v-1da03451] .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-1da03451] .cke_top{border-bottom:none}[data-v-1da03451] .el-table--border:after{width:0}[data-v-1da03451] #busiForm table,[data-v-1da03451] #busiForm table td{border:none}.emailAddrStyle[data-v-1da03451]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:10px;margin-bottom:8px}.emailAddrStyle div[data-v-1da03451]{font-size:var(--portalFontSize12);border-radius:20px;cursor:pointer;border:1px solid #e0e0e0}.emailAddrStyle div i[data-v-1da03451]{color:#c0c4cc}.emailAddrStyle div[data-v-1da03451]:hover{border-color:#aaa}.emailAddrStyle div:hover i[data-v-1da03451]{border-left-color:#aaa!important;color:#aaa}.emailAddrStyle div span[data-v-1da03451]{padding:3px 5px 3px 10px;color:#333;cursor:pointer}.emailAddrStyle div i[data-v-1da03451]:hover{color:red!important}.inputWrap[data-v-1da03451]{padding-top:10px}.inputWrap[data-v-1da03451] .el-scrollbar .el-scrollbar__wrap{max-height:150px;overflow-x:hidden}.inputWrap[data-v-1da03451] .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{padding-bottom:20px}.inputWrap>div.emailAddrStyle[data-v-1da03451]:last-child{margin-right:unset}.readyFile[data-v-1da03451]{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
|
+
/***/ 8096:
|
|
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__(5402);
|
|
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("6a247d0a", 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=1da03451&scoped=true
|
|
36507
|
+
var xieyoujianvue_type_template_id_1da03451_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_1da03451_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,215 @@ 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
|
-
// var objKeys = Object.keys(this.$route.query)
|
|
42225
|
-
// if (objKeys.length > 2) {
|
|
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 curTag, tempMailMessageId, _yield$_this11$$http, body, code, message, find, res, objKeys, 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
|
+
if (type) {
|
|
42299
|
+
_context.next = 22;
|
|
42300
|
+
break;
|
|
42303
42301
|
}
|
|
42304
|
-
|
|
42305
|
-
|
|
42306
|
-
|
|
42307
|
-
|
|
42308
|
-
|
|
42309
|
-
|
|
42310
|
-
|
|
42311
|
-
|
|
42312
|
-
|
|
42313
|
-
|
|
42314
|
-
|
|
42315
|
-
|
|
42316
|
-
|
|
42317
|
-
|
|
42318
|
-
|
|
42319
|
-
|
|
42320
|
-
|
|
42321
|
-
|
|
42322
|
-
|
|
42323
|
-
|
|
42324
|
-
|
|
42302
|
+
curTag = _this11.$store.state.tagsView.visitedViews.find(function (item) {
|
|
42303
|
+
var _item$meta;
|
|
42304
|
+
return (item === null || item === void 0 || (_item$meta = item.meta) === null || _item$meta === void 0 ? void 0 : _item$meta.code) == "writeMail";
|
|
42305
|
+
});
|
|
42306
|
+
if (!curTag) {
|
|
42307
|
+
_context.next = 22;
|
|
42308
|
+
break;
|
|
42309
|
+
}
|
|
42310
|
+
if (!curTag.meta["tempMailMessageId-".concat(_this11.loginUser.orgCode, "-").concat(_this11.loginUser.personId)]) {
|
|
42311
|
+
_context.next = 22;
|
|
42312
|
+
break;
|
|
42313
|
+
}
|
|
42314
|
+
tempMailMessageId = curTag.meta["tempMailMessageId-".concat(_this11.loginUser.orgCode, "-").concat(_this11.loginUser.personId)];
|
|
42315
|
+
if (!tempMailMessageId) {
|
|
42316
|
+
_context.next = 22;
|
|
42317
|
+
break;
|
|
42318
|
+
}
|
|
42319
|
+
_context.next = 8;
|
|
42320
|
+
return _this11.$http({
|
|
42321
|
+
method: 'post',
|
|
42322
|
+
url: '/mail/messageBox/listdata',
|
|
42323
|
+
data: _this11.$qs.stringify({
|
|
42324
|
+
urlsearch: "usersetId:".concat(_this11.defultMail.id, ";")
|
|
42325
|
+
})
|
|
42326
|
+
});
|
|
42327
|
+
case 8:
|
|
42328
|
+
_yield$_this11$$http = _context.sent;
|
|
42329
|
+
body = _yield$_this11$$http.body;
|
|
42330
|
+
code = _yield$_this11$$http.code;
|
|
42331
|
+
message = _yield$_this11$$http.message;
|
|
42332
|
+
if (!(code == 'success')) {
|
|
42333
|
+
_context.next = 21;
|
|
42334
|
+
break;
|
|
42335
|
+
}
|
|
42336
|
+
find = body.pageInfo.list.find(function (item) {
|
|
42337
|
+
return item.boxType == 'DRAFT';
|
|
42338
|
+
});
|
|
42339
|
+
if (!find) {
|
|
42340
|
+
_context.next = 19;
|
|
42341
|
+
break;
|
|
42342
|
+
}
|
|
42343
|
+
_context.next = 17;
|
|
42344
|
+
return _this11.$http({
|
|
42345
|
+
method: 'get',
|
|
42346
|
+
url: '/mail/message/getMailInfoById',
|
|
42347
|
+
params: {
|
|
42348
|
+
messageId: tempMailMessageId,
|
|
42349
|
+
mailBoxId: find.id,
|
|
42350
|
+
apigw: 'apigw'
|
|
42325
42351
|
}
|
|
42326
42352
|
});
|
|
42327
|
-
|
|
42328
|
-
|
|
42329
|
-
|
|
42330
|
-
|
|
42331
|
-
|
|
42332
|
-
|
|
42333
|
-
|
|
42334
|
-
|
|
42353
|
+
case 17:
|
|
42354
|
+
res = _context.sent;
|
|
42355
|
+
if (res.code == 'success') {
|
|
42356
|
+
localStorage.setItem('newMailInfo', JSON.stringify(res.body.vo));
|
|
42357
|
+
} else {
|
|
42358
|
+
console.error(res.message);
|
|
42359
|
+
}
|
|
42360
|
+
case 19:
|
|
42361
|
+
_context.next = 22;
|
|
42362
|
+
break;
|
|
42363
|
+
case 21:
|
|
42364
|
+
console.error(message);
|
|
42365
|
+
case 22:
|
|
42366
|
+
_this11.loading = true;
|
|
42367
|
+
_this11.sendList = [];
|
|
42368
|
+
if (type === 'againMail') {
|
|
42369
|
+
_this11.mailInfo = {};
|
|
42370
|
+
_this11.mailInfo.sendTo = '';
|
|
42371
|
+
_this11.mailInfo.sended = false;
|
|
42372
|
+
} else {
|
|
42373
|
+
// 老版本写法,使用路由携带参数
|
|
42374
|
+
// var objKeys = Object.keys(this.$route.query)
|
|
42375
|
+
// if (objKeys.length > 2) {
|
|
42376
|
+
// this.mailInfo = this.$route.query
|
|
42377
|
+
// }
|
|
42378
|
+
// 新版本,使用缓存
|
|
42379
|
+
objKeys = localStorage.getItem('newMailInfo');
|
|
42380
|
+
if (objKeys && objKeys !== '{}') {
|
|
42381
|
+
objKeys = JSON.parse(objKeys);
|
|
42382
|
+
if (_this11.mailInfo.sentdate) {
|
|
42383
|
+
// 草稿邮件不能删除id。。转发,回复等操作需要
|
|
42384
|
+
delete objKeys.id;
|
|
42385
|
+
}
|
|
42386
|
+
_this11.mailInfo = objKeys;
|
|
42387
|
+
localStorage.removeItem('newMailInfo');
|
|
42388
|
+
}
|
|
42389
|
+
}
|
|
42390
|
+
if (_this11.mailInfo.srcBusiDataId !== undefined) {
|
|
42391
|
+
// 流程表单转发邮件
|
|
42392
|
+
_this11.wflowForwardMail();
|
|
42393
|
+
} else if (_this11.mailInfo.mailMessageId == null) {
|
|
42394
|
+
// 新邮件
|
|
42395
|
+
_this11.mailContent = '<br/>';
|
|
42396
|
+
if (_this11.defultMail.signFlag === 1) {
|
|
42397
|
+
_this11.mailContent += _this11.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42398
|
+
}
|
|
42399
|
+
} else if (_this11.mailInfo.sentdate == null) {
|
|
42400
|
+
// 草稿邮件
|
|
42401
|
+
_this11.sendList = [];
|
|
42402
|
+
_this11.copyToList = [];
|
|
42403
|
+
_this11.blindCopyToList = [];
|
|
42404
|
+
if (_this11.mailInfo.sendTo !== null && _this11.mailInfo.sendTo !== '') {
|
|
42405
|
+
arr = _this11.mailInfo.sendTo.split(',');
|
|
42406
|
+
_this11.sendList = _this11.sendList.concat(arr);
|
|
42407
|
+
}
|
|
42408
|
+
if (_this11.mailInfo.copyTo !== null && _this11.mailInfo.copyTo !== '') {
|
|
42409
|
+
_arr = _this11.mailInfo.copyTo.split(',');
|
|
42410
|
+
_this11.copyToList = _this11.copyToList.concat(_arr);
|
|
42411
|
+
}
|
|
42412
|
+
if (_this11.mailInfo.blindCopyTo !== null && _this11.mailInfo.blindCopyTo !== '') {
|
|
42413
|
+
_arr2 = _this11.mailInfo.blindCopyTo.split(',');
|
|
42414
|
+
_this11.blindCopyToList = _this11.blindCopyToList.concat(_arr2);
|
|
42415
|
+
}
|
|
42416
|
+
_this11.mailContent = _this11.mailInfo.content;
|
|
42417
|
+
if (_this11.mailInfo.attachments) {
|
|
42418
|
+
// if (this.mailInfo.attachments.length > 0) {
|
|
42419
|
+
_this11.readyList = (_this11$readyList = _this11.readyList).concat.apply(_this11$readyList, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42420
|
+
_this11.readyList.forEach(function (item) {
|
|
42421
|
+
if (!item.name) {
|
|
42422
|
+
item.name = item.fileName;
|
|
42423
|
+
}
|
|
42424
|
+
});
|
|
42425
|
+
// } else {
|
|
42426
|
+
// const _this = this
|
|
42427
|
+
// _this.$message.error(this.$tx('email.xieyoujian.addresseeEnter'))
|
|
42428
|
+
// return false
|
|
42429
|
+
// }
|
|
42430
|
+
}
|
|
42431
|
+
} else if (_this11.mailInfo.actionType) {
|
|
42432
|
+
// 转发、重新发送、回复邮件
|
|
42433
|
+
if (_this11.mailInfo.actionType === 'respAll') {
|
|
42434
|
+
lists1 = _this11.mailInfo.sendTo.split(',');
|
|
42435
|
+
lists2 = _this11.mailInfo.fromAddr.split(',');
|
|
42436
|
+
lists3 = _this11.mailInfo.copyTo.split(',');
|
|
42437
|
+
lists1.forEach(function (item, index) {
|
|
42438
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42439
|
+
_this11.sendList.push(item);
|
|
42440
|
+
}
|
|
42441
|
+
});
|
|
42442
|
+
lists2.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
|
+
lists3.forEach(function (item, index) {
|
|
42448
|
+
if (item !== '') {
|
|
42449
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42450
|
+
_this11.copyToList.push(item);
|
|
42451
|
+
_this11.csr = true;
|
|
42452
|
+
}
|
|
42453
|
+
}
|
|
42454
|
+
});
|
|
42455
|
+
} else if (_this11.mailInfo.actionType === 'resp') {
|
|
42456
|
+
_this11.sendList.push(_this11.mailInfo.fromAddr);
|
|
42457
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42458
|
+
} else if (_this11.mailInfo.actionType === 'resend') {
|
|
42459
|
+
_this11.sendList.push(_this11.mailInfo.sendTo);
|
|
42460
|
+
if (_this11.mailInfo.attachments.length > 0) {
|
|
42461
|
+
(_this11$readyList2 = _this11.readyList).push.apply(_this11$readyList2, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42462
|
+
}
|
|
42463
|
+
} else if (_this11.mailInfo.actionType === 'forward') {
|
|
42464
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42465
|
+
_this11.sendList = [];
|
|
42466
|
+
if (_this11.mailInfo.attachments) {
|
|
42467
|
+
if (_this11.mailInfo.attachments.length > 0) {
|
|
42468
|
+
(_this11$readyList3 = _this11.readyList).push.apply(_this11$readyList3, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42469
|
+
_this11.readyList.forEach(function (item) {
|
|
42470
|
+
if (!item.name) {
|
|
42471
|
+
item.name = item.fileName;
|
|
42472
|
+
}
|
|
42473
|
+
});
|
|
42474
|
+
}
|
|
42475
|
+
}
|
|
42476
|
+
}
|
|
42477
|
+
if (_this11.mailInfo.actionType !== 'resend') {
|
|
42478
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42479
|
+
_this11.mailContent = '<br/><br/><br/><br/><br/>';
|
|
42480
|
+
if (_this11.defultMail.signFlag === 1) {
|
|
42481
|
+
_this11.mailContent += _this11.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42482
|
+
}
|
|
42483
|
+
_this11.mailContent += '<hr/>------------------ 原始邮件 ------------------<br/>';
|
|
42484
|
+
}
|
|
42485
|
+
_this11.mailContent += _this11.mailInfo.content;
|
|
42486
|
+
_this11.mailInfo.mailMessageId = null;
|
|
42487
|
+
_this11.mailInfo.id = null;
|
|
42488
|
+
_this11.mailInfo.sentdate = null;
|
|
42489
|
+
}
|
|
42490
|
+
_this11.$set(_this11.mailInfo, 'receipt', 1);
|
|
42491
|
+
_this11.loading = false;
|
|
42492
|
+
_this11.mailInfo.content = _this11.mailContent;
|
|
42493
|
+
// this.mailInfo.mailType = 2
|
|
42494
|
+
_this11.newMailInfo = null;
|
|
42495
|
+
_this11.$forceUpdate();
|
|
42496
|
+
case 31:
|
|
42497
|
+
case "end":
|
|
42498
|
+
return _context.stop();
|
|
42335
42499
|
}
|
|
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();
|
|
42500
|
+
}, _callee);
|
|
42501
|
+
}))();
|
|
42349
42502
|
},
|
|
42350
42503
|
// 流程表单转发邮件
|
|
42351
42504
|
wflowForwardMail: function wflowForwardMail() {
|
|
@@ -42423,6 +42576,32 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42423
42576
|
this.readyList[j].fileSize = (this.readyList[j].size / this.pow1024(1)).toFixed(2);
|
|
42424
42577
|
}
|
|
42425
42578
|
}
|
|
42579
|
+
var data = new FormData();
|
|
42580
|
+
data.append('module', 'DRAFT');
|
|
42581
|
+
data.append('fileLevel', '');
|
|
42582
|
+
data.append('busiDataId', this.mailInfo.id);
|
|
42583
|
+
data.append('attachsType', 'ATTACH');
|
|
42584
|
+
data.append('attachsSize', file.size);
|
|
42585
|
+
data.append('attachsName', file.name);
|
|
42586
|
+
data.append('file', file.raw);
|
|
42587
|
+
data.append('usersetId', this.defultMail.id);
|
|
42588
|
+
var url = '/mail/attach/upload';
|
|
42589
|
+
this.uploadDdta = data;
|
|
42590
|
+
this.$http({
|
|
42591
|
+
method: 'POST',
|
|
42592
|
+
url: url,
|
|
42593
|
+
data: this.uploadDdta
|
|
42594
|
+
}).then(function successCallback(response) {
|
|
42595
|
+
if (response.code === 'success') {
|
|
42596
|
+
file.id = response.body.uploadAttachList[0].id;
|
|
42597
|
+
this.mailInfo.attachments.push(response.body.uploadAttachList[0]);
|
|
42598
|
+
} else {
|
|
42599
|
+
this.loading = false;
|
|
42600
|
+
this.$message.error(response.message);
|
|
42601
|
+
return false;
|
|
42602
|
+
}
|
|
42603
|
+
});
|
|
42604
|
+
// this.fileUploadFuc('Draft',false)
|
|
42426
42605
|
},
|
|
42427
42606
|
// 求次幂
|
|
42428
42607
|
pow1024: function pow1024(num) {
|
|
@@ -42446,13 +42625,15 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42446
42625
|
// 保存邮件草稿
|
|
42447
42626
|
saveDraft: function saveDraft(type) {
|
|
42448
42627
|
var _this13 = this;
|
|
42628
|
+
var checkSendList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
42629
|
+
var callBack = arguments.length > 2 ? arguments[2] : undefined;
|
|
42449
42630
|
var _this = this;
|
|
42450
42631
|
_this.mailInfo.usersetId = _this.defultMail.id;
|
|
42451
42632
|
if (_this.sendList.length > 0) {
|
|
42452
42633
|
_this.mailInfo.sendTo = this.sendList.toString();
|
|
42453
42634
|
_this.mailInfo.copyTo = this.copyToList.toString();
|
|
42454
42635
|
_this.mailInfo.blindCopyTo = this.blindCopyToList.toString();
|
|
42455
|
-
} else {
|
|
42636
|
+
} else if (checkSendList) {
|
|
42456
42637
|
_this.$message.error(this.$tx('email.messages.addresseeEnter', '请输入收件人!'));
|
|
42457
42638
|
return false;
|
|
42458
42639
|
}
|
|
@@ -42483,7 +42664,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42483
42664
|
_this.sendMail();
|
|
42484
42665
|
} else {
|
|
42485
42666
|
_this.loading = false;
|
|
42486
|
-
|
|
42667
|
+
if (checkSendList) {
|
|
42668
|
+
_this.$message.success(_this13.$tx('email.messages.SaveDraftsu', '保存草稿成功'));
|
|
42669
|
+
}
|
|
42487
42670
|
// location.reload()
|
|
42488
42671
|
}
|
|
42489
42672
|
}
|
|
@@ -42491,6 +42674,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42491
42674
|
_this.loading = false;
|
|
42492
42675
|
_this.$message.error(data.message);
|
|
42493
42676
|
}
|
|
42677
|
+
if (!checkSendList) {
|
|
42678
|
+
callBack(data);
|
|
42679
|
+
}
|
|
42494
42680
|
resolve(data);
|
|
42495
42681
|
}).catch(function (err) {
|
|
42496
42682
|
reject(err);
|
|
@@ -42500,27 +42686,29 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42500
42686
|
},
|
|
42501
42687
|
// * 上传附件
|
|
42502
42688
|
fileUploadFuc: function fileUploadFuc(type) {
|
|
42503
|
-
var
|
|
42504
|
-
|
|
42505
|
-
|
|
42506
|
-
|
|
42507
|
-
|
|
42689
|
+
var _arguments = arguments,
|
|
42690
|
+
_this14 = this;
|
|
42691
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
42692
|
+
var isShowMessage, _this, url, _loop3, i;
|
|
42693
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context3) {
|
|
42694
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
42508
42695
|
case 0:
|
|
42696
|
+
isShowMessage = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : true;
|
|
42509
42697
|
_this = _this14; // 两种上传接口 处理 草稿和转发和再次发送操作带过来的旧附件 和 新上传的附件
|
|
42510
42698
|
url = '/mail/attach/upload';
|
|
42511
42699
|
if (!(_this.readyList.length === 0)) {
|
|
42512
|
-
|
|
42700
|
+
_context3.next = 7;
|
|
42513
42701
|
break;
|
|
42514
42702
|
}
|
|
42515
42703
|
_this.$messages.info(_this14.$tx('email.messages.selectExportFile', '请选择导入文件'));
|
|
42516
|
-
|
|
42704
|
+
_context3.next = 16;
|
|
42517
42705
|
break;
|
|
42518
|
-
case
|
|
42706
|
+
case 7:
|
|
42519
42707
|
_this.mailInfo.attachments = [];
|
|
42520
42708
|
_loop3 = /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _loop3() {
|
|
42521
42709
|
var file, data, moveFilarr;
|
|
42522
|
-
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _loop3$(
|
|
42523
|
-
while (1) switch (
|
|
42710
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _loop3$(_context2) {
|
|
42711
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
42524
42712
|
case 0:
|
|
42525
42713
|
file = _this.readyList[i];
|
|
42526
42714
|
data = new FormData();
|
|
@@ -42538,11 +42726,11 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42538
42726
|
_this.$app.deleteByIds('/mail/attach/deleted', moveFilarr);
|
|
42539
42727
|
}
|
|
42540
42728
|
if (!file.id) {
|
|
42541
|
-
|
|
42729
|
+
_context2.next = 17;
|
|
42542
42730
|
break;
|
|
42543
42731
|
}
|
|
42544
42732
|
if (!(_this.mailInfo.actionType && (_this.mailInfo.actionType === 'forward' || _this.mailInfo.actionType === 'resend') || _this.$route.query.srcBusiDataId || _this.$route.query.row)) {
|
|
42545
|
-
|
|
42733
|
+
_context2.next = 14;
|
|
42546
42734
|
break;
|
|
42547
42735
|
}
|
|
42548
42736
|
if (_this.$route.query.srcBusiDataId) {
|
|
@@ -42564,7 +42752,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42564
42752
|
|
|
42565
42753
|
_this.uploadDdta = data;
|
|
42566
42754
|
}
|
|
42567
|
-
|
|
42755
|
+
_context2.next = 12;
|
|
42568
42756
|
return _this.$http({
|
|
42569
42757
|
method: 'POST',
|
|
42570
42758
|
url: url,
|
|
@@ -42581,12 +42769,12 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42581
42769
|
}
|
|
42582
42770
|
});
|
|
42583
42771
|
case 12:
|
|
42584
|
-
|
|
42772
|
+
_context2.next = 15;
|
|
42585
42773
|
break;
|
|
42586
42774
|
case 14:
|
|
42587
42775
|
_this.mailInfo.attachments.push(file);
|
|
42588
42776
|
case 15:
|
|
42589
|
-
|
|
42777
|
+
_context2.next = 27;
|
|
42590
42778
|
break;
|
|
42591
42779
|
case 17:
|
|
42592
42780
|
data.append('busiDataId', _this.mailInfo.id);
|
|
@@ -42597,7 +42785,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42597
42785
|
data.append('usersetId', _this.defultMail.id);
|
|
42598
42786
|
url = '/mail/attach/upload';
|
|
42599
42787
|
_this.uploadDdta = data;
|
|
42600
|
-
|
|
42788
|
+
_context2.next = 27;
|
|
42601
42789
|
return _this.$http({
|
|
42602
42790
|
method: 'POST',
|
|
42603
42791
|
url: url,
|
|
@@ -42614,27 +42802,29 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42614
42802
|
});
|
|
42615
42803
|
case 27:
|
|
42616
42804
|
case "end":
|
|
42617
|
-
return
|
|
42805
|
+
return _context2.stop();
|
|
42618
42806
|
}
|
|
42619
42807
|
}, _loop3);
|
|
42620
42808
|
});
|
|
42621
42809
|
i = 0;
|
|
42622
|
-
case
|
|
42810
|
+
case 10:
|
|
42623
42811
|
if (!(i < _this.readyList.length)) {
|
|
42624
|
-
|
|
42812
|
+
_context3.next = 15;
|
|
42625
42813
|
break;
|
|
42626
42814
|
}
|
|
42627
|
-
return
|
|
42628
|
-
case
|
|
42815
|
+
return _context3.delegateYield(_loop3(), "t0", 12);
|
|
42816
|
+
case 12:
|
|
42629
42817
|
i++;
|
|
42630
|
-
|
|
42818
|
+
_context3.next = 10;
|
|
42631
42819
|
break;
|
|
42632
|
-
case
|
|
42820
|
+
case 15:
|
|
42633
42821
|
if (type === 'send') {
|
|
42634
42822
|
_this.sendMail();
|
|
42635
42823
|
} else {
|
|
42636
42824
|
_this.loading = false;
|
|
42637
|
-
|
|
42825
|
+
// if(isShowMessage){
|
|
42826
|
+
// _this.$message.success(this.$tx('email.messages.SaveDraftsu', '保存草稿成功'))
|
|
42827
|
+
// }
|
|
42638
42828
|
_this.readyList = _this.mailInfo.attachments;
|
|
42639
42829
|
if (_this.mailInfo.actionType) {
|
|
42640
42830
|
delete _this.mailInfo.actionType;
|
|
@@ -42643,11 +42833,11 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42643
42833
|
delete _this.$route.query.row;
|
|
42644
42834
|
}
|
|
42645
42835
|
}
|
|
42646
|
-
case
|
|
42836
|
+
case 16:
|
|
42647
42837
|
case "end":
|
|
42648
|
-
return
|
|
42838
|
+
return _context3.stop();
|
|
42649
42839
|
}
|
|
42650
|
-
},
|
|
42840
|
+
}, _callee2);
|
|
42651
42841
|
}))();
|
|
42652
42842
|
},
|
|
42653
42843
|
// 发送互联网邮件
|
|
@@ -42769,47 +42959,47 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42769
42959
|
// 手动输入的邮箱账号, 失去焦点后去验证输入的的邮件格式
|
|
42770
42960
|
keyUpFuc: function keyUpFuc() {
|
|
42771
42961
|
var _this15 = this;
|
|
42772
|
-
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
42962
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
42773
42963
|
var emailDomain, tfFlag, errRes;
|
|
42774
|
-
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
42775
|
-
while (1) switch (
|
|
42964
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context4) {
|
|
42965
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
42776
42966
|
case 0:
|
|
42777
42967
|
if (!((_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput).trim() !== '')) {
|
|
42778
|
-
|
|
42968
|
+
_context4.next = 25;
|
|
42779
42969
|
break;
|
|
42780
42970
|
}
|
|
42781
42971
|
emailDomain = null;
|
|
42782
42972
|
if (!(_this15.closeLink === false)) {
|
|
42783
|
-
|
|
42973
|
+
_context4.next = 25;
|
|
42784
42974
|
break;
|
|
42785
42975
|
}
|
|
42786
|
-
|
|
42976
|
+
_context4.next = 5;
|
|
42787
42977
|
return _this15.isEmail(_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput);
|
|
42788
42978
|
case 5:
|
|
42789
|
-
tfFlag =
|
|
42979
|
+
tfFlag = _context4.sent;
|
|
42790
42980
|
if (!tfFlag) {
|
|
42791
|
-
|
|
42981
|
+
_context4.next = 25;
|
|
42792
42982
|
break;
|
|
42793
42983
|
}
|
|
42794
42984
|
errRes = null; // 验证当前为内部邮箱时,是否需要绑定外部邮箱
|
|
42795
42985
|
if (!(_this15.defultMail.emailReceiveType === null)) {
|
|
42796
|
-
|
|
42986
|
+
_context4.next = 15;
|
|
42797
42987
|
break;
|
|
42798
42988
|
}
|
|
42799
42989
|
emailDomain = '@' + _this15.defultMail.emailAddr.split('@')[1];
|
|
42800
42990
|
if (_this15.defultMail.internetEmailAddr) {
|
|
42801
|
-
|
|
42991
|
+
_context4.next = 15;
|
|
42802
42992
|
break;
|
|
42803
42993
|
}
|
|
42804
42994
|
if (!((_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput).indexOf(emailDomain) === -1)) {
|
|
42805
|
-
|
|
42995
|
+
_context4.next = 15;
|
|
42806
42996
|
break;
|
|
42807
42997
|
}
|
|
42808
42998
|
_this15.$alert(_this15.$tx('email.xieyoujian.content2', '当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱'), _this15.$tx('common.operationTip', '操作提示'), {
|
|
42809
42999
|
type: 'warning'
|
|
42810
43000
|
});
|
|
42811
43001
|
_this15.focusInput === 1 ? _this15.sendListInput = '' : _this15.focusInput === 2 ? _this15.copyToInput = '' : _this15.blindCopyToInput = '';
|
|
42812
|
-
return
|
|
43002
|
+
return _context4.abrupt("return", false);
|
|
42813
43003
|
case 15:
|
|
42814
43004
|
// 验证手动输入的与已经存在的是否重复
|
|
42815
43005
|
;
|
|
@@ -42826,7 +43016,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42826
43016
|
// }
|
|
42827
43017
|
// })
|
|
42828
43018
|
if (!(errRes === 1)) {
|
|
42829
|
-
|
|
43019
|
+
_context4.next = 24;
|
|
42830
43020
|
break;
|
|
42831
43021
|
}
|
|
42832
43022
|
if (_this15.focusInput === 1) {
|
|
@@ -42838,7 +43028,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42838
43028
|
if (_this15.focusInput === 3) {
|
|
42839
43029
|
_this15.$message.warning(_this15.$tx('email.messages.emailTip3', '已存在该密送人!'));
|
|
42840
43030
|
}
|
|
42841
|
-
return
|
|
43031
|
+
return _context4.abrupt("return", false);
|
|
42842
43032
|
case 24:
|
|
42843
43033
|
if (_this15.focusInput === 1) {
|
|
42844
43034
|
_this15.sendList.push(_this15.sendListInput);
|
|
@@ -42855,9 +43045,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42855
43045
|
}
|
|
42856
43046
|
case 25:
|
|
42857
43047
|
case "end":
|
|
42858
|
-
return
|
|
43048
|
+
return _context4.stop();
|
|
42859
43049
|
}
|
|
42860
|
-
},
|
|
43050
|
+
}, _callee3);
|
|
42861
43051
|
}))();
|
|
42862
43052
|
},
|
|
42863
43053
|
removeMail: function removeMail(item, index, val) {
|
|
@@ -43026,13 +43216,39 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
43026
43216
|
this.handleChange(fileBody);
|
|
43027
43217
|
}
|
|
43028
43218
|
}
|
|
43219
|
+
},
|
|
43220
|
+
beforeRouteLeave: function beforeRouteLeave(to, from, next) {
|
|
43221
|
+
var _this17 = this;
|
|
43222
|
+
if (!this.mailInfo.subject) {
|
|
43223
|
+
this.$set(this.mailInfo, 'subject', '无主题');
|
|
43224
|
+
}
|
|
43225
|
+
setTimeout(function () {
|
|
43226
|
+
try {
|
|
43227
|
+
_this17.saveDraft('Draft', false, function (_ref) {
|
|
43228
|
+
var body = _ref.body,
|
|
43229
|
+
code = _ref.code,
|
|
43230
|
+
message = _ref.message;
|
|
43231
|
+
if (code == 'success') {
|
|
43232
|
+
var curTag = _this17.$store.state.tagsView.visitedViews.find(function (item) {
|
|
43233
|
+
var _item$meta2;
|
|
43234
|
+
return (item === null || item === void 0 || (_item$meta2 = item.meta) === null || _item$meta2 === void 0 ? void 0 : _item$meta2.code) == "writeMail";
|
|
43235
|
+
});
|
|
43236
|
+
if (curTag) {
|
|
43237
|
+
curTag.meta["tempMailMessageId-".concat(_this17.loginUser.orgCode, "-").concat(_this17.loginUser.personId)] = body.mailMessageId;
|
|
43238
|
+
}
|
|
43239
|
+
}
|
|
43240
|
+
});
|
|
43241
|
+
} finally {
|
|
43242
|
+
next();
|
|
43243
|
+
}
|
|
43244
|
+
}, 0);
|
|
43029
43245
|
}
|
|
43030
43246
|
});
|
|
43031
43247
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=script&lang=js
|
|
43032
43248
|
/* 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=
|
|
43249
|
+
// 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=1da03451&prod&lang=scss&scoped=true
|
|
43250
|
+
var xieyoujianvue_type_style_index_0_id_1da03451_prod_lang_scss_scoped_true = __webpack_require__(8096);
|
|
43251
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=1da03451&prod&lang=scss&scoped=true
|
|
43036
43252
|
|
|
43037
43253
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue
|
|
43038
43254
|
|
|
@@ -43045,11 +43261,11 @@ var xieyoujianvue_type_style_index_0_id_0936748c_prod_lang_scss_scoped_true = __
|
|
|
43045
43261
|
|
|
43046
43262
|
var xieyoujian_component = normalizeComponent(
|
|
43047
43263
|
src_xieyoujianvue_type_script_lang_js,
|
|
43048
|
-
|
|
43049
|
-
|
|
43264
|
+
xieyoujianvue_type_template_id_1da03451_scoped_true_render,
|
|
43265
|
+
xieyoujianvue_type_template_id_1da03451_scoped_true_staticRenderFns,
|
|
43050
43266
|
false,
|
|
43051
43267
|
null,
|
|
43052
|
-
"
|
|
43268
|
+
"1da03451",
|
|
43053
43269
|
null
|
|
43054
43270
|
|
|
43055
43271
|
)
|