wotokol-edm 1.1.97 → 1.1.99
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/package.json +1 -1
- package/wotokol-edm.common.js +268 -524
- package/wotokol-edm.common.js.gz +0 -0
- package/wotokol-edm.css +1 -1
- package/wotokol-edm.css.gz +0 -0
- package/wotokol-edm.umd.js +268 -524
- package/wotokol-edm.umd.js.gz +0 -0
- package/wotokol-edm.umd.min.js +21 -21
- package/wotokol-edm.umd.min.js.gz +0 -0
package/wotokol-edm.common.js
CHANGED
|
@@ -91392,7 +91392,7 @@ if (typeof window !== 'undefined') {
|
|
|
91392
91392
|
// Indicate to webpack that this file can be concatenated
|
|
91393
91393
|
/* harmony default export */ var setPublicPath = (null);
|
|
91394
91394
|
|
|
91395
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/package/edm-button/index.vue?vue&type=template&id=
|
|
91395
|
+
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/package/edm-button/index.vue?vue&type=template&id=4c4ee968&scoped=true
|
|
91396
91396
|
var render = function render() {
|
|
91397
91397
|
var _vm = this,
|
|
91398
91398
|
_c = _vm._self._c;
|
|
@@ -103364,6 +103364,20 @@ function testD(str) {
|
|
|
103364
103364
|
}
|
|
103365
103365
|
return false;
|
|
103366
103366
|
}
|
|
103367
|
+
|
|
103368
|
+
// 创建a标签并跳转
|
|
103369
|
+
function createAndTriggerLink(url, isDownload = false) {
|
|
103370
|
+
const link = document.createElement("a");
|
|
103371
|
+
link.href = url;
|
|
103372
|
+
link.target = "_blank";
|
|
103373
|
+
link.rel = "noopener noreferrer";
|
|
103374
|
+
if (isDownload) {
|
|
103375
|
+
link.download = "file"; // 指定下载文件名(可选)
|
|
103376
|
+
}
|
|
103377
|
+
document.body.appendChild(link);
|
|
103378
|
+
link.click();
|
|
103379
|
+
document.body.removeChild(link); // 清理 DOM
|
|
103380
|
+
}
|
|
103367
103381
|
;// ./src/utils/request.js
|
|
103368
103382
|
|
|
103369
103383
|
|
|
@@ -103884,10 +103898,10 @@ async function test_test(params) {
|
|
|
103884
103898
|
// 模拟 hub 登陆 测试账号
|
|
103885
103899
|
// mobileOrEmail: "13262005357",
|
|
103886
103900
|
// password: "123123123"
|
|
103887
|
-
mobileOrEmail: "18846078060",
|
|
103888
|
-
password: "asd123456"
|
|
103889
|
-
|
|
103890
|
-
|
|
103901
|
+
// mobileOrEmail: "18846078060",
|
|
103902
|
+
// password: "asd123456"
|
|
103903
|
+
mobileOrEmail: "18270829507",
|
|
103904
|
+
password: "123123"
|
|
103891
103905
|
// mobileOrEmail: "15658187195",
|
|
103892
103906
|
// password: "wotu987412365"
|
|
103893
103907
|
// mobileOrEmail: "17336189682",
|
|
@@ -104043,7 +104057,7 @@ var component = normalizeComponent(
|
|
|
104043
104057
|
staticRenderFns,
|
|
104044
104058
|
false,
|
|
104045
104059
|
null,
|
|
104046
|
-
"
|
|
104060
|
+
"4c4ee968",
|
|
104047
104061
|
null
|
|
104048
104062
|
|
|
104049
104063
|
)
|
|
@@ -111712,7 +111726,7 @@ const zh_message = {
|
|
|
111712
111726
|
Current_settings: "当前设置",
|
|
111713
111727
|
mailbox_system: "系统邮箱",
|
|
111714
111728
|
unbind: "解绑",
|
|
111715
|
-
tip1: "
|
|
111729
|
+
tip1: "您确定要解除Gmail邮箱与WotoHub的绑定关系么?解除绑定后,您将无法再使用Gmail邮箱代收发的相关功能,并且需要重新进行授权才能使用。取消授权需要在Gmail邮箱中进行设置。",
|
|
111716
111730
|
guide: "点击查看操作指引",
|
|
111717
111731
|
cancle: "取消",
|
|
111718
111732
|
confirm_unbinding: "确定解绑",
|
|
@@ -115837,8 +115851,8 @@ var detail_component = normalizeComponent(
|
|
|
115837
115851
|
)
|
|
115838
115852
|
|
|
115839
115853
|
/* harmony default export */ var detail = (detail_component.exports);
|
|
115840
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/package/write-email/index.vue?vue&type=template&id=
|
|
115841
|
-
var
|
|
115854
|
+
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/package/write-email/index.vue?vue&type=template&id=b5ba2836&scoped=true
|
|
115855
|
+
var write_emailvue_type_template_id_b5ba2836_scoped_true_render = function render() {
|
|
115842
115856
|
var _vm = this,
|
|
115843
115857
|
_c = _vm._self._c;
|
|
115844
115858
|
return _c('div', {
|
|
@@ -116177,11 +116191,13 @@ var write_emailvue_type_template_id_04465d4a_scoped_true_render = function rende
|
|
|
116177
116191
|
"slot": "content"
|
|
116178
116192
|
},
|
|
116179
116193
|
slot: "content"
|
|
116180
|
-
}, [_vm.
|
|
116194
|
+
}, [_vm.currentSetEmail === 'WOTOMAIL' ? _c('span', [_vm._v(" " + _vm._s(_vm.$i18n.t("setMail.mailbox_system")) + " ")]) : _vm.currentSetEmail === 'GMAIL' ? _c('span', [_vm._v(" " + _vm._s(_vm.gmailValue) + " ")]) : _c('span', [_vm._v(_vm._s(_vm.currentSetEmail))])]), _vm.currentSetEmail === 'WOTOMAIL' ? _c('span', {
|
|
116181
116195
|
staticClass: "current-email"
|
|
116182
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("setMail.mailbox_system")) + " ")]) : _c('span', {
|
|
116196
|
+
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("setMail.mailbox_system")) + " ")]) : _vm.currentSetEmail === 'GMAIL' ? _c('span', {
|
|
116183
116197
|
staticClass: "current-email"
|
|
116184
|
-
}, [_vm._v(_vm._s(_vm.
|
|
116198
|
+
}, [_vm._v(" " + _vm._s(_vm.gmailValue) + " ")]) : _c('span', {
|
|
116199
|
+
staticClass: "current-email"
|
|
116200
|
+
}, [_vm._v(_vm._s(_vm.currentSetEmail))])])], 1)]) : _vm._e(), !_vm.isReply && !_vm.isMultiReply && _vm.pageFrom != 'AIinvitePlan' ? _c('div', {
|
|
116185
116201
|
staticClass: "set-nickname"
|
|
116186
116202
|
}, [_c('div', {
|
|
116187
116203
|
staticClass: "set-btn",
|
|
@@ -116527,8 +116543,9 @@ var write_emailvue_type_template_id_04465d4a_scoped_true_render = function rende
|
|
|
116527
116543
|
}) : _vm._e(), _vm.showChooseMail ? _c('chooseMailNew', {
|
|
116528
116544
|
attrs: {
|
|
116529
116545
|
"isShow": _vm.showChooseMail,
|
|
116530
|
-
"
|
|
116546
|
+
"currentSetEmail": _vm.currentSetEmail,
|
|
116531
116547
|
"currentEnv": _vm.currentEnv,
|
|
116548
|
+
"isGoogleGrayShow": _vm.isGoogleGrayShow,
|
|
116532
116549
|
"isCheckType": _vm.isCheckType,
|
|
116533
116550
|
"userId": _vm.userId,
|
|
116534
116551
|
"addresseeArrLength": _vm.addresseeArr.length,
|
|
@@ -116621,7 +116638,7 @@ var write_emailvue_type_template_id_04465d4a_scoped_true_render = function rende
|
|
|
116621
116638
|
}
|
|
116622
116639
|
}) : _vm._e()], 1);
|
|
116623
116640
|
};
|
|
116624
|
-
var
|
|
116641
|
+
var write_emailvue_type_template_id_b5ba2836_scoped_true_staticRenderFns = [function () {
|
|
116625
116642
|
var _vm = this,
|
|
116626
116643
|
_c = _vm._self._c;
|
|
116627
116644
|
return _c('div', {
|
|
@@ -116642,7 +116659,7 @@ var write_emailvue_type_template_id_04465d4a_scoped_true_staticRenderFns = [func
|
|
|
116642
116659
|
}, [_c('span', [_vm._v("$4.98")]), _vm._v(" /per ordered item ")]);
|
|
116643
116660
|
}];
|
|
116644
116661
|
|
|
116645
|
-
;// ./src/package/write-email/index.vue?vue&type=template&id=
|
|
116662
|
+
;// ./src/package/write-email/index.vue?vue&type=template&id=b5ba2836&scoped=true
|
|
116646
116663
|
|
|
116647
116664
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
|
|
116648
116665
|
var es_iterator_every = __webpack_require__(1148);
|
|
@@ -116794,7 +116811,12 @@ async function checkEmailVariablesV2(data) {
|
|
|
116794
116811
|
|
|
116795
116812
|
// 查看用户是否已经进行谷歌授权
|
|
116796
116813
|
async function isAuthorize(params) {
|
|
116797
|
-
let res = await
|
|
116814
|
+
let res = await request_get("/edm/conf/isAuthorize", params);
|
|
116815
|
+
return res;
|
|
116816
|
+
}
|
|
116817
|
+
// 获取用户的发件方式和邮箱,WOTOMAIL:卧兔邮箱,GMAIL:谷歌邮箱
|
|
116818
|
+
async function getSendType(params) {
|
|
116819
|
+
let res = await get("/edm/conf/sendType/get", params);
|
|
116798
116820
|
return res;
|
|
116799
116821
|
}
|
|
116800
116822
|
// 用户绑定谷歌邮箱
|
|
@@ -116807,6 +116829,11 @@ async function getBindGmail(params) {
|
|
|
116807
116829
|
let res = await request_get("/edm/conf/getGmail", params);
|
|
116808
116830
|
return res;
|
|
116809
116831
|
}
|
|
116832
|
+
// 用户绑定发件方式
|
|
116833
|
+
async function bindSendType(data) {
|
|
116834
|
+
let res = await post("/edm/conf/sendType/bind", data);
|
|
116835
|
+
return res;
|
|
116836
|
+
}
|
|
116810
116837
|
// gmail授权/取消授权
|
|
116811
116838
|
async function authGmail(data) {
|
|
116812
116839
|
let res = await request_post("/edm/gmail/auth", data);
|
|
@@ -116865,16 +116892,6 @@ function templatesDetail(id) {
|
|
|
116865
116892
|
function getUnlockBloggerEmailNum(userId) {
|
|
116866
116893
|
return request_get(`/user/equity/getUnlockBloggerEmailNum/${userId}`);
|
|
116867
116894
|
}
|
|
116868
|
-
|
|
116869
|
-
// 添加别名邮箱
|
|
116870
|
-
function addAliasEmail(data) {
|
|
116871
|
-
return request_post("/edm/gmail/alias_email/auth", data);
|
|
116872
|
-
}
|
|
116873
|
-
|
|
116874
|
-
// 删除别名邮箱
|
|
116875
|
-
function deleteAliasEmail(data) {
|
|
116876
|
-
return request_post(`/edm/gmail/alias_email/cancel_auth`, data);
|
|
116877
|
-
}
|
|
116878
116895
|
;// ./src/api/send/outbox.js
|
|
116879
116896
|
|
|
116880
116897
|
// 分页查看发件箱列表
|
|
@@ -118983,8 +119000,8 @@ var checkMail_component = normalizeComponent(
|
|
|
118983
119000
|
)
|
|
118984
119001
|
|
|
118985
119002
|
/* harmony default export */ var checkMail = (checkMail_component.exports);
|
|
118986
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/package/write-email/components/chooseMailNew.vue?vue&type=template&id=
|
|
118987
|
-
var
|
|
119003
|
+
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/package/write-email/components/chooseMailNew.vue?vue&type=template&id=2b7fab8e
|
|
119004
|
+
var chooseMailNewvue_type_template_id_2b7fab8e_render = function render() {
|
|
118988
119005
|
var _vm = this,
|
|
118989
119006
|
_c = _vm._self._c;
|
|
118990
119007
|
return _c('div', {
|
|
@@ -118993,7 +119010,7 @@ var chooseMailNewvue_type_template_id_98cbe662_render = function render() {
|
|
|
118993
119010
|
attrs: {
|
|
118994
119011
|
"visible": _vm.isShow,
|
|
118995
119012
|
"title": _vm.isCheckType ? '' : _vm.$i18n.t('setMail.Sending_settings'),
|
|
118996
|
-
"width": !_vm.isCheckType ? '
|
|
119013
|
+
"width": !_vm.isCheckType ? '480px' : '620px',
|
|
118997
119014
|
"before-close": _vm.closeChooseMail,
|
|
118998
119015
|
"custom-class": `choosemail-dialog2 ${_vm.isCheckType ? 'choosemail-isCheck' : ''}`,
|
|
118999
119016
|
"close-on-click-modal": false
|
|
@@ -119063,191 +119080,56 @@ var chooseMailNewvue_type_template_id_98cbe662_render = function render() {
|
|
|
119063
119080
|
return _vm.setDefaultBindEmail('WOTOMAIL');
|
|
119064
119081
|
}
|
|
119065
119082
|
}
|
|
119066
|
-
}, [_vm._v(_vm._s(_vm.defaultEmail === "WOTOMAIL" ? _vm.$t("edm5.v193") : _vm.$t("edm5.v194")))])], 1), _vm.
|
|
119067
|
-
|
|
119068
|
-
|
|
119069
|
-
|
|
119070
|
-
|
|
119071
|
-
|
|
119072
|
-
|
|
119073
|
-
|
|
119074
|
-
}, [_c('div', {
|
|
119075
|
-
staticClass: "gmail-woto-mail-main"
|
|
119076
|
-
}, [_c('el-radio', {
|
|
119077
|
-
attrs: {
|
|
119078
|
-
"value": _vm.radio,
|
|
119079
|
-
"label": gmail.email
|
|
119080
|
-
},
|
|
119081
|
-
nativeOn: {
|
|
119082
|
-
"click": function ($event) {
|
|
119083
|
-
return _vm.changeEmail(gmail.email, gmail.id);
|
|
119084
|
-
}
|
|
119085
|
-
}
|
|
119086
|
-
}, [_c('el-tooltip', {
|
|
119087
|
-
attrs: {
|
|
119088
|
-
"placement": "top",
|
|
119089
|
-
"popper-class": "wt-tooltip"
|
|
119090
|
-
}
|
|
119091
|
-
}, [_c('div', {
|
|
119092
|
-
staticClass: "content",
|
|
119093
|
-
staticStyle: {
|
|
119094
|
-
"color": "#333"
|
|
119095
|
-
},
|
|
119096
|
-
attrs: {
|
|
119097
|
-
"slot": "content"
|
|
119098
|
-
},
|
|
119099
|
-
slot: "content"
|
|
119100
|
-
}, [_vm._v(" " + _vm._s(gmail.email) + " ")]), _c('span', {
|
|
119101
|
-
staticClass: "email-address"
|
|
119102
|
-
}, [_vm._v(" " + _vm._s(gmail.email))])])], 1), _c('span', {
|
|
119103
|
-
staticClass: "alias-tips"
|
|
119104
|
-
}, [_c('span', {
|
|
119105
|
-
directives: [{
|
|
119106
|
-
name: "toggle-gmail-alias",
|
|
119107
|
-
rawName: "v-toggle-gmail-alias"
|
|
119108
|
-
}]
|
|
119109
|
-
}, [_vm._v("别名邮箱")]), gmail.childEmails && gmail.childEmails.length > 0 ? _c('span', [_vm._v("(" + _vm._s(gmail.childEmails ? gmail.childEmails.length : "") + ")")]) : _vm._e(), _c('el-tooltip', {
|
|
119110
|
-
attrs: {
|
|
119111
|
-
"placement": "top",
|
|
119112
|
-
"popper-class": "wt-tooltip"
|
|
119113
|
-
}
|
|
119114
|
-
}, [_c('div', {
|
|
119115
|
-
staticClass: "content",
|
|
119116
|
-
staticStyle: {
|
|
119117
|
-
"color": "#333",
|
|
119118
|
-
"max-width": "300px"
|
|
119119
|
-
},
|
|
119120
|
-
attrs: {
|
|
119121
|
-
"slot": "content"
|
|
119122
|
-
},
|
|
119123
|
-
slot: "content"
|
|
119124
|
-
}, [_vm._v(" 别名邮箱是附加到你主邮箱的额外地址。例如,你可以添加 you+work@gmail.com,所有发送到该地址的邮件都会合并至主邮箱。 "), _c('a', {
|
|
119125
|
-
staticStyle: {
|
|
119126
|
-
"color": "#ff5277"
|
|
119127
|
-
},
|
|
119128
|
-
attrs: {
|
|
119129
|
-
"target": "_blank",
|
|
119130
|
-
"href": "https://support.google.com/a/answer/33327?hl=zh-Hans"
|
|
119131
|
-
}
|
|
119132
|
-
}, [_vm._v("【Gmail别名邮箱说明】")])]), _c('i', {
|
|
119133
|
-
staticClass: "dss-iconfont icon-bangzhushuomingbeifen",
|
|
119134
|
-
staticStyle: {
|
|
119135
|
-
"font-size": "14px",
|
|
119136
|
-
"color": "#a9a9a9",
|
|
119137
|
-
"cursor": "pointer",
|
|
119138
|
-
"margin-left": "2px"
|
|
119139
|
-
}
|
|
119140
|
-
})])], 1), _c('span', {
|
|
119141
|
-
staticClass: "set-default",
|
|
119142
|
-
staticStyle: {
|
|
119143
|
-
"margin-left": "16px"
|
|
119144
|
-
},
|
|
119145
|
-
on: {
|
|
119146
|
-
"click": function ($event) {
|
|
119147
|
-
$event.stopPropagation();
|
|
119148
|
-
$event.preventDefault();
|
|
119149
|
-
return _vm.setDefaultBindEmail('GMAIL', gmail.id);
|
|
119150
|
-
}
|
|
119083
|
+
}, [_vm._v(_vm._s(_vm.defaultEmail === "WOTOMAIL" ? _vm.$t("edm5.v193") : _vm.$t("edm5.v194")))])], 1), !!_vm.gmailVal ? _c('div', {
|
|
119084
|
+
class: {
|
|
119085
|
+
'woto-mail': true,
|
|
119086
|
+
'mail-active': _vm.radio === 'GMAIL'
|
|
119087
|
+
},
|
|
119088
|
+
on: {
|
|
119089
|
+
"click": function ($event) {
|
|
119090
|
+
return _vm.changeEmail('GMAIL');
|
|
119151
119091
|
}
|
|
119152
|
-
}
|
|
119153
|
-
|
|
119154
|
-
|
|
119155
|
-
|
|
119156
|
-
|
|
119157
|
-
|
|
119158
|
-
|
|
119159
|
-
|
|
119092
|
+
}
|
|
119093
|
+
}, [_c('el-radio', {
|
|
119094
|
+
attrs: {
|
|
119095
|
+
"value": _vm.radio,
|
|
119096
|
+
"label": "GMAIL"
|
|
119097
|
+
}
|
|
119098
|
+
}, [_c('el-tooltip', {
|
|
119099
|
+
attrs: {
|
|
119100
|
+
"placement": "top",
|
|
119101
|
+
"popper-class": "wt-tooltip"
|
|
119102
|
+
}
|
|
119103
|
+
}, [_c('div', {
|
|
119104
|
+
staticClass: "content",
|
|
119105
|
+
staticStyle: {
|
|
119106
|
+
"color": "#333"
|
|
119107
|
+
},
|
|
119108
|
+
attrs: {
|
|
119109
|
+
"slot": "content"
|
|
119110
|
+
},
|
|
119111
|
+
slot: "content"
|
|
119112
|
+
}, [_vm._v(" " + _vm._s(_vm.gmailVal) + " ")]), _c('span', {
|
|
119113
|
+
staticClass: "email-address"
|
|
119114
|
+
}, [_vm._v(" " + _vm._s(_vm.gmailVal))])])], 1), _c('span', {
|
|
119115
|
+
staticClass: "set-default",
|
|
119116
|
+
on: {
|
|
119117
|
+
"click": function ($event) {
|
|
119118
|
+
$event.stopPropagation();
|
|
119119
|
+
$event.preventDefault();
|
|
119120
|
+
return _vm.setDefaultBindEmail('GMAIL');
|
|
119160
119121
|
}
|
|
119161
|
-
}
|
|
119162
|
-
|
|
119163
|
-
|
|
119164
|
-
|
|
119165
|
-
|
|
119166
|
-
|
|
119167
|
-
|
|
119168
|
-
|
|
119169
|
-
}, [_c('el-radio', {
|
|
119170
|
-
attrs: {
|
|
119171
|
-
"disabled": child.id && (child.id + '').indexOf('new') > -1,
|
|
119172
|
-
"value": _vm.radio,
|
|
119173
|
-
"label": child.email
|
|
119174
|
-
},
|
|
119175
|
-
nativeOn: {
|
|
119176
|
-
"click": function ($event) {
|
|
119177
|
-
return _vm.changeEmail(child.email, child.id);
|
|
119178
|
-
}
|
|
119179
|
-
}
|
|
119180
|
-
}, [child.id && (child.id + '').indexOf('new') === -1 ? _c('el-tooltip', {
|
|
119181
|
-
attrs: {
|
|
119182
|
-
"placement": "top",
|
|
119183
|
-
"popper-class": "wt-tooltip"
|
|
119184
|
-
}
|
|
119185
|
-
}, [_c('div', {
|
|
119186
|
-
staticClass: "content",
|
|
119187
|
-
staticStyle: {
|
|
119188
|
-
"color": "#333"
|
|
119189
|
-
},
|
|
119190
|
-
attrs: {
|
|
119191
|
-
"slot": "content"
|
|
119192
|
-
},
|
|
119193
|
-
slot: "content"
|
|
119194
|
-
}, [_vm._v(" " + _vm._s(child.email) + " ")]), _c('span', {
|
|
119195
|
-
staticClass: "email-address"
|
|
119196
|
-
}, [_vm._v(_vm._s(child.email))])]) : _c('el-input', {
|
|
119197
|
-
staticClass: "gmail-input",
|
|
119198
|
-
attrs: {
|
|
119199
|
-
"placeholder": "请输入邮箱"
|
|
119200
|
-
},
|
|
119201
|
-
model: {
|
|
119202
|
-
value: child.email,
|
|
119203
|
-
callback: function ($$v) {
|
|
119204
|
-
_vm.$set(child, "email", $$v);
|
|
119205
|
-
},
|
|
119206
|
-
expression: "child.email"
|
|
119207
|
-
}
|
|
119208
|
-
})], 1), child.id && (child.id + '').indexOf('new') > -1 ? _c('span', {
|
|
119209
|
-
staticClass: "alias-delete",
|
|
119210
|
-
staticStyle: {
|
|
119211
|
-
"margin-left": "auto",
|
|
119212
|
-
"margin-right": "12px"
|
|
119213
|
-
},
|
|
119214
|
-
on: {
|
|
119215
|
-
"click": function ($event) {
|
|
119216
|
-
return _vm.confirmAddAliasGmail(gmail.id, child.email);
|
|
119217
|
-
}
|
|
119218
|
-
}
|
|
119219
|
-
}, [_vm._v("授权")]) : _vm._e(), child.id && (child.id + '').indexOf('new') === -1 ? _c('span', {
|
|
119220
|
-
staticClass: "alias-delete",
|
|
119221
|
-
staticStyle: {
|
|
119222
|
-
"margin-left": "auto",
|
|
119223
|
-
"margin-right": "12px"
|
|
119224
|
-
},
|
|
119225
|
-
on: {
|
|
119226
|
-
"click": function ($event) {
|
|
119227
|
-
return _vm.setDefaultBindEmail('GMAIL', child.id);
|
|
119228
|
-
}
|
|
119229
|
-
}
|
|
119230
|
-
}, [_vm._v(_vm._s(_vm.defaultEmail === child.id ? _vm.$t("edm5.v193") : _vm.$t("edm5.v194")))]) : _vm._e(), _c('span', {
|
|
119231
|
-
staticClass: "alias-delete",
|
|
119232
|
-
on: {
|
|
119233
|
-
"click": function ($event) {
|
|
119234
|
-
return _vm.deleteAliasGmail(child.id, child.email, gmailIdx);
|
|
119235
|
-
}
|
|
119236
|
-
}
|
|
119237
|
-
}, [_vm._v("删除")])], 1);
|
|
119238
|
-
}), 0), _c('div', {
|
|
119239
|
-
staticClass: "alias-add",
|
|
119240
|
-
on: {
|
|
119241
|
-
"click": function ($event) {
|
|
119242
|
-
return _vm.addAliasGmail(gmail, gmailIdx);
|
|
119243
|
-
}
|
|
119122
|
+
}
|
|
119123
|
+
}, [_vm._v(_vm._s(_vm.defaultEmail === "GMAIL" ? _vm.$t("edm5.v193") : _vm.$t("edm5.v194")))]), _c('span', {
|
|
119124
|
+
staticClass: "unBind",
|
|
119125
|
+
on: {
|
|
119126
|
+
"click": function ($event) {
|
|
119127
|
+
$event.stopPropagation();
|
|
119128
|
+
$event.preventDefault();
|
|
119129
|
+
return _vm.unbind('GMAIL');
|
|
119244
119130
|
}
|
|
119245
|
-
}
|
|
119246
|
-
|
|
119247
|
-
}), _c('span', {
|
|
119248
|
-
staticClass: "add-text"
|
|
119249
|
-
}, [_vm._v("连接Gmail中已设置的别名邮箱")])])])]);
|
|
119250
|
-
}), _vm._l(_vm.businessEmailList, function (email) {
|
|
119131
|
+
}
|
|
119132
|
+
}, [_vm._v(_vm._s(_vm.$t("edm5.v195")))])], 1) : _vm._e(), _vm._l(_vm.businessEmailList, function (email) {
|
|
119251
119133
|
return _c('div', {
|
|
119252
119134
|
key: email.id,
|
|
119253
119135
|
class: {
|
|
@@ -119256,7 +119138,7 @@ var chooseMailNewvue_type_template_id_98cbe662_render = function render() {
|
|
|
119256
119138
|
},
|
|
119257
119139
|
on: {
|
|
119258
119140
|
"click": function ($event) {
|
|
119259
|
-
return _vm.changeEmail(email.emailAddress
|
|
119141
|
+
return _vm.changeEmail(email.emailAddress);
|
|
119260
119142
|
}
|
|
119261
119143
|
}
|
|
119262
119144
|
}, [_c('el-radio', {
|
|
@@ -119286,16 +119168,16 @@ var chooseMailNewvue_type_template_id_98cbe662_render = function render() {
|
|
|
119286
119168
|
"click": function ($event) {
|
|
119287
119169
|
$event.stopPropagation();
|
|
119288
119170
|
$event.preventDefault();
|
|
119289
|
-
return _vm.setDefaultBindEmail(
|
|
119171
|
+
return _vm.setDefaultBindEmail(email.emailAddress);
|
|
119290
119172
|
}
|
|
119291
119173
|
}
|
|
119292
|
-
}, [_vm._v(_vm._s(_vm.defaultEmail === email.
|
|
119174
|
+
}, [_vm._v(_vm._s(_vm.defaultEmail === email.emailAddress ? _vm.$t("edm5.v193") : _vm.$t("edm5.v194")))]), _c('span', {
|
|
119293
119175
|
staticClass: "unBind",
|
|
119294
119176
|
on: {
|
|
119295
119177
|
"click": function ($event) {
|
|
119296
119178
|
$event.stopPropagation();
|
|
119297
119179
|
$event.preventDefault();
|
|
119298
|
-
return _vm.
|
|
119180
|
+
return _vm.unbind(email.emailAddress);
|
|
119299
119181
|
}
|
|
119300
119182
|
}
|
|
119301
119183
|
}, [_vm._v(_vm._s(_vm.$t("edm5.v195")))])], 1);
|
|
@@ -119665,11 +119547,9 @@ var chooseMailNewvue_type_template_id_98cbe662_render = function render() {
|
|
|
119665
119547
|
staticClass: "inner-has-tips"
|
|
119666
119548
|
}, [_vm._v(" " + _vm._s(_vm.$t("edm5.v211")) + " ")]) : _c('div', {
|
|
119667
119549
|
staticClass: "inner-tip-text"
|
|
119668
|
-
}, [_vm.currentUnbindEmail
|
|
119550
|
+
}, [_vm.currentUnbindEmail === 'GMAIL' ? _c('span', [_vm._v(_vm._s(_vm.$i18n.t("setMail.tip1")))]) : _c('span', [_vm._v(" " + _vm._s(_vm.$t("edm5.v212", {
|
|
119669
119551
|
currentUnbindEmail: _vm.currentUnbindEmail
|
|
119670
|
-
})))])
|
|
119671
|
-
currentUnbindEmail: _vm.currentUnbindEmail
|
|
119672
|
-
})) + " ")]), _vm.currentUnbindEmail.indexOf('@gmail.com') > -1 ? _c('span', {
|
|
119552
|
+
})) + " ")]), _vm.currentUnbindEmail === 'GMAIL' ? _c('span', {
|
|
119673
119553
|
staticClass: "guide",
|
|
119674
119554
|
on: {
|
|
119675
119555
|
"click": _vm.toGuide
|
|
@@ -119700,46 +119580,8 @@ var chooseMailNewvue_type_template_id_98cbe662_render = function render() {
|
|
|
119700
119580
|
}
|
|
119701
119581
|
}, [_vm._v(_vm._s(_vm.$i18n.t("setMail.confirm_unbinding")))])], 1)])], 1);
|
|
119702
119582
|
};
|
|
119703
|
-
var
|
|
119583
|
+
var chooseMailNewvue_type_template_id_2b7fab8e_staticRenderFns = [];
|
|
119704
119584
|
|
|
119705
|
-
;// ./src/package/write-email/components/const.js
|
|
119706
|
-
// 获取Gmail授权对应的回调地址
|
|
119707
|
-
const gmailAuthUrlMaps = {
|
|
119708
|
-
2: {
|
|
119709
|
-
pre: "https://k8s-mail.wotokol.com",
|
|
119710
|
-
prod: "https://mail.wotokol.com"
|
|
119711
|
-
},
|
|
119712
|
-
3: {
|
|
119713
|
-
pre: "https://gmailpre.wotovideo.com",
|
|
119714
|
-
prod: "https://gmail.wotovideo.com"
|
|
119715
|
-
}
|
|
119716
|
-
};
|
|
119717
|
-
|
|
119718
|
-
// 获取授权地址
|
|
119719
|
-
function getGmailAuthUrl(type, currentEnv) {
|
|
119720
|
-
const env = currentEnv == "https://pre.wotohub.com" ? "pre" : "prod";
|
|
119721
|
-
return gmailAuthUrlMaps[type][env] || "";
|
|
119722
|
-
}
|
|
119723
|
-
|
|
119724
|
-
// 根据Gmailid 获取邮箱地址
|
|
119725
|
-
function findGmailById(data, targetId) {
|
|
119726
|
-
for (const item of data) {
|
|
119727
|
-
// 检查外层对象
|
|
119728
|
-
if (item.id === targetId) {
|
|
119729
|
-
return item.email;
|
|
119730
|
-
}
|
|
119731
|
-
|
|
119732
|
-
// 检查子层 childEmails
|
|
119733
|
-
if (item.childEmails && Array.isArray(item.childEmails)) {
|
|
119734
|
-
for (const child of item.childEmails) {
|
|
119735
|
-
if (child.id === targetId) {
|
|
119736
|
-
return child.email;
|
|
119737
|
-
}
|
|
119738
|
-
}
|
|
119739
|
-
}
|
|
119740
|
-
}
|
|
119741
|
-
return null;
|
|
119742
|
-
}
|
|
119743
119585
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=script&lang=js
|
|
119744
119586
|
|
|
119745
119587
|
|
|
@@ -119748,22 +119590,14 @@ function findGmailById(data, targetId) {
|
|
|
119748
119590
|
|
|
119749
119591
|
|
|
119750
119592
|
|
|
119751
|
-
|
|
119752
|
-
|
|
119753
|
-
|
|
119754
|
-
|
|
119755
119593
|
/* harmony default export */ var chooseMailNewvue_type_script_lang_js = ({
|
|
119756
|
-
name: "chooseMailNew",
|
|
119757
|
-
components: {
|
|
119758
|
-
Tooltip: Tooltip
|
|
119759
|
-
},
|
|
119760
119594
|
props: {
|
|
119761
119595
|
isShow: {
|
|
119762
119596
|
default: false,
|
|
119763
119597
|
type: Boolean
|
|
119764
119598
|
},
|
|
119765
|
-
//
|
|
119766
|
-
|
|
119599
|
+
// 当前选中发件方式的 email 具体值
|
|
119600
|
+
currentSetEmail: {
|
|
119767
119601
|
type: String,
|
|
119768
119602
|
default: "WOTOMAIL"
|
|
119769
119603
|
},
|
|
@@ -119771,6 +119605,10 @@ function findGmailById(data, targetId) {
|
|
|
119771
119605
|
type: String,
|
|
119772
119606
|
default: "https://www.wotohub.com"
|
|
119773
119607
|
},
|
|
119608
|
+
isGoogleGrayShow: {
|
|
119609
|
+
type: Boolean,
|
|
119610
|
+
default: true
|
|
119611
|
+
},
|
|
119774
119612
|
// 是否是邮件检测模式
|
|
119775
119613
|
isCheckType: {
|
|
119776
119614
|
type: Boolean,
|
|
@@ -119795,23 +119633,20 @@ function findGmailById(data, targetId) {
|
|
|
119795
119633
|
data() {
|
|
119796
119634
|
return {
|
|
119797
119635
|
radio: "",
|
|
119798
|
-
//
|
|
119799
|
-
radioId: "",
|
|
119800
|
-
// 当前选中且设置的发件方式id,如果是系统邮箱则值为WOTOMAIL,否则值为具体邮箱地址id
|
|
119636
|
+
// 当前选中且设置的发件方式
|
|
119801
119637
|
gmailValInput: "",
|
|
119802
119638
|
// gmail邮箱-input输入绑定值
|
|
119803
|
-
|
|
119804
|
-
//
|
|
119639
|
+
gmailVal: "",
|
|
119640
|
+
// 授权绑定的 gmail 值
|
|
119805
119641
|
outlookValInput: "",
|
|
119806
119642
|
// outlook邮箱-input输入绑定值
|
|
119643
|
+
isShowInput: false,
|
|
119807
119644
|
scopeVal: "https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.send%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.readonly%20",
|
|
119808
119645
|
redirectUri: encodeURIComponent(this.currentEnv) + "%2Fwrite",
|
|
119809
119646
|
code: "",
|
|
119810
119647
|
innerVisible: false,
|
|
119811
|
-
|
|
119812
|
-
language: api.get("language") || this.$i18n.locale,
|
|
119648
|
+
language: api.get("language"),
|
|
119813
119649
|
bindEmailVisible: false,
|
|
119814
|
-
// 绑定邮箱弹窗
|
|
119815
119650
|
businessEmailList: [],
|
|
119816
119651
|
// 已经绑定的系统邮箱
|
|
119817
119652
|
businessTemplateList: [],
|
|
@@ -119887,7 +119722,6 @@ function findGmailById(data, targetId) {
|
|
|
119887
119722
|
},
|
|
119888
119723
|
bingLoading: false,
|
|
119889
119724
|
currentUnbindEmail: "",
|
|
119890
|
-
// 当前正在解绑的邮箱
|
|
119891
119725
|
unbindLoading: false,
|
|
119892
119726
|
// 解绑确定按钮loading
|
|
119893
119727
|
confirmBindLoading: false,
|
|
@@ -119895,15 +119729,21 @@ function findGmailById(data, targetId) {
|
|
|
119895
119729
|
stepsArr: [this.$t("edm5.v219"), this.$i18n.t("checkMail.filter_contacted_influencers"), this.$i18n.t("checkMail.email_quality_inspection"), this.$i18n.t("checkMail.create_email")],
|
|
119896
119730
|
active: 0,
|
|
119897
119731
|
defaultEmail: "",
|
|
119898
|
-
//
|
|
119732
|
+
// 默认邮箱
|
|
119899
119733
|
hasToSendEmail: false,
|
|
119900
119734
|
// 解绑的邮箱是否存在待发送的邮件
|
|
119901
119735
|
authLoading: false,
|
|
119902
119736
|
reloadTimer: null
|
|
119903
119737
|
};
|
|
119904
119738
|
},
|
|
119739
|
+
computed: {
|
|
119740
|
+
// gmail 授权回调地址-new
|
|
119741
|
+
redirectUriGmail() {
|
|
119742
|
+
return encodeURIComponent(this.currentEnv == "https://pre.wotohub.com" ? "https://k8s-mail.wotokol.com" : "https://mail.wotokol.com") + "%2FgmailBind";
|
|
119743
|
+
}
|
|
119744
|
+
},
|
|
119905
119745
|
created() {
|
|
119906
|
-
this.radio = this.
|
|
119746
|
+
this.radio = this.currentSetEmail;
|
|
119907
119747
|
// 如果是企业邮箱授权跳转过来的
|
|
119908
119748
|
if (this.$route.query.code) {
|
|
119909
119749
|
this.code = this.$route.query.code;
|
|
@@ -119918,7 +119758,7 @@ function findGmailById(data, targetId) {
|
|
|
119918
119758
|
// 如果是从绑定gmail中间页过来,则需要清除缓存
|
|
119919
119759
|
this.clearEmailStorage();
|
|
119920
119760
|
}
|
|
119921
|
-
this.
|
|
119761
|
+
this.queryIsBindGmail(); // 查询是否绑定了 gmail 邮箱
|
|
119922
119762
|
this.getBusinessEMails(); // 获取已经绑定的企业邮箱列表
|
|
119923
119763
|
this.getBusinessTemplates(); // 获取企业邮箱模版列表
|
|
119924
119764
|
this.getDefaultBindEmail(); // 获取默认绑定的邮箱
|
|
@@ -119926,45 +119766,31 @@ function findGmailById(data, targetId) {
|
|
|
119926
119766
|
beforeDestroy() {
|
|
119927
119767
|
if (this.reloadTimer) clearTimeout(this.reloadTimer);
|
|
119928
119768
|
},
|
|
119929
|
-
// 在组件的 directives 选项中定义
|
|
119930
|
-
directives: {
|
|
119931
|
-
toggleGmailAlias: {
|
|
119932
|
-
bind(el) {
|
|
119933
|
-
// 监听 click 事件
|
|
119934
|
-
el.addEventListener("click", () => {
|
|
119935
|
-
// 获取父父节点
|
|
119936
|
-
const parentParent = el.parentNode?.parentNode?.parentNode;
|
|
119937
|
-
if (parentParent) {
|
|
119938
|
-
// 切换 gmail-alias 类
|
|
119939
|
-
parentParent.classList.toggle("gmail-alias");
|
|
119940
|
-
}
|
|
119941
|
-
});
|
|
119942
|
-
},
|
|
119943
|
-
unbind(el) {
|
|
119944
|
-
// 解绑事件,防止内存泄漏
|
|
119945
|
-
el.removeEventListener("click", () => {});
|
|
119946
|
-
}
|
|
119947
|
-
}
|
|
119948
|
-
},
|
|
119949
119769
|
methods: {
|
|
119950
|
-
//
|
|
119951
|
-
|
|
119952
|
-
|
|
119953
|
-
this.radio = val;
|
|
119954
|
-
this.radioId = id;
|
|
119955
|
-
},
|
|
119956
|
-
// 查询绑定的gmail邮箱
|
|
119957
|
-
async getBindGmails() {
|
|
119958
|
-
try {
|
|
119959
|
-
const res = await getBindGmail({});
|
|
119770
|
+
// 查询是否绑定了 gmail 邮箱
|
|
119771
|
+
queryIsBindGmail() {
|
|
119772
|
+
isAuthorize().then(res => {
|
|
119960
119773
|
if (res.code === "0") {
|
|
119961
|
-
|
|
119774
|
+
// 如果绑定了,就获取绑定的Gmail值
|
|
119775
|
+
if (res.data) {
|
|
119776
|
+
getBindGmail().then(res2 => {
|
|
119777
|
+
if (res2.code === "0") {
|
|
119778
|
+
this.gmailVal = res2.data.email;
|
|
119779
|
+
} else {
|
|
119780
|
+
this.$message.error(res2.message);
|
|
119781
|
+
}
|
|
119782
|
+
});
|
|
119783
|
+
} else {
|
|
119784
|
+
this.gmailVal = "";
|
|
119785
|
+
}
|
|
119962
119786
|
} else {
|
|
119963
119787
|
this.$message.error(res.message);
|
|
119964
119788
|
}
|
|
119965
|
-
}
|
|
119966
|
-
|
|
119967
|
-
|
|
119789
|
+
});
|
|
119790
|
+
},
|
|
119791
|
+
// 切换已经绑定的邮箱
|
|
119792
|
+
changeEmail(val) {
|
|
119793
|
+
this.radio = val;
|
|
119968
119794
|
},
|
|
119969
119795
|
// 获取已经绑定的企业邮箱列表
|
|
119970
119796
|
async getBusinessEMails() {
|
|
@@ -120005,32 +119831,25 @@ function findGmailById(data, targetId) {
|
|
|
120005
119831
|
try {
|
|
120006
119832
|
const res = await getDefaultEmail({});
|
|
120007
119833
|
if (res.code === "0") {
|
|
120008
|
-
|
|
120009
|
-
this.defaultEmail = "WOTOMAIL";
|
|
120010
|
-
} else {
|
|
120011
|
-
this.defaultEmail = res.data.bizId;
|
|
120012
|
-
}
|
|
120013
|
-
return res.data;
|
|
119834
|
+
this.defaultEmail = ["WOTOMAIL", "GMAIL"].includes(res.data.sendType) ? res.data.sendType : res.data.email;
|
|
120014
119835
|
} else {
|
|
120015
119836
|
this.$message.error(res.message);
|
|
120016
|
-
return {};
|
|
120017
119837
|
}
|
|
120018
119838
|
} catch (error) {
|
|
120019
119839
|
console.log(error);
|
|
120020
|
-
return {};
|
|
120021
119840
|
}
|
|
120022
119841
|
},
|
|
120023
119842
|
// 设置默认绑定的邮箱
|
|
120024
|
-
async setDefaultBindEmail(
|
|
119843
|
+
async setDefaultBindEmail(email) {
|
|
120025
119844
|
try {
|
|
120026
|
-
if (
|
|
119845
|
+
if (email === this.defaultEmail) return false;
|
|
120027
119846
|
const params = {};
|
|
120028
|
-
//
|
|
120029
|
-
if (
|
|
120030
|
-
params["
|
|
119847
|
+
// 如果是企业邮箱,需要传qiyeId参数
|
|
119848
|
+
if (email !== "WOTOMAIL" && email !== "GMAIL") {
|
|
119849
|
+
params["qiyeId"] = this.businessEmailList.find(item => item.emailAddress === email)?.id;
|
|
119850
|
+
params["sendType"] = "QIYE";
|
|
120031
119851
|
} else {
|
|
120032
|
-
params["
|
|
120033
|
-
params["sendType"] = type;
|
|
119852
|
+
params["sendType"] = email;
|
|
120034
119853
|
}
|
|
120035
119854
|
const res = await bindDefaultEmail(params);
|
|
120036
119855
|
if (res.code === "0") {
|
|
@@ -120111,20 +119930,16 @@ function findGmailById(data, targetId) {
|
|
|
120111
119930
|
// 选择本次发件邮箱-end
|
|
120112
119931
|
async handlerCurrentBind() {
|
|
120113
119932
|
const params = {
|
|
120114
|
-
sendType:
|
|
120115
|
-
|
|
120116
|
-
|
|
119933
|
+
sendType: this.radio,
|
|
119934
|
+
qiyeId: undefined,
|
|
119935
|
+
gmailValue: undefined
|
|
120117
119936
|
};
|
|
120118
|
-
|
|
120119
|
-
|
|
120120
|
-
|
|
120121
|
-
|
|
120122
|
-
|
|
120123
|
-
params
|
|
120124
|
-
} else {
|
|
120125
|
-
params["sendType"] = "QIYE";
|
|
120126
|
-
params["bizId"] = this.radioId;
|
|
120127
|
-
params["email"] = this.radio;
|
|
119937
|
+
// 如果是企业邮箱,需要传qiyeId参数
|
|
119938
|
+
if (this.radio !== "WOTOMAIL" && this.radio !== "GMAIL") {
|
|
119939
|
+
params["qiyeId"] = this.businessEmailList.find(item => item.emailAddress === this.radio)?.id;
|
|
119940
|
+
}
|
|
119941
|
+
if (this.radio === "GMAIL") {
|
|
119942
|
+
params.gmailValue = this.gmailVal;
|
|
120128
119943
|
}
|
|
120129
119944
|
this.$emit("updateCurrentEmail", params);
|
|
120130
119945
|
if (this.radio !== "WOTOMAIL" && this.isCheckType) {
|
|
@@ -120147,6 +119962,7 @@ function findGmailById(data, targetId) {
|
|
|
120147
119962
|
},
|
|
120148
119963
|
// Gmail授权
|
|
120149
119964
|
authorizeGmail() {
|
|
119965
|
+
if (!!this.gmailVal) return this.$message.error(this.$t("edm5.v228"));
|
|
120150
119966
|
// 授权成功--解绑--授权 这个时候beforeSkipPath会带有code的--done
|
|
120151
119967
|
// 授权成功又切换成系统邮箱 那么第二次就不用再授权了--done
|
|
120152
119968
|
// 授权成功又解绑点确定或者关闭的时候处理--done
|
|
@@ -120166,13 +119982,13 @@ function findGmailById(data, targetId) {
|
|
|
120166
119982
|
}).then(res => {
|
|
120167
119983
|
if (res.code === "0") {
|
|
120168
119984
|
let url = "";
|
|
120169
|
-
if (res.data
|
|
120170
|
-
//
|
|
119985
|
+
if (res.data) {
|
|
119986
|
+
// 已经绑定过Gmail,走老的授权通道
|
|
120171
119987
|
url = `https://accounts.google.com/o/oauth2/auth?response_type=code&access_type=offline&client_id=478743684976-2e3nlm97t528lb0gn44notvkdacnjii9.apps.googleusercontent.com&redirect_uri=${this.redirectUri}&state=null&scope=${this.scopeVal}&approval_prompt=force&include_granted_scopes=true`;
|
|
120172
119988
|
} else {
|
|
120173
|
-
//
|
|
119989
|
+
// 新Gmail授权通道
|
|
120174
119990
|
const user_info = JSON.parse(localStorage.getItem("user_info") || "{}");
|
|
120175
|
-
url = `${
|
|
119991
|
+
url = `${this.currentEnv == "https://pre.wotohub.com" ? "https://k8s-mail.wotokol.com" : "https://mail.wotokol.com"}/login?` + `middleToken=${localStorage.getItem("token")}&user_id=${user_info.user_id}&nick_name=${user_info.nick_name}&company=${user_info.company}&phone=${user_info.phone}&vip=${user_info.vip}`;
|
|
120176
119992
|
}
|
|
120177
119993
|
window.location.href = url;
|
|
120178
119994
|
} else {
|
|
@@ -120193,10 +120009,16 @@ function findGmailById(data, targetId) {
|
|
|
120193
120009
|
}).then(res => {
|
|
120194
120010
|
if (res.code === "0") {
|
|
120195
120011
|
// gmail授权成功
|
|
120196
|
-
this.getBindGmails();
|
|
120197
120012
|
this.$message.success(`${this.$i18n.t("setMail.auth_success")}`);
|
|
120013
|
+
getBindGmail().then(res => {
|
|
120014
|
+
if (res.code === "0") {
|
|
120015
|
+
this.gmailVal = res.data.email;
|
|
120016
|
+
} else {
|
|
120017
|
+
this.$message.error(res.message);
|
|
120018
|
+
}
|
|
120019
|
+
});
|
|
120198
120020
|
} else {
|
|
120199
|
-
this.
|
|
120021
|
+
this.gmailVal = "";
|
|
120200
120022
|
this.$message.error(res.message);
|
|
120201
120023
|
}
|
|
120202
120024
|
this.clearEmailStorage();
|
|
@@ -120208,68 +120030,6 @@ function findGmailById(data, targetId) {
|
|
|
120208
120030
|
this.authLoading = false;
|
|
120209
120031
|
});
|
|
120210
120032
|
},
|
|
120211
|
-
// 添加Gmail别名邮箱-start
|
|
120212
|
-
addAliasGmail(gamil, idx) {
|
|
120213
|
-
this.$set(this.gmailList, idx, {
|
|
120214
|
-
...this.gmailList[idx],
|
|
120215
|
-
childEmails: [...this.gmailList[idx].childEmails, {
|
|
120216
|
-
id: "new" + Date.now(),
|
|
120217
|
-
email: ""
|
|
120218
|
-
}]
|
|
120219
|
-
});
|
|
120220
|
-
},
|
|
120221
|
-
// 添加Gmail别名邮箱-end
|
|
120222
|
-
async confirmAddAliasGmail(confId, email) {
|
|
120223
|
-
try {
|
|
120224
|
-
if (!confId || !email) return this.$message.error("请输入邮箱!");
|
|
120225
|
-
if (!/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(email)) {
|
|
120226
|
-
return this.$message.error(`${this.$i18n.t("setMail.tip10")}`);
|
|
120227
|
-
}
|
|
120228
|
-
const res = await addAliasEmail({
|
|
120229
|
-
confId,
|
|
120230
|
-
email
|
|
120231
|
-
});
|
|
120232
|
-
if (res.code === "0" && res.data) {
|
|
120233
|
-
this.getBindGmails();
|
|
120234
|
-
this.$message.success(`别名邮箱【${email}】已成功添加!`);
|
|
120235
|
-
} else {
|
|
120236
|
-
this.$message.error(res.message);
|
|
120237
|
-
}
|
|
120238
|
-
} catch (error) {
|
|
120239
|
-
this.$message.error(error.message);
|
|
120240
|
-
console.log(error);
|
|
120241
|
-
}
|
|
120242
|
-
},
|
|
120243
|
-
// 删除Gmail别名邮箱
|
|
120244
|
-
deleteAliasGmail(confId, email, idx) {
|
|
120245
|
-
if (!confId) return false;
|
|
120246
|
-
if ((confId + "").indexOf("new") > -1) {
|
|
120247
|
-
this.$set(this.gmailList, idx, {
|
|
120248
|
-
...this.gmailList[idx],
|
|
120249
|
-
childEmails: this.gmailList[idx].childEmails.filter(val => val.id !== confId)
|
|
120250
|
-
});
|
|
120251
|
-
} else {
|
|
120252
|
-
this.$confirm("删除后,发送到此别名邮箱的邮件将不再被接收。你确定要继续吗?", `确定删除该别名邮箱吗?`, {
|
|
120253
|
-
confirmButtonText: "确定",
|
|
120254
|
-
cancelButtonText: "取消",
|
|
120255
|
-
type: "warning"
|
|
120256
|
-
}).then(async () => {
|
|
120257
|
-
try {
|
|
120258
|
-
const res = await deleteAliasEmail({
|
|
120259
|
-
confId
|
|
120260
|
-
});
|
|
120261
|
-
if (res.code === "0") {
|
|
120262
|
-
this.getBindGmails();
|
|
120263
|
-
this.$message.success(`别名邮箱【${email}】已成功删除!`);
|
|
120264
|
-
} else {
|
|
120265
|
-
this.$message.error(res.message);
|
|
120266
|
-
}
|
|
120267
|
-
} catch (error) {
|
|
120268
|
-
console.log(error);
|
|
120269
|
-
}
|
|
120270
|
-
}).catch(() => {});
|
|
120271
|
-
}
|
|
120272
|
-
},
|
|
120273
120033
|
// Outlook(个人)授权
|
|
120274
120034
|
async authorizeOutlook() {
|
|
120275
120035
|
if (!this.outlookValInput) {
|
|
@@ -120348,11 +120108,11 @@ function findGmailById(data, targetId) {
|
|
|
120348
120108
|
}, 1000);
|
|
120349
120109
|
}
|
|
120350
120110
|
},
|
|
120351
|
-
//
|
|
120352
|
-
async
|
|
120111
|
+
// 解绑
|
|
120112
|
+
async unbind(email) {
|
|
120353
120113
|
try {
|
|
120354
120114
|
const res = await isHasToSendEmail({
|
|
120355
|
-
email
|
|
120115
|
+
email: email === "GMAIL" ? this.gmailVal : email
|
|
120356
120116
|
});
|
|
120357
120117
|
if (res.code === "0") {
|
|
120358
120118
|
this.hasToSendEmail = !res.data;
|
|
@@ -120365,21 +120125,21 @@ function findGmailById(data, targetId) {
|
|
|
120365
120125
|
console.log(error);
|
|
120366
120126
|
}
|
|
120367
120127
|
},
|
|
120368
|
-
//
|
|
120128
|
+
// 确定解绑
|
|
120369
120129
|
confirmUnbind() {
|
|
120370
120130
|
this.unbindLoading = true;
|
|
120371
|
-
if (this.currentUnbindEmail
|
|
120131
|
+
if (this.currentUnbindEmail === "GMAIL") {
|
|
120372
120132
|
// gmail邮箱解绑
|
|
120373
120133
|
authGmail({
|
|
120374
|
-
authStatus: 0
|
|
120375
|
-
email: this.currentUnbindEmail
|
|
120134
|
+
authStatus: 0
|
|
120376
120135
|
}).then(res => {
|
|
120377
120136
|
if (res.code === "0") {
|
|
120378
120137
|
this.innerVisible = false;
|
|
120379
120138
|
// 确定解绑之后关闭解绑弹窗--绑定状态为fasle 邮箱值也是空 --- done
|
|
120380
120139
|
this.gmailValInput = "";
|
|
120140
|
+
this.gmailVal = "";
|
|
120381
120141
|
this.$message.success(res.message);
|
|
120382
|
-
if (this.currentUnbindEmail === this.radio
|
|
120142
|
+
if (this.currentUnbindEmail === this.radio) {
|
|
120383
120143
|
this.handleUnbindDefault();
|
|
120384
120144
|
} else {
|
|
120385
120145
|
this.$emit("closeChooseMail");
|
|
@@ -120411,21 +120171,21 @@ function findGmailById(data, targetId) {
|
|
|
120411
120171
|
});
|
|
120412
120172
|
}
|
|
120413
120173
|
},
|
|
120414
|
-
//
|
|
120174
|
+
// 处理草稿箱解绑
|
|
120415
120175
|
async handleUnbindDefault() {
|
|
120416
|
-
|
|
120417
|
-
sendType,
|
|
120418
|
-
bizId,
|
|
120419
|
-
email
|
|
120420
|
-
} = await this.getDefaultBindEmail();
|
|
120176
|
+
await this.getDefaultBindEmail();
|
|
120421
120177
|
const params = {
|
|
120422
|
-
sendType:
|
|
120423
|
-
|
|
120424
|
-
|
|
120178
|
+
sendType: this.defaultEmail,
|
|
120179
|
+
qiyeId: undefined,
|
|
120180
|
+
gmailValue: undefined
|
|
120425
120181
|
};
|
|
120426
|
-
|
|
120427
|
-
|
|
120428
|
-
|
|
120182
|
+
// 如果是企业邮箱,需要传qiyeId参数
|
|
120183
|
+
if (this.defaultEmail !== "WOTOMAIL" && this.defaultEmail !== "GMAIL") {
|
|
120184
|
+
params["qiyeId"] = this.businessEmailList.find(item => item.emailAddress === this.defaultEmail)?.id;
|
|
120185
|
+
}
|
|
120186
|
+
if (this.radio === "GMAIL") {
|
|
120187
|
+
params.gmailValue = this.gmailVal;
|
|
120188
|
+
}
|
|
120429
120189
|
this.$emit("updateCurrentEmail", params);
|
|
120430
120190
|
this.$emit("closeChooseMail");
|
|
120431
120191
|
},
|
|
@@ -120503,23 +120263,15 @@ function findGmailById(data, targetId) {
|
|
|
120503
120263
|
} else {
|
|
120504
120264
|
callback(new Error(this.$t("edm5.v234")));
|
|
120505
120265
|
}
|
|
120506
|
-
},
|
|
120507
|
-
// 提取所有邮箱
|
|
120508
|
-
extractEmails(data, radio) {
|
|
120509
|
-
const result = [data.email];
|
|
120510
|
-
if (data?.childEmails?.length) {
|
|
120511
|
-
result.push(...data.childEmails.map(child => child.email));
|
|
120512
|
-
}
|
|
120513
|
-
return result.includes(radio);
|
|
120514
120266
|
}
|
|
120515
120267
|
}
|
|
120516
120268
|
});
|
|
120517
120269
|
;// ./src/package/write-email/components/chooseMailNew.vue?vue&type=script&lang=js
|
|
120518
120270
|
/* harmony default export */ var components_chooseMailNewvue_type_script_lang_js = (chooseMailNewvue_type_script_lang_js);
|
|
120519
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=
|
|
120271
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=2b7fab8e&prod&lang=scss
|
|
120520
120272
|
// extracted by mini-css-extract-plugin
|
|
120521
120273
|
|
|
120522
|
-
;// ./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=
|
|
120274
|
+
;// ./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=2b7fab8e&prod&lang=scss
|
|
120523
120275
|
|
|
120524
120276
|
;// ./src/package/write-email/components/chooseMailNew.vue
|
|
120525
120277
|
|
|
@@ -120532,8 +120284,8 @@ function findGmailById(data, targetId) {
|
|
|
120532
120284
|
|
|
120533
120285
|
var chooseMailNew_component = normalizeComponent(
|
|
120534
120286
|
components_chooseMailNewvue_type_script_lang_js,
|
|
120535
|
-
|
|
120536
|
-
|
|
120287
|
+
chooseMailNewvue_type_template_id_2b7fab8e_render,
|
|
120288
|
+
chooseMailNewvue_type_template_id_2b7fab8e_staticRenderFns,
|
|
120537
120289
|
false,
|
|
120538
120290
|
null,
|
|
120539
120291
|
null,
|
|
@@ -120721,8 +120473,8 @@ var productNewComvue_type_template_id_430214a1_scoped_true_render = function ren
|
|
|
120721
120473
|
};
|
|
120722
120474
|
var productNewComvue_type_template_id_430214a1_scoped_true_staticRenderFns = [];
|
|
120723
120475
|
|
|
120724
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/components/EdmElement/productNewCom/detail.vue?vue&type=template&id=
|
|
120725
|
-
var
|
|
120476
|
+
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/components/EdmElement/productNewCom/detail.vue?vue&type=template&id=7353139d&scoped=true
|
|
120477
|
+
var detailvue_type_template_id_7353139d_scoped_true_render = function render() {
|
|
120726
120478
|
var _vm = this,
|
|
120727
120479
|
_c = _vm._self._c;
|
|
120728
120480
|
return _c('el-drawer', {
|
|
@@ -121247,7 +120999,7 @@ var detailvue_type_template_id_4e6ddbfc_scoped_true_render = function render() {
|
|
|
121247
120999
|
}
|
|
121248
121000
|
}) : _vm._e()], 1)])])]);
|
|
121249
121001
|
};
|
|
121250
|
-
var
|
|
121002
|
+
var detailvue_type_template_id_7353139d_scoped_true_staticRenderFns = [];
|
|
121251
121003
|
|
|
121252
121004
|
;// ./src/components/EdmElement/productNewCom/const.js
|
|
121253
121005
|
// 产品渠道
|
|
@@ -121555,6 +121307,7 @@ const const_language = [{
|
|
|
121555
121307
|
|
|
121556
121308
|
|
|
121557
121309
|
|
|
121310
|
+
|
|
121558
121311
|
/* harmony default export */ var productNewCom_detailvue_type_script_lang_js = ({
|
|
121559
121312
|
props: {
|
|
121560
121313
|
// 侧抽显示
|
|
@@ -121675,7 +121428,7 @@ const const_language = [{
|
|
|
121675
121428
|
productId: Number(this.rowId)
|
|
121676
121429
|
}).then(res => {
|
|
121677
121430
|
if (res.code === "0") {
|
|
121678
|
-
|
|
121431
|
+
createAndTriggerLink(res.data);
|
|
121679
121432
|
} else {
|
|
121680
121433
|
this.$message({
|
|
121681
121434
|
type: "error",
|
|
@@ -121839,15 +121592,15 @@ const const_language = [{
|
|
|
121839
121592
|
});
|
|
121840
121593
|
;// ./src/components/EdmElement/productNewCom/detail.vue?vue&type=script&lang=js
|
|
121841
121594
|
/* harmony default export */ var EdmElement_productNewCom_detailvue_type_script_lang_js = (productNewCom_detailvue_type_script_lang_js);
|
|
121842
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=0&id=
|
|
121595
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=0&id=7353139d&prod&lang=scss&scoped=true
|
|
121843
121596
|
// extracted by mini-css-extract-plugin
|
|
121844
121597
|
|
|
121845
|
-
;// ./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=0&id=
|
|
121598
|
+
;// ./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=0&id=7353139d&prod&lang=scss&scoped=true
|
|
121846
121599
|
|
|
121847
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=1&id=
|
|
121600
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=1&id=7353139d&prod&lang=scss
|
|
121848
121601
|
// extracted by mini-css-extract-plugin
|
|
121849
121602
|
|
|
121850
|
-
;// ./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=1&id=
|
|
121603
|
+
;// ./src/components/EdmElement/productNewCom/detail.vue?vue&type=style&index=1&id=7353139d&prod&lang=scss
|
|
121851
121604
|
|
|
121852
121605
|
;// ./src/components/EdmElement/productNewCom/detail.vue
|
|
121853
121606
|
|
|
@@ -121861,11 +121614,11 @@ const const_language = [{
|
|
|
121861
121614
|
|
|
121862
121615
|
var productNewCom_detail_component = normalizeComponent(
|
|
121863
121616
|
EdmElement_productNewCom_detailvue_type_script_lang_js,
|
|
121864
|
-
|
|
121865
|
-
|
|
121617
|
+
detailvue_type_template_id_7353139d_scoped_true_render,
|
|
121618
|
+
detailvue_type_template_id_7353139d_scoped_true_staticRenderFns,
|
|
121866
121619
|
false,
|
|
121867
121620
|
null,
|
|
121868
|
-
"
|
|
121621
|
+
"7353139d",
|
|
121869
121622
|
null
|
|
121870
121623
|
|
|
121871
121624
|
)
|
|
@@ -123444,8 +123197,8 @@ var productFormCom_component = normalizeComponent(
|
|
|
123444
123197
|
)
|
|
123445
123198
|
|
|
123446
123199
|
/* harmony default export */ var productFormCom = (productFormCom_component.exports);
|
|
123447
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=template&id=
|
|
123448
|
-
var
|
|
123200
|
+
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./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!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=template&id=54b56ff8&scoped=true
|
|
123201
|
+
var productCardsDrawervue_type_template_id_54b56ff8_scoped_true_render = function render() {
|
|
123449
123202
|
var _vm = this,
|
|
123450
123203
|
_c = _vm._self._c;
|
|
123451
123204
|
return _c('el-drawer', {
|
|
@@ -123650,9 +123403,9 @@ var productCardsDrawervue_type_template_id_4b69beea_scoped_true_render = functio
|
|
|
123650
123403
|
}
|
|
123651
123404
|
}, [_vm._v(_vm._s(_vm.$i18n.t("newProduct.preservation")))])], 1)], 1);
|
|
123652
123405
|
};
|
|
123653
|
-
var
|
|
123406
|
+
var productCardsDrawervue_type_template_id_54b56ff8_scoped_true_staticRenderFns = [];
|
|
123654
123407
|
|
|
123655
|
-
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=template&id=
|
|
123408
|
+
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=template&id=54b56ff8&scoped=true
|
|
123656
123409
|
|
|
123657
123410
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=script&lang=js
|
|
123658
123411
|
|
|
@@ -123663,6 +123416,7 @@ var productCardsDrawervue_type_template_id_4b69beea_scoped_true_staticRenderFns
|
|
|
123663
123416
|
|
|
123664
123417
|
|
|
123665
123418
|
|
|
123419
|
+
|
|
123666
123420
|
/* harmony default export */ var productCardsDrawervue_type_script_lang_js = ({
|
|
123667
123421
|
props: {
|
|
123668
123422
|
isShowProductCardDrawer: {
|
|
@@ -123802,7 +123556,7 @@ var productCardsDrawervue_type_template_id_4b69beea_scoped_true_staticRenderFns
|
|
|
123802
123556
|
productId: id
|
|
123803
123557
|
}).then(res => {
|
|
123804
123558
|
if (res.code === "0") {
|
|
123805
|
-
|
|
123559
|
+
createAndTriggerLink(res.data);
|
|
123806
123560
|
} else {
|
|
123807
123561
|
this.$message({
|
|
123808
123562
|
type: "error",
|
|
@@ -123833,15 +123587,15 @@ var productCardsDrawervue_type_template_id_4b69beea_scoped_true_staticRenderFns
|
|
|
123833
123587
|
});
|
|
123834
123588
|
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=script&lang=js
|
|
123835
123589
|
/* harmony default export */ var productNewCom_productCardsDrawervue_type_script_lang_js = (productCardsDrawervue_type_script_lang_js);
|
|
123836
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=0&id=
|
|
123590
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=0&id=54b56ff8&prod&lang=scss&scoped=true
|
|
123837
123591
|
// extracted by mini-css-extract-plugin
|
|
123838
123592
|
|
|
123839
|
-
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=0&id=
|
|
123593
|
+
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=0&id=54b56ff8&prod&lang=scss&scoped=true
|
|
123840
123594
|
|
|
123841
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=1&id=
|
|
123595
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=1&id=54b56ff8&prod&lang=scss
|
|
123842
123596
|
// extracted by mini-css-extract-plugin
|
|
123843
123597
|
|
|
123844
|
-
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=1&id=
|
|
123598
|
+
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue?vue&type=style&index=1&id=54b56ff8&prod&lang=scss
|
|
123845
123599
|
|
|
123846
123600
|
;// ./src/components/EdmElement/productNewCom/productCardsDrawer.vue
|
|
123847
123601
|
|
|
@@ -123855,11 +123609,11 @@ var productCardsDrawervue_type_template_id_4b69beea_scoped_true_staticRenderFns
|
|
|
123855
123609
|
|
|
123856
123610
|
var productCardsDrawer_component = normalizeComponent(
|
|
123857
123611
|
productNewCom_productCardsDrawervue_type_script_lang_js,
|
|
123858
|
-
|
|
123859
|
-
|
|
123612
|
+
productCardsDrawervue_type_template_id_54b56ff8_scoped_true_render,
|
|
123613
|
+
productCardsDrawervue_type_template_id_54b56ff8_scoped_true_staticRenderFns,
|
|
123860
123614
|
false,
|
|
123861
123615
|
null,
|
|
123862
|
-
"
|
|
123616
|
+
"54b56ff8",
|
|
123863
123617
|
null
|
|
123864
123618
|
|
|
123865
123619
|
)
|
|
@@ -129232,6 +128986,10 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129232
128986
|
type: String,
|
|
129233
128987
|
default: ""
|
|
129234
128988
|
},
|
|
128989
|
+
isGoogleGrayShow: {
|
|
128990
|
+
type: Boolean,
|
|
128991
|
+
default: true
|
|
128992
|
+
},
|
|
129235
128993
|
currentEnv: {
|
|
129236
128994
|
type: String,
|
|
129237
128995
|
default: "https://www.wotohub.com"
|
|
@@ -129241,10 +128999,6 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129241
128999
|
// 所有邮件的主题
|
|
129242
129000
|
allSubjectList() {
|
|
129243
129001
|
return this.mailList.map(item => item.subject);
|
|
129244
|
-
},
|
|
129245
|
-
// 当前发件方式组合
|
|
129246
|
-
currentRadio() {
|
|
129247
|
-
return this.sendType === "WOTOMAIL" ? "WOTOMAIL" : this.email;
|
|
129248
129002
|
}
|
|
129249
129003
|
},
|
|
129250
129004
|
data() {
|
|
@@ -129330,12 +129084,12 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129330
129084
|
//最终发信成功
|
|
129331
129085
|
showChooseMail: false,
|
|
129332
129086
|
// 发件设置
|
|
129333
|
-
|
|
129334
|
-
//
|
|
129335
|
-
|
|
129336
|
-
//
|
|
129337
|
-
|
|
129338
|
-
//
|
|
129087
|
+
currentSetEmail: "",
|
|
129088
|
+
// 当前选中的发件邮箱(企业邮箱具体值保存在这个字段)
|
|
129089
|
+
qiyeId: "",
|
|
129090
|
+
// 企业邮箱 id(如果选择了企业邮箱为发件邮箱,这时有值)
|
|
129091
|
+
gmailValue: "",
|
|
129092
|
+
// gmail 邮箱具体值
|
|
129339
129093
|
isMultiReply: this.$route.query.isMultiReply == "true" || this.$route.query.isMultiReply == true ? true : false,
|
|
129340
129094
|
//批量回复
|
|
129341
129095
|
isShowProductFormDrawer: false,
|
|
@@ -129672,7 +129426,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129672
129426
|
productId: id
|
|
129673
129427
|
}).then(res => {
|
|
129674
129428
|
if (res.code === "0") {
|
|
129675
|
-
|
|
129429
|
+
createAndTriggerLink(res.data);
|
|
129676
129430
|
} else {
|
|
129677
129431
|
this.$message({
|
|
129678
129432
|
type: "error",
|
|
@@ -129781,9 +129535,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129781
129535
|
try {
|
|
129782
129536
|
const res = await getDefaultEmail({});
|
|
129783
129537
|
if (res.code === "0") {
|
|
129784
|
-
this.
|
|
129785
|
-
this.bizId = res.data.bizId || "";
|
|
129786
|
-
this.email = res.data.email || "";
|
|
129538
|
+
this.currentSetEmail = ["WOTOMAIL", "GMAIL"].includes(res.data.sendType) ? res.data.sendType : res.data.email;
|
|
129787
129539
|
} else {
|
|
129788
129540
|
this.$message.error(res.message);
|
|
129789
129541
|
}
|
|
@@ -129799,35 +129551,25 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129799
129551
|
// 更新本次选中的发信邮箱
|
|
129800
129552
|
updateCurrentEmail({
|
|
129801
129553
|
sendType = undefined,
|
|
129802
|
-
|
|
129803
|
-
|
|
129554
|
+
qiyeId = undefined,
|
|
129555
|
+
gmailValue = undefined
|
|
129804
129556
|
}) {
|
|
129805
|
-
this.
|
|
129806
|
-
this.
|
|
129807
|
-
this.
|
|
129557
|
+
this.currentSetEmail = sendType;
|
|
129558
|
+
this.qiyeId = qiyeId;
|
|
129559
|
+
this.gmailValue = gmailValue;
|
|
129808
129560
|
if (this.draftId) {
|
|
129809
129561
|
this.saveDraft(false);
|
|
129810
129562
|
}
|
|
129811
129563
|
},
|
|
129812
|
-
// 获取已经绑定的Gmail邮箱列表
|
|
129813
|
-
async getBindGmails(bizId) {
|
|
129814
|
-
try {
|
|
129815
|
-
const res = await getBindGmail({});
|
|
129816
|
-
if (res.code === "0") {
|
|
129817
|
-
this.email = findGmailById(res.data || [], bizId);
|
|
129818
|
-
} else {
|
|
129819
|
-
this.$message.error(res.message);
|
|
129820
|
-
}
|
|
129821
|
-
} catch (error) {
|
|
129822
|
-
console.log(error);
|
|
129823
|
-
}
|
|
129824
|
-
},
|
|
129825
129564
|
// 获取已经绑定的企业邮箱列表
|
|
129826
|
-
async getBusinessEMails(
|
|
129565
|
+
async getBusinessEMails(qiyeId) {
|
|
129827
129566
|
try {
|
|
129828
129567
|
const res = await getBusinessEMailList({});
|
|
129829
129568
|
if (res.code === "0") {
|
|
129830
|
-
this.
|
|
129569
|
+
this.businessEmailList = res.data || [];
|
|
129570
|
+
if (qiyeId) {
|
|
129571
|
+
this.currentSetEmail = res.data.find(item => item.id === qiyeId)?.emailAddress || "";
|
|
129572
|
+
}
|
|
129831
129573
|
} else {
|
|
129832
129574
|
this.$message.error(res.message);
|
|
129833
129575
|
}
|
|
@@ -129940,22 +129682,23 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
129940
129682
|
bloggerName: item.bloggerName
|
|
129941
129683
|
});
|
|
129942
129684
|
});
|
|
129685
|
+
console.log(this.addresseeArr);
|
|
129943
129686
|
}
|
|
129944
129687
|
|
|
129945
129688
|
// 回显本次选择的发件邮箱
|
|
129946
129689
|
if (res.data[0] && res.data[0].sendType) {
|
|
129947
|
-
if (res.data[0].sendType
|
|
129948
|
-
this.
|
|
129949
|
-
this.
|
|
129950
|
-
this.
|
|
129951
|
-
|
|
129952
|
-
|
|
129953
|
-
|
|
129954
|
-
|
|
129690
|
+
if (["WOTOMAIL", "GMAIL"].includes(res.data[0].sendType)) {
|
|
129691
|
+
this.currentSetEmail = res.data[0].sendType;
|
|
129692
|
+
this.qiyeId = "";
|
|
129693
|
+
if (this.currentSetEmail === "GMAIL") {
|
|
129694
|
+
const res2 = await getBindGmail();
|
|
129695
|
+
if (res2.code === "0") {
|
|
129696
|
+
this.gmailValue = res2.data.email;
|
|
129697
|
+
}
|
|
129698
|
+
}
|
|
129955
129699
|
} else {
|
|
129956
|
-
this.
|
|
129957
|
-
this.
|
|
129958
|
-
this.getBusinessEMails(this.bizId);
|
|
129700
|
+
this.qiyeId = res.data[0].qiyeId;
|
|
129701
|
+
this.getBusinessEMails(res.data[0].qiyeId);
|
|
129959
129702
|
}
|
|
129960
129703
|
}
|
|
129961
129704
|
} else {
|
|
@@ -130137,7 +129880,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
130137
129880
|
let nameEn = item.nameEn ? item.nameEn.slice(0, 25) + "···" : "—";
|
|
130138
129881
|
let symbol = getMoneySymbolEvt(item.currency);
|
|
130139
129882
|
// 跳转中间页面
|
|
130140
|
-
return `<div style="display: flex"><div style="box-sizing:border-box;width: 274px; min-height: 310px; border-radius: 14px; border: 1px solid #e8e8e8; padding: 12px;margin-right:8px"><div style="position: relative; margin-bottom: 10px;width:250px;height:250px;"><img style="border: 1px solid #333;width: 100%;height: 100%;border-radius: 14px;object-fit:contain;" src="${item.imageUrls[0]}"/><div style="position: absolute;top: 12px;left: 12px;display: flex;align-items: center;flex-wrap:wrap">${promotePlatformTypeImg}${typeName}</div></div><div style="margin-bottom: 16px"><div style="font-weight: 600;font-size: 16px;color: #333333;line-height: 22px;margin-bottom: 4px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">${nameEn}</div><div style="font-weight: 400;font-size: 14px;color: #666666;line-height: 20px;margin-bottom: 4px;">Price:${symbol}${item.priceDollar || "—"}</div><div style="font-weight: 400;font-size: 14px;color: #666666;line-height: 20px;margin-bottom: 0;">Commission rate:${item.commissionPercent || "—"}%</div></div><div style="display: flex; align-items: center"><div style="font-weight: 400;font-size: 12px;color: #999999;line-height: 17px;margin-right: 20px;"><span style="font-family: MiSans, MiSans;font-weight: 800;font-size: 18px;color: #f85277;line-height: 24px;padding-right: 6px;">${symbol}${(item.priceDollar * (item.commissionPercent / 100)).toFixed(2)}</span> /per ordered item</div><div style="width: 75px;height: 36px;border-radius: 10px;background: #f85277;font-weight: 600;font-size: 16px;color: #ffffff;line-height: 34px;text-align: center;"><a style="color:#fff;text-decoration:none" href='${currentApi}/user/productCard/noAuth/email/apply?productId=${item.id}' target='_blank'>Apply</a></div></div></div></div>`;
|
|
129883
|
+
return `<div style="display: flex"><div style="box-sizing:border-box;width: 274px; min-height: 310px; border-radius: 14px; border: 1px solid #e8e8e8; padding: 12px;margin-right:8px"><div style="position: relative; margin-bottom: 10px;width:250px;height:250px;"><img style="border: 1px solid #333;width: 100%;height: 100%;border-radius: 14px;object-fit:contain;" src="${item.imageUrls[0]}"/><div style="position: absolute;top: 12px;left: 12px;display: flex;align-items: center;flex-wrap:wrap">${promotePlatformTypeImg}${typeName}</div></div><div style="margin-bottom: 16px"><div style="font-weight: 600;font-size: 16px;color: #333333;line-height: 22px;margin-bottom: 4px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">${nameEn}</div><div style="font-weight: 400;font-size: 14px;color: #666666;line-height: 20px;margin-bottom: 4px;">Price:${symbol}${item.priceDollar || "—"}</div><div style="font-weight: 400;font-size: 14px;color: #666666;line-height: 20px;margin-bottom: 0;">Commission rate:${item.commissionPercent || "—"}%</div></div><div style="display: flex; align-items: center"><div style="font-weight: 400;font-size: 12px;color: #999999;line-height: 17px;margin-right: 20px;"><span style="font-family: MiSans, MiSans;font-weight: 800;font-size: 18px;color: #f85277;line-height: 24px;padding-right: 6px;">${symbol}${(item.priceDollar * (item.commissionPercent / 100)).toFixed(2)}</span> /per ordered item</div><div style="width: 75px;height: 36px;border-radius: 10px;background: #f85277;font-weight: 600;font-size: 16px;color: #ffffff;line-height: 34px;text-align: center;"><a rel="noopener noreferrer" style="color:#fff;text-decoration:none" href='${currentApi}/user/productCard/noAuth/email/apply?productId=${item.id}' target='_blank'>Apply</a></div></div></div></div>`;
|
|
130141
129884
|
},
|
|
130142
129885
|
// 检测之后主动发信,区分继续发件/过滤重复触达
|
|
130143
129886
|
async selfSend(sendStr) {
|
|
@@ -130184,8 +129927,8 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
130184
129927
|
replyId: this.isReply ? this.replyInfo.id : undefined,
|
|
130185
129928
|
sendEntryKey: this.sendEntryKey || undefined,
|
|
130186
129929
|
writeIds: this.deleteIdList.length > 0 ? this.deleteIdList : undefined,
|
|
130187
|
-
sendType: this.
|
|
130188
|
-
|
|
129930
|
+
sendType: ["WOTOMAIL", "GMAIL"].includes(this.currentSetEmail) ? this.currentSetEmail : "QIYE",
|
|
129931
|
+
qiyeId: this.qiyeId || undefined
|
|
130189
129932
|
};
|
|
130190
129933
|
if (this.draftId || this.timerId) {
|
|
130191
129934
|
hubDataParams.id = this.draftId || this.timerId;
|
|
@@ -130376,8 +130119,8 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
130376
130119
|
replyId: this.isReply ? this.replyInfo.id : undefined,
|
|
130377
130120
|
sendEntryKey: this.sendEntryKey,
|
|
130378
130121
|
writeIds: this.deleteIdList.length > 0 ? this.deleteIdList : undefined,
|
|
130379
|
-
sendType: this.
|
|
130380
|
-
|
|
130122
|
+
sendType: ["WOTOMAIL", "GMAIL"].includes(this.currentSetEmail) ? this.currentSetEmail : "QIYE",
|
|
130123
|
+
qiyeId: this.qiyeId || undefined
|
|
130381
130124
|
};
|
|
130382
130125
|
this.isAutoSave = flag ? false : true;
|
|
130383
130126
|
this.isAutoSaving = this.isAutoSave;
|
|
@@ -130895,15 +130638,15 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
130895
130638
|
});
|
|
130896
130639
|
;// ./src/package/write-email/index.vue?vue&type=script&lang=js
|
|
130897
130640
|
/* harmony default export */ var package_write_emailvue_type_script_lang_js = (write_emailvue_type_script_lang_js);
|
|
130898
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/index.vue?vue&type=style&index=0&id=
|
|
130641
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/index.vue?vue&type=style&index=0&id=b5ba2836&prod&lang=scss&scoped=true
|
|
130899
130642
|
// extracted by mini-css-extract-plugin
|
|
130900
130643
|
|
|
130901
|
-
;// ./src/package/write-email/index.vue?vue&type=style&index=0&id=
|
|
130644
|
+
;// ./src/package/write-email/index.vue?vue&type=style&index=0&id=b5ba2836&prod&lang=scss&scoped=true
|
|
130902
130645
|
|
|
130903
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/index.vue?vue&type=style&index=1&id=
|
|
130646
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.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/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/index.vue?vue&type=style&index=1&id=b5ba2836&prod&lang=scss
|
|
130904
130647
|
// extracted by mini-css-extract-plugin
|
|
130905
130648
|
|
|
130906
|
-
;// ./src/package/write-email/index.vue?vue&type=style&index=1&id=
|
|
130649
|
+
;// ./src/package/write-email/index.vue?vue&type=style&index=1&id=b5ba2836&prod&lang=scss
|
|
130907
130650
|
|
|
130908
130651
|
;// ./src/package/write-email/index.vue
|
|
130909
130652
|
|
|
@@ -130917,11 +130660,11 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
130917
130660
|
|
|
130918
130661
|
var write_email_component = normalizeComponent(
|
|
130919
130662
|
package_write_emailvue_type_script_lang_js,
|
|
130920
|
-
|
|
130921
|
-
|
|
130663
|
+
write_emailvue_type_template_id_b5ba2836_scoped_true_render,
|
|
130664
|
+
write_emailvue_type_template_id_b5ba2836_scoped_true_staticRenderFns,
|
|
130922
130665
|
false,
|
|
130923
130666
|
null,
|
|
130924
|
-
"
|
|
130667
|
+
"b5ba2836",
|
|
130925
130668
|
null
|
|
130926
130669
|
|
|
130927
130670
|
)
|
|
@@ -139146,11 +138889,12 @@ const request_dss_put = (url, data) => {
|
|
|
139146
138889
|
|
|
139147
138890
|
|
|
139148
138891
|
// 绑定邮箱帮助文档
|
|
138892
|
+
// import '../styles/index.scss'
|
|
138893
|
+
// import '../styles/iconfont.css'
|
|
139149
138894
|
|
|
139150
138895
|
|
|
139151
138896
|
|
|
139152
|
-
|
|
139153
|
-
const coms = [edm_button, outbox_email, write_email, draft_email, edm_inbox, detail, outbox_email_detail, blog_email, edm_notice, edm_mailData, edm_mailData_sendDetail, receiveDetail, recipientList, bindEmailHelp, chooseMailNew]; // 将来如果有其它组件,都可以写到这个数组里
|
|
138897
|
+
const coms = [edm_button, outbox_email, write_email, draft_email, edm_inbox, detail, outbox_email_detail, blog_email, edm_notice, edm_mailData, edm_mailData_sendDetail, receiveDetail, recipientList, bindEmailHelp]; // 将来如果有其它组件,都可以写到这个数组里
|
|
139154
138898
|
|
|
139155
138899
|
// 批量组件注册
|
|
139156
138900
|
const package_install = function (Vue) {
|