ecinc-cloud-yoaemail 9.5.202 → 9.5.211
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/index.js +6 -1
- package/lib/ecyoaemail.common.js +2774 -40
- package/lib/ecyoaemail.umd.js +2774 -40
- package/lib/ecyoaemail.umd.min.js +50 -50
- package/package.json +1 -1
- package/lib/img/139.a0a739d9.png +0 -0
- package/lib/img/qq.6549c847.png +0 -0
package/lib/ecyoaemail.umd.js
CHANGED
|
@@ -1009,6 +1009,48 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#Email-body[data-v-7b9d7cc5]{height:10
|
|
|
1009
1009
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1010
1010
|
|
|
1011
1011
|
|
|
1012
|
+
/***/ }),
|
|
1013
|
+
|
|
1014
|
+
/***/ 1903:
|
|
1015
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1016
|
+
|
|
1017
|
+
"use strict";
|
|
1018
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1019
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
1020
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1021
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
1022
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1023
|
+
// Imports
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
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()));
|
|
1027
|
+
// Module
|
|
1028
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-10425631] .el-submenu{border:none}[data-v-10425631] .el-submenu .el-icon-arrow-right{width:12px;height:12px;margin:0;font-size:12px}[data-v-10425631] .el-submenu__icon-arrow.el-icon-arrow-down{display:none}#wapp .el-menu[data-v-10425631]{border:none}#wapp .el-menu .el-submenu[data-v-10425631]:before{background-color:#fff;display:none}[data-v-10425631] .el-submenu__title:hover{background-color:#fff}[data-v-10425631] .el-menu .el-submenu>.el-submenu__title{height:30px!important;line-height:30px!important}[data-v-10425631] .el-menu-item-group__title{padding:0}[data-v-10425631] .ztree{padding:0 0 0 15px}[data-v-10425631] .el-submenu__title{font-size:12px;padding:0!important;overflow:hidden}.addressBook[data-v-10425631]{height:calc(100% - 46px);overflow-y:auto;overflow-x:hidden}.addressBook .el-scrollbar[data-v-10425631]{width:100%;height:100%}.addressBook .el-scrollbar[data-v-10425631] .el-scrollbar__wrap{overflow-x:hidden}", ""]);
|
|
1029
|
+
// Exports
|
|
1030
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
/***/ }),
|
|
1034
|
+
|
|
1035
|
+
/***/ 8560:
|
|
1036
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1037
|
+
|
|
1038
|
+
"use strict";
|
|
1039
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1040
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
1041
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1042
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
1043
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1044
|
+
// Imports
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
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()));
|
|
1048
|
+
// Module
|
|
1049
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-8e154266]: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)}.spanLH[data-v-8e154266]{font-size:13px;text-align:center;color:#c9c9c9}.sendMailMain[data-v-8e154266]{height:100vh;background-color:#f3f3f3;width:100vw;overflow:hidden}.sendMailMain .sendmail-content[data-v-8e154266]{height:calc(100vh - 83px);margin-top:20px;padding-bottom:20px;overflow-y:auto;overflow-x:hidden}.sendMailMain .sendmail-content .el-scrollbar[data-v-8e154266]{width:100%;height:100%}.sendMailMain .sendmail-content .el-scrollbar[data-v-8e154266] .el-scrollbar__wrap{overflow-x:hidden}.sendMailMain .sendmail-content .el-scrollbar[data-v-8e154266] .el-scrollbar__wrap .el-scrollbar__view{height:100%}.sendMailMain .sendMail[data-v-8e154266]{background-color:#fff;width:1300px;margin:auto}.sendMailMain .sendMail .lineRow[data-v-8e154266]{margin:0!important;border-bottom:1px solid #ececec}.sendMailMain .sendMail .lineRow .grid-content[data-v-8e154266]{height:100%}.sendMailMain .sendMail .lineRow .grid-content .btnBorder[data-v-8e154266]{border:none!important}.sendMailMain .sendMail .lineRow .grid-content .btnBorder[data-v-8e154266] .el-input__inner{border:none!important;height:31px}.sendMailMain .sendMail .lineRow .grid-content .margin10[data-v-8e154266]{margin:5px 0}.sendMailMain .sendMail .mail_content_row[data-v-8e154266]{height:calc(100vh - 103px)}.sendMailMain .sendMail .mail_content_row .mail_content_leftcell[data-v-8e154266]{padding:0 10px 20px 30px!important;height:100%}.sendMailMain .sendMail .mail_content_row .mail_content_leftcell .workspaceContainer[data-v-8e154266],.sendMailMain .sendMail .mail_content_row .mail_content_leftcell .workspaceContainer .form-horizontal[data-v-8e154266]{height:100%}.sendMailMain .sendMail .mail_content_row .mail_content_rightcell[data-v-8e154266]{padding:0!important;height:100%}[data-v-8e154266] input::-webkit-input-placeholder{color:#c9c9c9;font-size:13px}[data-v-8e154266] input::-moz-input-placeholder{color:#c9c9c9;font-size:13px}[data-v-8e154266] input::-ms-input-placeholder{color:#c9c9c9;font-size:13px}.linkEmail[data-v-8e154266]{width:220px;max-height:calc(100vh - 270px);overflow-y:auto;overflow-x:hidden;position:absolute;left:4%;z-index:99;top:85px;background-color:#fff;padding:10px;-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 p[data-v-8e154266]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:12px;cursor:pointer}.linkEmail p[data-v-8e154266]:hover{color:#409eff}.linkEmail[data-v-8e154266]::-webkit-scrollbar{display:none}[data-v-8e154266] .el-input__suffix{display:none}[data-v-8e154266] .el-input__inner{text-align:left;height:31px}[data-v-8e154266] .editor_box .richtext-container{margin:0}[data-v-8e154266] .editor_box .richtext-container .el-table{height:100%;border:none}[data-v-8e154266] .editor_box .richtext-container .el-table:before{width:0}[data-v-8e154266] .editor_box .richtext-container .el-table .el-table__body-wrapper,[data-v-8e154266] .editor_box .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-8e154266] .cke_top{border-bottom:none}[data-v-8e154266] .el-table--border:after{width:0}[data-v-8e154266] #busiForm table,[data-v-8e154266] #busiForm table td{border:none}.emailAddrStyle[data-v-8e154266]{width:auto;min-width:0;line-height:31px;float:left;padding:5px 0;margin-left:5px}.emailAddrStyle span[data-v-8e154266]{width:100%;font-size:12px;margin-right:5px;border-radius:20px;padding:3px 5px;cursor:pointer;border:1px solid #e0e0e0}.readyFile[data-v-8e154266]{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:290px;height:56px;background:#f7f8fa;padding:10px}.bgpadding[data-v-8e154266] .el-button{padding-left:0!important}.txl[data-v-8e154266]::-webkit-scrollbar{display:none}.header-title[data-v-8e154266]{padding:12px 0;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#999;font-size:12px;background:#fff}.header-title .route-info[data-v-8e154266]{margin-left:16px}.header-title .route-info[data-v-8e154266],.header-title .section-title[data-v-8e154266]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-title .section-title[data-v-8e154266]{margin-right:11px;margin-left:20px}.header-title .section-title .l-text[data-v-8e154266]{padding-right:10px;position:relative}.header-title .section-title .l-text[data-v-8e154266]:after{content:\"\";position:absolute;right:0;top:0;width:1px;height:14px;background-color:#d8d8d8}.header-title .section-title .r-text[data-v-8e154266]{padding-left:10px}#styleBagrand[data-v-8e154266],.styleBagrand[data-v-8e154266]{background-color:#fff;border-color:var(--bgColor);color:var(--bgColor)}.buttonTitle[data-v-8e154266]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px}[data-v-8e154266] .el-button--medium{padding:8px 12px}[data-v-8e154266] .cke_inner{border:1px solid #ececec;border-top:none}", ""]);
|
|
1050
|
+
// Exports
|
|
1051
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1052
|
+
|
|
1053
|
+
|
|
1012
1054
|
/***/ }),
|
|
1013
1055
|
|
|
1014
1056
|
/***/ 1722:
|
|
@@ -1032,7 +1074,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0cc21123] .el-upload,[data-v-0
|
|
|
1032
1074
|
|
|
1033
1075
|
/***/ }),
|
|
1034
1076
|
|
|
1035
|
-
/***/
|
|
1077
|
+
/***/ 1317:
|
|
1036
1078
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1037
1079
|
|
|
1038
1080
|
"use strict";
|
|
@@ -1046,7 +1088,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1046
1088
|
|
|
1047
1089
|
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()));
|
|
1048
1090
|
// Module
|
|
1049
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".emailWrap[data-v-
|
|
1091
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".emailWrap[data-v-5175328c]{border:1px solid #ececec}.emialLine[data-v-5175328c]{width:100%;height:46px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#666;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 10px;border-bottom:1px solid #ececec;overflow:hidden}.emailWrap .emialLine[data-v-5175328c]:last-child{border-bottom:none}.emialLine[data-v-5175328c]:hover{background:#f3f4f4}.checkMail[data-v-5175328c]{color:#fff}.left_account ul[data-v-5175328c]{margin:0;padding:0;height:calc(100% - 48px);overflow-y:auto}.left_account ul li[data-v-5175328c]{list-style:none;font-size:12px;border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.left_account ul .el-button[data-v-5175328c],.left_account ul li[data-v-5175328c]{width:100%;height:47.2px;line-height:47.2px;text-align:left}.left_account ul .el-button[data-v-5175328c]{padding:0;padding-left:10px}div.time[data-v-5175328c]{margin:5px}div.time[data-v-5175328c] .el-date-editor.el-range-editor{width:100%;cursor:pointer}div.time[data-v-5175328c] .el-range-editor--medium .el-range-input{cursor:pointer}div.time[data-v-5175328c] .el-range-editor--medium .el-range__icon{display:none!important}.spanStyle[data-v-5175328c]{font-weight:500;line-height:19px;font-size:14px;margin-left:10px}.top[data-v-5175328c]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:12px;border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-5175328c] .el-checkbox__label{line-height:14px!important}.checkBoxlabel span[data-v-5175328c]{font-size:14px;color:#606266;font-weight:500;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:inline-block;width:200px}", ""]);
|
|
1050
1092
|
// Exports
|
|
1051
1093
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1052
1094
|
|
|
@@ -25402,6 +25444,38 @@ var update = add("b1aa970c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
25402
25444
|
|
|
25403
25445
|
/***/ }),
|
|
25404
25446
|
|
|
25447
|
+
/***/ 7163:
|
|
25448
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25449
|
+
|
|
25450
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
25451
|
+
|
|
25452
|
+
// load the styles
|
|
25453
|
+
var content = __webpack_require__(1903);
|
|
25454
|
+
if(content.__esModule) content = content.default;
|
|
25455
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
25456
|
+
if(content.locals) module.exports = content.locals;
|
|
25457
|
+
// add the styles to the DOM
|
|
25458
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
25459
|
+
var update = add("4695f574", content, true, {"sourceMap":false,"shadowMode":false});
|
|
25460
|
+
|
|
25461
|
+
/***/ }),
|
|
25462
|
+
|
|
25463
|
+
/***/ 4428:
|
|
25464
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25465
|
+
|
|
25466
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
25467
|
+
|
|
25468
|
+
// load the styles
|
|
25469
|
+
var content = __webpack_require__(8560);
|
|
25470
|
+
if(content.__esModule) content = content.default;
|
|
25471
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
25472
|
+
if(content.locals) module.exports = content.locals;
|
|
25473
|
+
// add the styles to the DOM
|
|
25474
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
25475
|
+
var update = add("87f89e44", content, true, {"sourceMap":false,"shadowMode":false});
|
|
25476
|
+
|
|
25477
|
+
/***/ }),
|
|
25478
|
+
|
|
25405
25479
|
/***/ 1094:
|
|
25406
25480
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25407
25481
|
|
|
@@ -25418,19 +25492,19 @@ var update = add("b19b6efc", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
25418
25492
|
|
|
25419
25493
|
/***/ }),
|
|
25420
25494
|
|
|
25421
|
-
/***/
|
|
25495
|
+
/***/ 241:
|
|
25422
25496
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25423
25497
|
|
|
25424
25498
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
25425
25499
|
|
|
25426
25500
|
// load the styles
|
|
25427
|
-
var content = __webpack_require__(
|
|
25501
|
+
var content = __webpack_require__(1317);
|
|
25428
25502
|
if(content.__esModule) content = content.default;
|
|
25429
25503
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
25430
25504
|
if(content.locals) module.exports = content.locals;
|
|
25431
25505
|
// add the styles to the DOM
|
|
25432
25506
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
25433
|
-
var update = add("
|
|
25507
|
+
var update = add("819b8ec6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
25434
25508
|
|
|
25435
25509
|
/***/ }),
|
|
25436
25510
|
|
|
@@ -25717,10 +25791,10 @@ function applyToTag (styleElement, obj) {
|
|
|
25717
25791
|
/***/ }),
|
|
25718
25792
|
|
|
25719
25793
|
/***/ 4017:
|
|
25720
|
-
/***/ (function(module
|
|
25794
|
+
/***/ (function(module) {
|
|
25721
25795
|
|
|
25722
25796
|
"use strict";
|
|
25723
|
-
module.exports =
|
|
25797
|
+
module.exports = "data:image/png;base64,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";
|
|
25724
25798
|
|
|
25725
25799
|
/***/ }),
|
|
25726
25800
|
|
|
@@ -25741,10 +25815,10 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAmCAYAAACh
|
|
|
25741
25815
|
/***/ }),
|
|
25742
25816
|
|
|
25743
25817
|
/***/ 7384:
|
|
25744
|
-
/***/ (function(module
|
|
25818
|
+
/***/ (function(module) {
|
|
25745
25819
|
|
|
25746
25820
|
"use strict";
|
|
25747
|
-
module.exports =
|
|
25821
|
+
module.exports = "data:image/png;base64,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";
|
|
25748
25822
|
|
|
25749
25823
|
/***/ }),
|
|
25750
25824
|
|
|
@@ -36469,8 +36543,8 @@ var xieyoujian_component = normalizeComponent(
|
|
|
36469
36543
|
)
|
|
36470
36544
|
|
|
36471
36545
|
/* harmony default export */ var xieyoujian = (xieyoujian_component.exports);
|
|
36472
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=template&id=
|
|
36473
|
-
var
|
|
36546
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=template&id=5175328c&scoped=true
|
|
36547
|
+
var youxiangshezhivue_type_template_id_5175328c_scoped_true_render = function render() {
|
|
36474
36548
|
var _vm = this,
|
|
36475
36549
|
_c = _vm._self._c;
|
|
36476
36550
|
return _c('LRLayout', [_c('LeftPanel', {
|
|
@@ -36871,7 +36945,38 @@ var youxiangshezhivue_type_template_id_05a3e731_scoped_true_render = function re
|
|
|
36871
36945
|
})], 1)];
|
|
36872
36946
|
}
|
|
36873
36947
|
}], null, false, 2340999974)
|
|
36874
|
-
})], 1)]) : _vm._e(), _vm.vo.accountType === 1
|
|
36948
|
+
})], 1)]) : _vm._e(), _vm.vo.accountType === 1 ? _c('tr', [_c('td', {
|
|
36949
|
+
staticClass: "el-table__cell tdlbl tdw17"
|
|
36950
|
+
}, [_vm._v("绑定外部邮箱地址")]), _c('td', {
|
|
36951
|
+
staticClass: "el-table__cell tdcont tdw83"
|
|
36952
|
+
}, [_c('el-select', {
|
|
36953
|
+
staticStyle: {
|
|
36954
|
+
"width": "100%"
|
|
36955
|
+
},
|
|
36956
|
+
attrs: {
|
|
36957
|
+
"clearable": "",
|
|
36958
|
+
"placeholder": "请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件"
|
|
36959
|
+
},
|
|
36960
|
+
on: {
|
|
36961
|
+
"change": _vm.formTxlChange
|
|
36962
|
+
},
|
|
36963
|
+
model: {
|
|
36964
|
+
value: _vm.vo.internetEmailAddr,
|
|
36965
|
+
callback: function callback($$v) {
|
|
36966
|
+
_vm.$set(_vm.vo, "internetEmailAddr", $$v);
|
|
36967
|
+
},
|
|
36968
|
+
expression: "vo.internetEmailAddr"
|
|
36969
|
+
}
|
|
36970
|
+
}, _vm._l(_vm.accountList, function (item) {
|
|
36971
|
+
return _c('div', {
|
|
36972
|
+
key: item.id
|
|
36973
|
+
}, [item.accountType === 2 ? _c('el-option', {
|
|
36974
|
+
attrs: {
|
|
36975
|
+
"label": item.emailAddr,
|
|
36976
|
+
"value": item.emailAddr
|
|
36977
|
+
}
|
|
36978
|
+
}) : _vm._e()], 1);
|
|
36979
|
+
}), 0)], 1)]) : _vm._e(), _c('tr', [_c('td', {
|
|
36875
36980
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
36876
36981
|
}, [_c('span', {
|
|
36877
36982
|
staticClass: "required"
|
|
@@ -37153,7 +37258,9 @@ var youxiangshezhivue_type_template_id_05a3e731_scoped_true_render = function re
|
|
|
37153
37258
|
staticStyle: {
|
|
37154
37259
|
"width": "30px",
|
|
37155
37260
|
"height": "30px",
|
|
37156
|
-
"margin-right": "10px"
|
|
37261
|
+
"margin-right": "10px",
|
|
37262
|
+
"border-radius": "4px",
|
|
37263
|
+
"overflow": "hidden"
|
|
37157
37264
|
},
|
|
37158
37265
|
attrs: {
|
|
37159
37266
|
"src": item.imageUrl,
|
|
@@ -37178,7 +37285,7 @@ var youxiangshezhivue_type_template_id_05a3e731_scoped_true_render = function re
|
|
|
37178
37285
|
}
|
|
37179
37286
|
}, [_vm._v("关 闭")])], 1)])], 1);
|
|
37180
37287
|
};
|
|
37181
|
-
var
|
|
37288
|
+
var youxiangshezhivue_type_template_id_5175328c_scoped_true_staticRenderFns = [];
|
|
37182
37289
|
|
|
37183
37290
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=script&lang=js
|
|
37184
37291
|
function youxiangshezhivue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return youxiangshezhivue_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; }, youxiangshezhivue_type_script_lang_js_typeof(o); }
|
|
@@ -37672,9 +37779,9 @@ function youxiangshezhivue_type_script_lang_js_asyncToGenerator(n) { return func
|
|
|
37672
37779
|
});
|
|
37673
37780
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=script&lang=js
|
|
37674
37781
|
/* harmony default export */ var src_youxiangshezhivue_type_script_lang_js = (youxiangshezhivue_type_script_lang_js);
|
|
37675
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=style&index=0&id=
|
|
37676
|
-
var
|
|
37677
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=style&index=0&id=
|
|
37782
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=style&index=0&id=5175328c&prod&lang=scss&scoped=true
|
|
37783
|
+
var youxiangshezhivue_type_style_index_0_id_5175328c_prod_lang_scss_scoped_true = __webpack_require__(241);
|
|
37784
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/youxiangshezhi.vue?vue&type=style&index=0&id=5175328c&prod&lang=scss&scoped=true
|
|
37678
37785
|
|
|
37679
37786
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/youxiangshezhi.vue
|
|
37680
37787
|
|
|
@@ -37687,11 +37794,11 @@ var youxiangshezhivue_type_style_index_0_id_05a3e731_prod_lang_scss_scoped_true
|
|
|
37687
37794
|
|
|
37688
37795
|
var youxiangshezhi_component = normalizeComponent(
|
|
37689
37796
|
src_youxiangshezhivue_type_script_lang_js,
|
|
37690
|
-
|
|
37691
|
-
|
|
37797
|
+
youxiangshezhivue_type_template_id_5175328c_scoped_true_render,
|
|
37798
|
+
youxiangshezhivue_type_template_id_5175328c_scoped_true_staticRenderFns,
|
|
37692
37799
|
false,
|
|
37693
37800
|
null,
|
|
37694
|
-
"
|
|
37801
|
+
"5175328c",
|
|
37695
37802
|
null
|
|
37696
37803
|
|
|
37697
37804
|
)
|
|
@@ -40917,29 +41024,2655 @@ var tbColumnsWatch_component = normalizeComponent(
|
|
|
40917
41024
|
)
|
|
40918
41025
|
|
|
40919
41026
|
/* harmony default export */ var tbColumnsWatch = (tbColumnsWatch_component.exports);
|
|
40920
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/
|
|
40921
|
-
|
|
40922
|
-
|
|
40923
|
-
|
|
40924
|
-
|
|
40925
|
-
|
|
40926
|
-
|
|
40927
|
-
|
|
40928
|
-
|
|
40929
|
-
|
|
40930
|
-
|
|
40931
|
-
|
|
40932
|
-
|
|
40933
|
-
|
|
40934
|
-
|
|
40935
|
-
|
|
40936
|
-
|
|
40937
|
-
|
|
40938
|
-
|
|
41027
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/sendMail/xieyoujian.vue?vue&type=template&id=8e154266&scoped=true
|
|
41028
|
+
var xieyoujianvue_type_template_id_8e154266_scoped_true_render = function render() {
|
|
41029
|
+
var _vm = this,
|
|
41030
|
+
_c = _vm._self._c;
|
|
41031
|
+
return _c('div', {
|
|
41032
|
+
staticClass: "sendMailMain"
|
|
41033
|
+
}, [_c('div', {
|
|
41034
|
+
staticClass: "header-title"
|
|
41035
|
+
}, [_c('div', {
|
|
41036
|
+
staticClass: "section-title"
|
|
41037
|
+
}, [_c('svg-icon', {
|
|
41038
|
+
staticStyle: {
|
|
41039
|
+
"font-size": "36px",
|
|
41040
|
+
"color": "#2f477e",
|
|
41041
|
+
"margin-right": "6px"
|
|
41042
|
+
},
|
|
41043
|
+
attrs: {
|
|
41044
|
+
"icon-class": 'wjzx_yjzf'
|
|
41045
|
+
}
|
|
41046
|
+
}), _c('p', [_vm._v("来源:" + _vm._s(_vm.srcName))])], 1), _c('div', {
|
|
41047
|
+
staticStyle: {
|
|
41048
|
+
"margin-right": "20px"
|
|
41049
|
+
}
|
|
41050
|
+
}, [_c('div', {
|
|
41051
|
+
staticClass: "buttonTitle"
|
|
41052
|
+
}, [_c('el-button', {
|
|
41053
|
+
attrs: {
|
|
41054
|
+
"id": "styleBagrand"
|
|
41055
|
+
},
|
|
41056
|
+
on: {
|
|
41057
|
+
"click": function click($event) {
|
|
41058
|
+
return _vm.saveDraft('Draft');
|
|
41059
|
+
}
|
|
41060
|
+
}
|
|
41061
|
+
}, [_c('svg-icon', {
|
|
41062
|
+
staticStyle: {
|
|
41063
|
+
"font-size": "14px",
|
|
41064
|
+
"margin-right": "10px"
|
|
41065
|
+
},
|
|
41066
|
+
attrs: {
|
|
41067
|
+
"icon-class": "emailcg"
|
|
41068
|
+
}
|
|
41069
|
+
}), _vm._v(" 存草稿 ")], 1), _c('el-button', {
|
|
41070
|
+
staticClass: "styleBagrand",
|
|
41071
|
+
attrs: {
|
|
41072
|
+
"icon": "el-icon-s-promotion"
|
|
41073
|
+
},
|
|
41074
|
+
on: {
|
|
41075
|
+
"click": function click($event) {
|
|
41076
|
+
return _vm.saveDraft('send');
|
|
41077
|
+
}
|
|
41078
|
+
}
|
|
41079
|
+
}, [_vm._v("发送")])], 1)])]), _c('div', {
|
|
41080
|
+
staticClass: "sendmail-content"
|
|
41081
|
+
}, [_c('el-scrollbar', {
|
|
41082
|
+
attrs: {
|
|
41083
|
+
"native": false,
|
|
41084
|
+
"tag": "div"
|
|
41085
|
+
}
|
|
41086
|
+
}, [_c('div', {
|
|
41087
|
+
staticClass: "sendMail",
|
|
41088
|
+
on: {
|
|
41089
|
+
"click": function click($event) {
|
|
41090
|
+
_vm.closeLink = false;
|
|
41091
|
+
}
|
|
41092
|
+
}
|
|
41093
|
+
}, [_c('el-row', {
|
|
41094
|
+
staticClass: "mail_content_row",
|
|
41095
|
+
staticStyle: {
|
|
41096
|
+
"margin": "0"
|
|
41097
|
+
},
|
|
41098
|
+
attrs: {
|
|
41099
|
+
"gutter": 10
|
|
41100
|
+
}
|
|
41101
|
+
}, [_c('el-col', {
|
|
41102
|
+
staticClass: "mail_content_leftcell",
|
|
41103
|
+
attrs: {
|
|
41104
|
+
"span": 19
|
|
41105
|
+
}
|
|
41106
|
+
}, [_vm.defultMail !== null ? _c('div', {
|
|
41107
|
+
directives: [{
|
|
41108
|
+
name: "loading",
|
|
41109
|
+
rawName: "v-loading",
|
|
41110
|
+
value: _vm.loading,
|
|
41111
|
+
expression: "loading"
|
|
41112
|
+
}],
|
|
41113
|
+
staticClass: "row",
|
|
41114
|
+
staticStyle: {
|
|
41115
|
+
"height": "100%"
|
|
41116
|
+
}
|
|
41117
|
+
}, [_c('el-row', {
|
|
41118
|
+
staticClass: "lineRow",
|
|
41119
|
+
staticStyle: {
|
|
41120
|
+
"border-bottom": "none"
|
|
41121
|
+
}
|
|
41122
|
+
}, [_vm.defultMail !== null && !_vm.mailInfo.sended ? _c('el-col', {
|
|
41123
|
+
attrs: {
|
|
41124
|
+
"span": 24
|
|
41125
|
+
}
|
|
41126
|
+
}, [_c('div', {
|
|
41127
|
+
staticClass: "grid-content bg-purple-dark"
|
|
41128
|
+
}, [_c('div', {
|
|
41129
|
+
staticStyle: {
|
|
41130
|
+
"float": "right"
|
|
41131
|
+
}
|
|
41132
|
+
}, [!_vm.qfdx ? _c('span', {
|
|
41133
|
+
staticStyle: {
|
|
41134
|
+
"color": "#286caf",
|
|
41135
|
+
"font-size": "13px",
|
|
41136
|
+
"line-height": "46px",
|
|
41137
|
+
"cursor": "pointer"
|
|
41138
|
+
},
|
|
41139
|
+
on: {
|
|
41140
|
+
"click": _vm.csTagChange
|
|
41141
|
+
}
|
|
41142
|
+
}, [_vm._v(_vm._s(!_vm.csr ? '添加抄送' : '删除抄送'))]) : _vm._e(), !_vm.qfdx ? _c('span', {
|
|
41143
|
+
staticStyle: {
|
|
41144
|
+
"color": "#286caf",
|
|
41145
|
+
"font-size": "13px",
|
|
41146
|
+
"line-height": "46px",
|
|
41147
|
+
"cursor": "pointer",
|
|
41148
|
+
"margin-left": "20px"
|
|
41149
|
+
},
|
|
41150
|
+
on: {
|
|
41151
|
+
"click": _vm.msTagChange
|
|
41152
|
+
}
|
|
41153
|
+
}, [_vm._v(_vm._s(!_vm.msr ? '添加密送' : '删除密送'))]) : _vm._e()])])]) : _vm._e()], 1), _c('div', {
|
|
41154
|
+
staticStyle: {
|
|
41155
|
+
"height": "calc(100% - 46px)"
|
|
41156
|
+
}
|
|
41157
|
+
}, [_c('div', {
|
|
41158
|
+
staticClass: "workspaceContainer"
|
|
41159
|
+
}, [_vm.linkManEmail.length > 0 && _vm.closeLink ? _c('div', {
|
|
41160
|
+
staticClass: "linkEmail",
|
|
41161
|
+
style: {
|
|
41162
|
+
top: _vm.focusInput === 1 ? '85px' : _vm.focusInput === 2 ? '133px' : '181px'
|
|
41163
|
+
}
|
|
41164
|
+
}, [_vm._l(_vm.linkManEmail, function (item, index) {
|
|
41165
|
+
return [_c('p', {
|
|
41166
|
+
key: item,
|
|
41167
|
+
style: {
|
|
41168
|
+
color: _vm.linkIndex === index ? '#409eff' : ''
|
|
41169
|
+
},
|
|
41170
|
+
on: {
|
|
41171
|
+
"click": function click($event) {
|
|
41172
|
+
return _vm.clickLink(item.name);
|
|
41173
|
+
}
|
|
41174
|
+
}
|
|
41175
|
+
}, [_vm._v(_vm._s(item.name))])];
|
|
41176
|
+
})], 2) : _vm._e(), _vm.defultMail !== null && !_vm.mailInfo.sended ? _c('form', {
|
|
41177
|
+
staticClass: "form-horizontal",
|
|
41178
|
+
attrs: {
|
|
41179
|
+
"id": "busiForm",
|
|
41180
|
+
"name": "busiForm",
|
|
41181
|
+
"method": "post",
|
|
41182
|
+
"autocomplete": "off"
|
|
41183
|
+
}
|
|
41184
|
+
}, [_c('el-row', {
|
|
41185
|
+
staticClass: "lineRow form_edit_top"
|
|
41186
|
+
}, [_c('el-col', {
|
|
41187
|
+
attrs: {
|
|
41188
|
+
"span": 1
|
|
41189
|
+
}
|
|
41190
|
+
}, [_c('div', {
|
|
41191
|
+
staticClass: "grid-content bg-purple-dark bgpadding"
|
|
41192
|
+
}, [_c('el-button', {
|
|
41193
|
+
staticClass: "margin10",
|
|
41194
|
+
attrs: {
|
|
41195
|
+
"type": "text",
|
|
41196
|
+
"size": "small",
|
|
41197
|
+
"name": "sendTo"
|
|
41198
|
+
}
|
|
41199
|
+
}, [_c('span', {
|
|
41200
|
+
staticStyle: {
|
|
41201
|
+
"color": "#409eff"
|
|
41202
|
+
}
|
|
41203
|
+
}, [_vm._v("收件人 :")])])], 1)]), _c('el-col', {
|
|
41204
|
+
attrs: {
|
|
41205
|
+
"span": 23,
|
|
41206
|
+
"xs": 22,
|
|
41207
|
+
"sm": 22,
|
|
41208
|
+
"md": 22,
|
|
41209
|
+
"lg": 22,
|
|
41210
|
+
"xl": 23
|
|
41211
|
+
}
|
|
41212
|
+
}, [_c('div', {
|
|
41213
|
+
staticClass: "grid-content bg-purple-dark"
|
|
41214
|
+
}, [_c('div', [_vm.sendList.length > 0 ? _c('div', {
|
|
41215
|
+
staticClass: "emailAddrStyle",
|
|
41216
|
+
staticStyle: {
|
|
41217
|
+
"marginn-left": "15px"
|
|
41218
|
+
}
|
|
41219
|
+
}, _vm._l(_vm.sendList, function (item, index) {
|
|
41220
|
+
return _c('span', {
|
|
41221
|
+
key: item
|
|
41222
|
+
}, [_vm._v(" " + _vm._s(item) + " "), _c('i', {
|
|
41223
|
+
staticClass: "el-icon-close",
|
|
41224
|
+
on: {
|
|
41225
|
+
"click": function click($event) {
|
|
41226
|
+
return _vm.removeMail(index, 1);
|
|
41227
|
+
}
|
|
41228
|
+
}
|
|
41229
|
+
})]);
|
|
41230
|
+
}), 0) : _vm._e(), _c('el-input', {
|
|
41231
|
+
staticClass: "margin10 btnBorder",
|
|
41232
|
+
style: {
|
|
41233
|
+
width: _vm.qfdx ? '390px' : '300px'
|
|
41234
|
+
},
|
|
41235
|
+
attrs: {
|
|
41236
|
+
"type": "text",
|
|
41237
|
+
"name": "sendTo",
|
|
41238
|
+
"placeholder": !_vm.qfdx ? '请输入邮件地址,内部邮箱可以输入联系人姓名' : '群发的邮件,采用一对一发送,每个收件人只能看到自己的地址',
|
|
41239
|
+
"autocomplete": "lyy-off"
|
|
41240
|
+
},
|
|
41241
|
+
on: {
|
|
41242
|
+
"focus": function focus($event) {
|
|
41243
|
+
return _vm.focusInputFuc(1);
|
|
41244
|
+
},
|
|
41245
|
+
"blur": _vm.keyUpFuc,
|
|
41246
|
+
"keyup": function keyup($event) {
|
|
41247
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
41248
|
+
return _vm.keyUpFuc.apply(null, arguments);
|
|
41249
|
+
},
|
|
41250
|
+
"input": function input($event) {
|
|
41251
|
+
return _vm.selectEmailFuc(1);
|
|
41252
|
+
}
|
|
41253
|
+
},
|
|
41254
|
+
model: {
|
|
41255
|
+
value: _vm.sendListInput,
|
|
41256
|
+
callback: function callback($$v) {
|
|
41257
|
+
_vm.sendListInput = $$v;
|
|
41258
|
+
},
|
|
41259
|
+
expression: "sendListInput"
|
|
41260
|
+
}
|
|
41261
|
+
})], 1)])])], 1), _vm.csr || _vm.copyToList.length > 0 ? _c('el-row', {
|
|
41262
|
+
staticClass: "lineRow form_edit_top"
|
|
41263
|
+
}, [_c('el-col', {
|
|
41264
|
+
attrs: {
|
|
41265
|
+
"span": 1
|
|
41266
|
+
}
|
|
41267
|
+
}, [_c('div', {
|
|
41268
|
+
staticClass: "grid-content bg-purple-dark bgpadding"
|
|
41269
|
+
}, [_c('el-button', {
|
|
41270
|
+
directives: [{
|
|
41271
|
+
name: "select-dialog",
|
|
41272
|
+
rawName: "v-select-dialog",
|
|
41273
|
+
value: 'staff',
|
|
41274
|
+
expression: "'staff'"
|
|
41275
|
+
}],
|
|
41276
|
+
staticClass: "margin10",
|
|
41277
|
+
attrs: {
|
|
41278
|
+
"showemail": "true",
|
|
41279
|
+
"multiple": true,
|
|
41280
|
+
"size": "small",
|
|
41281
|
+
"type": "text",
|
|
41282
|
+
"name": "copyTo"
|
|
41283
|
+
}
|
|
41284
|
+
}, [_c('span', {
|
|
41285
|
+
staticStyle: {
|
|
41286
|
+
"color": "#409eff"
|
|
41287
|
+
}
|
|
41288
|
+
}, [_vm._v("抄送人 :")])])], 1)]), _c('el-col', {
|
|
41289
|
+
staticStyle: {
|
|
41290
|
+
"margin-left": "10px"
|
|
41291
|
+
},
|
|
41292
|
+
attrs: {
|
|
41293
|
+
"span": 22
|
|
41294
|
+
}
|
|
41295
|
+
}, [_c('div', {
|
|
41296
|
+
staticClass: "grid-content bg-purple-dark"
|
|
41297
|
+
}, [_c('div', [_vm.copyToList.length > 0 ? _c('div', {
|
|
41298
|
+
staticClass: "emailAddrStyle"
|
|
41299
|
+
}, _vm._l(_vm.copyToList, function (item, index) {
|
|
41300
|
+
return _c('span', {
|
|
41301
|
+
key: item
|
|
41302
|
+
}, [_vm._v(" " + _vm._s(item) + " "), _c('i', {
|
|
41303
|
+
staticClass: "el-icon-close",
|
|
41304
|
+
on: {
|
|
41305
|
+
"click": function click($event) {
|
|
41306
|
+
return _vm.removeMail(index, 2);
|
|
41307
|
+
}
|
|
41308
|
+
}
|
|
41309
|
+
})]);
|
|
41310
|
+
}), 0) : _vm._e(), _c('el-input', {
|
|
41311
|
+
staticClass: "margin10 btnBorder",
|
|
41312
|
+
staticStyle: {
|
|
41313
|
+
"width": "380px"
|
|
41314
|
+
},
|
|
41315
|
+
attrs: {
|
|
41316
|
+
"type": "text",
|
|
41317
|
+
"name": "copyTo",
|
|
41318
|
+
"autocomplete": "lyy-off"
|
|
41319
|
+
},
|
|
41320
|
+
on: {
|
|
41321
|
+
"focus": function focus($event) {
|
|
41322
|
+
return _vm.focusInputFuc(2);
|
|
41323
|
+
},
|
|
41324
|
+
"blur": _vm.keyUpFuc,
|
|
41325
|
+
"keyup": function keyup($event) {
|
|
41326
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
41327
|
+
return _vm.keyUpFuc.apply(null, arguments);
|
|
41328
|
+
},
|
|
41329
|
+
"input": function input($event) {
|
|
41330
|
+
return _vm.selectEmailFuc(2);
|
|
41331
|
+
}
|
|
41332
|
+
},
|
|
41333
|
+
model: {
|
|
41334
|
+
value: _vm.copyToInput,
|
|
41335
|
+
callback: function callback($$v) {
|
|
41336
|
+
_vm.copyToInput = $$v;
|
|
41337
|
+
},
|
|
41338
|
+
expression: "copyToInput"
|
|
41339
|
+
}
|
|
41340
|
+
})], 1)])])], 1) : _vm._e(), _vm.msr || _vm.blindCopyToList.length > 0 ? _c('el-row', {
|
|
41341
|
+
staticClass: "lineRow form_edit_top"
|
|
41342
|
+
}, [_c('el-col', {
|
|
41343
|
+
attrs: {
|
|
41344
|
+
"span": 1
|
|
41345
|
+
}
|
|
41346
|
+
}, [_c('div', {
|
|
41347
|
+
staticClass: "grid-content bg-purple-dark bgpadding"
|
|
41348
|
+
}, [_c('el-button', {
|
|
41349
|
+
directives: [{
|
|
41350
|
+
name: "select-dialog",
|
|
41351
|
+
rawName: "v-select-dialog",
|
|
41352
|
+
value: 'staff',
|
|
41353
|
+
expression: "'staff'"
|
|
41354
|
+
}],
|
|
41355
|
+
staticClass: "margin10",
|
|
41356
|
+
attrs: {
|
|
41357
|
+
"showemail": "true",
|
|
41358
|
+
"multiple": true,
|
|
41359
|
+
"size": "small",
|
|
41360
|
+
"type": "text",
|
|
41361
|
+
"name": "blindCopyTo"
|
|
41362
|
+
}
|
|
41363
|
+
}, [_c('span', {
|
|
41364
|
+
staticStyle: {
|
|
41365
|
+
"color": "#409eff"
|
|
41366
|
+
}
|
|
41367
|
+
}, [_vm._v("密送人 :")])])], 1)]), _c('el-col', {
|
|
41368
|
+
staticStyle: {
|
|
41369
|
+
"margin-left": "10px"
|
|
41370
|
+
},
|
|
41371
|
+
attrs: {
|
|
41372
|
+
"span": 22
|
|
41373
|
+
}
|
|
41374
|
+
}, [_c('div', {
|
|
41375
|
+
staticClass: "grid-content bg-purple-dark"
|
|
41376
|
+
}, [_c('div', [_vm.blindCopyToList.length > 0 ? _c('div', {
|
|
41377
|
+
staticClass: "emailAddrStyle"
|
|
41378
|
+
}, _vm._l(_vm.blindCopyToList, function (item, index) {
|
|
41379
|
+
return _c('span', {
|
|
41380
|
+
key: item
|
|
41381
|
+
}, [_vm._v(" " + _vm._s(item) + " "), _c('i', {
|
|
41382
|
+
staticClass: "el-icon-close",
|
|
41383
|
+
on: {
|
|
41384
|
+
"click": function click($event) {
|
|
41385
|
+
return _vm.removeMail(index, 3);
|
|
41386
|
+
}
|
|
41387
|
+
}
|
|
41388
|
+
})]);
|
|
41389
|
+
}), 0) : _vm._e(), _c('el-input', {
|
|
41390
|
+
staticClass: "margin10 btnBorder",
|
|
41391
|
+
staticStyle: {
|
|
41392
|
+
"width": "380px"
|
|
41393
|
+
},
|
|
41394
|
+
attrs: {
|
|
41395
|
+
"type": "text",
|
|
41396
|
+
"name": "blindCopyTo",
|
|
41397
|
+
"autocomplete": "lyy-off"
|
|
41398
|
+
},
|
|
41399
|
+
on: {
|
|
41400
|
+
"focus": function focus($event) {
|
|
41401
|
+
return _vm.focusInputFuc(3);
|
|
41402
|
+
},
|
|
41403
|
+
"blur": _vm.keyUpFuc,
|
|
41404
|
+
"keyup": function keyup($event) {
|
|
41405
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
41406
|
+
return _vm.keyUpFuc.apply(null, arguments);
|
|
41407
|
+
},
|
|
41408
|
+
"input": function input($event) {
|
|
41409
|
+
return _vm.selectEmailFuc(3);
|
|
41410
|
+
}
|
|
41411
|
+
},
|
|
41412
|
+
model: {
|
|
41413
|
+
value: _vm.blindCopyToInput,
|
|
41414
|
+
callback: function callback($$v) {
|
|
41415
|
+
_vm.blindCopyToInput = $$v;
|
|
41416
|
+
},
|
|
41417
|
+
expression: "blindCopyToInput"
|
|
41418
|
+
}
|
|
41419
|
+
})], 1)])])], 1) : _vm._e(), _c('el-row', {
|
|
41420
|
+
staticClass: "lineRow form_edit_top"
|
|
41421
|
+
}, [_c('el-col', {
|
|
41422
|
+
attrs: {
|
|
41423
|
+
"span": 1
|
|
41424
|
+
}
|
|
41425
|
+
}, [_c('div', {
|
|
41426
|
+
staticClass: "grid-content bg-purple-dark bgpadding"
|
|
41427
|
+
}, [_c('el-button', {
|
|
41428
|
+
staticClass: "margin10",
|
|
41429
|
+
staticStyle: {
|
|
41430
|
+
"color": "#333333"
|
|
41431
|
+
},
|
|
41432
|
+
attrs: {
|
|
41433
|
+
"size": "small",
|
|
41434
|
+
"type": "text"
|
|
41435
|
+
}
|
|
41436
|
+
}, [_vm._v("主 题 :")])], 1)]), _c('el-col', {
|
|
41437
|
+
staticStyle: {
|
|
41438
|
+
"margin-left": "10px"
|
|
41439
|
+
},
|
|
41440
|
+
attrs: {
|
|
41441
|
+
"span": 22
|
|
41442
|
+
}
|
|
41443
|
+
}, [_c('div', {
|
|
41444
|
+
staticClass: "grid-content bg-purple-dark"
|
|
41445
|
+
}, [_c('ValidationProvider', {
|
|
41446
|
+
ref: "ValidationProvider",
|
|
41447
|
+
attrs: {
|
|
41448
|
+
"name": "主题",
|
|
41449
|
+
"rules": "required"
|
|
41450
|
+
},
|
|
41451
|
+
scopedSlots: _vm._u([{
|
|
41452
|
+
key: "default",
|
|
41453
|
+
fn: function fn(_ref) {
|
|
41454
|
+
var errors = _ref.errors;
|
|
41455
|
+
return [_c('el-tooltip', {
|
|
41456
|
+
class: {
|
|
41457
|
+
'invalid-field': errors[0] !== undefined
|
|
41458
|
+
},
|
|
41459
|
+
attrs: {
|
|
41460
|
+
"disabled": errors[0] === undefined,
|
|
41461
|
+
"content": errors[0],
|
|
41462
|
+
"popper-class": "error-popper-class",
|
|
41463
|
+
"placement": "right-start",
|
|
41464
|
+
"effect": "dark"
|
|
41465
|
+
}
|
|
41466
|
+
}, [_c('el-input', {
|
|
41467
|
+
staticClass: "margin10 btnBorder",
|
|
41468
|
+
attrs: {
|
|
41469
|
+
"type": "text",
|
|
41470
|
+
"name": "subject",
|
|
41471
|
+
"autocomplete": "lyy-off",
|
|
41472
|
+
"placeholder": "请输入邮件主题"
|
|
41473
|
+
},
|
|
41474
|
+
model: {
|
|
41475
|
+
value: _vm.mailInfo.subject,
|
|
41476
|
+
callback: function callback($$v) {
|
|
41477
|
+
_vm.$set(_vm.mailInfo, "subject", $$v);
|
|
41478
|
+
},
|
|
41479
|
+
expression: "mailInfo.subject"
|
|
41480
|
+
}
|
|
41481
|
+
})], 1)];
|
|
41482
|
+
}
|
|
41483
|
+
}], null, false, 1636816780)
|
|
41484
|
+
})], 1)])], 1), _c('el-row', {
|
|
41485
|
+
staticClass: "lineRow attach-bar form_edit_top"
|
|
41486
|
+
}, [_c('el-col', {
|
|
41487
|
+
attrs: {
|
|
41488
|
+
"span": 24
|
|
41489
|
+
}
|
|
41490
|
+
}, [_c('div', {
|
|
41491
|
+
staticClass: "grid-content bg-purple-dark bgpadding"
|
|
41492
|
+
}, [_c('el-upload', {
|
|
41493
|
+
ref: "upload",
|
|
41494
|
+
attrs: {
|
|
41495
|
+
"accept": "*.*",
|
|
41496
|
+
"limit": _vm.limitNum,
|
|
41497
|
+
"multiple": true,
|
|
41498
|
+
"action": "",
|
|
41499
|
+
"auto-upload": false,
|
|
41500
|
+
"disabled": _vm.uploadProp,
|
|
41501
|
+
"before-upload": _vm.before_upload,
|
|
41502
|
+
"on-success": _vm.allHandleSuccess,
|
|
41503
|
+
"on-change": function onChange(file, fileList) {
|
|
41504
|
+
_vm.handleChange(file, fileList, _vm.module, _vm.busiDataId, _vm.attachsType, _vm.attachsSize, file);
|
|
41505
|
+
},
|
|
41506
|
+
"file-list": _vm.readyList,
|
|
41507
|
+
"http-request": _vm.allUpload,
|
|
41508
|
+
"with-credentials": true,
|
|
41509
|
+
"on-remove": _vm.handleRemove,
|
|
41510
|
+
"on-exceed": _vm.handleExceed,
|
|
41511
|
+
"show-file-list": false
|
|
41512
|
+
},
|
|
41513
|
+
model: {
|
|
41514
|
+
value: _vm.uploadAttach,
|
|
41515
|
+
callback: function callback($$v) {
|
|
41516
|
+
_vm.uploadAttach = $$v;
|
|
41517
|
+
},
|
|
41518
|
+
expression: "uploadAttach"
|
|
41519
|
+
}
|
|
41520
|
+
}, [_c('el-button', {
|
|
41521
|
+
staticClass: "margin10",
|
|
41522
|
+
staticStyle: {
|
|
41523
|
+
"color": "#333"
|
|
41524
|
+
},
|
|
41525
|
+
attrs: {
|
|
41526
|
+
"size": "small",
|
|
41527
|
+
"type": "text"
|
|
41528
|
+
}
|
|
41529
|
+
}, [_vm._v("添加附件 :")]), _c('span', {
|
|
41530
|
+
staticClass: "margin10 spanLH"
|
|
41531
|
+
}, [_vm._v("( 单个文件最大20M )")])], 1)], 1), _c('el-row', [_c('el-col', {
|
|
41532
|
+
attrs: {
|
|
41533
|
+
"span": 24
|
|
41534
|
+
}
|
|
41535
|
+
}, _vm._l(_vm.readyList, function (item) {
|
|
41536
|
+
return _c('div', {
|
|
41537
|
+
key: item.uid,
|
|
41538
|
+
staticClass: "readyFile"
|
|
41539
|
+
}, [_c('div', {
|
|
41540
|
+
staticStyle: {
|
|
41541
|
+
"display": "flex",
|
|
41542
|
+
"align-items": "center"
|
|
41543
|
+
}
|
|
41544
|
+
}, [_c('img', {
|
|
41545
|
+
staticStyle: {
|
|
41546
|
+
"width": "29px",
|
|
41547
|
+
"height": "36px"
|
|
41548
|
+
},
|
|
41549
|
+
attrs: {
|
|
41550
|
+
"src": _vm.imgUrl(item),
|
|
41551
|
+
"alt": ""
|
|
41552
|
+
}
|
|
41553
|
+
}), _c('div', {
|
|
41554
|
+
staticStyle: {
|
|
41555
|
+
"width": "200px",
|
|
41556
|
+
"margin-left": "16px"
|
|
41557
|
+
}
|
|
41558
|
+
}, [_c('div', {
|
|
41559
|
+
staticStyle: {
|
|
41560
|
+
"margin-top": "2px",
|
|
41561
|
+
"font-size": "12px",
|
|
41562
|
+
"color": "#333",
|
|
41563
|
+
"width": "100%",
|
|
41564
|
+
"overflow": "hidden",
|
|
41565
|
+
"white-space": "nowrap",
|
|
41566
|
+
"text-overflow": "ellipsis"
|
|
41567
|
+
}
|
|
41568
|
+
}, [_vm._v(_vm._s(item.name))]), _c('div', {
|
|
41569
|
+
staticStyle: {
|
|
41570
|
+
"font-size": "12px",
|
|
41571
|
+
"color": "#999",
|
|
41572
|
+
"margin-top": "6px"
|
|
41573
|
+
}
|
|
41574
|
+
}, [_c('span', [_vm._v(_vm._s(item.fileSize.indexOf('K') !== -1 ? item.fileSize : item.fileSize + 'K'))]), _c('span', {
|
|
41575
|
+
staticStyle: {
|
|
41576
|
+
"margin-left": "10px"
|
|
41577
|
+
}
|
|
41578
|
+
}, [_vm._v("上传成功")])])])]), _c('i', {
|
|
41579
|
+
staticClass: "el-icon-close",
|
|
41580
|
+
staticStyle: {
|
|
41581
|
+
"color": "#c0c4cc",
|
|
41582
|
+
"position": "relative",
|
|
41583
|
+
"top": "-9px",
|
|
41584
|
+
"cursor": "pointer"
|
|
41585
|
+
},
|
|
41586
|
+
on: {
|
|
41587
|
+
"click": function click($event) {
|
|
41588
|
+
return _vm.handleRemoveCopy(item.uid);
|
|
41589
|
+
}
|
|
41590
|
+
}
|
|
41591
|
+
})]);
|
|
41592
|
+
}), 0)], 1)], 1)], 1), _c('div', {
|
|
41593
|
+
staticClass: "editor_box"
|
|
41594
|
+
}, [_vm.showeditor && _vm.wflowEditor && _vm.editorHeight > 0 ? _c('RichtextEditor', {
|
|
41595
|
+
attrs: {
|
|
41596
|
+
"image-upload-url": _vm.api + '/mail/attach/uploadBodyPicture?module=DRAFT&busiDataId=mail&attachsType=BODY&apigw=apigw',
|
|
41597
|
+
"height": _vm.editorHeight
|
|
41598
|
+
},
|
|
41599
|
+
model: {
|
|
41600
|
+
value: _vm.mailInfo.content,
|
|
41601
|
+
callback: function callback($$v) {
|
|
41602
|
+
_vm.$set(_vm.mailInfo, "content", $$v);
|
|
41603
|
+
},
|
|
41604
|
+
expression: "mailInfo.content"
|
|
41605
|
+
}
|
|
41606
|
+
}) : _vm._e()], 1)], 1) : _vm._e(), _c('div', {
|
|
41607
|
+
directives: [{
|
|
41608
|
+
name: "show",
|
|
41609
|
+
rawName: "v-show",
|
|
41610
|
+
value: _vm.mailInfo.sended,
|
|
41611
|
+
expression: "mailInfo.sended"
|
|
41612
|
+
}],
|
|
41613
|
+
staticClass: "text-center",
|
|
41614
|
+
staticStyle: {
|
|
41615
|
+
"padding-top": "100px"
|
|
41616
|
+
}
|
|
41617
|
+
}, [_c('svg-icon', {
|
|
41618
|
+
staticStyle: {
|
|
41619
|
+
"font-size": "100px"
|
|
41620
|
+
},
|
|
41621
|
+
attrs: {
|
|
41622
|
+
"icon-class": "emailIcon"
|
|
41623
|
+
}
|
|
41624
|
+
}), _c('h4', [_vm._v(" 发送成功,邮件已保存到“已发送”。 "), _c('el-button', {
|
|
41625
|
+
attrs: {
|
|
41626
|
+
"type": "text"
|
|
41627
|
+
},
|
|
41628
|
+
on: {
|
|
41629
|
+
"click": function click($event) {
|
|
41630
|
+
_vm.mailInfo = {};
|
|
41631
|
+
_vm.newMail('againMail');
|
|
41632
|
+
}
|
|
41633
|
+
}
|
|
41634
|
+
}, [_vm._v(" 再写一封 ")]), _c('el-button', {
|
|
41635
|
+
attrs: {
|
|
41636
|
+
"type": "text"
|
|
41637
|
+
},
|
|
41638
|
+
on: {
|
|
41639
|
+
"click": function click($event) {
|
|
41640
|
+
return _vm.gotoPages('email.svg');
|
|
41641
|
+
}
|
|
41642
|
+
}
|
|
41643
|
+
}, [_vm._v("去收件箱")])], 1)], 1)])])], 1) : _vm._e(), _c('div', {
|
|
41644
|
+
directives: [{
|
|
41645
|
+
name: "show",
|
|
41646
|
+
rawName: "v-show",
|
|
41647
|
+
value: _vm.defultMail === null,
|
|
41648
|
+
expression: "defultMail === null"
|
|
41649
|
+
}],
|
|
41650
|
+
staticClass: "text-center",
|
|
41651
|
+
staticStyle: {
|
|
41652
|
+
"padding-top": "100px"
|
|
41653
|
+
}
|
|
41654
|
+
}, [_c('svg-icon', {
|
|
41655
|
+
staticStyle: {
|
|
41656
|
+
"font-size": "100px"
|
|
41657
|
+
},
|
|
41658
|
+
attrs: {
|
|
41659
|
+
"icon-class": "emailIcon"
|
|
41660
|
+
}
|
|
41661
|
+
}), _c('h4', [_vm._v(" 您还没有设置邮箱信息, "), _c('el-button', {
|
|
41662
|
+
staticStyle: {
|
|
41663
|
+
"padding": "0",
|
|
41664
|
+
"font-size": "16px"
|
|
41665
|
+
},
|
|
41666
|
+
attrs: {
|
|
41667
|
+
"type": "text"
|
|
41668
|
+
},
|
|
41669
|
+
on: {
|
|
41670
|
+
"click": function click($event) {
|
|
41671
|
+
return _vm.gotoPages('youxiangshezhi.svg');
|
|
41672
|
+
}
|
|
41673
|
+
}
|
|
41674
|
+
}, [_vm._v("现在设置")])], 1)], 1)]), _vm.defultMail !== null && _vm.defultMail.emailReceiveType !== undefined ? _c('el-col', {
|
|
41675
|
+
staticClass: "mail_content_rightcell",
|
|
41676
|
+
staticStyle: {
|
|
41677
|
+
"font-size": "14px"
|
|
41678
|
+
},
|
|
41679
|
+
attrs: {
|
|
41680
|
+
"span": 5
|
|
41681
|
+
}
|
|
41682
|
+
}, [_c('div', {
|
|
41683
|
+
staticStyle: {
|
|
41684
|
+
"height": "100%"
|
|
41685
|
+
}
|
|
41686
|
+
}, [_c('div', {
|
|
41687
|
+
staticClass: "txl",
|
|
41688
|
+
staticStyle: {
|
|
41689
|
+
"border": "solid 1px #eeeeee",
|
|
41690
|
+
"border-bottom": "none",
|
|
41691
|
+
"border-right": "none",
|
|
41692
|
+
"border-top": "none",
|
|
41693
|
+
"padding": "0 10px",
|
|
41694
|
+
"height": "100%"
|
|
41695
|
+
}
|
|
41696
|
+
}, [_c('txl', {
|
|
41697
|
+
ref: "txl",
|
|
41698
|
+
model: {
|
|
41699
|
+
value: _vm.defultMail,
|
|
41700
|
+
callback: function callback($$v) {
|
|
41701
|
+
_vm.defultMail = $$v;
|
|
41702
|
+
},
|
|
41703
|
+
expression: "defultMail"
|
|
41704
|
+
}
|
|
41705
|
+
})], 1)])]) : _vm._e()], 1)], 1)])], 1), _c('div', {
|
|
41706
|
+
directives: [{
|
|
41707
|
+
name: "show",
|
|
41708
|
+
rawName: "v-show",
|
|
41709
|
+
value: false && 0,
|
|
41710
|
+
expression: "false && uploadForm"
|
|
41711
|
+
}],
|
|
41712
|
+
staticClass: "mail-original-form"
|
|
41713
|
+
}, [_c('div', {
|
|
41714
|
+
class: {
|
|
41715
|
+
'wflow-container-paper': _vm.frmViewStyle !== 'WEB'
|
|
41716
|
+
}
|
|
41717
|
+
}, [_c('div', {
|
|
41718
|
+
staticClass: "form-container"
|
|
41719
|
+
}, [_c('div', {
|
|
41720
|
+
staticClass: "form-header"
|
|
41721
|
+
}, [_c('div', {
|
|
41722
|
+
staticClass: "form-title"
|
|
41723
|
+
}, [_vm._v(_vm._s(_vm.vo.flFormName))])]), _c('el-form', {
|
|
41724
|
+
staticClass: "wflow-busiform",
|
|
41725
|
+
attrs: {
|
|
41726
|
+
"model": _vm.vo
|
|
41727
|
+
}
|
|
41728
|
+
}, [_c('div', {
|
|
41729
|
+
staticClass: "el-table el-table--fit el-table--border"
|
|
41730
|
+
}, [_c('div', {
|
|
41731
|
+
staticClass: "el-table__body-wrapper"
|
|
41732
|
+
}, [_c('BusiForm', {
|
|
41733
|
+
ref: "busiForm",
|
|
41734
|
+
attrs: {
|
|
41735
|
+
"vo": _vm.vo,
|
|
41736
|
+
"cur-t-n": _vm.curTN,
|
|
41737
|
+
"can-edit": 0
|
|
41738
|
+
}
|
|
41739
|
+
})], 1)])]), _c('HandleIdea', {
|
|
41740
|
+
staticClass: "wfIdeas-container",
|
|
41741
|
+
attrs: {
|
|
41742
|
+
"wf-idea-list": _vm.wfIdeaList,
|
|
41743
|
+
"wf-json-data": _vm.wfJsonData
|
|
41744
|
+
}
|
|
41745
|
+
})], 1)])])]);
|
|
41746
|
+
};
|
|
41747
|
+
var xieyoujianvue_type_template_id_8e154266_scoped_true_staticRenderFns = [];
|
|
41748
|
+
|
|
41749
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/sendMail/components/txl.vue?vue&type=template&id=10425631&scoped=true
|
|
41750
|
+
var txlvue_type_template_id_10425631_scoped_true_render = function render() {
|
|
41751
|
+
var _vm = this,
|
|
41752
|
+
_c = _vm._self._c;
|
|
41753
|
+
return _c('div', {
|
|
41754
|
+
staticStyle: {
|
|
41755
|
+
"height": "100%"
|
|
41756
|
+
}
|
|
41757
|
+
}, [_c('el-input', {
|
|
41758
|
+
staticStyle: {
|
|
41759
|
+
"width": "100%",
|
|
41760
|
+
"margin-top": "10px"
|
|
41761
|
+
},
|
|
41762
|
+
attrs: {
|
|
41763
|
+
"placeholder": "请输入搜索关键字"
|
|
41764
|
+
},
|
|
41765
|
+
nativeOn: {
|
|
41766
|
+
"keyup": function keyup($event) {
|
|
41767
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
41768
|
+
return _vm.searchTreeNode.apply(null, arguments);
|
|
41769
|
+
}
|
|
41770
|
+
},
|
|
41771
|
+
model: {
|
|
41772
|
+
value: _vm.searchkey,
|
|
41773
|
+
callback: function callback($$v) {
|
|
41774
|
+
_vm.searchkey = $$v;
|
|
41775
|
+
},
|
|
41776
|
+
expression: "searchkey"
|
|
41777
|
+
}
|
|
41778
|
+
}, [_c('el-button', {
|
|
41779
|
+
attrs: {
|
|
41780
|
+
"slot": "append",
|
|
41781
|
+
"icon": "el-icon-search"
|
|
41782
|
+
},
|
|
41783
|
+
on: {
|
|
41784
|
+
"click": _vm.searchTreeNode
|
|
41785
|
+
},
|
|
41786
|
+
slot: "append"
|
|
41787
|
+
})], 1), _c('div', {
|
|
41788
|
+
staticClass: "addressBook"
|
|
41789
|
+
}, [_c('el-scrollbar', {
|
|
41790
|
+
attrs: {
|
|
41791
|
+
"native": false,
|
|
41792
|
+
"tag": "div"
|
|
41793
|
+
}
|
|
41794
|
+
}, [_vm.defultMail !== null ? _c('el-menu', {
|
|
41795
|
+
staticClass: "el-menu-vertical-demo",
|
|
41796
|
+
attrs: {
|
|
41797
|
+
"unique-opened": "",
|
|
41798
|
+
"default-active": "3"
|
|
41799
|
+
},
|
|
41800
|
+
on: {
|
|
41801
|
+
"open": _vm.handleOpen,
|
|
41802
|
+
"close": _vm.handleClose
|
|
41803
|
+
}
|
|
41804
|
+
}, [_c('el-submenu', {
|
|
41805
|
+
attrs: {
|
|
41806
|
+
"index": "1"
|
|
41807
|
+
},
|
|
41808
|
+
model: {
|
|
41809
|
+
value: _vm.defultMail,
|
|
41810
|
+
callback: function callback($$v) {
|
|
41811
|
+
_vm.defultMail = $$v;
|
|
41812
|
+
},
|
|
41813
|
+
expression: "defultMail"
|
|
41814
|
+
}
|
|
41815
|
+
}, [_c('template', {
|
|
41816
|
+
slot: "title"
|
|
41817
|
+
}, [_c('i', {
|
|
41818
|
+
staticClass: "el-icon-arrow-right"
|
|
41819
|
+
}), _c('span', [_vm._v("公共通讯录")])]), _c('el-menu-item-group', [_c('GiantTree', {
|
|
41820
|
+
attrs: {
|
|
41821
|
+
"nodes": _vm.treeData,
|
|
41822
|
+
"showemail": "true",
|
|
41823
|
+
"show-icon": _vm.showIcon,
|
|
41824
|
+
"show-line": _vm.showLine
|
|
41825
|
+
},
|
|
41826
|
+
on: {
|
|
41827
|
+
"onCreated": _vm.onTreeCreated,
|
|
41828
|
+
"onClick": _vm.onTreeNodeClick
|
|
41829
|
+
}
|
|
41830
|
+
}), _vm.treeData === null || _vm.treeData.length === 0 ? _c('div', {
|
|
41831
|
+
staticStyle: {
|
|
41832
|
+
"text-align": "center",
|
|
41833
|
+
"font-size": "14px"
|
|
41834
|
+
}
|
|
41835
|
+
}, [_c('span', {
|
|
41836
|
+
staticStyle: {
|
|
41837
|
+
"color": "#909399"
|
|
41838
|
+
}
|
|
41839
|
+
}, [_vm._v(_vm._s(_vm.treeData === null ? "正在加载..." : "无数据"))])]) : _vm._e()], 1)], 2), _c('el-submenu', {
|
|
41840
|
+
attrs: {
|
|
41841
|
+
"index": "2"
|
|
41842
|
+
},
|
|
41843
|
+
model: {
|
|
41844
|
+
value: _vm.defultMail,
|
|
41845
|
+
callback: function callback($$v) {
|
|
41846
|
+
_vm.defultMail = $$v;
|
|
41847
|
+
},
|
|
41848
|
+
expression: "defultMail"
|
|
41849
|
+
}
|
|
41850
|
+
}, [_c('template', {
|
|
41851
|
+
slot: "title"
|
|
41852
|
+
}, [_c('i', {
|
|
41853
|
+
staticClass: "el-icon-arrow-right"
|
|
41854
|
+
}), _c('span', [_vm._v("个人通讯录")])]), _c('el-menu-item-group', [_c('GiantTree', {
|
|
41855
|
+
attrs: {
|
|
41856
|
+
"nodes": _vm.treeDatatxl,
|
|
41857
|
+
"show-icon": _vm.showIcon,
|
|
41858
|
+
"show-line": _vm.showLine
|
|
41859
|
+
},
|
|
41860
|
+
on: {
|
|
41861
|
+
"onCreated": _vm.onTreeCreatedtxl,
|
|
41862
|
+
"onClick": _vm.onTreeNodeClickPerson
|
|
41863
|
+
}
|
|
41864
|
+
}), _vm.treeDatatxl === null || _vm.treeDatatxl.length === 0 ? _c('div', {
|
|
41865
|
+
staticStyle: {
|
|
41866
|
+
"text-align": "center",
|
|
41867
|
+
"font-size": "14px"
|
|
41868
|
+
}
|
|
41869
|
+
}, [_c('span', {
|
|
41870
|
+
staticStyle: {
|
|
41871
|
+
"color": "#909399"
|
|
41872
|
+
}
|
|
41873
|
+
}, [_vm._v(_vm._s(_vm.treeDatatxl === null ? "正在加载..." : "无数据"))])]) : _vm._e()], 1)], 2), _c('el-submenu', {
|
|
41874
|
+
attrs: {
|
|
41875
|
+
"index": "3"
|
|
41876
|
+
},
|
|
41877
|
+
model: {
|
|
41878
|
+
value: _vm.defultMail,
|
|
41879
|
+
callback: function callback($$v) {
|
|
41880
|
+
_vm.defultMail = $$v;
|
|
41881
|
+
},
|
|
41882
|
+
expression: "defultMail"
|
|
41883
|
+
}
|
|
41884
|
+
}, [_c('template', {
|
|
41885
|
+
slot: "title"
|
|
41886
|
+
}, [_c('i', {
|
|
41887
|
+
staticClass: "el-icon-arrow-right"
|
|
41888
|
+
}), _c('span', [_vm._v("最近联系人")])]), _c('el-menu-item-group', [_c('GiantTree', {
|
|
41889
|
+
attrs: {
|
|
41890
|
+
"nodes": _vm.treeDatalatey,
|
|
41891
|
+
"show-icon": _vm.showIcon,
|
|
41892
|
+
"show-line": _vm.showLine
|
|
41893
|
+
},
|
|
41894
|
+
on: {
|
|
41895
|
+
"onCreated": _vm.onTreeCreatedlatey,
|
|
41896
|
+
"onClick": _vm.onTreeNodeClicklatey
|
|
41897
|
+
}
|
|
41898
|
+
}), _vm.treeDatalatey === null || _vm.treeDatalatey.length === 0 ? _c('div', {
|
|
41899
|
+
staticStyle: {
|
|
41900
|
+
"text-align": "center",
|
|
41901
|
+
"font-size": "14px"
|
|
41902
|
+
}
|
|
41903
|
+
}, [_c('span', {
|
|
41904
|
+
staticStyle: {
|
|
41905
|
+
"color": "#909399"
|
|
41906
|
+
}
|
|
41907
|
+
}, [_vm._v(_vm._s(_vm.treeDatalatey === null ? "正在加载..." : "无数据"))])]) : _vm._e()], 1)], 2)], 1) : _vm._e()], 1)], 1)], 1);
|
|
41908
|
+
};
|
|
41909
|
+
var txlvue_type_template_id_10425631_scoped_true_staticRenderFns = [];
|
|
41910
|
+
|
|
41911
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/sendMail/components/txl.vue?vue&type=script&lang=js
|
|
41912
|
+
function components_txlvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return components_txlvue_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; }, components_txlvue_type_script_lang_js_typeof(o); }
|
|
41913
|
+
function components_txlvue_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 */ components_txlvue_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" == components_txlvue_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(components_txlvue_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; }
|
|
41914
|
+
function components_txlvue_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); }
|
|
41915
|
+
function components_txlvue_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) { components_txlvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { components_txlvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
41916
|
+
var txlvue_type_script_lang_js_children = [];
|
|
41917
|
+
/* harmony default export */ var sendMail_components_txlvue_type_script_lang_js = ({
|
|
41918
|
+
components: {},
|
|
41919
|
+
props: {
|
|
41920
|
+
defultMail: {
|
|
41921
|
+
type: String,
|
|
41922
|
+
default: function _default() {
|
|
41923
|
+
return {};
|
|
41924
|
+
}
|
|
41925
|
+
}
|
|
41926
|
+
},
|
|
41927
|
+
data: function data() {
|
|
41928
|
+
return {
|
|
41929
|
+
treeData: null,
|
|
41930
|
+
treeDatatxl: null,
|
|
41931
|
+
treeDatalatey: null,
|
|
41932
|
+
treeData2: null,
|
|
41933
|
+
loginUser: this.$store.getters.loginUser,
|
|
41934
|
+
openIndex: '3',
|
|
41935
|
+
showIcon: true,
|
|
41936
|
+
// 是否展示图标
|
|
41937
|
+
showLine: true,
|
|
41938
|
+
// 是否展示连接线
|
|
41939
|
+
selectedNodes: [],
|
|
41940
|
+
// 被选择数据
|
|
41941
|
+
treeDataBak: [],
|
|
41942
|
+
treeDataBaktxl: [],
|
|
41943
|
+
treeDataBaklatey: [],
|
|
41944
|
+
zTree: {},
|
|
41945
|
+
zTreetxl: {},
|
|
41946
|
+
zTreelatey: {},
|
|
41947
|
+
searchkey: '',
|
|
41948
|
+
// 搜索
|
|
41949
|
+
accountList: [] // 邮箱列表
|
|
41950
|
+
};
|
|
41951
|
+
},
|
|
41952
|
+
computed: {},
|
|
41953
|
+
watch: {},
|
|
41954
|
+
created: function created() {},
|
|
41955
|
+
beforeDestroy: function beforeDestroy() {
|
|
41956
|
+
this.$bus.off('quickSearchPerson');
|
|
41957
|
+
this.$bus.off('changeEmail');
|
|
41958
|
+
},
|
|
41959
|
+
mounted: function mounted() {
|
|
41960
|
+
var _this = this;
|
|
41961
|
+
this.queryMyMailList();
|
|
41962
|
+
this.defultMail = this.defultMail || JSON.parse(sessionStorage.getItem('currentMail'));
|
|
41963
|
+
this.loadTypeTree();
|
|
41964
|
+
this.loadTypeTreetxl();
|
|
41965
|
+
this.$bus.on('quickSearchPerson', function (resobj) {
|
|
41966
|
+
_this.quickSearch(resobj);
|
|
41967
|
+
});
|
|
41968
|
+
this.$bus.on('changeEmail', function (res) {
|
|
41969
|
+
_this.defultMail = JSON.parse(sessionStorage.getItem('currentMail'));
|
|
41970
|
+
});
|
|
41971
|
+
},
|
|
41972
|
+
methods: {
|
|
41973
|
+
// 查询邮箱列表
|
|
41974
|
+
queryMyMailList: function queryMyMailList() {
|
|
41975
|
+
var _this2 = this;
|
|
41976
|
+
this.$http({
|
|
41977
|
+
method: 'GET',
|
|
41978
|
+
contentType: 'application/json',
|
|
41979
|
+
url: 'mail/userSetup/queryMyMailSetup'
|
|
41980
|
+
}).then(function (response) {
|
|
41981
|
+
if (response.code === 'success') {
|
|
41982
|
+
if (response.body.listdata) {
|
|
41983
|
+
_this2.accountList = response.body.listdata;
|
|
41984
|
+
}
|
|
41985
|
+
} else {
|
|
41986
|
+
_this2.$message.error(response.message);
|
|
41987
|
+
}
|
|
41988
|
+
}, function (err) {
|
|
41989
|
+
_this2.$message.error(err);
|
|
41990
|
+
});
|
|
41991
|
+
},
|
|
41992
|
+
handleOpen: function handleOpen(key, keyPath) {
|
|
41993
|
+
this.openIndex = key;
|
|
41994
|
+
if (this.treeDatatxl === null) {
|
|
41995
|
+
this.loadTypeTreetxl();
|
|
41996
|
+
}
|
|
41997
|
+
if (this.treeData === null) {
|
|
41998
|
+
this.loadTypeTree();
|
|
41999
|
+
}
|
|
42000
|
+
},
|
|
42001
|
+
handleClose: function handleClose(key, keyPath) {},
|
|
42002
|
+
// 通讯录搜索
|
|
42003
|
+
searchTreeNode: function searchTreeNode() {
|
|
42004
|
+
// debugger
|
|
42005
|
+
var searchkey = this.searchkey;
|
|
42006
|
+
this.searchDoading = true;
|
|
42007
|
+
if (searchkey === '') {
|
|
42008
|
+
if (this.treeDataBak.length !== 0) {
|
|
42009
|
+
this.treeData = this.treeDataBak;
|
|
42010
|
+
this.treeDataBak = '';
|
|
42011
|
+
}
|
|
42012
|
+
if (this.treeDataBaktxl.length !== 0) {
|
|
42013
|
+
this.treeDatatxl = this.treeDataBaktxl;
|
|
42014
|
+
this.treeDataBaktxl = '';
|
|
42015
|
+
}
|
|
42016
|
+
if (this.treeDataBaklatey.length !== 0) {
|
|
42017
|
+
this.treeDatalatey = this.treeDataBaklatey;
|
|
42018
|
+
this.treeDataBaklatey = '';
|
|
42019
|
+
}
|
|
42020
|
+
} else {
|
|
42021
|
+
if (this.treeDataBak.length === 0) {
|
|
42022
|
+
this.treeDataBak = JSON.parse(JSON.stringify(this.treeData));
|
|
42023
|
+
} else {
|
|
42024
|
+
this.treeData = JSON.parse(JSON.stringify(this.treeDataBak));
|
|
42025
|
+
}
|
|
42026
|
+
if (this.treeDataBaktxl.length === 0) {
|
|
42027
|
+
this.treeDataBaktxl = JSON.parse(JSON.stringify(this.treeDatatxl));
|
|
42028
|
+
} else {
|
|
42029
|
+
this.treeDatatxl = JSON.parse(JSON.stringify(this.treeDataBaktxl));
|
|
42030
|
+
}
|
|
42031
|
+
if (this.treeDataBaklatey.length === 0) {
|
|
42032
|
+
this.treeDataBaklatey = JSON.parse(JSON.stringify(this.treeDatalatey));
|
|
42033
|
+
} else {
|
|
42034
|
+
this.treeDatalatey = JSON.parse(JSON.stringify(this.treeDataBaklatey));
|
|
42035
|
+
}
|
|
42036
|
+
if (this.treeData !== null && this.treeData.length !== 0) {
|
|
42037
|
+
var nodeList = this.zTree.getNodesByParamFuzzy('name', searchkey);
|
|
42038
|
+
for (var i = 0; i < nodeList.length; i++) {
|
|
42039
|
+
for (var j = i + 1; j < nodeList.length; j++) {
|
|
42040
|
+
if (nodeList[i].emailAddr === nodeList[j].emailAddr) {
|
|
42041
|
+
nodeList.splice(j, 1);
|
|
42042
|
+
j--;
|
|
42043
|
+
}
|
|
42044
|
+
}
|
|
42045
|
+
}
|
|
42046
|
+
this.treeData = nodeList;
|
|
42047
|
+
}
|
|
42048
|
+
if (this.treeDatatxl !== null && this.treeDatatxl.length !== 0) {
|
|
42049
|
+
var nodeList1 = this.zTreetxl.getNodesByParamFuzzy('tname', searchkey);
|
|
42050
|
+
this.treeDatatxl = nodeList1;
|
|
42051
|
+
}
|
|
42052
|
+
if (this.treeDatalatey !== null && this.treeDatalatey.length !== 0) {
|
|
42053
|
+
var _nodeList = this.zTreelatey.getNodesByParamFuzzy('tname', searchkey);
|
|
42054
|
+
this.treeDatalatey = _nodeList;
|
|
42055
|
+
}
|
|
42056
|
+
}
|
|
42057
|
+
this.searchDoading = false;
|
|
42058
|
+
this.searchkey = searchkey;
|
|
42059
|
+
},
|
|
42060
|
+
// 收件人输入框快速搜索
|
|
42061
|
+
quickSearch: function quickSearch(text) {
|
|
42062
|
+
var quickdata = this.treeData;
|
|
42063
|
+
var quickdata1 = this.treeDatatxl;
|
|
42064
|
+
var quickdata2 = this.treeDatalatey;
|
|
42065
|
+
var nodeList = [];
|
|
42066
|
+
var nodeList1 = [];
|
|
42067
|
+
var nodeList2 = [];
|
|
42068
|
+
// if (this.defultMail.emailReceiveType === null) {
|
|
42069
|
+
// if (this.defultMail.internetEmailAddr !== '') {
|
|
42070
|
+
if (quickdata !== null && quickdata.length !== 0) {
|
|
42071
|
+
nodeList = this.zTree.getNodesByParamFuzzy('name', text);
|
|
42072
|
+
}
|
|
42073
|
+
if (quickdata1 !== null && quickdata1.length !== 0) {
|
|
42074
|
+
nodeList1 = this.zTreetxl.getNodesByParamFuzzy('tname', text);
|
|
42075
|
+
}
|
|
42076
|
+
if (quickdata2 !== null && quickdata2.length !== 0) {
|
|
42077
|
+
nodeList2 = this.zTreelatey.getNodesByParamFuzzy('tname', text);
|
|
42078
|
+
}
|
|
42079
|
+
nodeList.concat(nodeList1, nodeList2);
|
|
42080
|
+
// } else {
|
|
42081
|
+
// if (quickdata !== null && quickdata.length !== 0) {
|
|
42082
|
+
// nodeList = this.zTree.getNodesByParamFuzzy('name', text)
|
|
42083
|
+
// }
|
|
42084
|
+
// if (quickdata2 !== null && quickdata2.length !== 0) {
|
|
42085
|
+
// nodeList2 = this.zTreelatey.getNodesByParamFuzzy('name', text)
|
|
42086
|
+
// }
|
|
42087
|
+
// nodeList.concat(nodeList2)
|
|
42088
|
+
// }
|
|
42089
|
+
// } else {
|
|
42090
|
+
// if (quickdata1 !== null && quickdata1.length !== 0) {
|
|
42091
|
+
// nodeList1 = this.zTreetxl.getNodesByParamFuzzy('tname', text)
|
|
42092
|
+
// }
|
|
42093
|
+
// if (quickdata2 !== null && quickdata2.length !== 0) {
|
|
42094
|
+
// nodeList2 = this.zTreelatey.getNodesByParamFuzzy('tname', text)
|
|
42095
|
+
// }
|
|
42096
|
+
// nodeList = nodeList1
|
|
42097
|
+
// nodeList1.concat(nodeList2)
|
|
42098
|
+
// }
|
|
42099
|
+
|
|
42100
|
+
this.$bus.emit('quickdataFuc', nodeList);
|
|
42101
|
+
},
|
|
42102
|
+
// 公共通讯录
|
|
42103
|
+
loadTypeTree: function loadTypeTree() {
|
|
42104
|
+
var _this3 = this;
|
|
42105
|
+
return components_txlvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_txlvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
42106
|
+
return components_txlvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
42107
|
+
while (1) switch (_context.prev = _context.next) {
|
|
42108
|
+
case 0:
|
|
42109
|
+
_context.next = 2;
|
|
42110
|
+
return _this3.$http({
|
|
42111
|
+
method: 'get',
|
|
42112
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
42113
|
+
params: {
|
|
42114
|
+
orgCode: _this3.loginUser.orgCode,
|
|
42115
|
+
self: true
|
|
42116
|
+
},
|
|
42117
|
+
// 查询条件
|
|
42118
|
+
// url: 'base/organMgr/findOrganPersonByOrgCode'
|
|
42119
|
+
url: 'mail/message/findOrganPerson'
|
|
42120
|
+
}).then(function (res) {
|
|
42121
|
+
if (res.code === 'success') {
|
|
42122
|
+
_this3.treeData = _this3.treeDataAdapter(res.body.listdata);
|
|
42123
|
+
} else {
|
|
42124
|
+
_this3.$alert(res.message, '操作提示', {
|
|
42125
|
+
type: 'error'
|
|
42126
|
+
});
|
|
42127
|
+
}
|
|
42128
|
+
});
|
|
42129
|
+
case 2:
|
|
42130
|
+
case "end":
|
|
42131
|
+
return _context.stop();
|
|
42132
|
+
}
|
|
42133
|
+
}, _callee);
|
|
42134
|
+
}))();
|
|
42135
|
+
},
|
|
42136
|
+
// 个人通讯录
|
|
42137
|
+
loadTypeTreetxl: function loadTypeTreetxl() {
|
|
42138
|
+
var _this4 = this;
|
|
42139
|
+
return components_txlvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_txlvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
42140
|
+
return components_txlvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
42141
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
42142
|
+
case 0:
|
|
42143
|
+
_context2.next = 2;
|
|
42144
|
+
return _this4.$http({
|
|
42145
|
+
method: 'post',
|
|
42146
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
42147
|
+
url: 'mail/linkmanGroup/selectTreeGroup'
|
|
42148
|
+
}).then(function (res) {
|
|
42149
|
+
if (res.code === 'success') {
|
|
42150
|
+
_this4.treeDatatxl = _this4.treeDataAdapter1(res.body.treeList);
|
|
42151
|
+
} else {
|
|
42152
|
+
_this4.$alert(res.message, '操作提示', {
|
|
42153
|
+
type: 'error'
|
|
42154
|
+
});
|
|
42155
|
+
}
|
|
42156
|
+
});
|
|
42157
|
+
case 2:
|
|
42158
|
+
case "end":
|
|
42159
|
+
return _context2.stop();
|
|
42160
|
+
}
|
|
42161
|
+
}, _callee2);
|
|
42162
|
+
}))();
|
|
42163
|
+
},
|
|
42164
|
+
treeDataAdapter: function treeDataAdapter(treeData) {
|
|
42165
|
+
var _this5 = this;
|
|
42166
|
+
this.showIcon = true;
|
|
42167
|
+
this.showLine = true;
|
|
42168
|
+
// 当前值
|
|
42169
|
+
var prevSelected = this.getPrevSelected();
|
|
42170
|
+
// let daat = JSON.parse(JSON.stringify(treeData))
|
|
42171
|
+
treeData = treeData.filter(function (item, index) {
|
|
42172
|
+
if (item.type !== 'rootOrg') {
|
|
42173
|
+
return item;
|
|
42174
|
+
}
|
|
42175
|
+
});
|
|
42176
|
+
treeData.forEach(function (node, i) {
|
|
42177
|
+
// 选择机构员工
|
|
42178
|
+
if (!node.personId) {
|
|
42179
|
+
node.pId = node.parentID || node.parentId;
|
|
42180
|
+
node.name = node.nName || node.name;
|
|
42181
|
+
node.title = node.fullName || node.orgFullName;
|
|
42182
|
+
node.title = node.title.replace(/[&\|\\\*^%$#@\-]/g, '-');
|
|
42183
|
+
if (node.title.indexOf('-') !== -1) {
|
|
42184
|
+
node.title = node.title.substring(node.title.indexOf('-') + 1);
|
|
42185
|
+
}
|
|
42186
|
+
node.canSelect = false;
|
|
42187
|
+
} else {
|
|
42188
|
+
node.personName = node.name;
|
|
42189
|
+
var that = _this5;
|
|
42190
|
+
// 如果邮箱列表有内部邮箱,展示为姓名+拼音缩写;如果没有,展示姓名+邮箱地址。如果没有邮箱地址,展示姓名+无
|
|
42191
|
+
var index = that.accountList.findIndex(function (item) {
|
|
42192
|
+
return item.accountType === 1;
|
|
42193
|
+
});
|
|
42194
|
+
if (index > -1) {
|
|
42195
|
+
node.name = node.name + '/' + node.emailAddr;
|
|
42196
|
+
} else {
|
|
42197
|
+
node.name = node.name + '/' + node.email ? node.email : '/无';
|
|
42198
|
+
}
|
|
42199
|
+
node.pId = node.orgId || node.parentId || node.groupId;
|
|
42200
|
+
node.icon = _this5.user;
|
|
42201
|
+
node.mailAdress = node.email || '无';
|
|
42202
|
+
node.title = node.name;
|
|
42203
|
+
if (prevSelected.indexOf(node.emailAddr) > -1) {
|
|
42204
|
+
node.checked = true;
|
|
42205
|
+
}
|
|
42206
|
+
// 允许选择
|
|
42207
|
+
node.canSelect = true;
|
|
42208
|
+
}
|
|
42209
|
+
});
|
|
42210
|
+
// treeData格式必须遵循ztreeview treeNode规范
|
|
42211
|
+
return treeData;
|
|
42212
|
+
},
|
|
42213
|
+
treeDataAdapter1: function treeDataAdapter1(treeData) {
|
|
42214
|
+
var _this6 = this;
|
|
42215
|
+
treeData.forEach(function (node) {
|
|
42216
|
+
if (node.parentId === null) {
|
|
42217
|
+
node.pId = _this6.root.id;
|
|
42218
|
+
node.name = node.tname;
|
|
42219
|
+
} else if (node.parentId !== undefined && node.parentId !== null) {
|
|
42220
|
+
node.pId = node.parentId;
|
|
42221
|
+
node.name = node.tname;
|
|
42222
|
+
node.title = node.name;
|
|
42223
|
+
} else {
|
|
42224
|
+
node.title = node.name;
|
|
42225
|
+
}
|
|
42226
|
+
});
|
|
42227
|
+
// treeData格式必须遵循ztreeview treeNode规范
|
|
42228
|
+
return treeData;
|
|
42229
|
+
},
|
|
42230
|
+
getPrevSelected: function getPrevSelected() {
|
|
42231
|
+
var accounts = '';
|
|
42232
|
+
this.selectedNodes.forEach(function (person) {
|
|
42233
|
+
if (accounts !== '') accounts += ',';
|
|
42234
|
+
accounts += person.emailAddr;
|
|
42235
|
+
});
|
|
42236
|
+
return accounts;
|
|
42237
|
+
},
|
|
42238
|
+
refreshTreeData: function refreshTreeData(treeData) {
|
|
42239
|
+
if (treeData === null) {
|
|
42240
|
+
this.loadTypeTree();
|
|
42241
|
+
} else {
|
|
42242
|
+
this.treeData = this.treeDataAdapter([this.root].concat(treeData));
|
|
42243
|
+
}
|
|
42244
|
+
},
|
|
42245
|
+
onTreeCreated: function onTreeCreated(zTree) {
|
|
42246
|
+
this.zTree = zTree;
|
|
42247
|
+
if (this.selectedNodes.length === 0) {
|
|
42248
|
+
var selectedNodes = zTree.getCheckedNodes();
|
|
42249
|
+
this.selectedNodes = selectedNodes;
|
|
42250
|
+
}
|
|
42251
|
+
},
|
|
42252
|
+
onTreeCreatedtxl: function onTreeCreatedtxl(zTreetxl) {
|
|
42253
|
+
this.zTreetxl = zTreetxl;
|
|
42254
|
+
if (this.selectedNodes.length === 0) {
|
|
42255
|
+
var selectedNodes = zTreetxl.getCheckedNodes();
|
|
42256
|
+
this.selectedNodes = selectedNodes;
|
|
42257
|
+
}
|
|
42258
|
+
},
|
|
42259
|
+
onTreeCreatedlatey: function onTreeCreatedlatey(zTreelatey) {
|
|
42260
|
+
this.zTreelatey = zTreelatey;
|
|
42261
|
+
if (this.selectedNodes.length === 0) {
|
|
42262
|
+
var selectedNodes = zTreelatey.getCheckedNodes();
|
|
42263
|
+
this.selectedNodes = selectedNodes;
|
|
42264
|
+
}
|
|
42265
|
+
},
|
|
42266
|
+
// 节点点击事件
|
|
42267
|
+
onTreeNodeClick: function onTreeNodeClick(evt, treeId, treeNode) {
|
|
42268
|
+
if (treeNode.personId) {
|
|
42269
|
+
this.$bus.emit('checkEmail', treeNode.name);
|
|
42270
|
+
}
|
|
42271
|
+
},
|
|
42272
|
+
onTreeNodeClickPerson: function onTreeNodeClickPerson(evt, treeId, treeNode) {
|
|
42273
|
+
if (treeNode.level > 0) {
|
|
42274
|
+
this.$bus.emit('checkEmailPerson', treeNode.email);
|
|
42275
|
+
}
|
|
42276
|
+
},
|
|
42277
|
+
onTreeNodeClicklatey: function onTreeNodeClicklatey(evt, treeId, treeNode) {
|
|
42278
|
+
// if (treeNode.level > 0) {
|
|
42279
|
+
this.$bus.emit('checkEmailPerson', treeNode.email);
|
|
42280
|
+
// }
|
|
42281
|
+
},
|
|
42282
|
+
recursionChildren: function recursionChildren(data) {
|
|
42283
|
+
var _this7 = this;
|
|
42284
|
+
if (data.children && data.children.length > 0) {
|
|
42285
|
+
data.children.forEach(function (val) {
|
|
42286
|
+
if (val.children && val.children.length > 0) {
|
|
42287
|
+
_this7.recursionChildren(val);
|
|
42288
|
+
} else {
|
|
42289
|
+
if (val.personId) txlvue_type_script_lang_js_children.push(val);
|
|
42290
|
+
}
|
|
42291
|
+
});
|
|
42292
|
+
} else {
|
|
42293
|
+
if (data.personId) txlvue_type_script_lang_js_children.push(data);
|
|
42294
|
+
}
|
|
42295
|
+
}
|
|
42296
|
+
}
|
|
42297
|
+
});
|
|
42298
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/sendMail/components/txl.vue?vue&type=script&lang=js
|
|
42299
|
+
/* harmony default export */ var src_sendMail_components_txlvue_type_script_lang_js = (sendMail_components_txlvue_type_script_lang_js);
|
|
42300
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/sendMail/components/txl.vue?vue&type=style&index=0&id=10425631&prod&scoped=true&lang=scss
|
|
42301
|
+
var txlvue_type_style_index_0_id_10425631_prod_scoped_true_lang_scss = __webpack_require__(7163);
|
|
42302
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/sendMail/components/txl.vue?vue&type=style&index=0&id=10425631&prod&scoped=true&lang=scss
|
|
42303
|
+
|
|
42304
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/sendMail/components/txl.vue
|
|
42305
|
+
|
|
42306
|
+
|
|
42307
|
+
|
|
42308
|
+
;
|
|
42309
|
+
|
|
42310
|
+
|
|
42311
|
+
/* normalize component */
|
|
42312
|
+
|
|
42313
|
+
var components_txl_component = normalizeComponent(
|
|
42314
|
+
src_sendMail_components_txlvue_type_script_lang_js,
|
|
42315
|
+
txlvue_type_template_id_10425631_scoped_true_render,
|
|
42316
|
+
txlvue_type_template_id_10425631_scoped_true_staticRenderFns,
|
|
42317
|
+
false,
|
|
42318
|
+
null,
|
|
42319
|
+
"10425631",
|
|
42320
|
+
null
|
|
42321
|
+
|
|
42322
|
+
)
|
|
42323
|
+
|
|
42324
|
+
/* harmony default export */ var components_txl = (components_txl_component.exports);
|
|
42325
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/sendMail/xieyoujian.vue?vue&type=script&lang=js
|
|
42326
|
+
function sendMail_xieyoujianvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return sendMail_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; }, sendMail_xieyoujianvue_type_script_lang_js_typeof(o); }
|
|
42327
|
+
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(); }
|
|
42328
|
+
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."); }
|
|
42329
|
+
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; } }
|
|
42330
|
+
function xieyoujianvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
42331
|
+
function xieyoujianvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return xieyoujianvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
42332
|
+
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; }
|
|
42333
|
+
function sendMail_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; }
|
|
42334
|
+
function sendMail_xieyoujianvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? sendMail_xieyoujianvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { sendMail_xieyoujianvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : sendMail_xieyoujianvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42335
|
+
function sendMail_xieyoujianvue_type_script_lang_js_defineProperty(e, r, t) { return (r = sendMail_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; }
|
|
42336
|
+
function sendMail_xieyoujianvue_type_script_lang_js_toPropertyKey(t) { var i = sendMail_xieyoujianvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == sendMail_xieyoujianvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
42337
|
+
function sendMail_xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sendMail_xieyoujianvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sendMail_xieyoujianvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
42338
|
+
|
|
42339
|
+
// import listVue from '../../../zcgl/checkInfo/list.vue'
|
|
42340
|
+
|
|
42341
|
+
// import $ from 'jquery'
|
|
42342
|
+
/* harmony default export */ var sendMail_xieyoujianvue_type_script_lang_js = ({
|
|
42343
|
+
components: {
|
|
42344
|
+
txl: components_txl
|
|
42345
|
+
},
|
|
42346
|
+
props: {
|
|
42347
|
+
newMailInfo: {
|
|
42348
|
+
type: String,
|
|
42349
|
+
default: function _default() {
|
|
42350
|
+
return {};
|
|
42351
|
+
}
|
|
42352
|
+
}
|
|
42353
|
+
},
|
|
42354
|
+
data: function data() {
|
|
42355
|
+
return {
|
|
42356
|
+
content: '',
|
|
42357
|
+
loading: false,
|
|
42358
|
+
editorOption: {},
|
|
42359
|
+
canEdit: 1,
|
|
42360
|
+
moduleInfo: {
|
|
42361
|
+
getByIdUrl: 'mail/message/getMailInfoById',
|
|
42362
|
+
// 获取邮件详情信息url
|
|
42363
|
+
sendMailUrl: 'mail/message/sendMail',
|
|
42364
|
+
// 邮箱发送邮件url
|
|
42365
|
+
saveDraftUrl: 'mail/message/saveDraft',
|
|
42366
|
+
// 保存邮件草稿url
|
|
42367
|
+
deleteDraftUrl: 'mail/message/deleteDraft',
|
|
42368
|
+
// 删除邮件草稿url
|
|
42369
|
+
queryDataUrl: 'mail/userSetup/queryMyMailSetup'
|
|
42370
|
+
},
|
|
42371
|
+
mailInfo: {
|
|
42372
|
+
content: ''
|
|
42373
|
+
},
|
|
42374
|
+
uploadAttach: '',
|
|
42375
|
+
mailContent: '',
|
|
42376
|
+
isParams: '',
|
|
42377
|
+
httpPort: '',
|
|
42378
|
+
readyList: [],
|
|
42379
|
+
// 上传的文件列表
|
|
42380
|
+
uploadDdta: {},
|
|
42381
|
+
api: "/apigw",
|
|
42382
|
+
imageUploadUrl: "/apigw" + '/mail/attach/upload',
|
|
42383
|
+
valueMail: '',
|
|
42384
|
+
accountList: null,
|
|
42385
|
+
defultMail: null,
|
|
42386
|
+
linkManEmail: [],
|
|
42387
|
+
editerHeight: '',
|
|
42388
|
+
showeditor: false,
|
|
42389
|
+
csr: false,
|
|
42390
|
+
// 抄送人
|
|
42391
|
+
msr: false,
|
|
42392
|
+
// 密送人
|
|
42393
|
+
qfdx: false,
|
|
42394
|
+
// 群发单显
|
|
42395
|
+
closeLink: false,
|
|
42396
|
+
// 群发单显
|
|
42397
|
+
sendList: [],
|
|
42398
|
+
copyToList: [],
|
|
42399
|
+
blindCopyToList: [],
|
|
42400
|
+
sendListInput: '',
|
|
42401
|
+
copyToInput: '',
|
|
42402
|
+
blindCopyToInput: '',
|
|
42403
|
+
focusInput: 1,
|
|
42404
|
+
inMail: false,
|
|
42405
|
+
loginUser: this.$store.getters.loginUser,
|
|
42406
|
+
moveFile: [],
|
|
42407
|
+
'10px': '180px',
|
|
42408
|
+
attachBarHeight: '43px',
|
|
42409
|
+
limitNum: 5,
|
|
42410
|
+
// 上传文件的最大个数
|
|
42411
|
+
srcName: '',
|
|
42412
|
+
// 来源
|
|
42413
|
+
commandBar: [{
|
|
42414
|
+
btnAlign: 1,
|
|
42415
|
+
btnCode: 'Draft',
|
|
42416
|
+
btnGroupId: null,
|
|
42417
|
+
btnIcon: 'emailcg',
|
|
42418
|
+
btnJavascript: this.saveDraft,
|
|
42419
|
+
btnName: '存草稿',
|
|
42420
|
+
btnOrderNo: null,
|
|
42421
|
+
btnShow: null,
|
|
42422
|
+
btnType: '1',
|
|
42423
|
+
id: null,
|
|
42424
|
+
nodeId: null,
|
|
42425
|
+
passenger: {},
|
|
42426
|
+
visitType: 0
|
|
42427
|
+
}, {
|
|
42428
|
+
btnAlign: 1,
|
|
42429
|
+
btnCode: 'send',
|
|
42430
|
+
btnGroupId: null,
|
|
42431
|
+
btnIcon: 'el-icon-s-promotion',
|
|
42432
|
+
btnJavascript: this.saveDraft,
|
|
42433
|
+
btnName: '发送',
|
|
42434
|
+
btnOrderNo: null,
|
|
42435
|
+
btnShow: null,
|
|
42436
|
+
btnType: '1',
|
|
42437
|
+
id: null,
|
|
42438
|
+
nodeId: null,
|
|
42439
|
+
passenger: {},
|
|
42440
|
+
visitType: 0
|
|
42441
|
+
}, {
|
|
42442
|
+
btnAlign: 1,
|
|
42443
|
+
btnCode: null,
|
|
42444
|
+
btnGroupId: null,
|
|
42445
|
+
btnIcon: 'off',
|
|
42446
|
+
btnJavascript: 'btnCloseClick()',
|
|
42447
|
+
btnName: '关闭',
|
|
42448
|
+
btnOrderNo: null,
|
|
42449
|
+
btnShow: null,
|
|
42450
|
+
btnType: '1',
|
|
42451
|
+
id: null,
|
|
42452
|
+
nodeId: null,
|
|
42453
|
+
passenger: {},
|
|
42454
|
+
visitType: 0
|
|
42455
|
+
}],
|
|
42456
|
+
styleBagrand: '',
|
|
42457
|
+
styleBagrand1: '',
|
|
42458
|
+
formEvents: null,
|
|
42459
|
+
wfIdeaList: [],
|
|
42460
|
+
wfJsonData: {},
|
|
42461
|
+
wfInstance: {},
|
|
42462
|
+
curTN: {},
|
|
42463
|
+
vo: {},
|
|
42464
|
+
wfParams: {},
|
|
42465
|
+
attachments: [],
|
|
42466
|
+
uploadForm: true,
|
|
42467
|
+
wflowEditor: false,
|
|
42468
|
+
editorHeight: 0,
|
|
42469
|
+
frmViewStyle: 'WEB',
|
|
42470
|
+
itemlist: []
|
|
42471
|
+
};
|
|
42472
|
+
},
|
|
42473
|
+
computed: sendMail_xieyoujianvue_type_script_lang_js_objectSpread({
|
|
42474
|
+
curUser: function curUser() {
|
|
42475
|
+
return this.$store.getters.loginUser;
|
|
42476
|
+
}
|
|
42477
|
+
}, mapGetters(['routes'])),
|
|
42478
|
+
watch: {
|
|
42479
|
+
defultMail: function defultMail(val) {
|
|
42480
|
+
var _this2 = this;
|
|
42481
|
+
if (val !== null) {
|
|
42482
|
+
this.$nextTick(function () {
|
|
42483
|
+
_this2.showeditor = true;
|
|
42484
|
+
});
|
|
42485
|
+
var _this = this;
|
|
42486
|
+
if (!_this.$route.query) {
|
|
42487
|
+
_this.isParams = 'againMail';
|
|
42488
|
+
_this.newMail(_this.isParams);
|
|
42489
|
+
} else {
|
|
42490
|
+
// 草稿箱/新建写邮件
|
|
42491
|
+
_this.newMail();
|
|
42492
|
+
}
|
|
42493
|
+
}
|
|
42494
|
+
},
|
|
42495
|
+
formEvents: function formEvents() {
|
|
42496
|
+
if (this.formEvents !== null) {
|
|
42497
|
+
this.formEvents.onWflowFormOpened(this, this.wfParams, this.wfParams, this.wfEngineUrl);
|
|
42498
|
+
this.loadForm(true);
|
|
42499
|
+
}
|
|
42500
|
+
},
|
|
42501
|
+
wflowEditor: function wflowEditor(val) {
|
|
42502
|
+
var _this3 = this;
|
|
42503
|
+
if (val) {
|
|
42504
|
+
this.$nextTick(function () {
|
|
42505
|
+
setTimeout(function () {
|
|
42506
|
+
_this3.onresize();
|
|
42507
|
+
}, 500);
|
|
42508
|
+
});
|
|
42509
|
+
}
|
|
42510
|
+
},
|
|
42511
|
+
readyList: function readyList() {
|
|
42512
|
+
var _this4 = this;
|
|
42513
|
+
this.$nextTick(function () {
|
|
42514
|
+
setTimeout(function () {
|
|
42515
|
+
_this4.onresize();
|
|
42516
|
+
}, 500);
|
|
42517
|
+
});
|
|
42518
|
+
},
|
|
42519
|
+
sendList: function sendList() {
|
|
42520
|
+
var _this5 = this;
|
|
42521
|
+
this.$nextTick(function () {
|
|
42522
|
+
setTimeout(function () {
|
|
42523
|
+
_this5.onresize();
|
|
42524
|
+
}, 500);
|
|
42525
|
+
});
|
|
42526
|
+
}
|
|
42527
|
+
},
|
|
42528
|
+
created: function created() {
|
|
42529
|
+
var _this6 = this;
|
|
42530
|
+
// 附件转发
|
|
42531
|
+
if (this.$route.query.row) {
|
|
42532
|
+
// 文件中心过来的
|
|
42533
|
+
if (this.$route.query.srcBusiDataId) {
|
|
42534
|
+
this.srcName = this.$route.query.srcBusiDataId;
|
|
42535
|
+
var list = xieyoujianvue_type_script_lang_js_toConsumableArray(JSON.parse(this.$route.query.row));
|
|
42536
|
+
this.readyList = list.filter(function (res, i) {
|
|
42537
|
+
res.name = res.fileName;
|
|
42538
|
+
return i !== list.length;
|
|
42539
|
+
});
|
|
42540
|
+
} else {
|
|
42541
|
+
// 回显附件 缺row对象
|
|
42542
|
+
var listData = [];
|
|
42543
|
+
for (var i in this.$route.query.row) {
|
|
42544
|
+
listData.push({
|
|
42545
|
+
name: this.$route.query.row[i].fileName,
|
|
42546
|
+
id: this.$route.query.row[i].id,
|
|
42547
|
+
fileSize: this.$route.query.row[i].fileSize
|
|
42548
|
+
});
|
|
42549
|
+
}
|
|
42550
|
+
this.readyList = listData.filter(function (res, i) {
|
|
42551
|
+
return i !== _this6.$route.query.row.length;
|
|
42552
|
+
});
|
|
42553
|
+
}
|
|
42554
|
+
this.styleBagrand = this.Cookies.get('uiStyle');
|
|
42555
|
+
this.styleBagrand1 = this.Cookies.get('uiStyle');
|
|
42556
|
+
} else {
|
|
42557
|
+
// 打开写邮件显示附件
|
|
42558
|
+
if (this.newMailInfo) {
|
|
42559
|
+
this.mailInfo = this.newMailInfo;
|
|
42560
|
+
// 回显附件 缺row对象
|
|
42561
|
+
if (this.mailInfo.attachments) {
|
|
42562
|
+
this.mailInfo.attachments.forEach(function (val) {
|
|
42563
|
+
_this6.itemlist.push(val.fileLevel);
|
|
42564
|
+
_this6.readyList.push({
|
|
42565
|
+
name: val.fileName,
|
|
42566
|
+
status: 'ready',
|
|
42567
|
+
size: val.fileRealSize,
|
|
42568
|
+
percentage: 0
|
|
42569
|
+
});
|
|
42570
|
+
});
|
|
42571
|
+
}
|
|
42572
|
+
}
|
|
42573
|
+
}
|
|
42574
|
+
this.httpPort = location.port;
|
|
42575
|
+
this.$bus.emit('showNavSearch', false);
|
|
42576
|
+
|
|
42577
|
+
// 加载用户邮箱设置
|
|
42578
|
+
this.getDefultMail();
|
|
42579
|
+
},
|
|
42580
|
+
beforeDestroy: function beforeDestroy() {
|
|
42581
|
+
this.$bus.emit('showNavSearch', true);
|
|
42582
|
+
this.$bus.off('quickdataFuc');
|
|
42583
|
+
this.$bus.off('checkEmail');
|
|
42584
|
+
this.$bus.off('checkEmailPerson');
|
|
42585
|
+
this.$bus.off('changeEmail');
|
|
42586
|
+
window.removeEventListener('resize', this.onresize);
|
|
42587
|
+
},
|
|
42588
|
+
mounted: function mounted() {
|
|
42589
|
+
var _this7 = this;
|
|
42590
|
+
this.$nextTick(function () {
|
|
42591
|
+
_this7.$refs.sendTo.focus();
|
|
42592
|
+
if (_this7.mailInfo.attachments) {
|
|
42593
|
+
_this7.mailInfo.attachments.forEach(function (val) {
|
|
42594
|
+
_this7.itemlist.push(val.fileLevel);
|
|
42595
|
+
});
|
|
42596
|
+
}
|
|
42597
|
+
});
|
|
42598
|
+
window.addEventListener('resize', this.onresize);
|
|
42599
|
+
this.$bus.on('quickdataFuc', function (resobj) {
|
|
42600
|
+
_this7.linkManEmail = _this7.unique(resobj);
|
|
42601
|
+
if (resobj.length > 0) {
|
|
42602
|
+
_this7.closeLink = true;
|
|
42603
|
+
} else {
|
|
42604
|
+
_this7.closeLink = false;
|
|
42605
|
+
}
|
|
42606
|
+
});
|
|
42607
|
+
// 从公共通讯录中选择
|
|
42608
|
+
this.$bus.on('checkEmail', function (resobj) {
|
|
42609
|
+
if (resobj.split('/')[1] === '无') {
|
|
42610
|
+
_this7.$message.warning('当前项无邮箱地址,不支持选择');
|
|
42611
|
+
return false;
|
|
42612
|
+
} else {
|
|
42613
|
+
var errRes = null;
|
|
42614
|
+
// 验证当前为内部邮箱时,是否需要绑定外部邮箱
|
|
42615
|
+
if (_this7.defultMail.emailReceiveType === null) {
|
|
42616
|
+
var emailDomain = '@' + _this7.defultMail.emailAddr.split('@')[1];
|
|
42617
|
+
if (!_this7.defultMail.internetEmailAddr) {
|
|
42618
|
+
var index = resobj.split('/')[1].indexOf('@');
|
|
42619
|
+
if (index > -1) {
|
|
42620
|
+
if (resobj.split('/')[1].indexOf(emailDomain) === -1) {
|
|
42621
|
+
_this7.$alert('请先前往邮箱中心绑定外部邮箱', '提示', {
|
|
42622
|
+
type: 'warning'
|
|
42623
|
+
});
|
|
42624
|
+
return false;
|
|
42625
|
+
}
|
|
42626
|
+
}
|
|
42627
|
+
}
|
|
42628
|
+
}
|
|
42629
|
+
var blindCopyToList = _this7.focusInput === 1 ? _this7.sendList : _this7.focusInput === 2 ? _this7.copyToList : _this7.blindCopyToList;
|
|
42630
|
+
blindCopyToList.forEach(function (item, index) {
|
|
42631
|
+
if (item === resobj) {
|
|
42632
|
+
errRes = 1;
|
|
42633
|
+
}
|
|
42634
|
+
});
|
|
42635
|
+
if (errRes === 1) {
|
|
42636
|
+
if (_this7.focusInput === 1) {
|
|
42637
|
+
_this7.$message.warning('已存在该收件人!');
|
|
42638
|
+
}
|
|
42639
|
+
if (_this7.focusInput === 2) {
|
|
42640
|
+
_this7.$message.warning('已存在该抄送人!');
|
|
42641
|
+
}
|
|
42642
|
+
if (_this7.focusInput === 3) {
|
|
42643
|
+
_this7.$message.warning('已存在该密送人!');
|
|
42644
|
+
}
|
|
42645
|
+
return false;
|
|
42646
|
+
} else {
|
|
42647
|
+
if (_this7.focusInput === 1) {
|
|
42648
|
+
_this7.sendList.push(resobj);
|
|
42649
|
+
} else if (_this7.focusInput === 2) {
|
|
42650
|
+
_this7.copyToList.push(resobj);
|
|
42651
|
+
} else {
|
|
42652
|
+
_this7.blindCopyToList.push(resobj);
|
|
42653
|
+
}
|
|
42654
|
+
}
|
|
42655
|
+
}
|
|
42656
|
+
});
|
|
42657
|
+
// 从个人通讯录或最近联系人中选择
|
|
42658
|
+
this.$bus.on('checkEmailPerson', function (resobj) {
|
|
42659
|
+
var errRes = null;
|
|
42660
|
+
// 验证当前为内部邮箱时,是否需要绑定外部邮箱
|
|
42661
|
+
if (_this7.defultMail.emailReceiveType === null) {
|
|
42662
|
+
var emailDomain = '@' + _this7.defultMail.emailAddr.split('@')[1];
|
|
42663
|
+
if (!_this7.defultMail.internetEmailAddr) {
|
|
42664
|
+
if (resobj.indexOf(emailDomain) === -1) {
|
|
42665
|
+
_this7.$alert('请先前往邮箱中心绑定外部邮箱', '提示', {
|
|
42666
|
+
type: 'warning'
|
|
42667
|
+
});
|
|
42668
|
+
return false;
|
|
42669
|
+
}
|
|
42670
|
+
}
|
|
42671
|
+
}
|
|
42672
|
+
(_this7.focusInput === 1 ? _this7.sendList : _this7.focusInput === 2 ? _this7.copyToList : _this7.blindCopyToList).forEach(function (item, index) {
|
|
42673
|
+
if (item === resobj) {
|
|
42674
|
+
errRes = 1;
|
|
42675
|
+
}
|
|
42676
|
+
});
|
|
42677
|
+
if (errRes === 1) {
|
|
42678
|
+
if (_this7.focusInput === 1) {
|
|
42679
|
+
_this7.$message.warning('已存在该收件人!');
|
|
42680
|
+
}
|
|
42681
|
+
if (_this7.focusInput === 2) {
|
|
42682
|
+
_this7.$message.warning('已存在该抄送人!');
|
|
42683
|
+
}
|
|
42684
|
+
if (_this7.focusInput === 3) {
|
|
42685
|
+
_this7.$message.warning('已存在该密送人!');
|
|
42686
|
+
}
|
|
42687
|
+
} else {
|
|
42688
|
+
if (_this7.focusInput === 1) {
|
|
42689
|
+
_this7.sendList.push(resobj);
|
|
42690
|
+
} else if (_this7.focusInput === 2) {
|
|
42691
|
+
_this7.copyToList.push(resobj);
|
|
42692
|
+
} else {
|
|
42693
|
+
_this7.blindCopyToList.push(resobj);
|
|
42694
|
+
}
|
|
42695
|
+
}
|
|
42696
|
+
});
|
|
42697
|
+
this.$bus.on('changeEmail', function (res) {
|
|
42698
|
+
_this7.defultMail = JSON.parse(sessionStorage.getItem('currentMail'));
|
|
42699
|
+
});
|
|
42700
|
+
document.addEventListener('keydown', function (e) {
|
|
42701
|
+
if (_this7.closeLink && _this7.linkManEmail.length > 0) {
|
|
42702
|
+
if (e.keyCode === 38) {
|
|
42703
|
+
if (_this7.linkIndex > 0) {
|
|
42704
|
+
_this7.linkIndex--;
|
|
42705
|
+
}
|
|
42706
|
+
} else if (e.keyCode === 40) {
|
|
42707
|
+
if (_this7.linkIndex < _this7.linkManEmail.length + 1) {
|
|
42708
|
+
_this7.linkIndex++;
|
|
42709
|
+
}
|
|
42710
|
+
} else if (e.keyCode === 13) {
|
|
42711
|
+
if (_this7.linkManEmail.length === 1) {
|
|
42712
|
+
_this7.clickLink(_this7.linkManEmail[0].name);
|
|
42713
|
+
} else {
|
|
42714
|
+
_this7.clickLink(_this7.linkManEmail[_this7.linkIndex].name);
|
|
42715
|
+
}
|
|
42716
|
+
}
|
|
42717
|
+
}
|
|
42718
|
+
});
|
|
42719
|
+
},
|
|
42720
|
+
methods: {
|
|
42721
|
+
// 动态变化高度
|
|
42722
|
+
onresize: function onresize() {
|
|
42723
|
+
var _this8 = this;
|
|
42724
|
+
var mailconten = document.querySelector('.mail_content_row');
|
|
42725
|
+
mailconten.style.height = 'calc(100vh - 103px)';
|
|
42726
|
+
this.$nextTick(function () {
|
|
42727
|
+
mailconten = document.querySelector('.mail_content_row');
|
|
42728
|
+
var formdom = document.querySelector('.form-horizontal'); // 最外层表单
|
|
42729
|
+
var linkrow = document.querySelectorAll('.form_edit_top');
|
|
42730
|
+
var formH = formdom !== null ? formdom.offsetHeight : 0;
|
|
42731
|
+
var linkrowH = 0;
|
|
42732
|
+
if (linkrow !== null || linkrow.length > 0) {
|
|
42733
|
+
for (var i = 0; i < linkrow.length; i++) {
|
|
42734
|
+
linkrowH += linkrow[i].offsetHeight;
|
|
42735
|
+
}
|
|
42736
|
+
}
|
|
42737
|
+
if (formH > 0 && linkrowH > 0) {
|
|
42738
|
+
_this8.editorHeight = 0;
|
|
42739
|
+
_this8.$nextTick(function () {
|
|
42740
|
+
setTimeout(function () {
|
|
42741
|
+
_this8.editorHeight = formH - linkrowH - 40 > 460 ? formH - linkrowH - 40 : 460;
|
|
42742
|
+
if (formH - linkrowH - 40 <= 460) {
|
|
42743
|
+
mailconten.style.height = linkrowH + 566 + 'px';
|
|
42744
|
+
} else {
|
|
42745
|
+
mailconten.style.height = 'calc(100vh - 103px)';
|
|
42746
|
+
}
|
|
42747
|
+
}, 0);
|
|
42748
|
+
});
|
|
42749
|
+
}
|
|
42750
|
+
});
|
|
42751
|
+
},
|
|
42752
|
+
// 点击添加/删除 抄送
|
|
42753
|
+
csTagChange: function csTagChange() {
|
|
42754
|
+
var _this9 = this;
|
|
42755
|
+
this.csr = !this.csr;
|
|
42756
|
+
this.copyToList = [];
|
|
42757
|
+
this.$nextTick(function () {
|
|
42758
|
+
setTimeout(function () {
|
|
42759
|
+
_this9.onresize();
|
|
42760
|
+
}, 500);
|
|
42761
|
+
});
|
|
42762
|
+
},
|
|
42763
|
+
// 点击添加/删除 密送
|
|
42764
|
+
msTagChange: function msTagChange() {
|
|
42765
|
+
var _this10 = this;
|
|
42766
|
+
this.msr = !this.msr;
|
|
42767
|
+
this.blindCopyToList = [];
|
|
42768
|
+
this.$nextTick(function () {
|
|
42769
|
+
setTimeout(function () {
|
|
42770
|
+
_this10.onresize();
|
|
42771
|
+
}, 500);
|
|
42772
|
+
});
|
|
42773
|
+
},
|
|
42774
|
+
// 点击群发单显/取消群发单显
|
|
42775
|
+
qfdxTagChange: function qfdxTagChange() {
|
|
42776
|
+
this.qfdx = !this.qfdx;
|
|
42777
|
+
if (this.qfdx) {
|
|
42778
|
+
this.csr = false;
|
|
42779
|
+
this.msr = false;
|
|
42780
|
+
}
|
|
42781
|
+
this.copyToList = [];
|
|
42782
|
+
this.blindCopyToList = [];
|
|
42783
|
+
},
|
|
42784
|
+
// 删除
|
|
42785
|
+
deleteCg: function deleteCg() {
|
|
42786
|
+
this.$emit('deleteDraft');
|
|
42787
|
+
},
|
|
42788
|
+
// 绑定的邮箱列表,获取默认邮箱
|
|
42789
|
+
loadInternetList: function loadInternetList() {
|
|
42790
|
+
var _this = this;
|
|
42791
|
+
_this.loading = false;
|
|
42792
|
+
|
|
42793
|
+
// 进入页面时,先检查是否存在数据,若有,则调用该数据;若无,先初始化.
|
|
42794
|
+
this.$http({
|
|
42795
|
+
method: 'GET',
|
|
42796
|
+
contentType: 'application/json',
|
|
42797
|
+
url: this.moduleInfo.queryDataUrl
|
|
42798
|
+
}).then(function (response) {
|
|
42799
|
+
_this.loading = false;
|
|
42800
|
+
if (response.code === 'success') {
|
|
42801
|
+
_this.accountList = response.body.listdata;
|
|
42802
|
+
if (_this.accountList && _this.accountList.length > 0) {
|
|
42803
|
+
// 第一个邮箱设置为默认邮箱
|
|
42804
|
+
_this.defultMail = _this.accountList[0];
|
|
42805
|
+
}
|
|
42806
|
+
if (_this.defultMail) {
|
|
42807
|
+
_this.valueMail = _this.defultMail.emailAddr;
|
|
42808
|
+
}
|
|
42809
|
+
} else {
|
|
42810
|
+
// _this.$message.error(response.message)
|
|
42811
|
+
_this.$alert(response.message, '操作提示', {
|
|
42812
|
+
type: 'error'
|
|
42813
|
+
});
|
|
42814
|
+
}
|
|
42815
|
+
}, function (err) {
|
|
42816
|
+
_this.$message.error(err);
|
|
42817
|
+
});
|
|
42818
|
+
},
|
|
42819
|
+
// 收件箱路由跳转
|
|
42820
|
+
gotoPages: function gotoPages(modelCode) {
|
|
42821
|
+
var toPath = this.getMenuCode(modelCode);
|
|
42822
|
+
if (toPath && toPath.path) {
|
|
42823
|
+
var path;
|
|
42824
|
+
switch (toPath.meta.level) {
|
|
42825
|
+
case 3:
|
|
42826
|
+
path = toPath.meta.activeMenu || toPath.path;
|
|
42827
|
+
break;
|
|
42828
|
+
case 4:
|
|
42829
|
+
path = toPath.meta.activeMenu + '/' + toPath.path;
|
|
42830
|
+
break;
|
|
42831
|
+
default:
|
|
42832
|
+
path = toPath.path;
|
|
42833
|
+
}
|
|
42834
|
+
if (modelCode === 'shoujianxiang.svg') {
|
|
42835
|
+
this.$router.push({
|
|
42836
|
+
path: path,
|
|
42837
|
+
query: this.newMailInfo
|
|
42838
|
+
});
|
|
42839
|
+
} else if (modelCode === 'email.svg') {
|
|
42840
|
+
this.$router.push({
|
|
42841
|
+
path: path
|
|
42842
|
+
});
|
|
42843
|
+
}
|
|
42844
|
+
}
|
|
42845
|
+
},
|
|
42846
|
+
// 递归查询菜单代码
|
|
42847
|
+
getMenuCode: function getMenuCode(code) {
|
|
42848
|
+
var toPath;
|
|
42849
|
+
function findCode(ary) {
|
|
42850
|
+
ary.forEach(function (val) {
|
|
42851
|
+
if (val.children) {
|
|
42852
|
+
findCode(val.children);
|
|
42853
|
+
}
|
|
42854
|
+
if (!val.children && val.meta && val.meta.code === code) {
|
|
42855
|
+
toPath = val;
|
|
42856
|
+
return false;
|
|
42857
|
+
}
|
|
42858
|
+
});
|
|
42859
|
+
}
|
|
42860
|
+
findCode(this.routes);
|
|
42861
|
+
return toPath;
|
|
42862
|
+
},
|
|
42863
|
+
// 选择人员
|
|
42864
|
+
onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
|
|
42865
|
+
var selected = '';
|
|
42866
|
+
selectedNodes.forEach(function (node) {
|
|
42867
|
+
if (selected !== '') selected += '、';
|
|
42868
|
+
selected += node.name;
|
|
42869
|
+
});
|
|
42870
|
+
if (attr.name === 'sendTo') {
|
|
42871
|
+
this.$set(this.mailInfo, 'sendTo', selected);
|
|
42872
|
+
} else {
|
|
42873
|
+
this.$set(this.mailInfo, 'copyTo', selected);
|
|
42874
|
+
}
|
|
42875
|
+
},
|
|
42876
|
+
// 新邮件初始化
|
|
42877
|
+
newMail: function newMail(type) {
|
|
42878
|
+
var _this11 = this;
|
|
42879
|
+
this.loading = true;
|
|
42880
|
+
if (type === 'againMail') {
|
|
42881
|
+
this.mailInfo = {};
|
|
42882
|
+
this.mailInfo.sendTo = '';
|
|
42883
|
+
this.mailInfo.sended = false;
|
|
42884
|
+
} else {
|
|
42885
|
+
var objKeys = Object.keys(this.$route.query);
|
|
42886
|
+
if (objKeys.length > 2) {
|
|
42887
|
+
this.mailInfo = this.$route.query;
|
|
42888
|
+
}
|
|
42889
|
+
}
|
|
42890
|
+
if (this.mailInfo.srcBusiDataId !== undefined) {
|
|
42891
|
+
// 流程表单转发邮件
|
|
42892
|
+
this.wflowForwardMail();
|
|
42893
|
+
} else if (this.mailInfo.mailMessageId == null) {
|
|
42894
|
+
this.wflowEditor = true;
|
|
42895
|
+
// 新邮件
|
|
42896
|
+
this.mailContent = '<br/><br/><br/><br/><br/>';
|
|
42897
|
+
if (this.defultMail.signFlag === 1) {
|
|
42898
|
+
this.mailContent += this.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42899
|
+
}
|
|
42900
|
+
} else if (this.mailInfo.sentdate == null) {
|
|
42901
|
+
this.wflowEditor = true;
|
|
42902
|
+
// 草稿邮件
|
|
42903
|
+
this.sendList = [];
|
|
42904
|
+
this.copyToList = [];
|
|
42905
|
+
this.blindCopyToList = [];
|
|
42906
|
+
if (this.mailInfo.sendTo !== null && this.mailInfo.sendTo !== '') {
|
|
42907
|
+
var arr = this.mailInfo.sendTo.split(',');
|
|
42908
|
+
this.sendList = this.sendList.concat(arr);
|
|
42909
|
+
}
|
|
42910
|
+
if (this.mailInfo.copyTo !== null && this.mailInfo.copyTo !== '') {
|
|
42911
|
+
var _arr = this.mailInfo.copyTo.split(',');
|
|
42912
|
+
this.copyToList = this.copyToList.concat(_arr);
|
|
42913
|
+
}
|
|
42914
|
+
if (this.mailInfo.blindCopyTo !== null && this.mailInfo.blindCopyTo !== '') {
|
|
42915
|
+
var _arr2 = this.mailInfo.blindCopyTo.split(',');
|
|
42916
|
+
this.blindCopyToList = this.blindCopyToList.concat(_arr2);
|
|
42917
|
+
}
|
|
42918
|
+
this.mailContent = this.mailInfo.content;
|
|
42919
|
+
if (this.mailInfo.attachments) {
|
|
42920
|
+
if (this.mailInfo.attachments.length > 0) {
|
|
42921
|
+
var _this$readyList;
|
|
42922
|
+
this.readyList = (_this$readyList = this.readyList).concat.apply(_this$readyList, xieyoujianvue_type_script_lang_js_toConsumableArray(this.mailInfo.attachments));
|
|
42923
|
+
this.readyList.forEach(function (item) {
|
|
42924
|
+
if (!item.name) {
|
|
42925
|
+
item.name = item.fileName;
|
|
42926
|
+
}
|
|
42927
|
+
});
|
|
42928
|
+
}
|
|
42929
|
+
}
|
|
42930
|
+
} else if (this.mailInfo.actionType) {
|
|
42931
|
+
this.wflowEditor = true;
|
|
42932
|
+
// 转发、重新发送、回复邮件
|
|
42933
|
+
if (this.mailInfo.actionType === 'respAll') {
|
|
42934
|
+
var lists1 = this.mailInfo.sendTo.split(',');
|
|
42935
|
+
var lists2 = this.mailInfo.fromAddr.split(',');
|
|
42936
|
+
var lists3 = this.mailInfo.copyTo.split(',');
|
|
42937
|
+
lists1.forEach(function (item, index) {
|
|
42938
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42939
|
+
_this11.sendList.push(item);
|
|
42940
|
+
}
|
|
42941
|
+
});
|
|
42942
|
+
lists2.forEach(function (item, index) {
|
|
42943
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42944
|
+
_this11.sendList.push(item);
|
|
42945
|
+
}
|
|
42946
|
+
});
|
|
42947
|
+
lists3.forEach(function (item, index) {
|
|
42948
|
+
if (item !== '') {
|
|
42949
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42950
|
+
_this11.copyToList.push(item);
|
|
42951
|
+
_this11.csr = true;
|
|
42952
|
+
}
|
|
42953
|
+
}
|
|
42954
|
+
});
|
|
42955
|
+
} else if (this.mailInfo.actionType === 'resp') {
|
|
42956
|
+
this.wflowEditor = true;
|
|
42957
|
+
this.sendList.push(this.mailInfo.fromAddr);
|
|
42958
|
+
this.mailInfo.fromAddr = this.defultMail.emailAddr;
|
|
42959
|
+
} else if (this.mailInfo.actionType === 'resend') {
|
|
42960
|
+
this.wflowEditor = true;
|
|
42961
|
+
this.sendList.push(this.mailInfo.sendTo);
|
|
42962
|
+
if (this.mailInfo.attachments.length > 0) {
|
|
42963
|
+
var _this$readyList2;
|
|
42964
|
+
(_this$readyList2 = this.readyList).push.apply(_this$readyList2, xieyoujianvue_type_script_lang_js_toConsumableArray(this.mailInfo.attachments));
|
|
42965
|
+
}
|
|
42966
|
+
} else if (this.mailInfo.actionType === 'forward') {
|
|
42967
|
+
this.wflowEditor = true;
|
|
42968
|
+
this.mailInfo.fromAddr = this.defultMail.emailAddr;
|
|
42969
|
+
this.sendList = [];
|
|
42970
|
+
if (this.mailInfo.attachments) {
|
|
42971
|
+
if (this.mailInfo.attachments.length > 0) {
|
|
42972
|
+
var _this$readyList3;
|
|
42973
|
+
(_this$readyList3 = this.readyList).push.apply(_this$readyList3, xieyoujianvue_type_script_lang_js_toConsumableArray(this.mailInfo.attachments));
|
|
42974
|
+
this.readyList.forEach(function (item) {
|
|
42975
|
+
if (!item.name) {
|
|
42976
|
+
item.name = item.fileName;
|
|
42977
|
+
}
|
|
42978
|
+
});
|
|
42979
|
+
}
|
|
42980
|
+
}
|
|
42981
|
+
}
|
|
42982
|
+
if (this.mailInfo.actionType !== 'resend') {
|
|
42983
|
+
this.mailInfo.fromAddr = this.defultMail.emailAddr;
|
|
42984
|
+
this.mailContent = '<br/><br/><br/><br/><br/>';
|
|
42985
|
+
if (this.defultMail.signFlag === 1) {
|
|
42986
|
+
this.mailContent += this.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42987
|
+
}
|
|
42988
|
+
this.mailContent += '<hr/>------------------ 原始邮件 ------------------<br/>';
|
|
42989
|
+
}
|
|
42990
|
+
delete this.mailInfo.actionType;
|
|
42991
|
+
this.mailContent += this.mailInfo.content;
|
|
42992
|
+
this.mailInfo.mailMessageId = null;
|
|
42993
|
+
this.mailInfo.id = null;
|
|
42994
|
+
this.mailInfo.sentdate = null;
|
|
42995
|
+
if (this.mailInfo.attachments != null) {
|
|
42996
|
+
this.mailInfo.attachments.forEach(function (attach) {
|
|
42997
|
+
attach.id = null;
|
|
42998
|
+
});
|
|
42999
|
+
}
|
|
43000
|
+
}
|
|
43001
|
+
this.loading = false;
|
|
43002
|
+
this.mailInfo.content = this.mailContent;
|
|
43003
|
+
this.mailInfo.mailType = 2;
|
|
43004
|
+
this.newMailInfo = null;
|
|
43005
|
+
this.$forceUpdate();
|
|
43006
|
+
},
|
|
43007
|
+
// 流程表单转发邮件
|
|
43008
|
+
wflowForwardMail: function wflowForwardMail() {
|
|
43009
|
+
var _this12 = this;
|
|
43010
|
+
var _this = this;
|
|
43011
|
+
this.wfParams = {
|
|
43012
|
+
wfEngineUrl: this.$route.query.wfEngineUrl,
|
|
43013
|
+
busiDataId: this.$route.query.srcBusiDataId
|
|
43014
|
+
};
|
|
43015
|
+
_this.$wfEngine.loadWfInstance(this, this.wfParams).then(function (rst) {
|
|
43016
|
+
if (rst.code === 'success') {
|
|
43017
|
+
_this.$set(_this.mailInfo, 'subject', '【' + _this.wfInstance.wfName + '】' + _this.wfInstance.title);
|
|
43018
|
+
_this.curTN.tnCanEdit = 0;
|
|
43019
|
+
_this.curTN.tnNodeID = null;
|
|
43020
|
+
_this.curTN.tnNodeName = null;
|
|
43021
|
+
_this.srcName = _this.vo.flFormName;
|
|
43022
|
+
var mailAttachs = _this12.mailInfo.attachments || [];
|
|
43023
|
+
_this.attachments.forEach(function (attach) {
|
|
43024
|
+
if (_this.$route.query.fileId && _this.$route.query.fileId.indexOf(attach.id) !== -1) {
|
|
43025
|
+
mailAttachs.push(attach);
|
|
43026
|
+
attach.name = attach.fileName;
|
|
43027
|
+
}
|
|
43028
|
+
});
|
|
43029
|
+
_this.readyList = mailAttachs;
|
|
43030
|
+
new Promise(function (resolve, reject) {
|
|
43031
|
+
_this.loadForm = function (load) {
|
|
43032
|
+
if (load) resolve();
|
|
43033
|
+
};
|
|
43034
|
+
// 加载流程表单和数据
|
|
43035
|
+
var workform = _this12.curTN.workform || _this12.wfInstance.workForm;
|
|
43036
|
+
if (workform.indexOf('@/') === 0) {
|
|
43037
|
+
workform = workform.replace(/@\/mapp/g, '@/wapp');
|
|
43038
|
+
_this.$options.components['BusiForm'] = _this.$loadComponent(workform);
|
|
43039
|
+
_this.$nextTick(function () {
|
|
43040
|
+
_this.formEvents = {
|
|
43041
|
+
onWflowFormOpened: _this.$options.components['BusiForm'].methods.onWflowFormOpened
|
|
43042
|
+
};
|
|
43043
|
+
});
|
|
43044
|
+
} else if (workform.indexOf('/dcontent') !== -1) {
|
|
43045
|
+
workform = workform.split('/dcontent')[1];
|
|
43046
|
+
if (workform.substring(workform.length - 1) === '/') workform = workform.substring(0, workform.length - 1);
|
|
43047
|
+
workform = '#/dcontent/vuebusiform/W/' + workform + '.vue?sysCode=' + _this.wfInstance.sysCode;
|
|
43048
|
+
_this.$options.components['BusiForm'] = _this.$loadComponent(workform);
|
|
43049
|
+
}
|
|
43050
|
+
}).then(function () {
|
|
43051
|
+
// 渲染表单
|
|
43052
|
+
var mailContent = '';
|
|
43053
|
+
var form = document.querySelector('.mail-original-form');
|
|
43054
|
+
var mailContentStyle = '\t<style>\r\n' + '\t\t.form-container form{border:none;padding:0;}\r\n\t ' + '\t\t.form-container .form-header .form-title{font-size: 24px;font-weight: normal;text-align: center;color: #545454;}\r\n\t ' + '\t\t.form-container .form-header .section-title{overflow: hidden;line-height: 22px;}\r\n\t ' + '\t\t.form-container .form-header .section-title .l-text{float: left;margin-bottom: 0px;}\r\n\t ' + '\t\t.form-container .el-table__body{width:100%;margin:0 auto;border:none!important;border-top: 1px solid #EBEEF5!important;border-left: 1px solid #EBEEF5!important} \r\n\t ' + '\t\t.form-container .el-table__body td{padding: 4px;height: 39px;line-height: 39px;border:none!important;border-right: 1px solid #EBEEF5!important;border-bottom: 1px solid #EBEEF5!important;} \r\n\t ' + '\t\t.form-container .el-table__body .tdlbl{text-align: right;font-weight: 600;} \r\n\t ' + '\t\t.form-container .el-table__body .tdcont{text-align: left;font-weight: 400;} \r\n\t ' + '\t\t.form-container .el-table__body .tdw17{width:17%} \r\n\t ' + '\t\t.form-container .el-table__body .tdw33{width:33%}\r\n\t ' + '\t\t.form-container .el-table__body .tdw83{width:83%}\r\n\t ' + '\t\t.form-container .wfIdeas-container td{line-height:20px;}\r\n\t ' + '\t\t.form-container .wfIdeas-container .ideaDiv{ margin: 5px 0;}\r\n\t ' + '\t\t.form-container .wfIdeas-container .ideaDiv p {margin-top: 0px; margin-bottom: 0px;}\r\n\t ' + '\t\t.form-container .wfIdeas-container .ideaDiv span {display:inline-block;}\r\n\t ' + '\t\t.form-container .wfIdeas-container .ideaDiv{min-height: 55px;}\r\n\t ' + '\t\t.form-container .wfIdeas-container .ideaDiv .ideaSignature{max-width:100px;max-height:50px;}\r\n\t' + '\t\t.wflow-container-paper .form-container .form-title{color: #E94243;font-size: 32px;font-weight: bold;text-align: center;margin-bottom: 32px;margin-top: 42px;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform{position: relative;padding: 50px 65px;box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.3);border: 2px solid #BEC0C9;background: #fff;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table__body{border-top-color: #E94243!important;border-left-color: #E94243!important;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td{border-right-color: #E94243!important;border-bottom-color: #E94243!important;font-size: 18px;line-height: normal;height: 70px;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl{ color: #E94243;background: none;text-align: left;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl .required{display: none;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl ::after{content: ":";}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable p{margin:0}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable{line-height: 65px!important;padding: 14px;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable div{line-height: normal!important;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv{line-height: normal;margin-top: 15px;margin-bottom: 0;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv{height: 100%;margin: 0;}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv p:nth-child(even){ text-align: right; margin-top:15px}\r\n\t' + '\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv p span{ width: 50px!important;}\r\n\t' + '</style>\r\n\t';
|
|
43055
|
+
var mailForm = form.innerHTML.replace(/src="\/apigw\//g, 'src="' + location.href.split('/#')[0] + "/apigw" + '/');
|
|
43056
|
+
mailContent = mailContentStyle + mailForm + '<p></p>';
|
|
43057
|
+
_this.uploadForm = false;
|
|
43058
|
+
_this.curTN.tnCanEdit = 1;
|
|
43059
|
+
_this12.$nextTick(function () {
|
|
43060
|
+
_this12.mailInfo.content = mailContent;
|
|
43061
|
+
_this12.wflowEditor = true;
|
|
43062
|
+
});
|
|
43063
|
+
});
|
|
43064
|
+
} else {
|
|
43065
|
+
_this12.$alert(rst.message, '操作提示', {
|
|
43066
|
+
type: 'error'
|
|
43067
|
+
});
|
|
43068
|
+
}
|
|
43069
|
+
});
|
|
43070
|
+
},
|
|
43071
|
+
handleRemoveCopy: function handleRemoveCopy(id, idx) {
|
|
43072
|
+
// this.$refs.upload.handleRemove(file, fileList)// 调用element官方的方法
|
|
43073
|
+
var index = this.readyList.findIndex(function (item) {
|
|
43074
|
+
return item.uid === id;
|
|
43075
|
+
});
|
|
43076
|
+
this.itemlist.splice(idx, 1);
|
|
43077
|
+
this.readyList.splice(index, 1);
|
|
43078
|
+
},
|
|
43079
|
+
// 附件选择列表删除触发方法
|
|
43080
|
+
handleRemove: function handleRemove(file, fileList) {
|
|
43081
|
+
this.readyList = fileList;
|
|
43082
|
+
this.moveFile.push(file);
|
|
43083
|
+
},
|
|
43084
|
+
// 选择附件方法
|
|
43085
|
+
handleChange: function handleChange(file, fileList) {
|
|
43086
|
+
this.uploadAttach = file;
|
|
43087
|
+
if (this.readyList.length > 0) {
|
|
43088
|
+
// 不允许上传同名文件
|
|
43089
|
+
for (var i = 0; i < this.readyList.length; i++) {
|
|
43090
|
+
if (file.name === this.readyList[i].name) {
|
|
43091
|
+
this.$message.warning('“ ' + file.name + ' ” 文件重复,已覆盖该文件');
|
|
43092
|
+
this.readyList.splice(i--, 1);
|
|
43093
|
+
this.readyList.push(file);
|
|
43094
|
+
return false;
|
|
43095
|
+
}
|
|
43096
|
+
}
|
|
43097
|
+
this.readyList.push(file);
|
|
43098
|
+
} else {
|
|
43099
|
+
file.fileName = file.name;
|
|
43100
|
+
this.readyList.push(file);
|
|
43101
|
+
}
|
|
43102
|
+
this.itemlist.push('');
|
|
43103
|
+
this.mailInfo.attachments = this.readyList;
|
|
43104
|
+
this.mailInfo.attachsCount = this.mailInfo.attachments.length;
|
|
43105
|
+
for (var j in this.readyList) {
|
|
43106
|
+
this.readyList[j].fileSize = (this.readyList[j].size / this.pow1024(1)).toFixed(2);
|
|
43107
|
+
}
|
|
43108
|
+
},
|
|
43109
|
+
// 求次幂
|
|
43110
|
+
pow1024: function pow1024(num) {
|
|
43111
|
+
return Math.pow(1024, num);
|
|
43112
|
+
},
|
|
43113
|
+
handleExceed: function handleExceed(files, fileList) {
|
|
43114
|
+
this.$message.warning("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(this.limitNum, "\u4E2A\u6587\u4EF6"));
|
|
43115
|
+
return false;
|
|
43116
|
+
},
|
|
43117
|
+
// 选择邮箱
|
|
43118
|
+
selectMail: function selectMail(value) {
|
|
43119
|
+
if (value) {
|
|
43120
|
+
this.inMail = true;
|
|
43121
|
+
}
|
|
43122
|
+
this.valueMail = value.emailAddr;
|
|
43123
|
+
this.saveMailSetup(value);
|
|
43124
|
+
},
|
|
43125
|
+
// 存草稿
|
|
43126
|
+
// 保存邮件草稿
|
|
43127
|
+
saveDraft: function saveDraft(type) {
|
|
43128
|
+
var _this = this;
|
|
43129
|
+
_this.mailInfo.usersetId = _this.defultMail.id;
|
|
43130
|
+
if (_this.sendList.length > 0) {
|
|
43131
|
+
_this.mailInfo.sendTo = this.sendList.toString();
|
|
43132
|
+
_this.mailInfo.copyTo = this.copyToList.toString();
|
|
43133
|
+
_this.mailInfo.blindCopyTo = this.blindCopyToList.toString();
|
|
43134
|
+
} else {
|
|
43135
|
+
_this.$message.error('请输入收件人!');
|
|
43136
|
+
return false;
|
|
43137
|
+
}
|
|
43138
|
+
_this.formValidate(function () {
|
|
43139
|
+
_this.loading = true;
|
|
43140
|
+
_this.mailInfo.onlyOne = _this.qfdx ? 1 : 0;
|
|
43141
|
+
var url = _this.moduleInfo.saveDraftUrl;
|
|
43142
|
+
var dataSend = {
|
|
43143
|
+
userSetupId: _this.defultMail.id
|
|
43144
|
+
};
|
|
43145
|
+
return new Promise(function (resolve, reject) {
|
|
43146
|
+
_this.$http({
|
|
43147
|
+
method: 'POST',
|
|
43148
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
43149
|
+
params: dataSend,
|
|
43150
|
+
data: _this.mailInfo,
|
|
43151
|
+
url: url
|
|
43152
|
+
}).then(function (data) {
|
|
43153
|
+
if (data.code === 'success') {
|
|
43154
|
+
_this.mailInfo.mailMessageId = data.body.mailMessageId;
|
|
43155
|
+
_this.mailInfo.id = data.body.shipId;
|
|
43156
|
+
// 上传文件
|
|
43157
|
+
if (_this.readyList != null && _this.readyList.length > 0) {
|
|
43158
|
+
_this.fileUploadFuc(type);
|
|
43159
|
+
} else {
|
|
43160
|
+
if (type === 'send') {
|
|
43161
|
+
_this.sendMail();
|
|
43162
|
+
} else {
|
|
43163
|
+
_this.loading = false;
|
|
43164
|
+
_this.$message.success('保存草稿成功');
|
|
43165
|
+
// _this.newMail('againMail')
|
|
43166
|
+
}
|
|
43167
|
+
}
|
|
43168
|
+
} else {
|
|
43169
|
+
_this.loading = false;
|
|
43170
|
+
_this.$message.error(data.message);
|
|
43171
|
+
}
|
|
43172
|
+
resolve(data);
|
|
43173
|
+
}).catch(function (err) {
|
|
43174
|
+
reject(err);
|
|
43175
|
+
});
|
|
43176
|
+
});
|
|
43177
|
+
});
|
|
43178
|
+
},
|
|
43179
|
+
// * 上传附件
|
|
43180
|
+
fileUploadFuc: function fileUploadFuc(type) {
|
|
43181
|
+
var _this = this;
|
|
43182
|
+
// 两种上传接口 处理 草稿和转发和再次发送操作带过来的旧附件 和 新上传的附件
|
|
43183
|
+
var url = '/mail/attach/upload';
|
|
43184
|
+
if (_this.readyList.length === 0) {
|
|
43185
|
+
_this.$messages.info('请选择导入文件');
|
|
43186
|
+
} else {
|
|
43187
|
+
_this.mailInfo.attachments = [];
|
|
43188
|
+
_this.readyList.forEach(function (file, index) {
|
|
43189
|
+
var data = new FormData();
|
|
43190
|
+
data.append('module', 'DRAFT');
|
|
43191
|
+
data.append('fileLevel', _this.itemlist[file]);
|
|
43192
|
+
var moveFilarr = [];
|
|
43193
|
+
if (_this.moveFile.length > 0) {
|
|
43194
|
+
_this.moveFile.forEach(function (item) {
|
|
43195
|
+
if (item.id) {
|
|
43196
|
+
moveFilarr.push(item.id);
|
|
43197
|
+
}
|
|
43198
|
+
});
|
|
43199
|
+
}
|
|
43200
|
+
if (moveFilarr.length > 0) {
|
|
43201
|
+
_this.$app.deleteByIds('/mail/attach/deleted', moveFilarr);
|
|
43202
|
+
}
|
|
43203
|
+
if (file.id || _this.$route.query.srcBusiDataId) {
|
|
43204
|
+
// debugger
|
|
43205
|
+
// if (_this.$route.query.srcBusiDataId) {
|
|
43206
|
+
// // 公文转发,文件分享
|
|
43207
|
+
// data.append('busiDataId', _this.mailInfo.mailMessageId)
|
|
43208
|
+
// data.append('attachsType', 'ATTACH')
|
|
43209
|
+
// data.append('attachsSize', file.size)
|
|
43210
|
+
// data.append('attachsName', file.name)
|
|
43211
|
+
// data.append('file', file.raw)
|
|
43212
|
+
// data.append('usersetId', _this.defultMail.id)
|
|
43213
|
+
// url = '/mail/attach/upload'
|
|
43214
|
+
// _this.uploadDdta = data
|
|
43215
|
+
// } else {
|
|
43216
|
+
// // 邮件转发
|
|
43217
|
+
// url = '/mail/attach/tranUpload'
|
|
43218
|
+
// data.append('id', file.id)
|
|
43219
|
+
// data.append('busiDataId', _this.mailInfo.mailMessageId)
|
|
43220
|
+
// // 如果是草稿邮件 就标记一下
|
|
43221
|
+
// if (_this.mailInfo.sentdate === null) {
|
|
43222
|
+
// data.append('isDraft', 1)
|
|
43223
|
+
// _this.mailInfo.attachments.push(file)
|
|
43224
|
+
// }
|
|
43225
|
+
|
|
43226
|
+
// _this.uploadDdta = data
|
|
43227
|
+
// }
|
|
43228
|
+
// if ((_this.$route.query.srcBusiDataId && _this.$route.query.srcBusiDataId === '文件中心' && !_this.readyList.raw) || _this.$route.query.busiCode === 'fawen') {
|
|
43229
|
+
if (_this.readyList[0].status === 'success' && !_this.$route.query.busiCode) {
|
|
43230
|
+
console.log('123');
|
|
43231
|
+
url = '/mail/attach/tranUpload';
|
|
43232
|
+
data.append('usersetId', _this.defultMail.id);
|
|
43233
|
+
data.append('id', file.id);
|
|
43234
|
+
data.append('busiDataId', _this.mailInfo.mailMessageId);
|
|
43235
|
+
// 如果是草稿邮件 就标记一下
|
|
43236
|
+
if (_this.mailInfo.sentdate === null) {
|
|
43237
|
+
data.append('isDraft', 1);
|
|
43238
|
+
_this.mailInfo.attachments.push(file);
|
|
43239
|
+
}
|
|
43240
|
+
_this.uploadDdta = data;
|
|
43241
|
+
} else if (_this.readyList[0].status === 'ready' && !_this.$route.query.busiCode) {
|
|
43242
|
+
console.log('456');
|
|
43243
|
+
// 公文转发,文件分享
|
|
43244
|
+
data.append('busiDataId', _this.mailInfo.mailMessageId);
|
|
43245
|
+
data.append('attachsType', 'ATTACH');
|
|
43246
|
+
data.append('attachsSize', file.size);
|
|
43247
|
+
data.append('attachsName', file.name);
|
|
43248
|
+
data.append('file', file.raw);
|
|
43249
|
+
data.append('usersetId', _this.defultMail.id);
|
|
43250
|
+
url = '/mail/attach/upload';
|
|
43251
|
+
_this.uploadDdta = data;
|
|
43252
|
+
} else {
|
|
43253
|
+
console.log('789');
|
|
43254
|
+
url = '/mail/attach/forwardUpload';
|
|
43255
|
+
_this.uploadDdta = file;
|
|
43256
|
+
}
|
|
43257
|
+
debugger;
|
|
43258
|
+
_this.$http({
|
|
43259
|
+
method: 'POST',
|
|
43260
|
+
url: url,
|
|
43261
|
+
data: _this.uploadDdta
|
|
43262
|
+
}).then(function successCallback(response) {
|
|
43263
|
+
if (response.code === 'success') {
|
|
43264
|
+
if (response.body.uploadAttach && response.body.uploadAttach.length > 0) {
|
|
43265
|
+
var _this$mailInfo$attach;
|
|
43266
|
+
(_this$mailInfo$attach = _this.mailInfo.attachments).push.apply(_this$mailInfo$attach, xieyoujianvue_type_script_lang_js_toConsumableArray(response.body.uploadAttach));
|
|
43267
|
+
}
|
|
43268
|
+
if (type === 'send' && index === _this.readyList.length - 1) {
|
|
43269
|
+
if (_this.readyList.length) {
|
|
43270
|
+
if (type === 'send') {
|
|
43271
|
+
_this.sendMail();
|
|
43272
|
+
}
|
|
43273
|
+
}
|
|
43274
|
+
} else {
|
|
43275
|
+
_this.loading = false;
|
|
43276
|
+
if (index === _this.readyList.length - 1) {
|
|
43277
|
+
_this.$message.success('保存草稿成功');
|
|
43278
|
+
// _this.newMail('againMail')
|
|
43279
|
+
}
|
|
43280
|
+
}
|
|
43281
|
+
} else {
|
|
43282
|
+
_this.$message.error(response.message);
|
|
43283
|
+
return false;
|
|
43284
|
+
}
|
|
43285
|
+
});
|
|
43286
|
+
} else {
|
|
43287
|
+
data.append('busiDataId', _this.mailInfo.mailMessageId);
|
|
43288
|
+
data.append('attachsType', 'ATTACH');
|
|
43289
|
+
data.append('attachsSize', file.size);
|
|
43290
|
+
data.append('attachsName', file.name);
|
|
43291
|
+
data.append('file', file.raw);
|
|
43292
|
+
data.append('usersetId', _this.defultMail.id);
|
|
43293
|
+
url = '/mail/attach/upload';
|
|
43294
|
+
_this.uploadDdta = data;
|
|
43295
|
+
_this.$http({
|
|
43296
|
+
method: 'POST',
|
|
43297
|
+
url: url,
|
|
43298
|
+
data: _this.uploadDdta
|
|
43299
|
+
}).then(function successCallback(response) {
|
|
43300
|
+
if (response.code === 'success') {
|
|
43301
|
+
_this.mailInfo.attachments.push(response.body.uploadAttachList[0]);
|
|
43302
|
+
if (type === 'send' && index === _this.readyList.length - 1) {
|
|
43303
|
+
if (_this.readyList.length) {
|
|
43304
|
+
if (type === 'send') {
|
|
43305
|
+
_this.sendMail();
|
|
43306
|
+
}
|
|
43307
|
+
}
|
|
43308
|
+
} else {
|
|
43309
|
+
_this.loading = false;
|
|
43310
|
+
if (index === _this.readyList.length - 1) {
|
|
43311
|
+
_this.$message.success('保存草稿成功');
|
|
43312
|
+
// _this.newMail('againMail')
|
|
43313
|
+
}
|
|
43314
|
+
}
|
|
43315
|
+
} else {
|
|
43316
|
+
_this.loading = false;
|
|
43317
|
+
_this.$message.error(response.message);
|
|
43318
|
+
return false;
|
|
43319
|
+
}
|
|
43320
|
+
});
|
|
43321
|
+
}
|
|
43322
|
+
});
|
|
43323
|
+
}
|
|
43324
|
+
},
|
|
43325
|
+
// 发送互联网邮件
|
|
43326
|
+
sendMail: function sendMail() {
|
|
43327
|
+
var _this = this;
|
|
43328
|
+
_this.mailInfo.usersetId = _this.defultMail.id;
|
|
43329
|
+
if (_this.sendList.length > 0) {
|
|
43330
|
+
_this.mailInfo.sendTo = this.sendList.toString();
|
|
43331
|
+
_this.mailInfo.copyTo = this.copyToList.toString();
|
|
43332
|
+
_this.mailInfo.blindCopyTo = this.blindCopyToList.toString();
|
|
43333
|
+
} else {
|
|
43334
|
+
_this.$message.error('请输入收件人!');
|
|
43335
|
+
return false;
|
|
43336
|
+
}
|
|
43337
|
+
this.formValidate(function () {
|
|
43338
|
+
_this.loading = true;
|
|
43339
|
+
var url = _this.moduleInfo.sendMailUrl;
|
|
43340
|
+
var dataSend = {
|
|
43341
|
+
userSetupId: _this.defultMail.id
|
|
43342
|
+
};
|
|
43343
|
+
_this.$http({
|
|
43344
|
+
method: 'POST',
|
|
43345
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
43346
|
+
params: dataSend,
|
|
43347
|
+
data: _this.mailInfo,
|
|
43348
|
+
url: url
|
|
43349
|
+
}).then(function successCallback(response) {
|
|
43350
|
+
_this.loading = false;
|
|
43351
|
+
if (response.code === 'success') {
|
|
43352
|
+
if (_this.$route.query.srcBusiDataId) {
|
|
43353
|
+
_this.$alert(response.message, '操作提示', {
|
|
43354
|
+
type: 'success'
|
|
43355
|
+
});
|
|
43356
|
+
window.setTimeout(function () {
|
|
43357
|
+
window.close();
|
|
43358
|
+
}, 1500);
|
|
43359
|
+
} else {
|
|
43360
|
+
_this.$message.success(response.message);
|
|
43361
|
+
_this.mailInfo.sended = true;
|
|
43362
|
+
_this.readyList = [];
|
|
43363
|
+
}
|
|
43364
|
+
} else {
|
|
43365
|
+
if (response.message.indexOf('Authentication failed') > 0) {
|
|
43366
|
+
this.$alert('请前往邮箱中心检验邮箱用户密码或授权码是否正确', '提示', {
|
|
43367
|
+
type: 'warning'
|
|
43368
|
+
});
|
|
43369
|
+
} else {
|
|
43370
|
+
_this.$message.error(response.message);
|
|
43371
|
+
}
|
|
43372
|
+
}
|
|
43373
|
+
}).catch(function (err) {
|
|
43374
|
+
_this.$message.error(err);
|
|
43375
|
+
_this.loading = false;
|
|
43376
|
+
});
|
|
43377
|
+
});
|
|
43378
|
+
},
|
|
43379
|
+
// 快速匹配
|
|
43380
|
+
selectEmailFuc: function selectEmailFuc(val) {
|
|
43381
|
+
var _this = this;
|
|
43382
|
+
var mailText = val === 1 ? _this.sendListInput : val === 2 ? _this.copyToInput : _this.blindCopyToInput;
|
|
43383
|
+
if (mailText.trim() === '') {
|
|
43384
|
+
_this.closeLink = false;
|
|
43385
|
+
return false;
|
|
43386
|
+
}
|
|
43387
|
+
var time = '';
|
|
43388
|
+
clearTimeout(time);
|
|
43389
|
+
time = setTimeout(function () {
|
|
43390
|
+
_this.$bus.emit('quickSearchPerson', mailText);
|
|
43391
|
+
}, 500);
|
|
43392
|
+
},
|
|
43393
|
+
// 选择邮箱 设置默认邮箱
|
|
43394
|
+
saveMailSetup: function saveMailSetup(value) {
|
|
43395
|
+
var _this = this;
|
|
43396
|
+
value.isDefault = 1;
|
|
43397
|
+
_this.$http({
|
|
43398
|
+
method: 'put',
|
|
43399
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
43400
|
+
data: value,
|
|
43401
|
+
url: 'mail/userSetup/update'
|
|
43402
|
+
}).then(function successCallback(response) {
|
|
43403
|
+
if (response.code === 'success') {
|
|
43404
|
+
_this.defultMail = value;
|
|
43405
|
+
// console.log(_this.$refs.txl)
|
|
43406
|
+
// console.log(response)
|
|
43407
|
+
}
|
|
43408
|
+
});
|
|
43409
|
+
},
|
|
43410
|
+
// 选择快速匹配出来的人
|
|
43411
|
+
clickLink: function clickLink(val) {
|
|
43412
|
+
var errRes = null;
|
|
43413
|
+
(this.focusInput === 1 ? this.sendList : this.focusInput === 2 ? this.copyToList : this.blindCopyToList).forEach(function (item, index) {
|
|
43414
|
+
if (item === val) {
|
|
43415
|
+
errRes = 1;
|
|
43416
|
+
}
|
|
43417
|
+
});
|
|
43418
|
+
if (errRes === 1) {
|
|
43419
|
+
this.$message.warning('已存在该收件人!');
|
|
43420
|
+
return false;
|
|
43421
|
+
} else {
|
|
43422
|
+
if (this.focusInput === 1) {
|
|
43423
|
+
this.sendList.push(val);
|
|
43424
|
+
this.sendListInput = '';
|
|
43425
|
+
} else if (this.focusInput === 2) {
|
|
43426
|
+
this.copyToList.push(val);
|
|
43427
|
+
this.copyToInput = '';
|
|
43428
|
+
} else {
|
|
43429
|
+
this.blindCopyToList.push(val);
|
|
43430
|
+
this.blindCopyToInput = '';
|
|
43431
|
+
}
|
|
43432
|
+
this.closeLink = false;
|
|
43433
|
+
}
|
|
43434
|
+
},
|
|
43435
|
+
// 手动输入的邮箱账号, 失去焦点后去验证输入的的邮件格式
|
|
43436
|
+
keyUpFuc: function keyUpFuc() {
|
|
43437
|
+
var _this13 = this;
|
|
43438
|
+
var emailDomain = null;
|
|
43439
|
+
if (this.closeLink === false) {
|
|
43440
|
+
if ((this.focusInput === 1 ? this.sendListInput : this.focusInput === 2 ? this.copyToInput : this.blindCopyToInput).trim() !== '') {
|
|
43441
|
+
var errRes = null;
|
|
43442
|
+
// 验证当前为内部邮箱时,是否需要绑定外部邮箱
|
|
43443
|
+
if (this.defultMail.emailReceiveType === null) {
|
|
43444
|
+
emailDomain = '@' + this.defultMail.emailAddr.split('@')[1];
|
|
43445
|
+
if (!this.defultMail.internetEmailAddr) {
|
|
43446
|
+
if ((this.focusInput === 1 ? this.sendListInput : this.focusInput === 2 ? this.copyToInput : this.blindCopyToInput).indexOf(emailDomain) === -1) {
|
|
43447
|
+
this.$alert('请先前往邮箱中心绑定外部邮箱', '提示', {
|
|
43448
|
+
type: 'warning'
|
|
43449
|
+
});
|
|
43450
|
+
return false;
|
|
43451
|
+
}
|
|
43452
|
+
}
|
|
43453
|
+
}
|
|
43454
|
+
// 验证手动输入的与已经存在的是否重复
|
|
43455
|
+
(this.focusInput === 1 ? this.sendList : this.focusInput === 2 ? this.copyToList : this.blindCopyToList).forEach(function (item, index) {
|
|
43456
|
+
if (item === (_this13.focusInput === 1 ? _this13.sendListInput : _this13.focusInput === 2 ? _this13.copyToInput : _this13.blindCopyToInput)) {
|
|
43457
|
+
errRes = 1;
|
|
43458
|
+
}
|
|
43459
|
+
});
|
|
43460
|
+
// const emailList = []
|
|
43461
|
+
// emailList.push(...this.sendList, ...this.copyToList, ...this.blindCopyToList)
|
|
43462
|
+
// emailList.forEach((item, index) => {
|
|
43463
|
+
// if (item === (this.focusInput === 1 ? this.sendListInput : this.focusInput === 2 ? this.copyToInput : this.blindCopyToInput)) {
|
|
43464
|
+
// errRes = 2
|
|
43465
|
+
// }
|
|
43466
|
+
// })
|
|
43467
|
+
|
|
43468
|
+
if (errRes === 1) {
|
|
43469
|
+
if (this.focusInput === 1) {
|
|
43470
|
+
this.$message.warning('已存在该收件人!');
|
|
43471
|
+
}
|
|
43472
|
+
if (this.focusInput === 2) {
|
|
43473
|
+
this.$message.warning('已存在该抄送人!');
|
|
43474
|
+
}
|
|
43475
|
+
if (this.focusInput === 3) {
|
|
43476
|
+
this.$message.warning('已存在该密送人!');
|
|
43477
|
+
}
|
|
43478
|
+
return false;
|
|
43479
|
+
} else {
|
|
43480
|
+
if (this.focusInput === 1) {
|
|
43481
|
+
this.sendList.push(this.sendListInput);
|
|
43482
|
+
this.isEmail(this.sendListInput);
|
|
43483
|
+
this.sendListInput = '';
|
|
43484
|
+
} else if (this.focusInput === 2) {
|
|
43485
|
+
this.copyToList.push(this.copyToInput);
|
|
43486
|
+
this.isEmail(this.copyToInput);
|
|
43487
|
+
this.copyToInput = '';
|
|
43488
|
+
} else {
|
|
43489
|
+
this.blindCopyToList.push(this.blindCopyToInput);
|
|
43490
|
+
this.isEmail(this.blindCopyToInput);
|
|
43491
|
+
this.blindCopyToInput = '';
|
|
43492
|
+
}
|
|
43493
|
+
}
|
|
43494
|
+
|
|
43495
|
+
// else if (errRes === 2) {
|
|
43496
|
+
// this.$message.error('邮箱不可重复!')
|
|
43497
|
+
// if (this.focusInput === 1) {
|
|
43498
|
+
// this.sendListInput = ''
|
|
43499
|
+
// } else if (this.focusInput === 2) {
|
|
43500
|
+
// this.copyToInput = ''
|
|
43501
|
+
// } else {
|
|
43502
|
+
// this.blindCopyToInput = ''
|
|
43503
|
+
// }
|
|
43504
|
+
// return false
|
|
43505
|
+
// }
|
|
43506
|
+
}
|
|
43507
|
+
}
|
|
43508
|
+
},
|
|
43509
|
+
removeMail: function removeMail(index, val) {
|
|
43510
|
+
if (val === 1) {
|
|
43511
|
+
this.sendList.splice(index, 1);
|
|
43512
|
+
} else if (val === 2) {
|
|
43513
|
+
this.copyToList.splice(index, 1);
|
|
43514
|
+
} else {
|
|
43515
|
+
this.blindCopyToList.splice(index, 1);
|
|
43516
|
+
}
|
|
43517
|
+
},
|
|
43518
|
+
// 判断 是否邮箱格式
|
|
43519
|
+
isEmail: function isEmail(val) {
|
|
43520
|
+
var _this14 = this;
|
|
43521
|
+
(this.focusInput === 1 ? this.sendList : this.focusInput === 2 ? this.copyToList : this.blindCopyToList).forEach(function (item, index) {
|
|
43522
|
+
var reg = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
|
|
43523
|
+
if (item === val) {
|
|
43524
|
+
if (!reg.test(val)) {
|
|
43525
|
+
(_this14.focusInput === 1 ? _this14.sendList : _this14.focusInput === 2 ? _this14.copyToList : _this14.blindCopyToList).splice(index, 1);
|
|
43526
|
+
_this14.$message.error('邮件格式不正确!');
|
|
43527
|
+
}
|
|
43528
|
+
}
|
|
43529
|
+
});
|
|
43530
|
+
},
|
|
43531
|
+
focusInputFuc: function focusInputFuc(val) {
|
|
43532
|
+
this.focusInput = val;
|
|
43533
|
+
},
|
|
43534
|
+
unique: function unique(arr) {
|
|
43535
|
+
var res = [];
|
|
43536
|
+
var obj = {};
|
|
43537
|
+
for (var i = 0; i < arr.length; i++) {
|
|
43538
|
+
if (!obj[arr[i].name]) {
|
|
43539
|
+
obj[arr[i].name] = 1;
|
|
43540
|
+
res.push(arr[i]);
|
|
43541
|
+
}
|
|
43542
|
+
}
|
|
43543
|
+
return res;
|
|
43544
|
+
},
|
|
43545
|
+
getDefultMail: function getDefultMail() {
|
|
43546
|
+
var _this15 = this;
|
|
43547
|
+
var currentMail = sessionStorage.getItem('currentMail');
|
|
43548
|
+
if (currentMail !== null && currentMail !== '' && currentMail !== undefined) {
|
|
43549
|
+
this.defultMail = JSON.parse(currentMail);
|
|
43550
|
+
return;
|
|
43551
|
+
}
|
|
43552
|
+
var _this = this;
|
|
43553
|
+
// 进入页面时,先检查是否存在数据,若有,则调用该数据;若无,先初始化.
|
|
43554
|
+
this.$http({
|
|
43555
|
+
method: 'GET',
|
|
43556
|
+
contentType: 'application/json',
|
|
43557
|
+
url: 'mail/userSetup/queryMyMailSetup'
|
|
43558
|
+
}).then(function (response) {
|
|
43559
|
+
if (response.code === 'success') {
|
|
43560
|
+
_this.accountList = response.body.listdata;
|
|
43561
|
+
if (_this.accountList && _this.accountList.length > 0) {
|
|
43562
|
+
// 第一个邮箱设置为默认邮箱
|
|
43563
|
+
_this.defultMail = _this.accountList[0];
|
|
43564
|
+
// 检查是否有外部邮箱
|
|
43565
|
+
}
|
|
43566
|
+
} else {
|
|
43567
|
+
_this.$message.error(response.message);
|
|
43568
|
+
}
|
|
43569
|
+
_this15.loading = false;
|
|
43570
|
+
}, function (err) {
|
|
43571
|
+
_this.$message.error(err);
|
|
43572
|
+
});
|
|
43573
|
+
},
|
|
43574
|
+
// 返回图片路径
|
|
43575
|
+
imgUrl: function imgUrl(item) {
|
|
43576
|
+
var extName = item.name.substring(item.name.lastIndexOf('.'));
|
|
43577
|
+
var extList = [['image', '.gif', '.bmp', '.jpg', '.tga', '.png', '.jpeg', '.svg'], ['doc', '.ppt', '.pptx', '.xls', '.xlsx', '.doc', '.docx', '.pdf', '.pdfx', '.txt'], ['zip', '.zip', '.rar', '.7z', '.z'], ['video', '.wmv', '.asf', '.asx', '.rm', '.rmvb', '.mp4', '.3gp', '.mov', '.m4v', '.avij', '.mk', '.f1v', '.vob'], ['audio', '.wav', '.midi', '.cda', '.mp3', '.mp3pro', '.wma', '.sacd']];
|
|
43578
|
+
var firstIndex = null;
|
|
43579
|
+
var secondIndex = null;
|
|
43580
|
+
for (var i in extList) {
|
|
43581
|
+
for (var j in extList[i]) {
|
|
43582
|
+
if (extList[i][j] === extName) {
|
|
43583
|
+
firstIndex = i;
|
|
43584
|
+
secondIndex = j;
|
|
43585
|
+
break;
|
|
43586
|
+
}
|
|
43587
|
+
}
|
|
43588
|
+
}
|
|
43589
|
+
if (firstIndex) {
|
|
43590
|
+
if (extList[firstIndex][0] === 'doc') {
|
|
43591
|
+
// 文档
|
|
43592
|
+
if (extList[firstIndex][secondIndex] === '.doc' || extList[firstIndex][secondIndex] === '.docx') {
|
|
43593
|
+
return 'images/w-imgs/email/word.png';
|
|
43594
|
+
}
|
|
43595
|
+
if (extList[firstIndex][secondIndex] === '.ppt' || extList[firstIndex][secondIndex] === '.pptx') {
|
|
43596
|
+
return 'images/w-imgs/email/ppt.png';
|
|
43597
|
+
}
|
|
43598
|
+
if (extList[firstIndex][secondIndex] === '.xls' || extList[firstIndex][secondIndex] === '.xlsx') {
|
|
43599
|
+
return 'images/w-imgs/email/excel.png';
|
|
43600
|
+
}
|
|
43601
|
+
if (extList[firstIndex][secondIndex] === '.pdf') {
|
|
43602
|
+
return 'images/w-imgs/email/pdf.png';
|
|
43603
|
+
}
|
|
43604
|
+
if (extList[firstIndex][secondIndex] === '.txt') {
|
|
43605
|
+
return 'images/w-imgs/email/txt.png';
|
|
43606
|
+
}
|
|
43607
|
+
} else if (extList[firstIndex][0] === 'audio') {
|
|
43608
|
+
return 'images/w-imgs/email/audio.png';
|
|
43609
|
+
} else if (extList[firstIndex][0] === 'video') {
|
|
43610
|
+
return 'images/w-imgs/email/video.png';
|
|
43611
|
+
} else if (extList[firstIndex][0] === 'zip') {
|
|
43612
|
+
return 'images/w-imgs/email/zip.png';
|
|
43613
|
+
} else if (extList[firstIndex][0] === 'image') {
|
|
43614
|
+
return 'images/w-imgs/email/picture.png';
|
|
43615
|
+
}
|
|
43616
|
+
} else {
|
|
43617
|
+
return 'images/w-imgs/email/other.png';
|
|
43618
|
+
}
|
|
43619
|
+
}
|
|
43620
|
+
}
|
|
43621
|
+
});
|
|
43622
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/sendMail/xieyoujian.vue?vue&type=script&lang=js
|
|
43623
|
+
/* harmony default export */ var src_sendMail_xieyoujianvue_type_script_lang_js = (sendMail_xieyoujianvue_type_script_lang_js);
|
|
43624
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/sendMail/xieyoujian.vue?vue&type=style&index=0&id=8e154266&prod&lang=scss&scoped=true
|
|
43625
|
+
var xieyoujianvue_type_style_index_0_id_8e154266_prod_lang_scss_scoped_true = __webpack_require__(4428);
|
|
43626
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/sendMail/xieyoujian.vue?vue&type=style&index=0&id=8e154266&prod&lang=scss&scoped=true
|
|
43627
|
+
|
|
43628
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/sendMail/xieyoujian.vue
|
|
43629
|
+
|
|
43630
|
+
|
|
43631
|
+
|
|
43632
|
+
;
|
|
43633
|
+
|
|
43634
|
+
|
|
43635
|
+
/* normalize component */
|
|
43636
|
+
|
|
43637
|
+
var sendMail_xieyoujian_component = normalizeComponent(
|
|
43638
|
+
src_sendMail_xieyoujianvue_type_script_lang_js,
|
|
43639
|
+
xieyoujianvue_type_template_id_8e154266_scoped_true_render,
|
|
43640
|
+
xieyoujianvue_type_template_id_8e154266_scoped_true_staticRenderFns,
|
|
43641
|
+
false,
|
|
43642
|
+
null,
|
|
43643
|
+
"8e154266",
|
|
43644
|
+
null
|
|
43645
|
+
|
|
43646
|
+
)
|
|
43647
|
+
|
|
43648
|
+
/* harmony default export */ var sendMail_xieyoujian = (sendMail_xieyoujian_component.exports);
|
|
43649
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/index.js
|
|
43650
|
+
function email_typeof(o) { "@babel/helpers - typeof"; return email_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; }, email_typeof(o); }
|
|
43651
|
+
function email_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; }
|
|
43652
|
+
function email_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? email_ownKeys(Object(t), !0).forEach(function (r) { email_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : email_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43653
|
+
function email_defineProperty(e, r, t) { return (r = email_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
43654
|
+
function email_toPropertyKey(t) { var i = email_toPrimitive(t, "string"); return "symbol" == email_typeof(i) ? i : i + ""; }
|
|
43655
|
+
function email_toPrimitive(t, r) { if ("object" != email_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != email_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
43656
|
+
// index
|
|
43657
|
+
|
|
43658
|
+
|
|
43659
|
+
|
|
43660
|
+
|
|
43661
|
+
|
|
43662
|
+
|
|
43663
|
+
|
|
43664
|
+
|
|
43665
|
+
// portlel
|
|
43666
|
+
|
|
43667
|
+
// components
|
|
43668
|
+
|
|
43669
|
+
|
|
43670
|
+
|
|
40939
43671
|
|
|
40940
43672
|
|
|
40941
43673
|
|
|
40942
43674
|
|
|
43675
|
+
// sendMail
|
|
40943
43676
|
|
|
40944
43677
|
|
|
40945
43678
|
// 以数组的结构保存组件,便于遍历
|
|
@@ -40958,7 +43691,8 @@ var components = {
|
|
|
40958
43691
|
EmailLeftMenu: LeftMenu,
|
|
40959
43692
|
EmailTbColumns: tbColumns,
|
|
40960
43693
|
EmailTbColumnsWatch: tbColumnsWatch,
|
|
40961
|
-
EmailTxl: txl
|
|
43694
|
+
EmailTxl: txl,
|
|
43695
|
+
EmailSendMail: sendMail_xieyoujian
|
|
40962
43696
|
};
|
|
40963
43697
|
// 定义 install 方法
|
|
40964
43698
|
var email_install = function install(Vue) {
|