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