ecinc-cloud-yoaemail 9.6.247 → 9.6.249
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ecyoaemail.common.js +799 -358
- package/lib/ecyoaemail.umd.js +799 -358
- package/lib/ecyoaemail.umd.min.js +6 -6
- package/package.json +1 -1
package/lib/ecyoaemail.common.js
CHANGED
|
@@ -2391,7 +2391,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".widthChange[data-v-45c17f86] .el-tabl
|
|
|
2391
2391
|
|
|
2392
2392
|
/***/ }),
|
|
2393
2393
|
|
|
2394
|
-
/***/
|
|
2394
|
+
/***/ 8732:
|
|
2395
2395
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2396
2396
|
|
|
2397
2397
|
"use strict";
|
|
@@ -2405,7 +2405,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2405
2405
|
|
|
2406
2406
|
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()));
|
|
2407
2407
|
// Module
|
|
2408
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".left_account ul[data-v-
|
|
2408
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".left_account ul[data-v-08555dbc]{margin:0;padding:0}.left_account ul li[data-v-08555dbc],.top[data-v-08555dbc]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-08555dbc] .el-checkbox__label{line-height:14px!important}", ""]);
|
|
2409
2409
|
// Exports
|
|
2410
2410
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2411
2411
|
|
|
@@ -2433,7 +2433,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".el-dialog-div[data-v-ad99ca52]{height
|
|
|
2433
2433
|
|
|
2434
2434
|
/***/ }),
|
|
2435
2435
|
|
|
2436
|
-
/***/
|
|
2436
|
+
/***/ 4965:
|
|
2437
2437
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2438
2438
|
|
|
2439
2439
|
"use strict";
|
|
@@ -2447,7 +2447,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2447
2447
|
|
|
2448
2448
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
2449
2449
|
// Module
|
|
2450
|
-
___CSS_LOADER_EXPORT___.push([module.id, ":export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.appname{margin-left:-5px}.el-menu--popup{overflow:hidden;border-radius:3px}.nest-menu.notop{border-top:none!important}.nest-menu.notop .el-menu-item{background-color:#384b63!important;border-bottom:1px dotted #777;height:50px;line-height:50px}.nest-menu.notop .el-menu-item.is-active{color:#fff!important}.nest-menu.notop .el-menu-item.is-active:after{right:0}.nest-menu.notop .el-menu-item:hover{background-color:#445c80!important;color:#fff!important}.nest-menu.notop:last-child .el-menu-item{border-bottom:none}.el-menu-item{height:50px}.std-scrollbar-wrapper{background-color:var(--lmBgColor);border-right:1px solid #e6e6e6}.std-scrollbar-wrapper .el-submenu__title:hover,.std-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:var(--lmBgColorActive) !important!important}.std-scrollbar-wrapper .is-active>.el-submenu__title{color:var(--lmTextColorActive)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:var(--lmBgColor)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item:hover,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:hsla(193,8%,67%,.42)!important}.dark-scrollbar-wrapper{background-color:#304156;border-right:1px solid #304156}.dark-scrollbar-wrapper .el-submenu__title:hover,.dark-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:#263445!important}.dark-scrollbar-wrapper .is-active>.el-submenu__title{color:#fff}.dark-scrollbar-wrapper .el-submenu .el-menu-item,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:#384b63!important;border-bottom:none}.dark-scrollbar-wrapper .el-submenu .el-menu-item.is-active,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title.is-active{color:#fff!important}.dark-scrollbar-wrapper .el-submenu .el-menu-item:hover,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#445c80!important;color:#fff!important}/deep/.topBtn-wrapper{text-align:center;height:55px}.separate{height:10px;background-color:#fff}.writeEmail{position:relative;justify-items:start;margin:0;border-radius:2px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;line-height:49px;border:1px solid #eee;text-align:center;background-color:#fff;height:31px;margin:
|
|
2450
|
+
___CSS_LOADER_EXPORT___.push([module.id, ":export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.appname{margin-left:-5px}.el-menu--popup{overflow:hidden;border-radius:3px}.nest-menu.notop{border-top:none!important}.nest-menu.notop .el-menu-item{background-color:#384b63!important;border-bottom:1px dotted #777;height:50px;line-height:50px}.nest-menu.notop .el-menu-item.is-active{color:#fff!important}.nest-menu.notop .el-menu-item.is-active:after{right:0}.nest-menu.notop .el-menu-item:hover{background-color:#445c80!important;color:#fff!important}.nest-menu.notop:last-child .el-menu-item{border-bottom:none}.el-menu-item{height:50px}.std-scrollbar-wrapper{background-color:var(--lmBgColor);border-right:1px solid #e6e6e6}.std-scrollbar-wrapper .el-submenu__title:hover,.std-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:var(--lmBgColorActive) !important!important}.std-scrollbar-wrapper .is-active>.el-submenu__title{color:var(--lmTextColorActive)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:var(--lmBgColor)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item:hover,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:hsla(193,8%,67%,.42)!important}.dark-scrollbar-wrapper{background-color:#304156;border-right:1px solid #304156}.dark-scrollbar-wrapper .el-submenu__title:hover,.dark-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:#263445!important}.dark-scrollbar-wrapper .is-active>.el-submenu__title{color:#fff}.dark-scrollbar-wrapper .el-submenu .el-menu-item,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:#384b63!important;border-bottom:none}.dark-scrollbar-wrapper .el-submenu .el-menu-item.is-active,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title.is-active{color:#fff!important}.dark-scrollbar-wrapper .el-submenu .el-menu-item:hover,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#445c80!important;color:#fff!important}/deep/.topBtn-wrapper{text-align:center;height:55px}.separate{height:10px;background-color:#fff}.writeEmail{position:relative;justify-items:start;margin:0;border-radius:2px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;line-height:49px;border:1px solid #eee;text-align:center;background-color:#fff;height:31px;margin:0 4px;width:76px;cursor:pointer}.writeEmail:first-child{border-right:1px solid #d8d9da}.writeEmail .svg-icon{width:14px;height:14px;position:absolute;top:30%;left:25%}.writeEmail span{font-size:var(--portalFontSize14);line-height:19px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:50%}", ""]);
|
|
2451
2451
|
// Exports
|
|
2452
2452
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2453
2453
|
|
|
@@ -2727,7 +2727,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c807af5e]:export{stdMenuBgcolo
|
|
|
2727
2727
|
|
|
2728
2728
|
/***/ }),
|
|
2729
2729
|
|
|
2730
|
-
/***/
|
|
2730
|
+
/***/ 5402:
|
|
2731
2731
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2732
2732
|
|
|
2733
2733
|
"use strict";
|
|
@@ -2741,7 +2741,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2741
2741
|
|
|
2742
2742
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
2743
2743
|
// Module
|
|
2744
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
2744
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1da03451] .attachFile .el-input__inner{width:76px;height:20px;text-align:center;line-height:20px;padding:0 5px}[data-v-1da03451] #busiForm table td{vertical-align:top}.RichtextEditor[data-v-1da03451] .richtext-container .el-table td div{height:100%}.RichtextEditor[data-v-1da03451] .richtext-container .cke_inner{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.RichtextEditor[data-v-1da03451] .richtext-container .cke_inner .cke_contents{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.spanLH[data-v-1da03451]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.mailWrap[data-v-1da03451]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:9px 0 0 0;position:relative}.mailWrap[data-v-1da03451],.mailWrap .drag-mask[data-v-1da03451]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.mailWrap .drag-mask[data-v-1da03451]{position:absolute;left:0;top:0;height:calc(100% - 518px);width:100%;background-color:hsla(0,0%,100%,.8);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);z-index:999;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:8px}.mailWrap .drag-mask .svg-icon[data-v-1da03451]{color:var(--subjectColor);font-size:100px}.sendMail[data-v-1da03451]{padding:0 0 0 10px}.sendMail .lineRow[data-v-1da03451]{margin:0!important;border-bottom:1px solid #eceff5;display:-webkit-box;display:-ms-flexbox;display:flex}.sendMail .lineRow .grid-content[data-v-1da03451]{height:100%;width:calc(100% - 72px);padding-left:16px}.sendMail .lineRow .grid-content .btnBorder[data-v-1da03451]{border:none!important}.sendMail .lineRow .grid-content .btnBorder[data-v-1da03451] .el-input__inner{border:none!important;height:unset;line-height:20px;padding-left:unset}.el-inputLyy__inner[data-v-1da03451] .el-input__inner{line-height:40px!important}[data-v-1da03451] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-1da03451] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-1da03451] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-1da03451]{width:220px;max-height:calc(100vh - 270px);position:absolute;left:4%;z-index:99;top:135px;background-color:#fff;overflow-y:auto;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px}.linkEmail div[data-v-1da03451]{overflow-x:hidden;padding:10px}.linkEmail div p[data-v-1da03451]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:var(--portalFontSize12);cursor:pointer}.linkEmail div p[data-v-1da03451]:hover{color:#409eff}.linkEmail[data-v-1da03451]::-webkit-scrollbar{display:none}[data-v-1da03451] .el-input__suffix{display:none}[data-v-1da03451] .el-input__inner{text-align:left}.RichtextEditor[data-v-1da03451] .richtext-container{margin:0;height:100%}.RichtextEditor[data-v-1da03451] .richtext-container .el-table{height:100%;border:none}.RichtextEditor[data-v-1da03451] .richtext-container .el-table:before{width:0}.RichtextEditor[data-v-1da03451] .richtext-container .el-table .el-table__body-wrapper,.RichtextEditor[data-v-1da03451] .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-1da03451] .cke_top{border-bottom:none}[data-v-1da03451] .el-table--border:after{width:0}[data-v-1da03451] #busiForm table,[data-v-1da03451] #busiForm table td{border:none}.emailAddrStyle[data-v-1da03451]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:10px;margin-bottom:8px}.emailAddrStyle div[data-v-1da03451]{font-size:var(--portalFontSize12);border-radius:20px;cursor:pointer;border:1px solid #e0e0e0}.emailAddrStyle div i[data-v-1da03451]{color:#c0c4cc}.emailAddrStyle div[data-v-1da03451]:hover{border-color:#aaa}.emailAddrStyle div:hover i[data-v-1da03451]{border-left-color:#aaa!important;color:#aaa}.emailAddrStyle div span[data-v-1da03451]{padding:3px 5px 3px 10px;color:#333;cursor:pointer}.emailAddrStyle div i[data-v-1da03451]:hover{color:red!important}.inputWrap[data-v-1da03451]{padding-top:10px}.inputWrap[data-v-1da03451] .el-scrollbar .el-scrollbar__wrap{max-height:150px;overflow-x:hidden}.inputWrap[data-v-1da03451] .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{padding-bottom:20px}.inputWrap>div.emailAddrStyle[data-v-1da03451]:last-child{margin-right:unset}.readyFile[data-v-1da03451]{margin:0 23px 14px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:330px;height:56px;background:#f7f8fa;padding:10px}", ""]);
|
|
2745
2745
|
// Exports
|
|
2746
2746
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2747
2747
|
|
|
@@ -26894,19 +26894,19 @@ var update = add("5dfb5a3e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
26894
26894
|
|
|
26895
26895
|
/***/ }),
|
|
26896
26896
|
|
|
26897
|
-
/***/
|
|
26897
|
+
/***/ 6090:
|
|
26898
26898
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
26899
26899
|
|
|
26900
26900
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
26901
26901
|
|
|
26902
26902
|
// load the styles
|
|
26903
|
-
var content = __webpack_require__(
|
|
26903
|
+
var content = __webpack_require__(8732);
|
|
26904
26904
|
if(content.__esModule) content = content.default;
|
|
26905
26905
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
26906
26906
|
if(content.locals) module.exports = content.locals;
|
|
26907
26907
|
// add the styles to the DOM
|
|
26908
26908
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
26909
|
-
var update = add("
|
|
26909
|
+
var update = add("0d473046", content, true, {"sourceMap":false,"shadowMode":false});
|
|
26910
26910
|
|
|
26911
26911
|
/***/ }),
|
|
26912
26912
|
|
|
@@ -26926,19 +26926,19 @@ var update = add("16258996", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
26926
26926
|
|
|
26927
26927
|
/***/ }),
|
|
26928
26928
|
|
|
26929
|
-
/***/
|
|
26929
|
+
/***/ 3439:
|
|
26930
26930
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
26931
26931
|
|
|
26932
26932
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
26933
26933
|
|
|
26934
26934
|
// load the styles
|
|
26935
|
-
var content = __webpack_require__(
|
|
26935
|
+
var content = __webpack_require__(4965);
|
|
26936
26936
|
if(content.__esModule) content = content.default;
|
|
26937
26937
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
26938
26938
|
if(content.locals) module.exports = content.locals;
|
|
26939
26939
|
// add the styles to the DOM
|
|
26940
26940
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
26941
|
-
var update = add("
|
|
26941
|
+
var update = add("224e9434", content, true, {"sourceMap":false,"shadowMode":false});
|
|
26942
26942
|
|
|
26943
26943
|
/***/ }),
|
|
26944
26944
|
|
|
@@ -27150,19 +27150,19 @@ var update = add("76cb9540", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27150
27150
|
|
|
27151
27151
|
/***/ }),
|
|
27152
27152
|
|
|
27153
|
-
/***/
|
|
27153
|
+
/***/ 8096:
|
|
27154
27154
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27155
27155
|
|
|
27156
27156
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27157
27157
|
|
|
27158
27158
|
// load the styles
|
|
27159
|
-
var content = __webpack_require__(
|
|
27159
|
+
var content = __webpack_require__(5402);
|
|
27160
27160
|
if(content.__esModule) content = content.default;
|
|
27161
27161
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27162
27162
|
if(content.locals) module.exports = content.locals;
|
|
27163
27163
|
// add the styles to the DOM
|
|
27164
27164
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27165
|
-
var update = add("
|
|
27165
|
+
var update = add("6a247d0a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27166
27166
|
|
|
27167
27167
|
/***/ }),
|
|
27168
27168
|
|
|
@@ -27811,8 +27811,8 @@ var render = function render() {
|
|
|
27811
27811
|
};
|
|
27812
27812
|
var staticRenderFns = [];
|
|
27813
27813
|
|
|
27814
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=template&id=
|
|
27815
|
-
var
|
|
27814
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=template&id=48e502c4
|
|
27815
|
+
var LeftMenuvue_type_template_id_48e502c4_render = function render() {
|
|
27816
27816
|
var _vm = this,
|
|
27817
27817
|
_c = _vm._self._c;
|
|
27818
27818
|
return _c('el-scrollbar', {
|
|
@@ -27826,7 +27826,7 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27826
27826
|
}, [_c('el-menu', {
|
|
27827
27827
|
attrs: {
|
|
27828
27828
|
"default-active": _vm.activeMenu,
|
|
27829
|
-
"collapse":
|
|
27829
|
+
"collapse": _vm.isCollapse,
|
|
27830
27830
|
"background-color": _vm.menuBg,
|
|
27831
27831
|
"text-color": _vm.menuText,
|
|
27832
27832
|
"unique-opened": true,
|
|
@@ -27852,11 +27852,74 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27852
27852
|
class: _vm.menuIcon
|
|
27853
27853
|
}) : _vm._e(), _c('span', {
|
|
27854
27854
|
staticClass: "appname"
|
|
27855
|
-
}, [_vm._v(_vm._s(_vm.menuName))])], 1), _c('
|
|
27855
|
+
}, [_vm._v(_vm._s(_vm.menuName))])], 1), _c('el-menu-item', {
|
|
27856
|
+
staticClass: "submenu-title-noDropdown submenu-title-default",
|
|
27857
|
+
style: _vm.layoutStyle === 1 ? 'border-bottom:1px solid #EBEBEB;' : '',
|
|
27858
|
+
on: {
|
|
27859
|
+
"click": _vm.clickTag
|
|
27860
|
+
}
|
|
27861
|
+
}, [!_vm.isCollapse ? _c('svg-icon', {
|
|
27862
|
+
staticStyle: {
|
|
27863
|
+
"font-size": "16px"
|
|
27864
|
+
},
|
|
27865
|
+
attrs: {
|
|
27866
|
+
"icon-class": "yingyong"
|
|
27867
|
+
},
|
|
27868
|
+
on: {
|
|
27869
|
+
"click": _vm.clickTag
|
|
27870
|
+
}
|
|
27871
|
+
}) : _c('svg', {
|
|
27872
|
+
staticClass: "hamburger-siderA",
|
|
27873
|
+
attrs: {
|
|
27874
|
+
"viewBox": "0 0 1024 1024",
|
|
27875
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
27876
|
+
"width": "64",
|
|
27877
|
+
"height": "64"
|
|
27878
|
+
},
|
|
27879
|
+
on: {
|
|
27880
|
+
"click": _vm.clickTag
|
|
27881
|
+
}
|
|
27882
|
+
}, [_c('path', {
|
|
27883
|
+
attrs: {
|
|
27884
|
+
"fill": "var(--lmTextColor)",
|
|
27885
|
+
"d": "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"
|
|
27886
|
+
}
|
|
27887
|
+
})]), _c('span', {
|
|
27888
|
+
staticClass: "appnameA"
|
|
27889
|
+
}, [_vm._v(" 内部邮箱 "), _c('svg', {
|
|
27890
|
+
staticClass: "hamburger-sider hamburgerActive",
|
|
27891
|
+
attrs: {
|
|
27892
|
+
"viewBox": "0 0 1024 1024",
|
|
27893
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
27894
|
+
"width": "64",
|
|
27895
|
+
"height": "64"
|
|
27896
|
+
},
|
|
27897
|
+
on: {
|
|
27898
|
+
"click": _vm.clickTag
|
|
27899
|
+
}
|
|
27900
|
+
}, [_c('path', {
|
|
27901
|
+
attrs: {
|
|
27902
|
+
"fill": "var(--lmTextColor)",
|
|
27903
|
+
"d": "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"
|
|
27904
|
+
}
|
|
27905
|
+
})])])], 1), _vm.isCollapse ? _c('el-menu-item', {
|
|
27906
|
+
style: _vm.layoutStyle === 1 ? 'border-bottom:1px solid #EBEBEB;' : '',
|
|
27907
|
+
on: {
|
|
27908
|
+
"click": _vm.gotoWrite
|
|
27909
|
+
}
|
|
27910
|
+
}, [_c('svg-icon', {
|
|
27911
|
+
staticStyle: {
|
|
27912
|
+
"width": "14px",
|
|
27913
|
+
"height": "14px"
|
|
27914
|
+
},
|
|
27915
|
+
attrs: {
|
|
27916
|
+
"icon-class": "email_xieyoujian"
|
|
27917
|
+
}
|
|
27918
|
+
})], 1) : _vm._e(), !_vm.isCollapse ? _c('div', {
|
|
27856
27919
|
staticClass: "topBtn-wrapper",
|
|
27857
27920
|
staticStyle: {
|
|
27858
27921
|
"text-align": "center",
|
|
27859
|
-
"
|
|
27922
|
+
"padding": "10px 0"
|
|
27860
27923
|
}
|
|
27861
27924
|
}, [_c('div', {
|
|
27862
27925
|
staticClass: "writeEmail",
|
|
@@ -27902,7 +27965,7 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27902
27965
|
value: 'writeLetters',
|
|
27903
27966
|
expression: "'writeLetters'"
|
|
27904
27967
|
}]
|
|
27905
|
-
}, [_vm._v("写信")])], 1)]), _vm._l(_vm.routes, function (route, index) {
|
|
27968
|
+
}, [_vm._v("写信")])], 1)]) : _vm._e(), _vm._l(_vm.routes, function (route, index) {
|
|
27906
27969
|
return [!route.hidden && route.meta && (route.meta.title === '邮件监控' || route.meta.icon === 'yjjk.svg') ? [_vm.yjjkMenu ? _c('sidebar-item', {
|
|
27907
27970
|
key: index,
|
|
27908
27971
|
attrs: {
|
|
@@ -27924,7 +27987,7 @@ var LeftMenuvue_type_template_id_a43c4282_render = function render() {
|
|
|
27924
27987
|
}) : _vm._e()];
|
|
27925
27988
|
})], 2)], 1);
|
|
27926
27989
|
};
|
|
27927
|
-
var
|
|
27990
|
+
var LeftMenuvue_type_template_id_48e502c4_staticRenderFns = [];
|
|
27928
27991
|
|
|
27929
27992
|
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27930
27993
|
/*!
|
|
@@ -29579,14 +29642,28 @@ var _variables = __webpack_require__(5112);
|
|
|
29579
29642
|
}
|
|
29580
29643
|
}
|
|
29581
29644
|
return route;
|
|
29645
|
+
},
|
|
29646
|
+
clickTag: function clickTag() {
|
|
29647
|
+
if (this.layoutStyle === 1) {
|
|
29648
|
+
this.hamburgerActive = !this.hamburgerActive;
|
|
29649
|
+
this.$bus.emit('toggleClick');
|
|
29650
|
+
this.$bus.emit('theSiderShow');
|
|
29651
|
+
this.$bus.emit('openSideBar', false);
|
|
29652
|
+
this.$store.dispatch('app/toggleSideBar');
|
|
29653
|
+
} else {
|
|
29654
|
+
this.hamburgerActive = !this.hamburgerActive;
|
|
29655
|
+
this.$store.dispatch('app/toggleSideBar');
|
|
29656
|
+
this.$bus.emit('toggleClick');
|
|
29657
|
+
this.$bus.emit('theSiderShow');
|
|
29658
|
+
}
|
|
29582
29659
|
}
|
|
29583
29660
|
}
|
|
29584
29661
|
});
|
|
29585
29662
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=script&lang=js
|
|
29586
29663
|
/* harmony default export */ var components_LeftMenuvue_type_script_lang_js = (LeftMenuvue_type_script_lang_js);
|
|
29587
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=
|
|
29588
|
-
var
|
|
29589
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=
|
|
29664
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=48e502c4&prod&lang=scss
|
|
29665
|
+
var LeftMenuvue_type_style_index_0_id_48e502c4_prod_lang_scss = __webpack_require__(3439);
|
|
29666
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/components/LeftMenu.vue?vue&type=style&index=0&id=48e502c4&prod&lang=scss
|
|
29590
29667
|
|
|
29591
29668
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
29592
29669
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -29697,8 +29774,8 @@ function normalizeComponent(
|
|
|
29697
29774
|
|
|
29698
29775
|
var component = normalizeComponent(
|
|
29699
29776
|
components_LeftMenuvue_type_script_lang_js,
|
|
29700
|
-
|
|
29701
|
-
|
|
29777
|
+
LeftMenuvue_type_template_id_48e502c4_render,
|
|
29778
|
+
LeftMenuvue_type_template_id_48e502c4_staticRenderFns,
|
|
29702
29779
|
false,
|
|
29703
29780
|
null,
|
|
29704
29781
|
null,
|
|
@@ -30685,8 +30762,12 @@ var accessoryList_component = normalizeComponent(
|
|
|
30685
30762
|
)
|
|
30686
30763
|
|
|
30687
30764
|
/* harmony default export */ var accessoryList = (accessoryList_component.exports);
|
|
30688
|
-
;// 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/address.vue?vue&type=template&id=
|
|
30689
|
-
|
|
30765
|
+
;// 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/address.vue?vue&type=template&id=08555dbc&scoped=true
|
|
30766
|
+
function addressvue_type_template_id_08555dbc_scoped_true_typeof(o) { "@babel/helpers - typeof"; return addressvue_type_template_id_08555dbc_scoped_true_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; }, addressvue_type_template_id_08555dbc_scoped_true_typeof(o); }
|
|
30767
|
+
function addressvue_type_template_id_08555dbc_scoped_true_defineProperty(e, r, t) { return (r = addressvue_type_template_id_08555dbc_scoped_true_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
30768
|
+
function addressvue_type_template_id_08555dbc_scoped_true_toPropertyKey(t) { var i = addressvue_type_template_id_08555dbc_scoped_true_toPrimitive(t, "string"); return "symbol" == addressvue_type_template_id_08555dbc_scoped_true_typeof(i) ? i : i + ""; }
|
|
30769
|
+
function addressvue_type_template_id_08555dbc_scoped_true_toPrimitive(t, r) { if ("object" != addressvue_type_template_id_08555dbc_scoped_true_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != addressvue_type_template_id_08555dbc_scoped_true_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
30770
|
+
var addressvue_type_template_id_08555dbc_scoped_true_render = function render() {
|
|
30690
30771
|
var _vm = this,
|
|
30691
30772
|
_c = _vm._self._c;
|
|
30692
30773
|
return _c('LRLayout', [_c('LeftPanel', {
|
|
@@ -31113,7 +31194,7 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
|
|
|
31113
31194
|
}, [_vm.isUpdate ? _c('form-item', {
|
|
31114
31195
|
ref: "flCreator",
|
|
31115
31196
|
attrs: {
|
|
31116
|
-
"field": {
|
|
31197
|
+
"field": addressvue_type_template_id_08555dbc_scoped_true_defineProperty(addressvue_type_template_id_08555dbc_scoped_true_defineProperty(addressvue_type_template_id_08555dbc_scoped_true_defineProperty({
|
|
31117
31198
|
defaultValue: null,
|
|
31118
31199
|
elementCanEdit: '{${canEdit}}',
|
|
31119
31200
|
elementCssHeight: null,
|
|
@@ -31132,25 +31213,71 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
|
|
|
31132
31213
|
propName: 'name',
|
|
31133
31214
|
propType: 'String',
|
|
31134
31215
|
textFormatter: 'textfield',
|
|
31135
|
-
valueMaxLength:
|
|
31216
|
+
valueMaxLength: 1000,
|
|
31136
31217
|
valueMinLength: null,
|
|
31137
31218
|
model: 'vo.flCreator',
|
|
31138
31219
|
option: [],
|
|
31139
31220
|
tbFieldName: 'flcreator',
|
|
31140
31221
|
dialog: 1,
|
|
31141
31222
|
dialogType: 'staff',
|
|
31142
|
-
dialogMultiple:
|
|
31223
|
+
dialogMultiple: _vm.isBatchAdd,
|
|
31224
|
+
'dialogOrgLevel': '0',
|
|
31225
|
+
'dialogSelectedOrderBy': 'orgOrderNo',
|
|
31143
31226
|
dialogShowemail: false,
|
|
31144
31227
|
dialogShowmobile: false,
|
|
31145
|
-
dialogShowaccount: false
|
|
31146
|
-
|
|
31147
|
-
dialogSubOrgName: '',
|
|
31148
|
-
dialogOrgSelf: false
|
|
31149
|
-
},
|
|
31228
|
+
dialogShowaccount: false
|
|
31229
|
+
}, "dialogOrgLevel", _vm.isShowGroup ? '0' : ''), "dialogSubOrgName", ''), "dialogOrgSelf", false),
|
|
31150
31230
|
"vo": _vm.formTxl,
|
|
31151
31231
|
"can-edit": 1
|
|
31152
31232
|
}
|
|
31153
|
-
}) : _c('span', [_vm._v(_vm._s(_vm.formTxl.name))])], 1)]), _c('tr', [_c('td', {
|
|
31233
|
+
}) : _c('span', [_vm._v(_vm._s(_vm.formTxl.name))])], 1)]), !_vm.isBatchAdd ? _c('tr', [_c('td', {
|
|
31234
|
+
staticClass: "el-table__cell tdlbl tdw17"
|
|
31235
|
+
}, [_c('span', {
|
|
31236
|
+
staticClass: "required",
|
|
31237
|
+
staticStyle: {
|
|
31238
|
+
"color": "red"
|
|
31239
|
+
}
|
|
31240
|
+
}, [_vm._v("*")]), _vm._v("排序 : ")]), _c('td', {
|
|
31241
|
+
staticClass: "el-table__cell tdcont tdw83"
|
|
31242
|
+
}, [_vm.isUpdate ? _c('ValidationProvider', {
|
|
31243
|
+
ref: "ValidationProvider",
|
|
31244
|
+
attrs: {
|
|
31245
|
+
"name": "排序",
|
|
31246
|
+
"rules": "required"
|
|
31247
|
+
},
|
|
31248
|
+
scopedSlots: _vm._u([{
|
|
31249
|
+
key: "default",
|
|
31250
|
+
fn: function fn(_ref3) {
|
|
31251
|
+
var errors = _ref3.errors;
|
|
31252
|
+
return [_c('el-tooltip', {
|
|
31253
|
+
class: {
|
|
31254
|
+
'invalid-field': errors[0] !== undefined
|
|
31255
|
+
},
|
|
31256
|
+
attrs: {
|
|
31257
|
+
"disabled": errors[0] === undefined,
|
|
31258
|
+
"content": errors[0],
|
|
31259
|
+
"popper-class": "error-popper-class",
|
|
31260
|
+
"placement": "right-start",
|
|
31261
|
+
"effect": "dark"
|
|
31262
|
+
}
|
|
31263
|
+
}, [_c('el-input', {
|
|
31264
|
+
ref: "emailReceiveServer",
|
|
31265
|
+
attrs: {
|
|
31266
|
+
"type": "number",
|
|
31267
|
+
"autocomplete": "false",
|
|
31268
|
+
"placeholder": "请输入4位数字排序"
|
|
31269
|
+
},
|
|
31270
|
+
model: {
|
|
31271
|
+
value: _vm.formTxl.orderNum,
|
|
31272
|
+
callback: function callback($$v) {
|
|
31273
|
+
_vm.$set(_vm.formTxl, "orderNum", $$v);
|
|
31274
|
+
},
|
|
31275
|
+
expression: "formTxl.orderNum"
|
|
31276
|
+
}
|
|
31277
|
+
})], 1)];
|
|
31278
|
+
}
|
|
31279
|
+
}], null, false, 1130582095)
|
|
31280
|
+
}) : _c('span', [_vm._v(_vm._s(_vm.formTxl.orderNum))])], 1)]) : _vm._e(), !_vm.isBatchAdd ? _c('tr', [_c('td', {
|
|
31154
31281
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
31155
31282
|
}, [_c('span', {
|
|
31156
31283
|
staticClass: "required",
|
|
@@ -31174,8 +31301,8 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
|
|
|
31174
31301
|
},
|
|
31175
31302
|
scopedSlots: _vm._u([{
|
|
31176
31303
|
key: "default",
|
|
31177
|
-
fn: function fn(
|
|
31178
|
-
var errors =
|
|
31304
|
+
fn: function fn(_ref4) {
|
|
31305
|
+
var errors = _ref4.errors;
|
|
31179
31306
|
return [_c('el-tooltip', {
|
|
31180
31307
|
class: {
|
|
31181
31308
|
'invalid-field': errors[0] !== undefined
|
|
@@ -31204,7 +31331,7 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
|
|
|
31204
31331
|
})], 1)];
|
|
31205
31332
|
}
|
|
31206
31333
|
}], null, false, 1389631351)
|
|
31207
|
-
}) : _c('span', [_vm._v(_vm._s(_vm.formTxl.email))])], 1)]), _c('tr', [_c('td', {
|
|
31334
|
+
}) : _c('span', [_vm._v(_vm._s(_vm.formTxl.email))])], 1)]) : _vm._e(), _c('tr', [_c('td', {
|
|
31208
31335
|
directives: [{
|
|
31209
31336
|
name: "text-lbl",
|
|
31210
31337
|
rawName: "v-text-lbl",
|
|
@@ -31295,10 +31422,15 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
|
|
|
31295
31422
|
}
|
|
31296
31423
|
}, [_vm._v("保 存")]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
31297
31424
|
};
|
|
31298
|
-
var
|
|
31425
|
+
var addressvue_type_template_id_08555dbc_scoped_true_staticRenderFns = [];
|
|
31299
31426
|
|
|
31300
31427
|
;// 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/address.vue?vue&type=script&lang=js
|
|
31301
31428
|
function addressvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return addressvue_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; }, addressvue_type_script_lang_js_typeof(o); }
|
|
31429
|
+
function addressvue_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; }
|
|
31430
|
+
function addressvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? addressvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { addressvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : addressvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31431
|
+
function addressvue_type_script_lang_js_defineProperty(e, r, t) { return (r = addressvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
31432
|
+
function addressvue_type_script_lang_js_toPropertyKey(t) { var i = addressvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == addressvue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
31433
|
+
function addressvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != addressvue_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" != addressvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
31302
31434
|
function addressvue_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 */ addressvue_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" == addressvue_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(addressvue_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; }
|
|
31303
31435
|
function addressvue_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); }
|
|
31304
31436
|
function addressvue_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) { addressvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { addressvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
@@ -31392,6 +31524,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31392
31524
|
sortable: true,
|
|
31393
31525
|
listAdvSearchElement: 'input',
|
|
31394
31526
|
listAdvSearchIndex: 0
|
|
31527
|
+
}, {
|
|
31528
|
+
field: 'orderNum',
|
|
31529
|
+
title: '排序号',
|
|
31530
|
+
width: '100px',
|
|
31531
|
+
align: 'center',
|
|
31532
|
+
valign: 'middle'
|
|
31395
31533
|
}, {
|
|
31396
31534
|
field: 'column_operate',
|
|
31397
31535
|
title: this.$tx('pageBtns.operate', '操作'),
|
|
@@ -31400,6 +31538,13 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31400
31538
|
valign: 'middle'
|
|
31401
31539
|
}],
|
|
31402
31540
|
listpageBtns: [{
|
|
31541
|
+
btnName: '添加',
|
|
31542
|
+
btnIcon: 'plus',
|
|
31543
|
+
btnClick: this.batchAdd,
|
|
31544
|
+
btnPermission: 'add',
|
|
31545
|
+
id: 'btn_add',
|
|
31546
|
+
btnType: 'toolbar'
|
|
31547
|
+
}, {
|
|
31403
31548
|
btnName: '新增',
|
|
31404
31549
|
btnIcon: 'plus',
|
|
31405
31550
|
btnClick: this.addContacts,
|
|
@@ -31463,7 +31608,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31463
31608
|
emlUrl: '',
|
|
31464
31609
|
selectGroundId: '',
|
|
31465
31610
|
selectGroundName: '',
|
|
31466
|
-
isShowGroup: false
|
|
31611
|
+
isShowGroup: false,
|
|
31612
|
+
// 是否显示集团选择人员
|
|
31613
|
+
isBatchAdd: false,
|
|
31614
|
+
batchList: []
|
|
31467
31615
|
};
|
|
31468
31616
|
},
|
|
31469
31617
|
computed: {
|
|
@@ -31492,38 +31640,106 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31492
31640
|
// 选择经办人
|
|
31493
31641
|
onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
|
|
31494
31642
|
var _this2 = this;
|
|
31495
|
-
|
|
31496
|
-
|
|
31497
|
-
|
|
31498
|
-
|
|
31499
|
-
|
|
31500
|
-
|
|
31501
|
-
|
|
31502
|
-
|
|
31503
|
-
|
|
31504
|
-
|
|
31505
|
-
|
|
31506
|
-
|
|
31507
|
-
|
|
31508
|
-
|
|
31509
|
-
|
|
31643
|
+
return addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
31644
|
+
var emailMainMap;
|
|
31645
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
31646
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
31647
|
+
case 0:
|
|
31648
|
+
if (!_this2.isBatchAdd) {
|
|
31649
|
+
_context2.next = 8;
|
|
31650
|
+
break;
|
|
31651
|
+
}
|
|
31652
|
+
emailMainMap = new Map();
|
|
31653
|
+
_this2.formTxl.name = selectedNodes.map(function (item) {
|
|
31654
|
+
return item.name;
|
|
31655
|
+
}).join('、');
|
|
31656
|
+
_this2.formTxl.staffId = selectedNodes.map(function (item) {
|
|
31657
|
+
return item.id;
|
|
31658
|
+
}).join(',');
|
|
31659
|
+
_this2.formTxl.account = selectedNodes.map(function (item) {
|
|
31660
|
+
return item.account;
|
|
31661
|
+
}).join(',');
|
|
31662
|
+
_this2.batchList = selectedNodes;
|
|
31663
|
+
_this2.batchList.forEach( /*#__PURE__*/function () {
|
|
31664
|
+
var _ref = addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee(item) {
|
|
31665
|
+
var orgCode, emailMain, res;
|
|
31666
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31667
|
+
while (1) switch (_context.prev = _context.next) {
|
|
31668
|
+
case 0:
|
|
31669
|
+
orgCode = item.orgFullId.split('-')[0];
|
|
31670
|
+
if (!emailMainMap.has(orgCode)) {
|
|
31671
|
+
_context.next = 6;
|
|
31672
|
+
break;
|
|
31673
|
+
}
|
|
31674
|
+
emailMain = emailMainMap.get(orgCode);
|
|
31675
|
+
item.email = item.account + emailMain;
|
|
31676
|
+
_context.next = 10;
|
|
31677
|
+
break;
|
|
31678
|
+
case 6:
|
|
31679
|
+
_context.next = 8;
|
|
31680
|
+
return _this2.$http({
|
|
31681
|
+
method: 'GET',
|
|
31682
|
+
contentType: 'application/json',
|
|
31683
|
+
url: '/mail/linkman/getEmailMainByRootOrgId?rootOrgId=' + orgCode
|
|
31684
|
+
});
|
|
31685
|
+
case 8:
|
|
31686
|
+
res = _context.sent;
|
|
31687
|
+
if (res.code == 'success') {
|
|
31688
|
+
emailMainMap.set(orgCode, res.body.emailMain);
|
|
31689
|
+
item.email = item.account + res.body.emailMain;
|
|
31690
|
+
} else {
|
|
31691
|
+
item.email = item.account + _this2.emlUrl;
|
|
31692
|
+
}
|
|
31693
|
+
case 10:
|
|
31694
|
+
case "end":
|
|
31695
|
+
return _context.stop();
|
|
31696
|
+
}
|
|
31697
|
+
}, _callee);
|
|
31698
|
+
}));
|
|
31699
|
+
return function (_x) {
|
|
31700
|
+
return _ref.apply(this, arguments);
|
|
31701
|
+
};
|
|
31702
|
+
}());
|
|
31703
|
+
return _context2.abrupt("return");
|
|
31704
|
+
case 8:
|
|
31705
|
+
_this2.$http({
|
|
31706
|
+
method: 'GET',
|
|
31707
|
+
contentType: 'application/json',
|
|
31708
|
+
url: '/mail/linkman/getEmailMainByRootOrgId?rootOrgId=' + selectedNodes[0].orgFullId.split('-')[0]
|
|
31709
|
+
}).then(function (res) {
|
|
31710
|
+
if (res.code === 'success') {
|
|
31711
|
+
_this2.formTxl.email = selectedNodes[0].account + res.body.emailMain;
|
|
31712
|
+
} else {
|
|
31713
|
+
_this2.formTxl.email = selectedNodes[0].account + _this2.emlUrl;
|
|
31714
|
+
}
|
|
31715
|
+
});
|
|
31716
|
+
_this2.formTxl.name = selectedNodes[0].name;
|
|
31717
|
+
_this2.formTxl.staffId = selectedNodes[0].id;
|
|
31718
|
+
_this2.formTxl.account = selectedNodes[0].account;
|
|
31719
|
+
console.log(selectedNodes[0], _this2.$store.getters.loginUser, 'selectedNodes');
|
|
31720
|
+
case 13:
|
|
31721
|
+
case "end":
|
|
31722
|
+
return _context2.stop();
|
|
31723
|
+
}
|
|
31724
|
+
}, _callee2);
|
|
31725
|
+
}))();
|
|
31510
31726
|
},
|
|
31511
31727
|
// 删除通讯录联系人
|
|
31512
31728
|
deleteIdsLxr: function deleteIdsLxr(row) {
|
|
31513
31729
|
var _this3 = this;
|
|
31514
31730
|
this.$confirm(this.$tx('email.messages.isDel', '确定要删除该联系人吗?'), this.$tx('common.confirmOperate', '确认操作'), {
|
|
31515
31731
|
type: 'warning'
|
|
31516
|
-
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
31732
|
+
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
31517
31733
|
var ids, res;
|
|
31518
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
31519
|
-
while (1) switch (
|
|
31734
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
31735
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
31520
31736
|
case 0:
|
|
31521
31737
|
ids = [];
|
|
31522
31738
|
ids.push(row.id);
|
|
31523
|
-
|
|
31739
|
+
_context3.next = 4;
|
|
31524
31740
|
return _this3.$app.deleteByIds(_this3.moduleInfo.delUrl, ids);
|
|
31525
31741
|
case 4:
|
|
31526
|
-
res =
|
|
31742
|
+
res = _context3.sent;
|
|
31527
31743
|
if (res.code === 'success') {
|
|
31528
31744
|
_this3.$message.success(res.message);
|
|
31529
31745
|
_this3.$bus.emit('refreshListData');
|
|
@@ -31532,9 +31748,9 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31532
31748
|
}
|
|
31533
31749
|
case 6:
|
|
31534
31750
|
case "end":
|
|
31535
|
-
return
|
|
31751
|
+
return _context3.stop();
|
|
31536
31752
|
}
|
|
31537
|
-
},
|
|
31753
|
+
}, _callee3);
|
|
31538
31754
|
})));
|
|
31539
31755
|
},
|
|
31540
31756
|
// 点击行
|
|
@@ -31557,10 +31773,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31557
31773
|
if (this.row.length > 0) {
|
|
31558
31774
|
this.$confirm(this.$tx('email.messages.isTransfer', '确定要转移选中的联系人吗?'), this.$tx('common.confirmOperate', '确认操作'), {
|
|
31559
31775
|
type: 'warning'
|
|
31560
|
-
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
31776
|
+
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
31561
31777
|
var ids, linkman, res;
|
|
31562
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
31563
|
-
while (1) switch (
|
|
31778
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
31779
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
31564
31780
|
case 0:
|
|
31565
31781
|
ids = [];
|
|
31566
31782
|
_this4.row.forEach(function (item) {
|
|
@@ -31577,10 +31793,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31577
31793
|
ids: ids
|
|
31578
31794
|
});
|
|
31579
31795
|
_this4.$set(linkman, 'personId', null);
|
|
31580
|
-
|
|
31796
|
+
_context4.next = 13;
|
|
31581
31797
|
return _this4.$app.update(_this4.moduleInfo.updateGroupUrl, linkman);
|
|
31582
31798
|
case 13:
|
|
31583
|
-
res =
|
|
31799
|
+
res = _context4.sent;
|
|
31584
31800
|
if (res.code === 'success') {
|
|
31585
31801
|
_this4.$message.success(res.message);
|
|
31586
31802
|
_this4.$bus.emit('refreshListData');
|
|
@@ -31589,9 +31805,9 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31589
31805
|
}
|
|
31590
31806
|
case 15:
|
|
31591
31807
|
case "end":
|
|
31592
|
-
return
|
|
31808
|
+
return _context4.stop();
|
|
31593
31809
|
}
|
|
31594
|
-
},
|
|
31810
|
+
}, _callee4);
|
|
31595
31811
|
})));
|
|
31596
31812
|
} else {
|
|
31597
31813
|
this.$message.error(this.$tx('email.messages.selectTransfer', '请选择要转移的联系人'));
|
|
@@ -31600,6 +31816,8 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31600
31816
|
// 编辑联系人
|
|
31601
31817
|
editObjectId: function editObjectId(val) {
|
|
31602
31818
|
var _this5 = this;
|
|
31819
|
+
this.resetForm();
|
|
31820
|
+
this.isBatchAdd = false;
|
|
31603
31821
|
this.addOrupdateContacts = false;
|
|
31604
31822
|
this.$http({
|
|
31605
31823
|
url: this.moduleInfo.getByIdUrl,
|
|
@@ -31667,6 +31885,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31667
31885
|
// sortable: true,
|
|
31668
31886
|
listAdvSearchElement: 'input',
|
|
31669
31887
|
listAdvSearchIndex: 0
|
|
31888
|
+
}, {
|
|
31889
|
+
field: 'orderNum',
|
|
31890
|
+
title: '排序号',
|
|
31891
|
+
width: '100px',
|
|
31892
|
+
align: 'center',
|
|
31893
|
+
valign: 'middle'
|
|
31670
31894
|
}, {
|
|
31671
31895
|
field: 'column_operate',
|
|
31672
31896
|
title: this.$tx('fields.operate', '操作'),
|
|
@@ -31730,6 +31954,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31730
31954
|
sortable: true,
|
|
31731
31955
|
listAdvSearchElement: 'input',
|
|
31732
31956
|
listAdvSearchIndex: 0
|
|
31957
|
+
}, {
|
|
31958
|
+
field: 'orderNum',
|
|
31959
|
+
title: '排序号',
|
|
31960
|
+
width: '100px',
|
|
31961
|
+
align: 'center',
|
|
31962
|
+
valign: 'middle'
|
|
31733
31963
|
}, {
|
|
31734
31964
|
field: 'column_operate',
|
|
31735
31965
|
title: this.$tx('fields.operate', '操作'),
|
|
@@ -31793,6 +32023,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31793
32023
|
sortable: true,
|
|
31794
32024
|
listAdvSearchElement: 'input',
|
|
31795
32025
|
listAdvSearchIndex: 0
|
|
32026
|
+
}, {
|
|
32027
|
+
field: 'orderNum',
|
|
32028
|
+
title: '排序号',
|
|
32029
|
+
width: '100px',
|
|
32030
|
+
align: 'center',
|
|
32031
|
+
valign: 'middle'
|
|
31796
32032
|
}, {
|
|
31797
32033
|
field: 'column_operate',
|
|
31798
32034
|
title: this.$tx('fields.operate', '操作'),
|
|
@@ -31841,6 +32077,13 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31841
32077
|
if (res.code === 'success') {
|
|
31842
32078
|
var listArr = [];
|
|
31843
32079
|
var mewListArr = [{
|
|
32080
|
+
btnName: '添加',
|
|
32081
|
+
btnIcon: 'plus',
|
|
32082
|
+
btnClick: _this7.batchAdd,
|
|
32083
|
+
btnPermission: 'add',
|
|
32084
|
+
id: 'btn_add',
|
|
32085
|
+
btnType: 'toolbar'
|
|
32086
|
+
}, {
|
|
31844
32087
|
btnName: '新增',
|
|
31845
32088
|
btnIcon: 'plus',
|
|
31846
32089
|
btnClick: _this7.addContacts,
|
|
@@ -31955,62 +32198,94 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
31955
32198
|
// 添加通讯录确定按钮
|
|
31956
32199
|
groupingConfirmTxl: function groupingConfirmTxl() {
|
|
31957
32200
|
var _this10 = this;
|
|
31958
|
-
this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
31959
|
-
var reg,
|
|
31960
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
31961
|
-
while (1) switch (
|
|
32201
|
+
this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
|
|
32202
|
+
var params, res, reg, _res;
|
|
32203
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
32204
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
31962
32205
|
case 0:
|
|
31963
32206
|
_this10.accountList.forEach(function (item) {
|
|
31964
32207
|
if (item.id === _this10.formTxl.groupId) {
|
|
31965
32208
|
_this10.formTxl.groupName = item.groupName;
|
|
31966
32209
|
}
|
|
31967
32210
|
});
|
|
32211
|
+
if (!_this10.isBatchAdd) {
|
|
32212
|
+
_context5.next = 8;
|
|
32213
|
+
break;
|
|
32214
|
+
}
|
|
32215
|
+
params = _this10.batchList.map(function (item) {
|
|
32216
|
+
return addressvue_type_script_lang_js_objectSpread(addressvue_type_script_lang_js_objectSpread({}, _this10.formTxl), {}, {
|
|
32217
|
+
name: item.name,
|
|
32218
|
+
email: item.email,
|
|
32219
|
+
account: item.account,
|
|
32220
|
+
staffId: item.id
|
|
32221
|
+
});
|
|
32222
|
+
});
|
|
32223
|
+
_context5.next = 5;
|
|
32224
|
+
return _this10.$http({
|
|
32225
|
+
method: 'post',
|
|
32226
|
+
url: '/mail/linkman/batchInsert',
|
|
32227
|
+
data: params
|
|
32228
|
+
});
|
|
32229
|
+
case 5:
|
|
32230
|
+
res = _context5.sent;
|
|
32231
|
+
if (res.code === 'success') {
|
|
32232
|
+
_this10.$message.success(res.message);
|
|
32233
|
+
_this10.dialogFormVisibleTxl = false;
|
|
32234
|
+
_this10.formTxl = {};
|
|
32235
|
+
_this10.$bus.emit('refreshListData');
|
|
32236
|
+
} else {
|
|
32237
|
+
_this10.$message.error(res.message);
|
|
32238
|
+
}
|
|
32239
|
+
return _context5.abrupt("return");
|
|
32240
|
+
case 8:
|
|
31968
32241
|
reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
|
|
31969
32242
|
if (!(_this10.formTxl.email && !reg.test(_this10.formTxl.email))) {
|
|
31970
|
-
|
|
32243
|
+
_context5.next = 13;
|
|
31971
32244
|
break;
|
|
31972
32245
|
}
|
|
31973
32246
|
_this10.$alert(_this10.$tx('email.address.emailNot', '邮件格式不正确!'), _this10.$tx('common.operationTip', '操作提示'), {
|
|
31974
32247
|
type: 'warning'
|
|
31975
32248
|
});
|
|
31976
|
-
|
|
32249
|
+
_context5.next = 24;
|
|
31977
32250
|
break;
|
|
31978
|
-
case
|
|
31979
|
-
|
|
32251
|
+
case 13:
|
|
32252
|
+
_res = null;
|
|
31980
32253
|
if (!_this10.addOrupdateContacts) {
|
|
31981
|
-
|
|
32254
|
+
_context5.next = 20;
|
|
31982
32255
|
break;
|
|
31983
32256
|
}
|
|
31984
|
-
|
|
32257
|
+
_context5.next = 17;
|
|
31985
32258
|
return _this10.$app.insert(_this10.moduleInfo.insertUrl, _this10.formTxl);
|
|
31986
|
-
case
|
|
31987
|
-
|
|
31988
|
-
|
|
32259
|
+
case 17:
|
|
32260
|
+
_res = _context5.sent;
|
|
32261
|
+
_context5.next = 23;
|
|
31989
32262
|
break;
|
|
31990
|
-
case
|
|
31991
|
-
|
|
32263
|
+
case 20:
|
|
32264
|
+
_context5.next = 22;
|
|
31992
32265
|
return _this10.$app.update(_this10.moduleInfo.updateUrl, _this10.formTxl);
|
|
31993
|
-
case
|
|
31994
|
-
|
|
31995
|
-
case
|
|
31996
|
-
if (
|
|
31997
|
-
_this10.$message.success(
|
|
32266
|
+
case 22:
|
|
32267
|
+
_res = _context5.sent;
|
|
32268
|
+
case 23:
|
|
32269
|
+
if (_res.code === 'success') {
|
|
32270
|
+
_this10.$message.success(_res.message);
|
|
31998
32271
|
_this10.dialogFormVisibleTxl = false;
|
|
31999
32272
|
_this10.formTxl = {};
|
|
32000
32273
|
_this10.$bus.emit('refreshListData');
|
|
32001
32274
|
} else {
|
|
32002
|
-
_this10.$message.error(
|
|
32275
|
+
_this10.$message.error(_res.message);
|
|
32003
32276
|
}
|
|
32004
|
-
case
|
|
32277
|
+
case 24:
|
|
32005
32278
|
case "end":
|
|
32006
|
-
return
|
|
32279
|
+
return _context5.stop();
|
|
32007
32280
|
}
|
|
32008
|
-
},
|
|
32281
|
+
}, _callee5);
|
|
32009
32282
|
})), null, 1);
|
|
32010
32283
|
},
|
|
32011
32284
|
// 添加通讯录联系人
|
|
32012
32285
|
addContacts: function addContacts() {
|
|
32013
32286
|
var _this11 = this;
|
|
32287
|
+
this.resetForm();
|
|
32288
|
+
this.isBatchAdd = false;
|
|
32014
32289
|
this.addOrupdateContacts = true;
|
|
32015
32290
|
this.isUpdate = true;
|
|
32016
32291
|
this.$http({
|
|
@@ -32028,36 +32303,56 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32028
32303
|
});
|
|
32029
32304
|
this.dialogFormVisibleTxl = true;
|
|
32030
32305
|
},
|
|
32306
|
+
batchAdd: function batchAdd() {
|
|
32307
|
+
var _this12 = this;
|
|
32308
|
+
this.resetForm();
|
|
32309
|
+
this.isBatchAdd = true;
|
|
32310
|
+
this.isUpdate = true;
|
|
32311
|
+
this.$http({
|
|
32312
|
+
url: this.moduleInfo.addNewUrl,
|
|
32313
|
+
method: 'POST'
|
|
32314
|
+
}).then(function (res) {
|
|
32315
|
+
if (res.code === 'success') {
|
|
32316
|
+
_this12.formTxl = res.body.vo;
|
|
32317
|
+
_this12.formTxl.groupName = _this12.selectGroundName;
|
|
32318
|
+
_this12.formTxl.groupId = _this12.selectGroundId ? _this12.selectGroundId : '0';
|
|
32319
|
+
_this12.formTxl.personId = _this12.usersetId.personId;
|
|
32320
|
+
} else {
|
|
32321
|
+
_this12.$message.error(res.message);
|
|
32322
|
+
}
|
|
32323
|
+
});
|
|
32324
|
+
this.dialogFormVisibleTxl = true;
|
|
32325
|
+
},
|
|
32031
32326
|
// 删除通讯录联系人
|
|
32032
32327
|
delete: function _delete() {
|
|
32033
|
-
var
|
|
32328
|
+
var _this13 = this;
|
|
32034
32329
|
if (this.row.length > 0) {
|
|
32035
32330
|
this.$confirm(this.$tx('email.messages.isSelectlxr', '确定要删除选中的联系人吗?'), this.$tx('common.confirmOperate', '确认操作'), {
|
|
32036
32331
|
type: 'warning'
|
|
32037
|
-
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
32332
|
+
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
|
|
32038
32333
|
var ids, res;
|
|
32039
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
32040
|
-
while (1) switch (
|
|
32334
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
32335
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
32041
32336
|
case 0:
|
|
32042
32337
|
ids = [];
|
|
32043
|
-
|
|
32338
|
+
_this13.row.forEach(function (item) {
|
|
32044
32339
|
ids.push(item.id);
|
|
32045
32340
|
});
|
|
32046
|
-
|
|
32047
|
-
return
|
|
32341
|
+
_context6.next = 4;
|
|
32342
|
+
return _this13.$app.deleteByIds(_this13.moduleInfo.delUrl, ids);
|
|
32048
32343
|
case 4:
|
|
32049
|
-
res =
|
|
32344
|
+
res = _context6.sent;
|
|
32050
32345
|
if (res.code === 'success') {
|
|
32051
|
-
|
|
32052
|
-
|
|
32346
|
+
_this13.$message.success(res.message);
|
|
32347
|
+
_this13.$bus.emit('refreshListData');
|
|
32053
32348
|
} else {
|
|
32054
|
-
|
|
32349
|
+
_this13.$message.error(res.message);
|
|
32055
32350
|
}
|
|
32056
32351
|
case 6:
|
|
32057
32352
|
case "end":
|
|
32058
|
-
return
|
|
32353
|
+
return _context6.stop();
|
|
32059
32354
|
}
|
|
32060
|
-
},
|
|
32355
|
+
}, _callee6);
|
|
32061
32356
|
})));
|
|
32062
32357
|
} else {
|
|
32063
32358
|
this.$message.error(this.$tx('email.messages.selectlxr', '请选择要删除的联系人'));
|
|
@@ -32067,7 +32362,7 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32067
32362
|
transfer: function transfer() {},
|
|
32068
32363
|
// 编辑分组
|
|
32069
32364
|
editingGroup: function editingGroup(id) {
|
|
32070
|
-
var
|
|
32365
|
+
var _this14 = this;
|
|
32071
32366
|
this.addOrupdate = false;
|
|
32072
32367
|
this.$http({
|
|
32073
32368
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -32078,10 +32373,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32078
32373
|
}
|
|
32079
32374
|
}).then(function (res) {
|
|
32080
32375
|
if (res.code === 'success') {
|
|
32081
|
-
|
|
32082
|
-
|
|
32376
|
+
_this14.form = res.body.vo;
|
|
32377
|
+
_this14.dialogFormVisible = true;
|
|
32083
32378
|
} else {
|
|
32084
|
-
|
|
32379
|
+
_this14.$message.error(res.message);
|
|
32085
32380
|
}
|
|
32086
32381
|
});
|
|
32087
32382
|
},
|
|
@@ -32092,88 +32387,88 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32092
32387
|
},
|
|
32093
32388
|
// 添加分组确定
|
|
32094
32389
|
groupingConfirm: function groupingConfirm() {
|
|
32095
|
-
var
|
|
32390
|
+
var _this15 = this;
|
|
32096
32391
|
var res = null;
|
|
32097
|
-
this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
32392
|
+
this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
|
|
32098
32393
|
var reg;
|
|
32099
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
32100
|
-
while (1) switch (
|
|
32394
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
32395
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
32101
32396
|
case 0:
|
|
32102
|
-
if (!(
|
|
32103
|
-
|
|
32397
|
+
if (!(_this15.form.groupName && _this15.form.ordreNo)) {
|
|
32398
|
+
_context7.next = 17;
|
|
32104
32399
|
break;
|
|
32105
32400
|
}
|
|
32106
32401
|
reg = /^\d{4}$/;
|
|
32107
|
-
if (reg.test(
|
|
32108
|
-
|
|
32402
|
+
if (reg.test(_this15.form.ordreNo)) {
|
|
32403
|
+
_context7.next = 6;
|
|
32109
32404
|
break;
|
|
32110
32405
|
}
|
|
32111
|
-
|
|
32406
|
+
_this15.$alert(_this15.$tx('email.messages.isorderNUmber', '请正确填写4位数字排序号'), _this15.$tx('common.operationTip', '操作提示'), {
|
|
32112
32407
|
type: 'warning'
|
|
32113
32408
|
});
|
|
32114
|
-
|
|
32409
|
+
_context7.next = 17;
|
|
32115
32410
|
break;
|
|
32116
32411
|
case 6:
|
|
32117
|
-
|
|
32118
|
-
if (!
|
|
32119
|
-
|
|
32412
|
+
_this15.form.personId = _this15.usersetId.personId;
|
|
32413
|
+
if (!_this15.addOrupdate) {
|
|
32414
|
+
_context7.next = 13;
|
|
32120
32415
|
break;
|
|
32121
32416
|
}
|
|
32122
|
-
|
|
32123
|
-
return
|
|
32417
|
+
_context7.next = 10;
|
|
32418
|
+
return _this15.$app.insert(_this15.groupingUrl.insert, _this15.form);
|
|
32124
32419
|
case 10:
|
|
32125
|
-
res =
|
|
32126
|
-
|
|
32420
|
+
res = _context7.sent;
|
|
32421
|
+
_context7.next = 16;
|
|
32127
32422
|
break;
|
|
32128
32423
|
case 13:
|
|
32129
|
-
|
|
32130
|
-
return
|
|
32424
|
+
_context7.next = 15;
|
|
32425
|
+
return _this15.$app.update(_this15.groupingUrl.update, _this15.form);
|
|
32131
32426
|
case 15:
|
|
32132
|
-
res =
|
|
32427
|
+
res = _context7.sent;
|
|
32133
32428
|
case 16:
|
|
32134
32429
|
if (res.code === 'success') {
|
|
32135
|
-
|
|
32136
|
-
|
|
32430
|
+
_this15.$message.success(res.message);
|
|
32431
|
+
_this15.dialogFormVisible = false;
|
|
32137
32432
|
// this.form = {}
|
|
32138
|
-
|
|
32139
|
-
|
|
32433
|
+
_this15.getGrouping();
|
|
32434
|
+
_this15.getXlGrouping();
|
|
32140
32435
|
} else {
|
|
32141
|
-
|
|
32436
|
+
_this15.$message.error(res.message);
|
|
32142
32437
|
}
|
|
32143
32438
|
case 17:
|
|
32144
32439
|
case "end":
|
|
32145
|
-
return
|
|
32440
|
+
return _context7.stop();
|
|
32146
32441
|
}
|
|
32147
|
-
},
|
|
32442
|
+
}, _callee7);
|
|
32148
32443
|
})), null, 1);
|
|
32149
32444
|
},
|
|
32150
32445
|
// 删除分组
|
|
32151
32446
|
deleteMail: function deleteMail() {
|
|
32152
|
-
var
|
|
32447
|
+
var _this16 = this;
|
|
32153
32448
|
if (this.checkedCities.length > 0) {
|
|
32154
32449
|
this.$confirm(this.$tx('email.messages.isDelGroup', '确定要删除选中分组吗?'), this.$tx('common.confirmOperate', '确认操作'), {
|
|
32155
32450
|
type: 'warning'
|
|
32156
|
-
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
32451
|
+
}).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee8() {
|
|
32157
32452
|
var res;
|
|
32158
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
32159
|
-
while (1) switch (
|
|
32453
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
32454
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
32160
32455
|
case 0:
|
|
32161
|
-
|
|
32162
|
-
return
|
|
32456
|
+
_context8.next = 2;
|
|
32457
|
+
return _this16.$app.deleteByIds(_this16.groupingUrl.delete, _this16.checkedCities);
|
|
32163
32458
|
case 2:
|
|
32164
|
-
res =
|
|
32459
|
+
res = _context8.sent;
|
|
32165
32460
|
if (res.code === 'success') {
|
|
32166
|
-
|
|
32167
|
-
|
|
32168
|
-
|
|
32461
|
+
_this16.$message.success(res.message);
|
|
32462
|
+
_this16.getGrouping();
|
|
32463
|
+
_this16.getXlGrouping();
|
|
32169
32464
|
} else {
|
|
32170
|
-
|
|
32465
|
+
_this16.$message.error(res.message);
|
|
32171
32466
|
}
|
|
32172
32467
|
case 4:
|
|
32173
32468
|
case "end":
|
|
32174
|
-
return
|
|
32469
|
+
return _context8.stop();
|
|
32175
32470
|
}
|
|
32176
|
-
},
|
|
32471
|
+
}, _callee8);
|
|
32177
32472
|
})));
|
|
32178
32473
|
} else {
|
|
32179
32474
|
this.$message.error(this.$tx('email.messages.selectDelGroup', '请选择要删除的分组'));
|
|
@@ -32196,7 +32491,7 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32196
32491
|
},
|
|
32197
32492
|
// 添加分组
|
|
32198
32493
|
addEmail: function addEmail() {
|
|
32199
|
-
var
|
|
32494
|
+
var _this17 = this;
|
|
32200
32495
|
this.addOrupdate = true;
|
|
32201
32496
|
this.$http({
|
|
32202
32497
|
contentType: 'application/x-www-form-urlencoded',
|
|
@@ -32204,9 +32499,9 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32204
32499
|
method: 'POST'
|
|
32205
32500
|
}).then(function (res) {
|
|
32206
32501
|
if (res.code === 'success') {
|
|
32207
|
-
|
|
32502
|
+
_this17.form = res.body.vo;
|
|
32208
32503
|
} else {
|
|
32209
|
-
|
|
32504
|
+
_this17.$message.error(res.message);
|
|
32210
32505
|
}
|
|
32211
32506
|
});
|
|
32212
32507
|
this.dialogFormVisible = true;
|
|
@@ -32215,32 +32510,39 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
|
|
|
32215
32510
|
* 加载数据准备,qparams为查询参数对象,不需要返回值
|
|
32216
32511
|
*/
|
|
32217
32512
|
onListDataBeforeLoad: function onListDataBeforeLoad($scope, qparams) {
|
|
32218
|
-
var
|
|
32219
|
-
return addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
32220
|
-
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
32221
|
-
while (1) switch (
|
|
32513
|
+
var _this18 = this;
|
|
32514
|
+
return addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee9() {
|
|
32515
|
+
return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
32516
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
32222
32517
|
case 0:
|
|
32223
32518
|
// qparams.orderBy = 'createDate desc'
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
|
|
32519
|
+
qparams.orderBy = 'orderNum asc';
|
|
32520
|
+
_this18.getGrouping();
|
|
32521
|
+
if (_this18.urlSechId) {
|
|
32522
|
+
qparams.urlsearch = "groupId:".concat(_this18.urlSechId, ";personId:").concat(_this18.usersetId.personId, ";orgCode:").concat($scope.loginUser.orgCode);
|
|
32227
32523
|
} else {
|
|
32228
|
-
qparams.urlsearch = "personId:".concat(
|
|
32524
|
+
qparams.urlsearch = "personId:".concat(_this18.usersetId.personId, ";orgCode:").concat($scope.loginUser.orgCode);
|
|
32229
32525
|
}
|
|
32230
|
-
case
|
|
32526
|
+
case 3:
|
|
32231
32527
|
case "end":
|
|
32232
|
-
return
|
|
32528
|
+
return _context9.stop();
|
|
32233
32529
|
}
|
|
32234
|
-
},
|
|
32530
|
+
}, _callee9);
|
|
32235
32531
|
}))();
|
|
32532
|
+
},
|
|
32533
|
+
resetForm: function resetForm() {
|
|
32534
|
+
this.formTxl.name = '';
|
|
32535
|
+
this.formTxl.staffId = '';
|
|
32536
|
+
this.formTxl.account = '';
|
|
32537
|
+
this.batchList = [];
|
|
32236
32538
|
}
|
|
32237
32539
|
}
|
|
32238
32540
|
});
|
|
32239
32541
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue?vue&type=script&lang=js
|
|
32240
32542
|
/* harmony default export */ var src_addressvue_type_script_lang_js = (addressvue_type_script_lang_js);
|
|
32241
|
-
// 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/address.vue?vue&type=style&index=0&id=
|
|
32242
|
-
var
|
|
32243
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue?vue&type=style&index=0&id=
|
|
32543
|
+
// 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/address.vue?vue&type=style&index=0&id=08555dbc&prod&scoped=true&lang=scss
|
|
32544
|
+
var addressvue_type_style_index_0_id_08555dbc_prod_scoped_true_lang_scss = __webpack_require__(6090);
|
|
32545
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue?vue&type=style&index=0&id=08555dbc&prod&scoped=true&lang=scss
|
|
32244
32546
|
|
|
32245
32547
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue
|
|
32246
32548
|
|
|
@@ -32253,11 +32555,11 @@ var addressvue_type_style_index_0_id_a78c7e32_prod_scoped_true_lang_scss = __web
|
|
|
32253
32555
|
|
|
32254
32556
|
var address_component = normalizeComponent(
|
|
32255
32557
|
src_addressvue_type_script_lang_js,
|
|
32256
|
-
|
|
32257
|
-
|
|
32558
|
+
addressvue_type_template_id_08555dbc_scoped_true_render,
|
|
32559
|
+
addressvue_type_template_id_08555dbc_scoped_true_staticRenderFns,
|
|
32258
32560
|
false,
|
|
32259
32561
|
null,
|
|
32260
|
-
"
|
|
32562
|
+
"08555dbc",
|
|
32261
32563
|
null
|
|
32262
32564
|
|
|
32263
32565
|
)
|
|
@@ -36201,8 +36503,8 @@ var list_component = normalizeComponent(
|
|
|
36201
36503
|
)
|
|
36202
36504
|
|
|
36203
36505
|
/* harmony default export */ var list = (list_component.exports);
|
|
36204
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=template&id=
|
|
36205
|
-
var
|
|
36506
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=template&id=1da03451&scoped=true
|
|
36507
|
+
var xieyoujianvue_type_template_id_1da03451_scoped_true_render = function render() {
|
|
36206
36508
|
var _vm = this,
|
|
36207
36509
|
_c = _vm._self._c;
|
|
36208
36510
|
return _c('div', {
|
|
@@ -37005,7 +37307,7 @@ var xieyoujianvue_type_template_id_0936748c_scoped_true_render = function render
|
|
|
37005
37307
|
}
|
|
37006
37308
|
})], 1)])]) : _vm._e()])]);
|
|
37007
37309
|
};
|
|
37008
|
-
var
|
|
37310
|
+
var xieyoujianvue_type_template_id_1da03451_scoped_true_staticRenderFns = [];
|
|
37009
37311
|
|
|
37010
37312
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/components/txl.vue?vue&type=template&id=0d337f2c&scoped=true
|
|
37011
37313
|
var txlvue_type_template_id_0d337f2c_scoped_true_render = function render() {
|
|
@@ -41305,14 +41607,14 @@ Sortable.mount(Remove, Revert);
|
|
|
41305
41607
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=script&lang=js
|
|
41306
41608
|
function xieyoujianvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return xieyoujianvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, xieyoujianvue_type_script_lang_js_typeof(o); }
|
|
41307
41609
|
function xieyoujianvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ xieyoujianvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == xieyoujianvue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(xieyoujianvue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
41308
|
-
function xieyoujianvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
41309
|
-
function xieyoujianvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
41310
41610
|
function xieyoujianvue_type_script_lang_js_toConsumableArray(r) { return xieyoujianvue_type_script_lang_js_arrayWithoutHoles(r) || xieyoujianvue_type_script_lang_js_iterableToArray(r) || xieyoujianvue_type_script_lang_js_unsupportedIterableToArray(r) || xieyoujianvue_type_script_lang_js_nonIterableSpread(); }
|
|
41311
41611
|
function xieyoujianvue_type_script_lang_js_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
41312
41612
|
function xieyoujianvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return xieyoujianvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? xieyoujianvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
|
|
41313
41613
|
function xieyoujianvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
41314
41614
|
function xieyoujianvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return xieyoujianvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
41315
41615
|
function xieyoujianvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
41616
|
+
function xieyoujianvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
41617
|
+
function xieyoujianvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { xieyoujianvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
41316
41618
|
function xieyoujianvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
41317
41619
|
function xieyoujianvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? xieyoujianvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { xieyoujianvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : xieyoujianvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41318
41620
|
function xieyoujianvue_type_script_lang_js_defineProperty(e, r, t) { return (r = xieyoujianvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -41988,139 +42290,215 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
41988
42290
|
// 新邮件初始化
|
|
41989
42291
|
newMail: function newMail(type) {
|
|
41990
42292
|
var _this11 = this;
|
|
41991
|
-
|
|
41992
|
-
|
|
41993
|
-
|
|
41994
|
-
|
|
41995
|
-
|
|
41996
|
-
|
|
41997
|
-
|
|
41998
|
-
|
|
41999
|
-
// var objKeys = Object.keys(this.$route.query)
|
|
42000
|
-
// if (objKeys.length > 2) {
|
|
42001
|
-
// this.mailInfo = this.$route.query
|
|
42002
|
-
// }
|
|
42003
|
-
// 新版本,使用缓存
|
|
42004
|
-
var objKeys = localStorage.getItem('newMailInfo');
|
|
42005
|
-
if (objKeys && objKeys !== '{}') {
|
|
42006
|
-
objKeys = JSON.parse(objKeys);
|
|
42007
|
-
if (this.mailInfo.sentdate) {
|
|
42008
|
-
// 草稿邮件不能删除id。。转发,回复等操作需要
|
|
42009
|
-
delete objKeys.id;
|
|
42010
|
-
}
|
|
42011
|
-
this.mailInfo = objKeys;
|
|
42012
|
-
localStorage.removeItem('newMailInfo');
|
|
42013
|
-
}
|
|
42014
|
-
}
|
|
42015
|
-
if (this.mailInfo.srcBusiDataId !== undefined) {
|
|
42016
|
-
// 流程表单转发邮件
|
|
42017
|
-
this.wflowForwardMail();
|
|
42018
|
-
} else if (this.mailInfo.mailMessageId == null) {
|
|
42019
|
-
// 新邮件
|
|
42020
|
-
this.mailContent = '<br/>';
|
|
42021
|
-
if (this.defultMail.signFlag === 1) {
|
|
42022
|
-
this.mailContent += this.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42023
|
-
}
|
|
42024
|
-
} else if (this.mailInfo.sentdate == null) {
|
|
42025
|
-
// 草稿邮件
|
|
42026
|
-
this.sendList = [];
|
|
42027
|
-
this.copyToList = [];
|
|
42028
|
-
this.blindCopyToList = [];
|
|
42029
|
-
if (this.mailInfo.sendTo !== null && this.mailInfo.sendTo !== '') {
|
|
42030
|
-
var arr = this.mailInfo.sendTo.split(',');
|
|
42031
|
-
this.sendList = this.sendList.concat(arr);
|
|
42032
|
-
}
|
|
42033
|
-
if (this.mailInfo.copyTo !== null && this.mailInfo.copyTo !== '') {
|
|
42034
|
-
var _arr = this.mailInfo.copyTo.split(',');
|
|
42035
|
-
this.copyToList = this.copyToList.concat(_arr);
|
|
42036
|
-
}
|
|
42037
|
-
if (this.mailInfo.blindCopyTo !== null && this.mailInfo.blindCopyTo !== '') {
|
|
42038
|
-
var _arr2 = this.mailInfo.blindCopyTo.split(',');
|
|
42039
|
-
this.blindCopyToList = this.blindCopyToList.concat(_arr2);
|
|
42040
|
-
}
|
|
42041
|
-
this.mailContent = this.mailInfo.content;
|
|
42042
|
-
if (this.mailInfo.attachments) {
|
|
42043
|
-
var _this$readyList;
|
|
42044
|
-
// if (this.mailInfo.attachments.length > 0) {
|
|
42045
|
-
this.readyList = (_this$readyList = this.readyList).concat.apply(_this$readyList, xieyoujianvue_type_script_lang_js_toConsumableArray(this.mailInfo.attachments));
|
|
42046
|
-
this.readyList.forEach(function (item) {
|
|
42047
|
-
if (!item.name) {
|
|
42048
|
-
item.name = item.fileName;
|
|
42049
|
-
}
|
|
42050
|
-
});
|
|
42051
|
-
// } else {
|
|
42052
|
-
// const _this = this
|
|
42053
|
-
// _this.$message.error(this.$tx('email.xieyoujian.addresseeEnter'))
|
|
42054
|
-
// return false
|
|
42055
|
-
// }
|
|
42056
|
-
}
|
|
42057
|
-
} else if (this.mailInfo.actionType) {
|
|
42058
|
-
// 转发、重新发送、回复邮件
|
|
42059
|
-
if (this.mailInfo.actionType === 'respAll') {
|
|
42060
|
-
var lists1 = this.mailInfo.sendTo.split(',');
|
|
42061
|
-
var lists2 = this.mailInfo.fromAddr.split(',');
|
|
42062
|
-
var lists3 = this.mailInfo.copyTo.split(',');
|
|
42063
|
-
lists1.forEach(function (item, index) {
|
|
42064
|
-
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42065
|
-
_this11.sendList.push(item);
|
|
42066
|
-
}
|
|
42067
|
-
});
|
|
42068
|
-
lists2.forEach(function (item, index) {
|
|
42069
|
-
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42070
|
-
_this11.sendList.push(item);
|
|
42071
|
-
}
|
|
42072
|
-
});
|
|
42073
|
-
lists3.forEach(function (item, index) {
|
|
42074
|
-
if (item !== '') {
|
|
42075
|
-
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42076
|
-
_this11.copyToList.push(item);
|
|
42077
|
-
_this11.csr = true;
|
|
42293
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
42294
|
+
var curTag, tempMailMessageId, _yield$_this11$$http, body, code, message, find, res, objKeys, arr, _arr, _arr2, _this11$readyList, lists1, lists2, lists3, _this11$readyList2, _this11$readyList3;
|
|
42295
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
42296
|
+
while (1) switch (_context.prev = _context.next) {
|
|
42297
|
+
case 0:
|
|
42298
|
+
if (type) {
|
|
42299
|
+
_context.next = 22;
|
|
42300
|
+
break;
|
|
42078
42301
|
}
|
|
42079
|
-
|
|
42080
|
-
|
|
42081
|
-
|
|
42082
|
-
|
|
42083
|
-
|
|
42084
|
-
|
|
42085
|
-
|
|
42086
|
-
|
|
42087
|
-
|
|
42088
|
-
|
|
42089
|
-
|
|
42090
|
-
|
|
42091
|
-
|
|
42092
|
-
|
|
42093
|
-
|
|
42094
|
-
|
|
42095
|
-
|
|
42096
|
-
|
|
42097
|
-
|
|
42098
|
-
|
|
42099
|
-
|
|
42302
|
+
curTag = _this11.$store.state.tagsView.visitedViews.find(function (item) {
|
|
42303
|
+
var _item$meta;
|
|
42304
|
+
return (item === null || item === void 0 || (_item$meta = item.meta) === null || _item$meta === void 0 ? void 0 : _item$meta.code) == "writeMail";
|
|
42305
|
+
});
|
|
42306
|
+
if (!curTag) {
|
|
42307
|
+
_context.next = 22;
|
|
42308
|
+
break;
|
|
42309
|
+
}
|
|
42310
|
+
if (!curTag.meta["tempMailMessageId-".concat(_this11.loginUser.orgCode, "-").concat(_this11.loginUser.personId)]) {
|
|
42311
|
+
_context.next = 22;
|
|
42312
|
+
break;
|
|
42313
|
+
}
|
|
42314
|
+
tempMailMessageId = curTag.meta["tempMailMessageId-".concat(_this11.loginUser.orgCode, "-").concat(_this11.loginUser.personId)];
|
|
42315
|
+
if (!tempMailMessageId) {
|
|
42316
|
+
_context.next = 22;
|
|
42317
|
+
break;
|
|
42318
|
+
}
|
|
42319
|
+
_context.next = 8;
|
|
42320
|
+
return _this11.$http({
|
|
42321
|
+
method: 'post',
|
|
42322
|
+
url: '/mail/messageBox/listdata',
|
|
42323
|
+
data: _this11.$qs.stringify({
|
|
42324
|
+
urlsearch: "usersetId:".concat(_this11.defultMail.id, ";")
|
|
42325
|
+
})
|
|
42326
|
+
});
|
|
42327
|
+
case 8:
|
|
42328
|
+
_yield$_this11$$http = _context.sent;
|
|
42329
|
+
body = _yield$_this11$$http.body;
|
|
42330
|
+
code = _yield$_this11$$http.code;
|
|
42331
|
+
message = _yield$_this11$$http.message;
|
|
42332
|
+
if (!(code == 'success')) {
|
|
42333
|
+
_context.next = 21;
|
|
42334
|
+
break;
|
|
42335
|
+
}
|
|
42336
|
+
find = body.pageInfo.list.find(function (item) {
|
|
42337
|
+
return item.boxType == 'DRAFT';
|
|
42338
|
+
});
|
|
42339
|
+
if (!find) {
|
|
42340
|
+
_context.next = 19;
|
|
42341
|
+
break;
|
|
42342
|
+
}
|
|
42343
|
+
_context.next = 17;
|
|
42344
|
+
return _this11.$http({
|
|
42345
|
+
method: 'get',
|
|
42346
|
+
url: '/mail/message/getMailInfoById',
|
|
42347
|
+
params: {
|
|
42348
|
+
messageId: tempMailMessageId,
|
|
42349
|
+
mailBoxId: find.id,
|
|
42350
|
+
apigw: 'apigw'
|
|
42100
42351
|
}
|
|
42101
42352
|
});
|
|
42102
|
-
|
|
42103
|
-
|
|
42104
|
-
|
|
42105
|
-
|
|
42106
|
-
|
|
42107
|
-
|
|
42108
|
-
|
|
42109
|
-
|
|
42353
|
+
case 17:
|
|
42354
|
+
res = _context.sent;
|
|
42355
|
+
if (res.code == 'success') {
|
|
42356
|
+
localStorage.setItem('newMailInfo', JSON.stringify(res.body.vo));
|
|
42357
|
+
} else {
|
|
42358
|
+
console.error(res.message);
|
|
42359
|
+
}
|
|
42360
|
+
case 19:
|
|
42361
|
+
_context.next = 22;
|
|
42362
|
+
break;
|
|
42363
|
+
case 21:
|
|
42364
|
+
console.error(message);
|
|
42365
|
+
case 22:
|
|
42366
|
+
_this11.loading = true;
|
|
42367
|
+
_this11.sendList = [];
|
|
42368
|
+
if (type === 'againMail') {
|
|
42369
|
+
_this11.mailInfo = {};
|
|
42370
|
+
_this11.mailInfo.sendTo = '';
|
|
42371
|
+
_this11.mailInfo.sended = false;
|
|
42372
|
+
} else {
|
|
42373
|
+
// 老版本写法,使用路由携带参数
|
|
42374
|
+
// var objKeys = Object.keys(this.$route.query)
|
|
42375
|
+
// if (objKeys.length > 2) {
|
|
42376
|
+
// this.mailInfo = this.$route.query
|
|
42377
|
+
// }
|
|
42378
|
+
// 新版本,使用缓存
|
|
42379
|
+
objKeys = localStorage.getItem('newMailInfo');
|
|
42380
|
+
if (objKeys && objKeys !== '{}') {
|
|
42381
|
+
objKeys = JSON.parse(objKeys);
|
|
42382
|
+
if (_this11.mailInfo.sentdate) {
|
|
42383
|
+
// 草稿邮件不能删除id。。转发,回复等操作需要
|
|
42384
|
+
delete objKeys.id;
|
|
42385
|
+
}
|
|
42386
|
+
_this11.mailInfo = objKeys;
|
|
42387
|
+
localStorage.removeItem('newMailInfo');
|
|
42388
|
+
}
|
|
42389
|
+
}
|
|
42390
|
+
if (_this11.mailInfo.srcBusiDataId !== undefined) {
|
|
42391
|
+
// 流程表单转发邮件
|
|
42392
|
+
_this11.wflowForwardMail();
|
|
42393
|
+
} else if (_this11.mailInfo.mailMessageId == null) {
|
|
42394
|
+
// 新邮件
|
|
42395
|
+
_this11.mailContent = '<br/>';
|
|
42396
|
+
if (_this11.defultMail.signFlag === 1) {
|
|
42397
|
+
_this11.mailContent += _this11.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42398
|
+
}
|
|
42399
|
+
} else if (_this11.mailInfo.sentdate == null) {
|
|
42400
|
+
// 草稿邮件
|
|
42401
|
+
_this11.sendList = [];
|
|
42402
|
+
_this11.copyToList = [];
|
|
42403
|
+
_this11.blindCopyToList = [];
|
|
42404
|
+
if (_this11.mailInfo.sendTo !== null && _this11.mailInfo.sendTo !== '') {
|
|
42405
|
+
arr = _this11.mailInfo.sendTo.split(',');
|
|
42406
|
+
_this11.sendList = _this11.sendList.concat(arr);
|
|
42407
|
+
}
|
|
42408
|
+
if (_this11.mailInfo.copyTo !== null && _this11.mailInfo.copyTo !== '') {
|
|
42409
|
+
_arr = _this11.mailInfo.copyTo.split(',');
|
|
42410
|
+
_this11.copyToList = _this11.copyToList.concat(_arr);
|
|
42411
|
+
}
|
|
42412
|
+
if (_this11.mailInfo.blindCopyTo !== null && _this11.mailInfo.blindCopyTo !== '') {
|
|
42413
|
+
_arr2 = _this11.mailInfo.blindCopyTo.split(',');
|
|
42414
|
+
_this11.blindCopyToList = _this11.blindCopyToList.concat(_arr2);
|
|
42415
|
+
}
|
|
42416
|
+
_this11.mailContent = _this11.mailInfo.content;
|
|
42417
|
+
if (_this11.mailInfo.attachments) {
|
|
42418
|
+
// if (this.mailInfo.attachments.length > 0) {
|
|
42419
|
+
_this11.readyList = (_this11$readyList = _this11.readyList).concat.apply(_this11$readyList, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42420
|
+
_this11.readyList.forEach(function (item) {
|
|
42421
|
+
if (!item.name) {
|
|
42422
|
+
item.name = item.fileName;
|
|
42423
|
+
}
|
|
42424
|
+
});
|
|
42425
|
+
// } else {
|
|
42426
|
+
// const _this = this
|
|
42427
|
+
// _this.$message.error(this.$tx('email.xieyoujian.addresseeEnter'))
|
|
42428
|
+
// return false
|
|
42429
|
+
// }
|
|
42430
|
+
}
|
|
42431
|
+
} else if (_this11.mailInfo.actionType) {
|
|
42432
|
+
// 转发、重新发送、回复邮件
|
|
42433
|
+
if (_this11.mailInfo.actionType === 'respAll') {
|
|
42434
|
+
lists1 = _this11.mailInfo.sendTo.split(',');
|
|
42435
|
+
lists2 = _this11.mailInfo.fromAddr.split(',');
|
|
42436
|
+
lists3 = _this11.mailInfo.copyTo.split(',');
|
|
42437
|
+
lists1.forEach(function (item, index) {
|
|
42438
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42439
|
+
_this11.sendList.push(item);
|
|
42440
|
+
}
|
|
42441
|
+
});
|
|
42442
|
+
lists2.forEach(function (item, index) {
|
|
42443
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42444
|
+
_this11.sendList.push(item);
|
|
42445
|
+
}
|
|
42446
|
+
});
|
|
42447
|
+
lists3.forEach(function (item, index) {
|
|
42448
|
+
if (item !== '') {
|
|
42449
|
+
if (item.indexOf(_this11.defultMail.emailAddr) === -1 && item.indexOf(_this11.defultMail.emailAddr.split('@')[0]) === -1) {
|
|
42450
|
+
_this11.copyToList.push(item);
|
|
42451
|
+
_this11.csr = true;
|
|
42452
|
+
}
|
|
42453
|
+
}
|
|
42454
|
+
});
|
|
42455
|
+
} else if (_this11.mailInfo.actionType === 'resp') {
|
|
42456
|
+
_this11.sendList.push(_this11.mailInfo.fromAddr);
|
|
42457
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42458
|
+
} else if (_this11.mailInfo.actionType === 'resend') {
|
|
42459
|
+
_this11.sendList.push(_this11.mailInfo.sendTo);
|
|
42460
|
+
if (_this11.mailInfo.attachments.length > 0) {
|
|
42461
|
+
(_this11$readyList2 = _this11.readyList).push.apply(_this11$readyList2, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42462
|
+
}
|
|
42463
|
+
} else if (_this11.mailInfo.actionType === 'forward') {
|
|
42464
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42465
|
+
_this11.sendList = [];
|
|
42466
|
+
if (_this11.mailInfo.attachments) {
|
|
42467
|
+
if (_this11.mailInfo.attachments.length > 0) {
|
|
42468
|
+
(_this11$readyList3 = _this11.readyList).push.apply(_this11$readyList3, xieyoujianvue_type_script_lang_js_toConsumableArray(_this11.mailInfo.attachments));
|
|
42469
|
+
_this11.readyList.forEach(function (item) {
|
|
42470
|
+
if (!item.name) {
|
|
42471
|
+
item.name = item.fileName;
|
|
42472
|
+
}
|
|
42473
|
+
});
|
|
42474
|
+
}
|
|
42475
|
+
}
|
|
42476
|
+
}
|
|
42477
|
+
if (_this11.mailInfo.actionType !== 'resend') {
|
|
42478
|
+
_this11.mailInfo.fromAddr = _this11.defultMail.emailAddr;
|
|
42479
|
+
_this11.mailContent = '<br/><br/><br/><br/><br/>';
|
|
42480
|
+
if (_this11.defultMail.signFlag === 1) {
|
|
42481
|
+
_this11.mailContent += _this11.defultMail.signContent.replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>');
|
|
42482
|
+
}
|
|
42483
|
+
_this11.mailContent += '<hr/>------------------ 原始邮件 ------------------<br/>';
|
|
42484
|
+
}
|
|
42485
|
+
_this11.mailContent += _this11.mailInfo.content;
|
|
42486
|
+
_this11.mailInfo.mailMessageId = null;
|
|
42487
|
+
_this11.mailInfo.id = null;
|
|
42488
|
+
_this11.mailInfo.sentdate = null;
|
|
42489
|
+
}
|
|
42490
|
+
_this11.$set(_this11.mailInfo, 'receipt', 1);
|
|
42491
|
+
_this11.loading = false;
|
|
42492
|
+
_this11.mailInfo.content = _this11.mailContent;
|
|
42493
|
+
// this.mailInfo.mailType = 2
|
|
42494
|
+
_this11.newMailInfo = null;
|
|
42495
|
+
_this11.$forceUpdate();
|
|
42496
|
+
case 31:
|
|
42497
|
+
case "end":
|
|
42498
|
+
return _context.stop();
|
|
42110
42499
|
}
|
|
42111
|
-
|
|
42112
|
-
|
|
42113
|
-
this.mailContent += this.mailInfo.content;
|
|
42114
|
-
this.mailInfo.mailMessageId = null;
|
|
42115
|
-
this.mailInfo.id = null;
|
|
42116
|
-
this.mailInfo.sentdate = null;
|
|
42117
|
-
}
|
|
42118
|
-
this.$set(this.mailInfo, 'receipt', 1);
|
|
42119
|
-
this.loading = false;
|
|
42120
|
-
this.mailInfo.content = this.mailContent;
|
|
42121
|
-
// this.mailInfo.mailType = 2
|
|
42122
|
-
this.newMailInfo = null;
|
|
42123
|
-
this.$forceUpdate();
|
|
42500
|
+
}, _callee);
|
|
42501
|
+
}))();
|
|
42124
42502
|
},
|
|
42125
42503
|
// 流程表单转发邮件
|
|
42126
42504
|
wflowForwardMail: function wflowForwardMail() {
|
|
@@ -42198,6 +42576,32 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42198
42576
|
this.readyList[j].fileSize = (this.readyList[j].size / this.pow1024(1)).toFixed(2);
|
|
42199
42577
|
}
|
|
42200
42578
|
}
|
|
42579
|
+
var data = new FormData();
|
|
42580
|
+
data.append('module', 'DRAFT');
|
|
42581
|
+
data.append('fileLevel', '');
|
|
42582
|
+
data.append('busiDataId', this.mailInfo.id);
|
|
42583
|
+
data.append('attachsType', 'ATTACH');
|
|
42584
|
+
data.append('attachsSize', file.size);
|
|
42585
|
+
data.append('attachsName', file.name);
|
|
42586
|
+
data.append('file', file.raw);
|
|
42587
|
+
data.append('usersetId', this.defultMail.id);
|
|
42588
|
+
var url = '/mail/attach/upload';
|
|
42589
|
+
this.uploadDdta = data;
|
|
42590
|
+
this.$http({
|
|
42591
|
+
method: 'POST',
|
|
42592
|
+
url: url,
|
|
42593
|
+
data: this.uploadDdta
|
|
42594
|
+
}).then(function successCallback(response) {
|
|
42595
|
+
if (response.code === 'success') {
|
|
42596
|
+
file.id = response.body.uploadAttachList[0].id;
|
|
42597
|
+
this.mailInfo.attachments.push(response.body.uploadAttachList[0]);
|
|
42598
|
+
} else {
|
|
42599
|
+
this.loading = false;
|
|
42600
|
+
this.$message.error(response.message);
|
|
42601
|
+
return false;
|
|
42602
|
+
}
|
|
42603
|
+
});
|
|
42604
|
+
// this.fileUploadFuc('Draft',false)
|
|
42201
42605
|
},
|
|
42202
42606
|
// 求次幂
|
|
42203
42607
|
pow1024: function pow1024(num) {
|
|
@@ -42221,13 +42625,15 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42221
42625
|
// 保存邮件草稿
|
|
42222
42626
|
saveDraft: function saveDraft(type) {
|
|
42223
42627
|
var _this13 = this;
|
|
42628
|
+
var checkSendList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
42629
|
+
var callBack = arguments.length > 2 ? arguments[2] : undefined;
|
|
42224
42630
|
var _this = this;
|
|
42225
42631
|
_this.mailInfo.usersetId = _this.defultMail.id;
|
|
42226
42632
|
if (_this.sendList.length > 0) {
|
|
42227
42633
|
_this.mailInfo.sendTo = this.sendList.toString();
|
|
42228
42634
|
_this.mailInfo.copyTo = this.copyToList.toString();
|
|
42229
42635
|
_this.mailInfo.blindCopyTo = this.blindCopyToList.toString();
|
|
42230
|
-
} else {
|
|
42636
|
+
} else if (checkSendList) {
|
|
42231
42637
|
_this.$message.error(this.$tx('email.messages.addresseeEnter', '请输入收件人!'));
|
|
42232
42638
|
return false;
|
|
42233
42639
|
}
|
|
@@ -42258,7 +42664,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42258
42664
|
_this.sendMail();
|
|
42259
42665
|
} else {
|
|
42260
42666
|
_this.loading = false;
|
|
42261
|
-
|
|
42667
|
+
if (checkSendList) {
|
|
42668
|
+
_this.$message.success(_this13.$tx('email.messages.SaveDraftsu', '保存草稿成功'));
|
|
42669
|
+
}
|
|
42262
42670
|
// location.reload()
|
|
42263
42671
|
}
|
|
42264
42672
|
}
|
|
@@ -42266,6 +42674,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42266
42674
|
_this.loading = false;
|
|
42267
42675
|
_this.$message.error(data.message);
|
|
42268
42676
|
}
|
|
42677
|
+
if (!checkSendList) {
|
|
42678
|
+
callBack(data);
|
|
42679
|
+
}
|
|
42269
42680
|
resolve(data);
|
|
42270
42681
|
}).catch(function (err) {
|
|
42271
42682
|
reject(err);
|
|
@@ -42275,27 +42686,29 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42275
42686
|
},
|
|
42276
42687
|
// * 上传附件
|
|
42277
42688
|
fileUploadFuc: function fileUploadFuc(type) {
|
|
42278
|
-
var
|
|
42279
|
-
|
|
42280
|
-
|
|
42281
|
-
|
|
42282
|
-
|
|
42689
|
+
var _arguments = arguments,
|
|
42690
|
+
_this14 = this;
|
|
42691
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
42692
|
+
var isShowMessage, _this, url, _loop3, i;
|
|
42693
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context3) {
|
|
42694
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
42283
42695
|
case 0:
|
|
42696
|
+
isShowMessage = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : true;
|
|
42284
42697
|
_this = _this14; // 两种上传接口 处理 草稿和转发和再次发送操作带过来的旧附件 和 新上传的附件
|
|
42285
42698
|
url = '/mail/attach/upload';
|
|
42286
42699
|
if (!(_this.readyList.length === 0)) {
|
|
42287
|
-
|
|
42700
|
+
_context3.next = 7;
|
|
42288
42701
|
break;
|
|
42289
42702
|
}
|
|
42290
42703
|
_this.$messages.info(_this14.$tx('email.messages.selectExportFile', '请选择导入文件'));
|
|
42291
|
-
|
|
42704
|
+
_context3.next = 16;
|
|
42292
42705
|
break;
|
|
42293
|
-
case
|
|
42706
|
+
case 7:
|
|
42294
42707
|
_this.mailInfo.attachments = [];
|
|
42295
42708
|
_loop3 = /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _loop3() {
|
|
42296
42709
|
var file, data, moveFilarr;
|
|
42297
|
-
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _loop3$(
|
|
42298
|
-
while (1) switch (
|
|
42710
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _loop3$(_context2) {
|
|
42711
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
42299
42712
|
case 0:
|
|
42300
42713
|
file = _this.readyList[i];
|
|
42301
42714
|
data = new FormData();
|
|
@@ -42313,11 +42726,11 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42313
42726
|
_this.$app.deleteByIds('/mail/attach/deleted', moveFilarr);
|
|
42314
42727
|
}
|
|
42315
42728
|
if (!file.id) {
|
|
42316
|
-
|
|
42729
|
+
_context2.next = 17;
|
|
42317
42730
|
break;
|
|
42318
42731
|
}
|
|
42319
42732
|
if (!(_this.mailInfo.actionType && (_this.mailInfo.actionType === 'forward' || _this.mailInfo.actionType === 'resend') || _this.$route.query.srcBusiDataId || _this.$route.query.row)) {
|
|
42320
|
-
|
|
42733
|
+
_context2.next = 14;
|
|
42321
42734
|
break;
|
|
42322
42735
|
}
|
|
42323
42736
|
if (_this.$route.query.srcBusiDataId) {
|
|
@@ -42339,7 +42752,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42339
42752
|
|
|
42340
42753
|
_this.uploadDdta = data;
|
|
42341
42754
|
}
|
|
42342
|
-
|
|
42755
|
+
_context2.next = 12;
|
|
42343
42756
|
return _this.$http({
|
|
42344
42757
|
method: 'POST',
|
|
42345
42758
|
url: url,
|
|
@@ -42356,12 +42769,12 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42356
42769
|
}
|
|
42357
42770
|
});
|
|
42358
42771
|
case 12:
|
|
42359
|
-
|
|
42772
|
+
_context2.next = 15;
|
|
42360
42773
|
break;
|
|
42361
42774
|
case 14:
|
|
42362
42775
|
_this.mailInfo.attachments.push(file);
|
|
42363
42776
|
case 15:
|
|
42364
|
-
|
|
42777
|
+
_context2.next = 27;
|
|
42365
42778
|
break;
|
|
42366
42779
|
case 17:
|
|
42367
42780
|
data.append('busiDataId', _this.mailInfo.id);
|
|
@@ -42372,7 +42785,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42372
42785
|
data.append('usersetId', _this.defultMail.id);
|
|
42373
42786
|
url = '/mail/attach/upload';
|
|
42374
42787
|
_this.uploadDdta = data;
|
|
42375
|
-
|
|
42788
|
+
_context2.next = 27;
|
|
42376
42789
|
return _this.$http({
|
|
42377
42790
|
method: 'POST',
|
|
42378
42791
|
url: url,
|
|
@@ -42389,27 +42802,29 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42389
42802
|
});
|
|
42390
42803
|
case 27:
|
|
42391
42804
|
case "end":
|
|
42392
|
-
return
|
|
42805
|
+
return _context2.stop();
|
|
42393
42806
|
}
|
|
42394
42807
|
}, _loop3);
|
|
42395
42808
|
});
|
|
42396
42809
|
i = 0;
|
|
42397
|
-
case
|
|
42810
|
+
case 10:
|
|
42398
42811
|
if (!(i < _this.readyList.length)) {
|
|
42399
|
-
|
|
42812
|
+
_context3.next = 15;
|
|
42400
42813
|
break;
|
|
42401
42814
|
}
|
|
42402
|
-
return
|
|
42403
|
-
case
|
|
42815
|
+
return _context3.delegateYield(_loop3(), "t0", 12);
|
|
42816
|
+
case 12:
|
|
42404
42817
|
i++;
|
|
42405
|
-
|
|
42818
|
+
_context3.next = 10;
|
|
42406
42819
|
break;
|
|
42407
|
-
case
|
|
42820
|
+
case 15:
|
|
42408
42821
|
if (type === 'send') {
|
|
42409
42822
|
_this.sendMail();
|
|
42410
42823
|
} else {
|
|
42411
42824
|
_this.loading = false;
|
|
42412
|
-
|
|
42825
|
+
// if(isShowMessage){
|
|
42826
|
+
// _this.$message.success(this.$tx('email.messages.SaveDraftsu', '保存草稿成功'))
|
|
42827
|
+
// }
|
|
42413
42828
|
_this.readyList = _this.mailInfo.attachments;
|
|
42414
42829
|
if (_this.mailInfo.actionType) {
|
|
42415
42830
|
delete _this.mailInfo.actionType;
|
|
@@ -42418,11 +42833,11 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42418
42833
|
delete _this.$route.query.row;
|
|
42419
42834
|
}
|
|
42420
42835
|
}
|
|
42421
|
-
case
|
|
42836
|
+
case 16:
|
|
42422
42837
|
case "end":
|
|
42423
|
-
return
|
|
42838
|
+
return _context3.stop();
|
|
42424
42839
|
}
|
|
42425
|
-
},
|
|
42840
|
+
}, _callee2);
|
|
42426
42841
|
}))();
|
|
42427
42842
|
},
|
|
42428
42843
|
// 发送互联网邮件
|
|
@@ -42544,47 +42959,47 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42544
42959
|
// 手动输入的邮箱账号, 失去焦点后去验证输入的的邮件格式
|
|
42545
42960
|
keyUpFuc: function keyUpFuc() {
|
|
42546
42961
|
var _this15 = this;
|
|
42547
|
-
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
42962
|
+
return xieyoujianvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/xieyoujianvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
42548
42963
|
var emailDomain, tfFlag, errRes;
|
|
42549
|
-
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
42550
|
-
while (1) switch (
|
|
42964
|
+
return xieyoujianvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context4) {
|
|
42965
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
42551
42966
|
case 0:
|
|
42552
42967
|
if (!((_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput).trim() !== '')) {
|
|
42553
|
-
|
|
42968
|
+
_context4.next = 25;
|
|
42554
42969
|
break;
|
|
42555
42970
|
}
|
|
42556
42971
|
emailDomain = null;
|
|
42557
42972
|
if (!(_this15.closeLink === false)) {
|
|
42558
|
-
|
|
42973
|
+
_context4.next = 25;
|
|
42559
42974
|
break;
|
|
42560
42975
|
}
|
|
42561
|
-
|
|
42976
|
+
_context4.next = 5;
|
|
42562
42977
|
return _this15.isEmail(_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput);
|
|
42563
42978
|
case 5:
|
|
42564
|
-
tfFlag =
|
|
42979
|
+
tfFlag = _context4.sent;
|
|
42565
42980
|
if (!tfFlag) {
|
|
42566
|
-
|
|
42981
|
+
_context4.next = 25;
|
|
42567
42982
|
break;
|
|
42568
42983
|
}
|
|
42569
42984
|
errRes = null; // 验证当前为内部邮箱时,是否需要绑定外部邮箱
|
|
42570
42985
|
if (!(_this15.defultMail.emailReceiveType === null)) {
|
|
42571
|
-
|
|
42986
|
+
_context4.next = 15;
|
|
42572
42987
|
break;
|
|
42573
42988
|
}
|
|
42574
42989
|
emailDomain = '@' + _this15.defultMail.emailAddr.split('@')[1];
|
|
42575
42990
|
if (_this15.defultMail.internetEmailAddr) {
|
|
42576
|
-
|
|
42991
|
+
_context4.next = 15;
|
|
42577
42992
|
break;
|
|
42578
42993
|
}
|
|
42579
42994
|
if (!((_this15.focusInput === 1 ? _this15.sendListInput : _this15.focusInput === 2 ? _this15.copyToInput : _this15.blindCopyToInput).indexOf(emailDomain) === -1)) {
|
|
42580
|
-
|
|
42995
|
+
_context4.next = 15;
|
|
42581
42996
|
break;
|
|
42582
42997
|
}
|
|
42583
42998
|
_this15.$alert(_this15.$tx('email.xieyoujian.content2', '当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱'), _this15.$tx('common.operationTip', '操作提示'), {
|
|
42584
42999
|
type: 'warning'
|
|
42585
43000
|
});
|
|
42586
43001
|
_this15.focusInput === 1 ? _this15.sendListInput = '' : _this15.focusInput === 2 ? _this15.copyToInput = '' : _this15.blindCopyToInput = '';
|
|
42587
|
-
return
|
|
43002
|
+
return _context4.abrupt("return", false);
|
|
42588
43003
|
case 15:
|
|
42589
43004
|
// 验证手动输入的与已经存在的是否重复
|
|
42590
43005
|
;
|
|
@@ -42601,7 +43016,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42601
43016
|
// }
|
|
42602
43017
|
// })
|
|
42603
43018
|
if (!(errRes === 1)) {
|
|
42604
|
-
|
|
43019
|
+
_context4.next = 24;
|
|
42605
43020
|
break;
|
|
42606
43021
|
}
|
|
42607
43022
|
if (_this15.focusInput === 1) {
|
|
@@ -42613,7 +43028,7 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42613
43028
|
if (_this15.focusInput === 3) {
|
|
42614
43029
|
_this15.$message.warning(_this15.$tx('email.messages.emailTip3', '已存在该密送人!'));
|
|
42615
43030
|
}
|
|
42616
|
-
return
|
|
43031
|
+
return _context4.abrupt("return", false);
|
|
42617
43032
|
case 24:
|
|
42618
43033
|
if (_this15.focusInput === 1) {
|
|
42619
43034
|
_this15.sendList.push(_this15.sendListInput);
|
|
@@ -42630,9 +43045,9 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42630
43045
|
}
|
|
42631
43046
|
case 25:
|
|
42632
43047
|
case "end":
|
|
42633
|
-
return
|
|
43048
|
+
return _context4.stop();
|
|
42634
43049
|
}
|
|
42635
|
-
},
|
|
43050
|
+
}, _callee3);
|
|
42636
43051
|
}))();
|
|
42637
43052
|
},
|
|
42638
43053
|
removeMail: function removeMail(item, index, val) {
|
|
@@ -42801,13 +43216,39 @@ function xieyoujianvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != x
|
|
|
42801
43216
|
this.handleChange(fileBody);
|
|
42802
43217
|
}
|
|
42803
43218
|
}
|
|
43219
|
+
},
|
|
43220
|
+
beforeRouteLeave: function beforeRouteLeave(to, from, next) {
|
|
43221
|
+
var _this17 = this;
|
|
43222
|
+
if (!this.mailInfo.subject) {
|
|
43223
|
+
this.$set(this.mailInfo, 'subject', '无主题');
|
|
43224
|
+
}
|
|
43225
|
+
setTimeout(function () {
|
|
43226
|
+
try {
|
|
43227
|
+
_this17.saveDraft('Draft', false, function (_ref) {
|
|
43228
|
+
var body = _ref.body,
|
|
43229
|
+
code = _ref.code,
|
|
43230
|
+
message = _ref.message;
|
|
43231
|
+
if (code == 'success') {
|
|
43232
|
+
var curTag = _this17.$store.state.tagsView.visitedViews.find(function (item) {
|
|
43233
|
+
var _item$meta2;
|
|
43234
|
+
return (item === null || item === void 0 || (_item$meta2 = item.meta) === null || _item$meta2 === void 0 ? void 0 : _item$meta2.code) == "writeMail";
|
|
43235
|
+
});
|
|
43236
|
+
if (curTag) {
|
|
43237
|
+
curTag.meta["tempMailMessageId-".concat(_this17.loginUser.orgCode, "-").concat(_this17.loginUser.personId)] = body.mailMessageId;
|
|
43238
|
+
}
|
|
43239
|
+
}
|
|
43240
|
+
});
|
|
43241
|
+
} finally {
|
|
43242
|
+
next();
|
|
43243
|
+
}
|
|
43244
|
+
}, 0);
|
|
42804
43245
|
}
|
|
42805
43246
|
});
|
|
42806
43247
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=script&lang=js
|
|
42807
43248
|
/* harmony default export */ var src_xieyoujianvue_type_script_lang_js = (xieyoujianvue_type_script_lang_js);
|
|
42808
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=
|
|
42809
|
-
var
|
|
42810
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=
|
|
43249
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=1da03451&prod&lang=scss&scoped=true
|
|
43250
|
+
var xieyoujianvue_type_style_index_0_id_1da03451_prod_lang_scss_scoped_true = __webpack_require__(8096);
|
|
43251
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue?vue&type=style&index=0&id=1da03451&prod&lang=scss&scoped=true
|
|
42811
43252
|
|
|
42812
43253
|
;// CONCATENATED MODULE: ./packages/ecyoa/email/src/xieyoujian.vue
|
|
42813
43254
|
|
|
@@ -42820,11 +43261,11 @@ var xieyoujianvue_type_style_index_0_id_0936748c_prod_lang_scss_scoped_true = __
|
|
|
42820
43261
|
|
|
42821
43262
|
var xieyoujian_component = normalizeComponent(
|
|
42822
43263
|
src_xieyoujianvue_type_script_lang_js,
|
|
42823
|
-
|
|
42824
|
-
|
|
43264
|
+
xieyoujianvue_type_template_id_1da03451_scoped_true_render,
|
|
43265
|
+
xieyoujianvue_type_template_id_1da03451_scoped_true_staticRenderFns,
|
|
42825
43266
|
false,
|
|
42826
43267
|
null,
|
|
42827
|
-
"
|
|
43268
|
+
"1da03451",
|
|
42828
43269
|
null
|
|
42829
43270
|
|
|
42830
43271
|
)
|