wotokol-edm 1.1.21 → 1.1.23
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 +1447 -1130
- 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 +1450 -1133
- package/wotokol-edm.umd.js.gz +0 -0
- package/wotokol-edm.umd.min.js +20 -20
- package/wotokol-edm.umd.min.js.gz +0 -0
package/wotokol-edm.common.js
CHANGED
|
@@ -85274,7 +85274,7 @@ if (typeof window !== 'undefined') {
|
|
|
85274
85274
|
var esnext_iterator_constructor = __webpack_require__(8992);
|
|
85275
85275
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
|
|
85276
85276
|
var esnext_iterator_for_each = __webpack_require__(3949);
|
|
85277
|
-
;// ./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=
|
|
85277
|
+
;// ./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=380dc28b&scoped=true
|
|
85278
85278
|
var render = function render() {
|
|
85279
85279
|
var _vm = this,
|
|
85280
85280
|
_c = _vm._self._c;
|
|
@@ -91213,8 +91213,10 @@ async function test_test(params) {
|
|
|
91213
91213
|
// 模拟 hub 登陆 测试账号
|
|
91214
91214
|
// mobileOrEmail: "13262005357",
|
|
91215
91215
|
// password: "123123123"
|
|
91216
|
-
mobileOrEmail: "18846078060",
|
|
91217
|
-
password: "asd123456"
|
|
91216
|
+
// mobileOrEmail: "18846078060",
|
|
91217
|
+
// password: "asd123456"
|
|
91218
|
+
mobileOrEmail: "18767117493",
|
|
91219
|
+
password: "tm123456789"
|
|
91218
91220
|
// mobileOrEmail: "15658187195",
|
|
91219
91221
|
// password: "wotu987412365"
|
|
91220
91222
|
}).then(res => {
|
|
@@ -91366,7 +91368,7 @@ var component = normalizeComponent(
|
|
|
91366
91368
|
staticRenderFns,
|
|
91367
91369
|
false,
|
|
91368
91370
|
null,
|
|
91369
|
-
"
|
|
91371
|
+
"380dc28b",
|
|
91370
91372
|
null
|
|
91371
91373
|
|
|
91372
91374
|
)
|
|
@@ -98665,6 +98667,14 @@ function delTags(id) {
|
|
|
98665
98667
|
function addTags(data) {
|
|
98666
98668
|
return request_post(`/edm/tag/addSign`, data);
|
|
98667
98669
|
}
|
|
98670
|
+
// 获取账号
|
|
98671
|
+
function hubUserSonFather(params) {
|
|
98672
|
+
return request_get(`/user/hubUser/sonFather`, params);
|
|
98673
|
+
}
|
|
98674
|
+
// 分页查看模板列表
|
|
98675
|
+
function templatesList(params) {
|
|
98676
|
+
return request_get(`/edm/template/templates`, params);
|
|
98677
|
+
}
|
|
98668
98678
|
;// ./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-search/index.vue?vue&type=template&id=4d651f22&scoped=true
|
|
98669
98679
|
var edm_searchvue_type_template_id_4d651f22_scoped_true_render = function render() {
|
|
98670
98680
|
var _vm = this,
|
|
@@ -106569,6 +106579,10 @@ function comeGoBloggerPage(data) {
|
|
|
106569
106579
|
function pagePlan(data) {
|
|
106570
106580
|
return post(`/user/popularize/pagePlan`, data);
|
|
106571
106581
|
}
|
|
106582
|
+
// 撤回邮件
|
|
106583
|
+
function withdraw(id) {
|
|
106584
|
+
return request_get(`/edm/outbox/withdraw/groupId/${id}`);
|
|
106585
|
+
}
|
|
106572
106586
|
;// ./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/EmailPlan/index.vue?vue&type=script&lang=js
|
|
106573
106587
|
|
|
106574
106588
|
|
|
@@ -109211,8 +109225,8 @@ var detail_component = normalizeComponent(
|
|
|
109211
109225
|
)
|
|
109212
109226
|
|
|
109213
109227
|
/* harmony default export */ var detail = (detail_component.exports);
|
|
109214
|
-
;// ./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=
|
|
109215
|
-
var
|
|
109228
|
+
;// ./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=3c690e4c&scoped=true
|
|
109229
|
+
var write_emailvue_type_template_id_3c690e4c_scoped_true_render = function render() {
|
|
109216
109230
|
var _vm = this,
|
|
109217
109231
|
_c = _vm._self._c;
|
|
109218
109232
|
return _c('div', {
|
|
@@ -109577,7 +109591,17 @@ var write_emailvue_type_template_id_6c2fdda1_scoped_true_render = function rende
|
|
|
109577
109591
|
staticClass: "el-icon-loading"
|
|
109578
109592
|
}) : _vm._e(), _vm._v(" 保存 ")])], 1) : _c('div', {
|
|
109579
109593
|
staticClass: "operate-right"
|
|
109580
|
-
}, [
|
|
109594
|
+
}, [_c('el-button', {
|
|
109595
|
+
staticClass: "operate-btn",
|
|
109596
|
+
attrs: {
|
|
109597
|
+
"disabled": _vm.loading
|
|
109598
|
+
},
|
|
109599
|
+
on: {
|
|
109600
|
+
"click": _vm.saveMailTemplate
|
|
109601
|
+
}
|
|
109602
|
+
}, [_vm.loading ? _c('i', {
|
|
109603
|
+
staticClass: "el-icon-loading"
|
|
109604
|
+
}) : _vm._e(), _vm._v(" 存为模版 ")]), _vm.isTiming == 0 && !_vm.isMultiReply ? _c('el-button', {
|
|
109581
109605
|
staticClass: "operate-btn",
|
|
109582
109606
|
attrs: {
|
|
109583
109607
|
"disabled": _vm.loading
|
|
@@ -109846,12 +109870,13 @@ var write_emailvue_type_template_id_6c2fdda1_scoped_true_render = function rende
|
|
|
109846
109870
|
}) : _vm._e(), _vm.isShowCheck ? _c('check-mail', {
|
|
109847
109871
|
attrs: {
|
|
109848
109872
|
"isShow": _vm.isShowCheck,
|
|
109849
|
-
"reContactNum": _vm.
|
|
109850
|
-
"
|
|
109873
|
+
"reContactNum": _vm.reContactList.length,
|
|
109874
|
+
"riskNum": _vm.riskList.length,
|
|
109851
109875
|
"filterBloggerArr": _vm.filterBloggerArr,
|
|
109852
109876
|
"checkEmails": _vm.checkEmails,
|
|
109853
109877
|
"isSendSuccess": _vm.isSendSuccess,
|
|
109854
|
-
"isReply": _vm.isReply
|
|
109878
|
+
"isReply": _vm.isReply,
|
|
109879
|
+
"totalNum": _vm.totalNum
|
|
109855
109880
|
},
|
|
109856
109881
|
on: {
|
|
109857
109882
|
"closeCheck": _vm.closeCheckEvt,
|
|
@@ -109859,7 +109884,8 @@ var write_emailvue_type_template_id_6c2fdda1_scoped_true_render = function rende
|
|
|
109859
109884
|
"selfSend": _vm.selfSend,
|
|
109860
109885
|
"openAutoJump": function ($event) {
|
|
109861
109886
|
_vm.isSelfClick = false;
|
|
109862
|
-
}
|
|
109887
|
+
},
|
|
109888
|
+
"updateFilterBloggerArr": _vm.updateFilterBloggerArr
|
|
109863
109889
|
}
|
|
109864
109890
|
}) : _vm._e(), _vm.showChooseMail ? _c('chooseMailNew', {
|
|
109865
109891
|
attrs: {
|
|
@@ -109942,9 +109968,20 @@ var write_emailvue_type_template_id_6c2fdda1_scoped_true_render = function rende
|
|
|
109942
109968
|
},
|
|
109943
109969
|
"updateNickName": val => _vm.nickName = val
|
|
109944
109970
|
}
|
|
109971
|
+
}) : _vm._e(), _vm.saveMailTempDialogVisible ? _c('saveMailTempDialog', {
|
|
109972
|
+
attrs: {
|
|
109973
|
+
"tempProductCard": _vm.tempProductCard,
|
|
109974
|
+
"mailTempList": _vm.mailList,
|
|
109975
|
+
"visible": _vm.saveMailTempDialogVisible
|
|
109976
|
+
},
|
|
109977
|
+
on: {
|
|
109978
|
+
"update:visible": function ($event) {
|
|
109979
|
+
_vm.saveMailTempDialogVisible = $event;
|
|
109980
|
+
}
|
|
109981
|
+
}
|
|
109945
109982
|
}) : _vm._e()], 1);
|
|
109946
109983
|
};
|
|
109947
|
-
var
|
|
109984
|
+
var write_emailvue_type_template_id_3c690e4c_scoped_true_staticRenderFns = [function () {
|
|
109948
109985
|
var _vm = this,
|
|
109949
109986
|
_c = _vm._self._c;
|
|
109950
109987
|
return _c('div', {
|
|
@@ -109965,7 +110002,7 @@ var write_emailvue_type_template_id_6c2fdda1_scoped_true_staticRenderFns = [func
|
|
|
109965
110002
|
}, [_c('span', [_vm._v("$4.98")]), _vm._v(" /per ordered item ")]);
|
|
109966
110003
|
}];
|
|
109967
110004
|
|
|
109968
|
-
;// ./src/package/write-email/index.vue?vue&type=template&id=
|
|
110005
|
+
;// ./src/package/write-email/index.vue?vue&type=template&id=3c690e4c&scoped=true
|
|
109969
110006
|
|
|
109970
110007
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
|
|
109971
110008
|
var es_set_difference_v2 = __webpack_require__(7642);
|
|
@@ -110179,6 +110216,16 @@ function getOauthLink(params) {
|
|
|
110179
110216
|
function bindOutlookEmail(params) {
|
|
110180
110217
|
return request_get("/edm/qiye/saveToken", params);
|
|
110181
110218
|
}
|
|
110219
|
+
|
|
110220
|
+
// 查询风险红人根据红人id列表
|
|
110221
|
+
function getRiskRedList(data) {
|
|
110222
|
+
return request_post("/woto-crm/bloggerRisk/selectBloggerRiskByIds", data);
|
|
110223
|
+
}
|
|
110224
|
+
|
|
110225
|
+
// 获取模板详情
|
|
110226
|
+
function templatesDetail(id) {
|
|
110227
|
+
return request_get(`/edm/template/template/${id}`);
|
|
110228
|
+
}
|
|
110182
110229
|
;// ./src/api/send/outbox.js
|
|
110183
110230
|
|
|
110184
110231
|
// 分页查看发件箱列表
|
|
@@ -111773,8 +111820,8 @@ var sendLimit_component = normalizeComponent(
|
|
|
111773
111820
|
)
|
|
111774
111821
|
|
|
111775
111822
|
/* harmony default export */ var sendLimit = (sendLimit_component.exports);
|
|
111776
|
-
;// ./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/checkMail.vue?vue&type=template&id=
|
|
111777
|
-
var
|
|
111823
|
+
;// ./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/checkMail.vue?vue&type=template&id=5354cf44
|
|
111824
|
+
var checkMailvue_type_template_id_5354cf44_render = function render() {
|
|
111778
111825
|
var _vm = this,
|
|
111779
111826
|
_c = _vm._self._c;
|
|
111780
111827
|
return _c('el-dialog', {
|
|
@@ -111806,36 +111853,75 @@ var checkMailvue_type_template_id_24f8b777_render = function render() {
|
|
|
111806
111853
|
});
|
|
111807
111854
|
}), 1), _vm.active === 0 ? _c('div', {
|
|
111808
111855
|
staticClass: "active1"
|
|
111809
|
-
}, [_c('
|
|
111810
|
-
staticClass: "
|
|
111856
|
+
}, [_c('div', {
|
|
111857
|
+
staticClass: "check-title"
|
|
111858
|
+
}, [_c('span', {
|
|
111859
|
+
staticClass: "txt"
|
|
111860
|
+
}, [_vm._v("检测发现" + _vm._s(_vm.totalNum) + "位有效收件人中")]), _c('Tooltip', {
|
|
111811
111861
|
attrs: {
|
|
111812
|
-
"
|
|
111813
|
-
|
|
111814
|
-
|
|
111815
|
-
|
|
111816
|
-
}
|
|
111817
|
-
staticClass: "
|
|
111818
|
-
}, [
|
|
111819
|
-
staticClass: "
|
|
111820
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("checkMail.filter_completed")) + " ")]), _c('p', {
|
|
111821
|
-
staticClass: "progress-tip"
|
|
111822
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("checkMail.tip1_1")) + " "), _c('span', {
|
|
111823
|
-
staticClass: "underline-span"
|
|
111824
|
-
}, [_vm._v("3S")]), _vm._v(_vm._s(_vm.$i18n.t("checkMail.tip1_2")) + " ")]), _c('p', {
|
|
111825
|
-
staticClass: "progress-note"
|
|
111862
|
+
"content": "123"
|
|
111863
|
+
}
|
|
111864
|
+
})], 1), _c('div', {
|
|
111865
|
+
staticClass: "check-item"
|
|
111866
|
+
}, [_c('div', {
|
|
111867
|
+
staticClass: "check-item_left"
|
|
111868
|
+
}, [_c('div', {
|
|
111869
|
+
staticClass: "check-label"
|
|
111826
111870
|
}, [_c('span', {
|
|
111827
|
-
staticClass: "
|
|
111828
|
-
}, [_vm._v(
|
|
111829
|
-
staticClass: "
|
|
111830
|
-
}, [_vm._v("
|
|
111831
|
-
staticClass: "
|
|
111832
|
-
}, [
|
|
111833
|
-
|
|
111834
|
-
|
|
111835
|
-
|
|
111871
|
+
staticClass: "red"
|
|
111872
|
+
}, [_vm._v(_vm._s(_vm.reContactNum))]), _vm._v("位重复触达红人 ")]), _c('div', {
|
|
111873
|
+
staticClass: "check-tip"
|
|
111874
|
+
}, [_vm._v("*30天内邮件联系过")])]), _c('div', {
|
|
111875
|
+
staticClass: "check-item_right"
|
|
111876
|
+
}, [_c('el-switch', {
|
|
111877
|
+
attrs: {
|
|
111878
|
+
"active-text": _vm.isFilterRepeat ? '过滤' : '不过滤'
|
|
111879
|
+
},
|
|
111880
|
+
on: {
|
|
111881
|
+
"change": _vm.changeFilter
|
|
111882
|
+
},
|
|
111883
|
+
model: {
|
|
111884
|
+
value: _vm.isFilterRepeat,
|
|
111885
|
+
callback: function ($$v) {
|
|
111886
|
+
_vm.isFilterRepeat = $$v;
|
|
111887
|
+
},
|
|
111888
|
+
expression: "isFilterRepeat"
|
|
111889
|
+
}
|
|
111890
|
+
})], 1), _c('img', {
|
|
111891
|
+
attrs: {
|
|
111892
|
+
"src": "https://wotokol-oss.oss-cn-hangzhou.aliyuncs.com/check-fail.png"
|
|
111893
|
+
}
|
|
111894
|
+
})]), _c('div', {
|
|
111895
|
+
staticClass: "check-item"
|
|
111896
|
+
}, [_c('div', {
|
|
111897
|
+
staticClass: "check-item_left"
|
|
111898
|
+
}, [_c('div', {
|
|
111899
|
+
staticClass: "check-label"
|
|
111836
111900
|
}, [_c('span', {
|
|
111837
|
-
staticClass: "
|
|
111838
|
-
}, [_vm._v(
|
|
111901
|
+
staticClass: "red"
|
|
111902
|
+
}, [_vm._v(_vm._s(_vm.riskNum))]), _vm._v("位有履约风险红人 ")]), _c('div', {
|
|
111903
|
+
staticClass: "check-tip"
|
|
111904
|
+
}, [_vm._v("*平台上记录有履约风险")])]), _c('div', {
|
|
111905
|
+
staticClass: "check-item_right"
|
|
111906
|
+
}, [_c('el-switch', {
|
|
111907
|
+
attrs: {
|
|
111908
|
+
"active-text": _vm.isFilterRisk ? '过滤' : '不过滤'
|
|
111909
|
+
},
|
|
111910
|
+
on: {
|
|
111911
|
+
"change": _vm.changeFilter
|
|
111912
|
+
},
|
|
111913
|
+
model: {
|
|
111914
|
+
value: _vm.isFilterRisk,
|
|
111915
|
+
callback: function ($$v) {
|
|
111916
|
+
_vm.isFilterRisk = $$v;
|
|
111917
|
+
},
|
|
111918
|
+
expression: "isFilterRisk"
|
|
111919
|
+
}
|
|
111920
|
+
})], 1), _c('img', {
|
|
111921
|
+
attrs: {
|
|
111922
|
+
"src": "https://wotokol-oss.oss-cn-hangzhou.aliyuncs.com/check-fail.png"
|
|
111923
|
+
}
|
|
111924
|
+
})])]) : _vm._e(), _vm.active === 1 ? _c('div', {
|
|
111839
111925
|
staticClass: "active2"
|
|
111840
111926
|
}, [_c('div', {
|
|
111841
111927
|
staticClass: "variable-check"
|
|
@@ -111936,35 +112022,49 @@ var checkMailvue_type_template_id_24f8b777_render = function render() {
|
|
|
111936
112022
|
"size": "small"
|
|
111937
112023
|
},
|
|
111938
112024
|
on: {
|
|
111939
|
-
"click": _vm.
|
|
112025
|
+
"click": _vm.closeCheck
|
|
111940
112026
|
}
|
|
111941
|
-
}, [_vm._v("
|
|
112027
|
+
}, [_vm._v(" 取 消 ")]), _c('el-button', {
|
|
111942
112028
|
staticClass: "active1-btn2",
|
|
111943
112029
|
attrs: {
|
|
111944
112030
|
"size": "small",
|
|
111945
112031
|
"type": "primary"
|
|
111946
112032
|
},
|
|
111947
112033
|
on: {
|
|
111948
|
-
"click": _vm.
|
|
112034
|
+
"click": _vm.filterContactBlogger
|
|
111949
112035
|
}
|
|
111950
|
-
}, [_vm._v(
|
|
112036
|
+
}, [_vm._v("下一步")])], 1) : _vm._e()], 1);
|
|
111951
112037
|
};
|
|
111952
|
-
var
|
|
112038
|
+
var checkMailvue_type_template_id_5354cf44_staticRenderFns = [];
|
|
111953
112039
|
|
|
111954
112040
|
;// ./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/checkMail.vue?vue&type=script&lang=js
|
|
111955
112041
|
|
|
111956
112042
|
|
|
112043
|
+
|
|
111957
112044
|
/* harmony default export */ var checkMailvue_type_script_lang_js = ({
|
|
112045
|
+
components: {
|
|
112046
|
+
Tooltip: Tooltip
|
|
112047
|
+
},
|
|
111958
112048
|
props: {
|
|
111959
112049
|
isShow: {
|
|
111960
112050
|
default: false,
|
|
111961
112051
|
type: Boolean
|
|
111962
112052
|
},
|
|
112053
|
+
// 总数
|
|
112054
|
+
totalNum: {
|
|
112055
|
+
type: Number,
|
|
112056
|
+
default: 0
|
|
112057
|
+
},
|
|
111963
112058
|
// 重复触达数
|
|
111964
112059
|
reContactNum: {
|
|
111965
112060
|
type: Number,
|
|
111966
112061
|
default: 0
|
|
111967
112062
|
},
|
|
112063
|
+
// 风险红人数
|
|
112064
|
+
riskNum: {
|
|
112065
|
+
type: Number,
|
|
112066
|
+
default: 0
|
|
112067
|
+
},
|
|
111968
112068
|
//过滤重复发件
|
|
111969
112069
|
filterBloggerArr: {
|
|
111970
112070
|
type: Array,
|
|
@@ -111972,13 +112072,6 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
111972
112072
|
return [];
|
|
111973
112073
|
}
|
|
111974
112074
|
},
|
|
111975
|
-
//继续发件
|
|
111976
|
-
continueBloggerArr: {
|
|
111977
|
-
type: Array,
|
|
111978
|
-
default: () => {
|
|
111979
|
-
return [];
|
|
111980
|
-
}
|
|
111981
|
-
},
|
|
111982
112075
|
// 邮件检测
|
|
111983
112076
|
checkEmails: {
|
|
111984
112077
|
type: Array,
|
|
@@ -112003,11 +112096,12 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
112003
112096
|
hasVar: false,
|
|
112004
112097
|
//是否有变量
|
|
112005
112098
|
isLoading: false,
|
|
112006
|
-
sendWay: "",
|
|
112007
|
-
//发件方式
|
|
112008
112099
|
checkVar: true,
|
|
112009
112100
|
//检测成功or失败
|
|
112010
|
-
language: api.get("language")
|
|
112101
|
+
language: api.get("language"),
|
|
112102
|
+
isFilterRepeat: true,
|
|
112103
|
+
// 是否过滤重复触发红人
|
|
112104
|
+
isFilterRisk: true // 是否过滤风险红人
|
|
112011
112105
|
};
|
|
112012
112106
|
},
|
|
112013
112107
|
mounted() {
|
|
@@ -112023,8 +112117,7 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
112023
112117
|
this.$emit("closeCheck");
|
|
112024
112118
|
},
|
|
112025
112119
|
// 下一步
|
|
112026
|
-
next(
|
|
112027
|
-
// this.active++;
|
|
112120
|
+
next() {
|
|
112028
112121
|
if (!this.isSuccess) {
|
|
112029
112122
|
this.active = 2;
|
|
112030
112123
|
setTimeout(() => {
|
|
@@ -112041,19 +112134,12 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
112041
112134
|
this.isLoading = false;
|
|
112042
112135
|
if (!res.data) {
|
|
112043
112136
|
// 检测失败
|
|
112044
|
-
this.sendWay = flag;
|
|
112045
112137
|
this.hasVar = false;
|
|
112046
112138
|
} else {
|
|
112047
|
-
if (flag) {
|
|
112048
|
-
this.sendWay = flag;
|
|
112049
|
-
} else {
|
|
112050
|
-
this.sendWay = "auto";
|
|
112051
|
-
}
|
|
112052
112139
|
this.hasVar = true;
|
|
112053
112140
|
setTimeout(() => {
|
|
112054
112141
|
this.active = 2;
|
|
112055
|
-
|
|
112056
|
-
this.$emit("selfSend", status);
|
|
112142
|
+
this.$emit("selfSend");
|
|
112057
112143
|
}, 3000);
|
|
112058
112144
|
}
|
|
112059
112145
|
} else {
|
|
@@ -112064,16 +112150,12 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
112064
112150
|
});
|
|
112065
112151
|
}
|
|
112066
112152
|
},
|
|
112067
|
-
//
|
|
112068
|
-
|
|
112069
|
-
this.next("continueSend");
|
|
112070
|
-
},
|
|
112071
|
-
// 过滤重复红人
|
|
112072
|
-
filterReContact() {
|
|
112153
|
+
// 过滤红人
|
|
112154
|
+
filterContactBlogger() {
|
|
112073
112155
|
if (this.filterBloggerArr.length === 0) {
|
|
112074
112156
|
this.isSuccess = false;
|
|
112075
112157
|
}
|
|
112076
|
-
this.next(
|
|
112158
|
+
this.next();
|
|
112077
112159
|
},
|
|
112078
112160
|
skipToOut() {
|
|
112079
112161
|
this.$emit("skipToOut");
|
|
@@ -112081,27 +112163,23 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
112081
112163
|
// 变量检测后发件 区分上一步是自动到变量检测还是继续发件还是过滤了重复触达
|
|
112082
112164
|
varCheckSend() {
|
|
112083
112165
|
this.active = 2;
|
|
112084
|
-
|
|
112085
|
-
|
|
112086
|
-
this.$emit("selfSend", "continueSend");
|
|
112087
|
-
} else if (this.sendWay === "filterSend") {
|
|
112088
|
-
if (this.filterBloggerArr.length === 0) {
|
|
112089
|
-
this.isSuccess = false;
|
|
112090
|
-
} else {
|
|
112091
|
-
this.$emit("selfSend", "filterSend");
|
|
112092
|
-
}
|
|
112166
|
+
if (this.filterBloggerArr.length === 0) {
|
|
112167
|
+
this.isSuccess = false;
|
|
112093
112168
|
} else {
|
|
112094
|
-
this.$emit("selfSend"
|
|
112169
|
+
this.$emit("selfSend");
|
|
112095
112170
|
}
|
|
112171
|
+
},
|
|
112172
|
+
changeFilter() {
|
|
112173
|
+
this.$emit("updateFilterBloggerArr", this.isFilterRepeat, this.isFilterRisk);
|
|
112096
112174
|
}
|
|
112097
112175
|
}
|
|
112098
112176
|
});
|
|
112099
112177
|
;// ./src/package/write-email/components/checkMail.vue?vue&type=script&lang=js
|
|
112100
112178
|
/* harmony default export */ var components_checkMailvue_type_script_lang_js = (checkMailvue_type_script_lang_js);
|
|
112101
|
-
;// ./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/checkMail.vue?vue&type=style&index=0&id=
|
|
112179
|
+
;// ./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/checkMail.vue?vue&type=style&index=0&id=5354cf44&prod&lang=scss
|
|
112102
112180
|
// extracted by mini-css-extract-plugin
|
|
112103
112181
|
|
|
112104
|
-
;// ./src/package/write-email/components/checkMail.vue?vue&type=style&index=0&id=
|
|
112182
|
+
;// ./src/package/write-email/components/checkMail.vue?vue&type=style&index=0&id=5354cf44&prod&lang=scss
|
|
112105
112183
|
|
|
112106
112184
|
;// ./src/package/write-email/components/checkMail.vue
|
|
112107
112185
|
|
|
@@ -112114,8 +112192,8 @@ var checkMailvue_type_template_id_24f8b777_staticRenderFns = [];
|
|
|
112114
112192
|
|
|
112115
112193
|
var checkMail_component = normalizeComponent(
|
|
112116
112194
|
components_checkMailvue_type_script_lang_js,
|
|
112117
|
-
|
|
112118
|
-
|
|
112195
|
+
checkMailvue_type_template_id_5354cf44_render,
|
|
112196
|
+
checkMailvue_type_template_id_5354cf44_staticRenderFns,
|
|
112119
112197
|
false,
|
|
112120
112198
|
null,
|
|
112121
112199
|
null,
|
|
@@ -114322,6 +114400,59 @@ const moneyTypeOpts = [{
|
|
|
114322
114400
|
code: "IDR",
|
|
114323
114401
|
symbol: "Rp"
|
|
114324
114402
|
}];
|
|
114403
|
+
const const_language = [{
|
|
114404
|
+
value: 7,
|
|
114405
|
+
label: '汉语',
|
|
114406
|
+
enLabel: 'Chinese'
|
|
114407
|
+
}, {
|
|
114408
|
+
value: 1,
|
|
114409
|
+
label: '英语',
|
|
114410
|
+
enLabel: 'English'
|
|
114411
|
+
}, {
|
|
114412
|
+
value: 3,
|
|
114413
|
+
label: '法语',
|
|
114414
|
+
enLabel: 'French'
|
|
114415
|
+
}, {
|
|
114416
|
+
value: 8,
|
|
114417
|
+
label: '德语',
|
|
114418
|
+
enLabel: 'German'
|
|
114419
|
+
}, {
|
|
114420
|
+
value: 6,
|
|
114421
|
+
label: '日语',
|
|
114422
|
+
enLabel: 'Japanese'
|
|
114423
|
+
}, {
|
|
114424
|
+
value: 9,
|
|
114425
|
+
label: '韩语',
|
|
114426
|
+
enLabel: 'Korean'
|
|
114427
|
+
}, {
|
|
114428
|
+
value: 10,
|
|
114429
|
+
label: '越南语',
|
|
114430
|
+
enLabel: 'Vietnamese'
|
|
114431
|
+
}, {
|
|
114432
|
+
value: 11,
|
|
114433
|
+
label: '泰国语',
|
|
114434
|
+
enLabel: 'Thai'
|
|
114435
|
+
}, {
|
|
114436
|
+
value: 12,
|
|
114437
|
+
label: '菲律宾语',
|
|
114438
|
+
enLabel: 'Filipino'
|
|
114439
|
+
}, {
|
|
114440
|
+
value: 13,
|
|
114441
|
+
label: '印度尼西亚语',
|
|
114442
|
+
enLabel: 'Indonesian'
|
|
114443
|
+
}, {
|
|
114444
|
+
value: 14,
|
|
114445
|
+
label: '俄罗斯语',
|
|
114446
|
+
enLabel: 'Russian'
|
|
114447
|
+
}, {
|
|
114448
|
+
value: 4,
|
|
114449
|
+
label: '西班牙语',
|
|
114450
|
+
enLabel: 'Spanish'
|
|
114451
|
+
}, {
|
|
114452
|
+
value: 15,
|
|
114453
|
+
label: '意大利语',
|
|
114454
|
+
enLabel: 'Italian'
|
|
114455
|
+
}];
|
|
114325
114456
|
;// ./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/detail.vue?vue&type=script&lang=js
|
|
114326
114457
|
|
|
114327
114458
|
|
|
@@ -118332,840 +118463,593 @@ var mailTemplatevue_type_template_id_2b36ea26_scoped_true_render = function rend
|
|
|
118332
118463
|
};
|
|
118333
118464
|
var mailTemplatevue_type_template_id_2b36ea26_scoped_true_staticRenderFns = [];
|
|
118334
118465
|
|
|
118335
|
-
;// ./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/TemplateCom/TemplateList.vue?vue&type=template&id=
|
|
118336
|
-
|
|
118466
|
+
;// ./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/TemplateCom/TemplateList.vue?vue&type=template&id=d1b92a60&scoped=true
|
|
118467
|
+
|
|
118468
|
+
|
|
118469
|
+
var TemplateListvue_type_template_id_d1b92a60_scoped_true_render = function render() {
|
|
118337
118470
|
var _vm = this,
|
|
118338
118471
|
_c = _vm._self._c;
|
|
118339
118472
|
return _c('div', {
|
|
118340
118473
|
staticClass: "wrap"
|
|
118341
118474
|
}, [_c('div', {
|
|
118342
|
-
staticClass: "
|
|
118475
|
+
staticClass: "inbox-search-wrap"
|
|
118476
|
+
}, [_c('el-row', {
|
|
118477
|
+
attrs: {
|
|
118478
|
+
"gutter": 12
|
|
118479
|
+
}
|
|
118480
|
+
}, [_c('el-col', {
|
|
118481
|
+
attrs: {
|
|
118482
|
+
"span": 8
|
|
118483
|
+
}
|
|
118343
118484
|
}, [_c('div', {
|
|
118344
|
-
staticClass: "
|
|
118485
|
+
staticClass: "col-item col-select-input-item"
|
|
118345
118486
|
}, [_c('el-select', {
|
|
118487
|
+
staticClass: "template_select",
|
|
118488
|
+
attrs: {
|
|
118489
|
+
"slot": "prepend",
|
|
118490
|
+
"placeholder": _vm.$i18n.t('common.please_select')
|
|
118491
|
+
},
|
|
118346
118492
|
on: {
|
|
118347
118493
|
"change": function ($event) {
|
|
118348
|
-
_vm.searchForm.
|
|
118349
|
-
_vm.
|
|
118350
|
-
_vm.searchForm.modelType = _vm.searchForm.type === 1 ? '1' : undefined;
|
|
118351
|
-
_vm.init();
|
|
118494
|
+
_vm.searchForm.scene = '';
|
|
118495
|
+
_vm.contentInput = '';
|
|
118352
118496
|
}
|
|
118353
118497
|
},
|
|
118498
|
+
slot: "prepend",
|
|
118354
118499
|
model: {
|
|
118355
|
-
value: _vm.
|
|
118500
|
+
value: _vm.contentSelect,
|
|
118356
118501
|
callback: function ($$v) {
|
|
118357
|
-
_vm
|
|
118502
|
+
_vm.contentSelect = $$v;
|
|
118358
118503
|
},
|
|
118359
|
-
expression: "
|
|
118504
|
+
expression: "contentSelect"
|
|
118360
118505
|
}
|
|
118361
118506
|
}, [_c('el-option', {
|
|
118362
118507
|
attrs: {
|
|
118363
|
-
"label":
|
|
118364
|
-
"value": 1
|
|
118508
|
+
"label": "模版名称",
|
|
118509
|
+
"value": "1"
|
|
118365
118510
|
}
|
|
118366
118511
|
}), _c('el-option', {
|
|
118367
118512
|
attrs: {
|
|
118368
|
-
"label":
|
|
118369
|
-
"value": 2
|
|
118513
|
+
"label": "应用场景",
|
|
118514
|
+
"value": "2"
|
|
118370
118515
|
}
|
|
118371
|
-
})], 1)
|
|
118372
|
-
staticClass: "
|
|
118516
|
+
})], 1), _vm.searchForm.type == 1 && _vm.contentSelect == 2 ? _c('div', {
|
|
118517
|
+
staticClass: "temp_right"
|
|
118373
118518
|
}, [_c('el-select', {
|
|
118374
118519
|
attrs: {
|
|
118375
|
-
"
|
|
118376
|
-
"
|
|
118377
|
-
},
|
|
118378
|
-
on: {
|
|
118379
|
-
"change": function ($event) {
|
|
118380
|
-
_vm.searchForm.currentPage = 1;
|
|
118381
|
-
_vm.init();
|
|
118382
|
-
}
|
|
118520
|
+
"slot": "prepend",
|
|
118521
|
+
"placeholder": _vm.$i18n.t('common.please_select')
|
|
118383
118522
|
},
|
|
118523
|
+
slot: "prepend",
|
|
118384
118524
|
model: {
|
|
118385
|
-
value: _vm.searchForm.
|
|
118525
|
+
value: _vm.searchForm.scene,
|
|
118386
118526
|
callback: function ($$v) {
|
|
118387
|
-
_vm.$set(_vm.searchForm, "
|
|
118527
|
+
_vm.$set(_vm.searchForm, "scene", $$v);
|
|
118388
118528
|
},
|
|
118389
|
-
expression: "searchForm.
|
|
118529
|
+
expression: "searchForm.scene"
|
|
118390
118530
|
}
|
|
118391
|
-
}, _vm._l(_vm.
|
|
118531
|
+
}, _vm._l(_vm.templateSystemScene, function (scene) {
|
|
118392
118532
|
return _c('el-option', {
|
|
118393
|
-
key:
|
|
118533
|
+
key: scene.value,
|
|
118394
118534
|
attrs: {
|
|
118395
|
-
"
|
|
118396
|
-
"
|
|
118535
|
+
"label": scene.label,
|
|
118536
|
+
"value": scene.value
|
|
118397
118537
|
}
|
|
118398
118538
|
});
|
|
118399
|
-
}), 1)], 1)
|
|
118400
|
-
staticClass: "
|
|
118401
|
-
}, [_c('
|
|
118402
|
-
staticClass: "
|
|
118403
|
-
|
|
118404
|
-
"
|
|
118405
|
-
_vm.isShowSet = true;
|
|
118406
|
-
}
|
|
118407
|
-
}
|
|
118408
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("template.create_template")) + " ")])])]), _vm.searchForm.type === 1 ? _c('div', {
|
|
118409
|
-
staticClass: "tab px24 mb24"
|
|
118410
|
-
}, [_c('el-tabs', {
|
|
118411
|
-
on: {
|
|
118412
|
-
"tab-click": _vm.swicthTab
|
|
118539
|
+
}), 1)], 1) : _c('div', {
|
|
118540
|
+
staticClass: "temp_right"
|
|
118541
|
+
}, [_c('el-input', {
|
|
118542
|
+
staticClass: "col-input-select",
|
|
118543
|
+
attrs: {
|
|
118544
|
+
"placeholder": _vm.$i18n.t('common.please_input')
|
|
118413
118545
|
},
|
|
118414
118546
|
model: {
|
|
118415
|
-
value: _vm.
|
|
118547
|
+
value: _vm.contentInput,
|
|
118416
118548
|
callback: function ($$v) {
|
|
118417
|
-
_vm
|
|
118549
|
+
_vm.contentInput = $$v;
|
|
118418
118550
|
},
|
|
118419
|
-
expression: "
|
|
118551
|
+
expression: "contentInput"
|
|
118420
118552
|
}
|
|
118421
|
-
},
|
|
118422
|
-
return _c('el-tab-pane', {
|
|
118423
|
-
key: item.name,
|
|
118424
|
-
attrs: {
|
|
118425
|
-
"name": item.name,
|
|
118426
|
-
"label": item.label
|
|
118427
|
-
}
|
|
118428
|
-
});
|
|
118429
|
-
}), 1)], 1) : _vm._e(), _c('div', {
|
|
118430
|
-
directives: [{
|
|
118431
|
-
name: "loading",
|
|
118432
|
-
rawName: "v-loading",
|
|
118433
|
-
value: _vm.loading,
|
|
118434
|
-
expression: "loading"
|
|
118435
|
-
}],
|
|
118436
|
-
staticClass: "list hidden-scrollbar"
|
|
118437
|
-
}, [_vm.tableTotal ? _vm._l(_vm.tableData, function (t, i) {
|
|
118438
|
-
return _c('div', {
|
|
118439
|
-
key: i,
|
|
118440
|
-
staticClass: "list-item grid grid-cols-2 mb16"
|
|
118441
|
-
}, [_c('div', {
|
|
118442
|
-
staticClass: "desc"
|
|
118443
|
-
}, [_c('h3', {
|
|
118444
|
-
staticClass: "beyond_eip mb16"
|
|
118445
|
-
}, [_vm._v(" " + _vm._s(t.templatesTitle) + " ")]), _c('p', {
|
|
118446
|
-
staticClass: "beyond_eip mb8"
|
|
118447
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("template.apply_scene")) + ":" + _vm._s(t.scene) + " ")]), _c('p', [_vm._v(" " + _vm._s(_vm.$i18n.t("common.update_on")) + _vm._s(_vm.parseTime(t.gmtModify, "{y}-{m}-{d}")) + " ")])]), _c('div', {
|
|
118448
|
-
staticClass: "operate"
|
|
118449
|
-
}, [_c('button', {
|
|
118450
|
-
staticClass: "operate-detail",
|
|
118451
|
-
on: {
|
|
118452
|
-
"click": function ($event) {
|
|
118453
|
-
return _vm.showSetTemplate(t);
|
|
118454
|
-
}
|
|
118455
|
-
}
|
|
118456
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("common.detail"))), _c('i', {
|
|
118457
|
-
staticClass: "dss-iconfont icon-arrow"
|
|
118458
|
-
})]), _c('div', {
|
|
118459
|
-
staticClass: "operate-btns"
|
|
118460
|
-
}, [_vm.searchForm.type == 2 || _vm.searchForm.type == 1 && _vm.userId == 1 ? _c('button', {
|
|
118461
|
-
staticClass: "operate-btn operate-btn-linear mr8",
|
|
118462
|
-
on: {
|
|
118463
|
-
"click": function ($event) {
|
|
118464
|
-
return _vm.del(t.id);
|
|
118465
|
-
}
|
|
118466
|
-
}
|
|
118467
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("common.delete")) + " ")]) : _vm._e(), _vm.searchForm.type === 2 && _vm.userId === 1 ? _c('el-button', {
|
|
118468
|
-
staticClass: "operate-btn-setsys mr8",
|
|
118469
|
-
attrs: {
|
|
118470
|
-
"type": "primary",
|
|
118471
|
-
"size": "small"
|
|
118472
|
-
},
|
|
118473
|
-
on: {
|
|
118474
|
-
"click": function ($event) {
|
|
118475
|
-
return _vm.showSetSystem(t);
|
|
118476
|
-
}
|
|
118477
|
-
}
|
|
118478
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("template.set_system_template")) + " ")]) : _vm._e(), t.isShowDownload === 1 ? _c('el-button', {
|
|
118479
|
-
staticClass: "mr8",
|
|
118480
|
-
attrs: {
|
|
118481
|
-
"type": "primary",
|
|
118482
|
-
"size": "small"
|
|
118483
|
-
},
|
|
118484
|
-
on: {
|
|
118485
|
-
"click": function ($event) {
|
|
118486
|
-
return _vm.downloadTem(t);
|
|
118487
|
-
}
|
|
118488
|
-
}
|
|
118489
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("common.download")) + " ")]) : _vm._e(), _c('el-button', {
|
|
118490
|
-
attrs: {
|
|
118491
|
-
"type": "primary",
|
|
118492
|
-
"size": "small"
|
|
118493
|
-
},
|
|
118494
|
-
on: {
|
|
118495
|
-
"click": function ($event) {
|
|
118496
|
-
return _vm.setMailTemplate(t);
|
|
118497
|
-
}
|
|
118498
|
-
}
|
|
118499
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("common.apply")) + " ")])], 1)])]);
|
|
118500
|
-
}) : _vm._e(), !_vm.tableTotal ? _c('div', {
|
|
118501
|
-
staticClass: "w-full h-full flex items-center justify-center"
|
|
118502
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("common.no_data")) + " ")]) : _vm._e()], 2), _c('div', {
|
|
118503
|
-
staticClass: "list-page"
|
|
118504
|
-
}, [_c('el-pagination', {
|
|
118553
|
+
})], 1)], 1)]), _c('el-col', {
|
|
118505
118554
|
attrs: {
|
|
118506
|
-
"
|
|
118507
|
-
"total": _vm.tableTotal,
|
|
118508
|
-
"page-size": _vm.searchForm.pageSize,
|
|
118509
|
-
"pager-count": 5,
|
|
118510
|
-
"small": "",
|
|
118511
|
-
"layout": "total, prev, pager, next, jumper"
|
|
118512
|
-
},
|
|
118513
|
-
on: {
|
|
118514
|
-
"current-change": _vm.changePage
|
|
118555
|
+
"span": 8
|
|
118515
118556
|
}
|
|
118516
|
-
}
|
|
118557
|
+
}, [_c('div', {
|
|
118558
|
+
staticClass: "col-item col-select-input-item"
|
|
118559
|
+
}, [_c('el-input', {
|
|
118560
|
+
staticClass: "col-input-select",
|
|
118517
118561
|
attrs: {
|
|
118518
|
-
"
|
|
118519
|
-
"with-header": false,
|
|
118520
|
-
"wrapper-closable": false,
|
|
118521
|
-
"append-to-body": "",
|
|
118522
|
-
"size": "800px"
|
|
118562
|
+
"placeholder": _vm.$i18n.t('common.please_input')
|
|
118523
118563
|
},
|
|
118524
|
-
|
|
118525
|
-
|
|
118526
|
-
|
|
118527
|
-
|
|
118564
|
+
model: {
|
|
118565
|
+
value: _vm.mailTitleInput,
|
|
118566
|
+
callback: function ($$v) {
|
|
118567
|
+
_vm.mailTitleInput = $$v;
|
|
118568
|
+
},
|
|
118569
|
+
expression: "mailTitleInput"
|
|
118528
118570
|
}
|
|
118529
|
-
}, [
|
|
118571
|
+
}, [_c('el-select', {
|
|
118530
118572
|
attrs: {
|
|
118531
|
-
"
|
|
118532
|
-
"
|
|
118533
|
-
"selectType": _vm.searchForm.type
|
|
118573
|
+
"slot": "prepend",
|
|
118574
|
+
"placeholder": _vm.$i18n.t('common.please_select')
|
|
118534
118575
|
},
|
|
118535
118576
|
on: {
|
|
118536
|
-
"
|
|
118537
|
-
_vm.
|
|
118538
|
-
_vm.
|
|
118539
|
-
|
|
118540
|
-
"close": function ($event) {
|
|
118541
|
-
_vm.setId = 0;
|
|
118542
|
-
_vm.isShowSet = false;
|
|
118577
|
+
"change": function ($event) {
|
|
118578
|
+
_vm.mailTitleInput = '';
|
|
118579
|
+
_vm.searchForm.content = '';
|
|
118580
|
+
_vm.searchForm.mailSubject = '';
|
|
118543
118581
|
}
|
|
118544
|
-
}
|
|
118545
|
-
}) : _vm._e()], 1), _vm.isShowSetSystem ? _c('set-sys-template', {
|
|
118546
|
-
attrs: {
|
|
118547
|
-
"isShowSetSystem": _vm.isShowSetSystem,
|
|
118548
|
-
"tabOpts": _vm.tabOpts,
|
|
118549
|
-
"mailId": _vm.mailId
|
|
118550
118582
|
},
|
|
118551
|
-
|
|
118552
|
-
|
|
118583
|
+
slot: "prepend",
|
|
118584
|
+
model: {
|
|
118585
|
+
value: _vm.mailTitleSelect,
|
|
118586
|
+
callback: function ($$v) {
|
|
118587
|
+
_vm.mailTitleSelect = $$v;
|
|
118588
|
+
},
|
|
118589
|
+
expression: "mailTitleSelect"
|
|
118553
118590
|
}
|
|
118554
|
-
}
|
|
118555
|
-
|
|
118556
|
-
|
|
118557
|
-
|
|
118558
|
-
;// ./src/api/send/template.js
|
|
118559
|
-
|
|
118560
|
-
// 分页查看模板列表
|
|
118561
|
-
async function getTemplateList(params) {
|
|
118562
|
-
let res = await request_get("/edm/template/templates", params);
|
|
118563
|
-
return res;
|
|
118564
|
-
}
|
|
118565
|
-
// 添加模板
|
|
118566
|
-
async function addTemplate(data) {
|
|
118567
|
-
let res = await request_post("/edm/template/addTemplate", data);
|
|
118568
|
-
return res;
|
|
118569
|
-
}
|
|
118570
|
-
// 编辑模板
|
|
118571
|
-
async function editTemplate(data) {
|
|
118572
|
-
let res = await request_post("/edm/template/editTemplate", data);
|
|
118573
|
-
return res;
|
|
118574
|
-
}
|
|
118575
|
-
// 删除模板
|
|
118576
|
-
async function delTemplate(data) {
|
|
118577
|
-
let res = await request_del(`/edm/template/delTemplate/${data.id}`);
|
|
118578
|
-
return res;
|
|
118579
|
-
}
|
|
118580
|
-
// 设为系统模版
|
|
118581
|
-
async function setSysTemplate(data) {
|
|
118582
|
-
let res = await request_put(`/edm/template/setSysTemplate`, data);
|
|
118583
|
-
return res;
|
|
118584
|
-
}
|
|
118585
|
-
;// ./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/TemplateCom/SetTemplate.vue?vue&type=template&id=87417d06&scoped=true
|
|
118586
|
-
var SetTemplatevue_type_template_id_87417d06_scoped_true_render = function render() {
|
|
118587
|
-
var _vm = this,
|
|
118588
|
-
_c = _vm._self._c;
|
|
118589
|
-
return _c('div', {
|
|
118590
|
-
staticClass: "drawer"
|
|
118591
|
-
}, [_c('div', {
|
|
118592
|
-
staticClass: "drawer-head"
|
|
118593
|
-
}, [_c('h3', [_vm._v(" " + _vm._s(_vm.id ? `${_vm.$i18n.t("template.edit_template")}` : `${_vm.$i18n.t("template.new_template")}`) + " ")]), _c('button', {
|
|
118594
|
-
staticClass: "close-btn",
|
|
118595
|
-
on: {
|
|
118596
|
-
"click": function ($event) {
|
|
118597
|
-
return _vm.close();
|
|
118598
|
-
}
|
|
118591
|
+
}, [_c('el-option', {
|
|
118592
|
+
attrs: {
|
|
118593
|
+
"label": _vm.$t('edm2.mailEn6'),
|
|
118594
|
+
"value": "1"
|
|
118599
118595
|
}
|
|
118600
|
-
},
|
|
118601
|
-
staticClass: "dss-iconfont icon-close"
|
|
118602
|
-
})])]), _c('div', {
|
|
118603
|
-
staticClass: "drawer-body hidden-scrollbar"
|
|
118604
|
-
}, [_c('el-form', {
|
|
118605
|
-
ref: "form",
|
|
118596
|
+
}), _c('el-option', {
|
|
118606
118597
|
attrs: {
|
|
118607
|
-
"
|
|
118608
|
-
"
|
|
118598
|
+
"label": _vm.$t('edm2.mailEn7'),
|
|
118599
|
+
"value": "2"
|
|
118609
118600
|
}
|
|
118610
|
-
},
|
|
118611
|
-
staticClass: "form-item"
|
|
118612
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$i18n.t("template.template_title")))]), _c('el-form-item', {
|
|
118601
|
+
})], 1)], 1)], 1)]), _c('el-col', {
|
|
118613
118602
|
attrs: {
|
|
118614
|
-
"
|
|
118603
|
+
"span": 8
|
|
118615
118604
|
}
|
|
118616
|
-
}, [_c('
|
|
118605
|
+
}, [_c('div', {
|
|
118606
|
+
staticClass: "col-item"
|
|
118607
|
+
}, [_c('span', {
|
|
118608
|
+
staticClass: "col-span"
|
|
118609
|
+
}, [_vm._v("模版语言")]), _c('el-select', {
|
|
118610
|
+
staticClass: "col-select",
|
|
118617
118611
|
attrs: {
|
|
118618
|
-
"
|
|
118619
|
-
"
|
|
118620
|
-
"
|
|
118612
|
+
"placeholder": _vm.$i18n.t('common.please_select'),
|
|
118613
|
+
"clearable": "",
|
|
118614
|
+
"filterable": ""
|
|
118621
118615
|
},
|
|
118622
118616
|
model: {
|
|
118623
|
-
value: _vm.
|
|
118617
|
+
value: _vm.searchForm.modelLanguage,
|
|
118624
118618
|
callback: function ($$v) {
|
|
118625
|
-
_vm.$set(_vm.
|
|
118619
|
+
_vm.$set(_vm.searchForm, "modelLanguage", $$v);
|
|
118626
118620
|
},
|
|
118627
|
-
expression: "
|
|
118621
|
+
expression: "searchForm.modelLanguage"
|
|
118628
118622
|
}
|
|
118629
|
-
}
|
|
118630
|
-
|
|
118631
|
-
|
|
118623
|
+
}, _vm._l(_vm.language, function (item) {
|
|
118624
|
+
return _c('el-option', {
|
|
118625
|
+
key: item.value,
|
|
118626
|
+
attrs: {
|
|
118627
|
+
"value": item.value,
|
|
118628
|
+
"label": item.label
|
|
118629
|
+
}
|
|
118630
|
+
});
|
|
118631
|
+
}), 1)], 1)])], 1), _c('el-row', {
|
|
118632
|
+
staticStyle: {
|
|
118633
|
+
"margin-top": "8px"
|
|
118634
|
+
},
|
|
118632
118635
|
attrs: {
|
|
118633
|
-
"
|
|
118636
|
+
"gutter": 12
|
|
118634
118637
|
}
|
|
118635
|
-
}, [_c('el-
|
|
118636
|
-
ref: "mailSubjectIpt",
|
|
118638
|
+
}, [_c('el-col', {
|
|
118637
118639
|
attrs: {
|
|
118638
|
-
"
|
|
118639
|
-
|
|
118640
|
+
"span": 8
|
|
118641
|
+
}
|
|
118642
|
+
}, [_c('div', {
|
|
118643
|
+
staticClass: "col-item"
|
|
118644
|
+
}, [_c('span', {
|
|
118645
|
+
staticClass: "col-span"
|
|
118646
|
+
}, [_vm._v("模板类型")]), _c('el-select', {
|
|
118647
|
+
staticClass: "col-select",
|
|
118648
|
+
attrs: {
|
|
118649
|
+
"placeholder": _vm.$i18n.t('common.please_select'),
|
|
118640
118650
|
"clearable": ""
|
|
118641
118651
|
},
|
|
118642
118652
|
on: {
|
|
118643
|
-
"
|
|
118644
|
-
_vm.isFocusSubject = true;
|
|
118645
|
-
}
|
|
118653
|
+
"change": _vm.modelTypeChange
|
|
118646
118654
|
},
|
|
118647
118655
|
model: {
|
|
118648
|
-
value: _vm.
|
|
118656
|
+
value: _vm.searchForm.type,
|
|
118649
118657
|
callback: function ($$v) {
|
|
118650
|
-
_vm.$set(_vm.
|
|
118658
|
+
_vm.$set(_vm.searchForm, "type", $$v);
|
|
118651
118659
|
},
|
|
118652
|
-
expression: "
|
|
118653
|
-
}
|
|
118654
|
-
})], 1)], 1), _c('div', {
|
|
118655
|
-
staticClass: "form-editor mb24"
|
|
118656
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$i18n.t("writeMail.content")))]), _c('div', {
|
|
118657
|
-
staticClass: "form-editor-wrap"
|
|
118658
|
-
}, [_c('editor', {
|
|
118659
|
-
ref: "templateContent",
|
|
118660
|
-
attrs: {
|
|
118661
|
-
"height": 400,
|
|
118662
|
-
"theme": "light"
|
|
118663
|
-
},
|
|
118664
|
-
on: {
|
|
118665
|
-
"click": function ($event) {
|
|
118666
|
-
_vm.isFocusSubject = false;
|
|
118667
|
-
}
|
|
118668
|
-
}
|
|
118669
|
-
}), !(_vm.selectType == 1 && !!_vm.id) ? _c('div', {
|
|
118670
|
-
staticClass: "form-tool"
|
|
118671
|
-
}, [_c('div', {
|
|
118672
|
-
staticClass: "form-tool-title"
|
|
118673
|
-
}, [_c('i', {
|
|
118674
|
-
staticClass: "dss-iconfont icon-info"
|
|
118675
|
-
}), _c('p', [_vm._v(_vm._s(_vm.$i18n.t("writeMail.template_var")))])]), _c('div', {
|
|
118676
|
-
staticClass: "form-tool-main"
|
|
118677
|
-
}, [_c('button', {
|
|
118678
|
-
staticClass: "mb8 mr16",
|
|
118679
|
-
attrs: {
|
|
118680
|
-
"disabled": _vm.selectType == 1 && !!_vm.id
|
|
118681
|
-
},
|
|
118682
|
-
on: {
|
|
118683
|
-
"click": function ($event) {
|
|
118684
|
-
$event.preventDefault();
|
|
118685
|
-
return _vm.setVariable(0);
|
|
118686
|
-
}
|
|
118687
|
-
}
|
|
118688
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("writeMail.channel_name")) + " ")]), _c('button', {
|
|
118689
|
-
staticClass: "mb8 mr16",
|
|
118690
|
-
on: {
|
|
118691
|
-
"click": function ($event) {
|
|
118692
|
-
$event.preventDefault();
|
|
118693
|
-
return _vm.setVariable(3);
|
|
118694
|
-
}
|
|
118660
|
+
expression: "searchForm.type"
|
|
118695
118661
|
}
|
|
118696
|
-
}, [
|
|
118697
|
-
|
|
118662
|
+
}, [_c('el-option', {
|
|
118663
|
+
key: 1,
|
|
118698
118664
|
attrs: {
|
|
118699
|
-
"
|
|
118700
|
-
|
|
118701
|
-
on: {
|
|
118702
|
-
"click": function ($event) {
|
|
118703
|
-
$event.preventDefault();
|
|
118704
|
-
return _vm.setVariable(1);
|
|
118705
|
-
}
|
|
118665
|
+
"value": 1,
|
|
118666
|
+
"label": "系统模版"
|
|
118706
118667
|
}
|
|
118707
|
-
}
|
|
118668
|
+
}), _c('el-option', {
|
|
118669
|
+
key: 2,
|
|
118708
118670
|
attrs: {
|
|
118709
|
-
"
|
|
118710
|
-
|
|
118711
|
-
on: {
|
|
118712
|
-
"click": function ($event) {
|
|
118713
|
-
$event.preventDefault();
|
|
118714
|
-
return _vm.setVariable(2);
|
|
118715
|
-
}
|
|
118671
|
+
"value": 2,
|
|
118672
|
+
"label": "自定义模版"
|
|
118716
118673
|
}
|
|
118717
|
-
}
|
|
118718
|
-
staticClass: "form-item"
|
|
118719
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$i18n.t("template.apply_scene")))]), _c('el-form-item', {
|
|
118674
|
+
})], 1)], 1)]), _c('el-col', {
|
|
118720
118675
|
attrs: {
|
|
118721
|
-
"
|
|
118676
|
+
"span": 8
|
|
118722
118677
|
}
|
|
118723
|
-
}, [_c('
|
|
118678
|
+
}, [_c('div', {
|
|
118679
|
+
staticClass: "col-item"
|
|
118680
|
+
}, [_c('span', {
|
|
118681
|
+
staticClass: "col-span"
|
|
118682
|
+
}, [_vm._v("共享状态")]), _c('el-select', {
|
|
118683
|
+
staticClass: "col-select",
|
|
118724
118684
|
attrs: {
|
|
118725
|
-
"placeholder": _vm.$i18n.t('common.
|
|
118726
|
-
"disabled": _vm.selectType == 1 && !!_vm.id,
|
|
118685
|
+
"placeholder": _vm.$i18n.t('common.please_select'),
|
|
118727
118686
|
"clearable": ""
|
|
118728
118687
|
},
|
|
118729
118688
|
model: {
|
|
118730
|
-
value: _vm.
|
|
118689
|
+
value: _vm.searchForm.isShared,
|
|
118731
118690
|
callback: function ($$v) {
|
|
118732
|
-
_vm.$set(_vm.
|
|
118691
|
+
_vm.$set(_vm.searchForm, "isShared", $$v);
|
|
118733
118692
|
},
|
|
118734
|
-
expression: "
|
|
118693
|
+
expression: "searchForm.isShared"
|
|
118735
118694
|
}
|
|
118736
|
-
}
|
|
118737
|
-
|
|
118738
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$i18n.t("template.language")))]), _c('el-form-item', {
|
|
118695
|
+
}, [_c('el-option', {
|
|
118696
|
+
key: 1,
|
|
118739
118697
|
attrs: {
|
|
118740
|
-
"
|
|
118698
|
+
"value": true,
|
|
118699
|
+
"label": "公开"
|
|
118741
118700
|
}
|
|
118742
|
-
},
|
|
118701
|
+
}), _c('el-option', {
|
|
118702
|
+
key: 2,
|
|
118703
|
+
attrs: {
|
|
118704
|
+
"value": false,
|
|
118705
|
+
"label": "私有"
|
|
118706
|
+
}
|
|
118707
|
+
})], 1)], 1)]), _c('el-col', {
|
|
118708
|
+
attrs: {
|
|
118709
|
+
"span": 8
|
|
118710
|
+
}
|
|
118711
|
+
}, [_c('div', {
|
|
118712
|
+
staticClass: "col-item"
|
|
118713
|
+
}, [_c('span', {
|
|
118714
|
+
staticClass: "col-span"
|
|
118715
|
+
}, [_vm._v("创建人")]), _c('el-select', {
|
|
118716
|
+
staticClass: "col-select",
|
|
118743
118717
|
attrs: {
|
|
118744
118718
|
"placeholder": _vm.$i18n.t('common.please_select'),
|
|
118745
|
-
"
|
|
118746
|
-
"
|
|
118719
|
+
"clearable": "",
|
|
118720
|
+
"filterable": ""
|
|
118747
118721
|
},
|
|
118748
118722
|
model: {
|
|
118749
|
-
value: _vm.
|
|
118723
|
+
value: _vm.searchForm.userId,
|
|
118750
118724
|
callback: function ($$v) {
|
|
118751
|
-
_vm.$set(_vm.
|
|
118725
|
+
_vm.$set(_vm.searchForm, "userId", $$v);
|
|
118752
118726
|
},
|
|
118753
|
-
expression: "
|
|
118727
|
+
expression: "searchForm.userId"
|
|
118754
118728
|
}
|
|
118755
|
-
}, _vm._l(_vm.
|
|
118729
|
+
}, _vm._l(_vm.accountList, function (item) {
|
|
118756
118730
|
return _c('el-option', {
|
|
118757
|
-
key:
|
|
118731
|
+
key: item.userId,
|
|
118758
118732
|
attrs: {
|
|
118759
|
-
"
|
|
118760
|
-
"
|
|
118733
|
+
"label": item.userName,
|
|
118734
|
+
"value": item.userId
|
|
118761
118735
|
}
|
|
118762
118736
|
});
|
|
118763
|
-
}), 1)], 1)]
|
|
118764
|
-
|
|
118765
|
-
|
|
118766
|
-
|
|
118737
|
+
}), 1)], 1)])], 1), _c('el-row', {
|
|
118738
|
+
staticStyle: {
|
|
118739
|
+
"margin-top": "8px"
|
|
118740
|
+
},
|
|
118741
|
+
attrs: {
|
|
118742
|
+
"gutter": 20
|
|
118743
|
+
}
|
|
118744
|
+
}, [_c('el-col', {
|
|
118745
|
+
attrs: {
|
|
118746
|
+
"span": 24
|
|
118747
|
+
}
|
|
118748
|
+
}, [_c('div', {
|
|
118749
|
+
staticClass: "btns_box"
|
|
118750
|
+
}, [_c('div', [_c('el-button', {
|
|
118751
|
+
attrs: {
|
|
118752
|
+
"type": "primary"
|
|
118753
|
+
},
|
|
118767
118754
|
on: {
|
|
118768
118755
|
"click": function ($event) {
|
|
118769
|
-
|
|
118756
|
+
_vm.searchForm.currentPage = 1;
|
|
118757
|
+
_vm.getCardList();
|
|
118770
118758
|
}
|
|
118771
118759
|
}
|
|
118772
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("
|
|
118773
|
-
staticClass: "drawer-btn drawer-btn-face",
|
|
118774
|
-
attrs: {
|
|
118775
|
-
"disabled": _vm.isSubmit
|
|
118776
|
-
},
|
|
118760
|
+
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("searchButton.search")) + " ")]), _c('el-button', {
|
|
118777
118761
|
on: {
|
|
118778
|
-
"click": _vm.
|
|
118762
|
+
"click": _vm.resetEvt
|
|
118779
118763
|
}
|
|
118780
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("
|
|
118781
|
-
|
|
118782
|
-
|
|
118783
|
-
|
|
118784
|
-
var SetTemplatevue_type_template_id_87417d06_scoped_true_staticRenderFns = [];
|
|
118785
|
-
|
|
118786
|
-
;// ./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/TemplateCom/SetTemplate.vue?vue&type=script&lang=js
|
|
118787
|
-
|
|
118788
|
-
|
|
118789
|
-
|
|
118790
|
-
/* harmony default export */ var SetTemplatevue_type_script_lang_js = ({
|
|
118791
|
-
components: {
|
|
118792
|
-
Editor: Editor
|
|
118793
|
-
},
|
|
118794
|
-
props: {
|
|
118795
|
-
id: {
|
|
118796
|
-
default: 0,
|
|
118797
|
-
type: Number
|
|
118798
|
-
},
|
|
118799
|
-
rowData: {
|
|
118800
|
-
type: Object,
|
|
118801
|
-
default: () => {
|
|
118802
|
-
return {};
|
|
118803
|
-
}
|
|
118804
|
-
},
|
|
118805
|
-
// 自定义模板/系统模板
|
|
118806
|
-
selectType: {
|
|
118807
|
-
type: [Number, String],
|
|
118808
|
-
default: ""
|
|
118764
|
+
}, [_vm._v(" " + _vm._s(_vm.$i18n.t("searchButton.reset")) + " ")])], 1), _c('div', {
|
|
118765
|
+
staticStyle: {
|
|
118766
|
+
"display": "flex",
|
|
118767
|
+
"align-items": "center"
|
|
118809
118768
|
}
|
|
118810
|
-
},
|
|
118811
|
-
|
|
118812
|
-
|
|
118813
|
-
|
|
118814
|
-
|
|
118815
|
-
},
|
|
118816
|
-
// 枚举数据
|
|
118817
|
-
form: {
|
|
118818
|
-
// 表单
|
|
118819
|
-
templatesTitle: "",
|
|
118820
|
-
//模板标题
|
|
118821
|
-
mailSubject: "",
|
|
118822
|
-
//邮件标题
|
|
118823
|
-
scene: "",
|
|
118824
|
-
//应用场景
|
|
118825
|
-
modelLanguage: ""
|
|
118826
|
-
},
|
|
118827
|
-
verifyForm: {
|
|
118828
|
-
templatesTitle: [{
|
|
118829
|
-
required: true,
|
|
118830
|
-
message: `${this.$i18n.t("template.title_not_empty")}`,
|
|
118831
|
-
trigger: "blur"
|
|
118832
|
-
}, {
|
|
118833
|
-
max: 30,
|
|
118834
|
-
message: `${this.$i18n.t("template.title_word_limit")}`,
|
|
118835
|
-
trigger: "blur"
|
|
118836
|
-
}],
|
|
118837
|
-
mailSubject: [{
|
|
118838
|
-
required: true,
|
|
118839
|
-
message: `${this.$i18n.t("template.subject_not_empty")}`,
|
|
118840
|
-
trigger: "blur"
|
|
118841
|
-
}],
|
|
118842
|
-
scene: [{
|
|
118843
|
-
required: true,
|
|
118844
|
-
message: `${this.$i18n.t("template.scene_not_empty")}`,
|
|
118845
|
-
trigger: "blur"
|
|
118846
|
-
}, {
|
|
118847
|
-
max: 20,
|
|
118848
|
-
message: `${this.$i18n.t("template.scene_word_limit")}`,
|
|
118849
|
-
trigger: "blur"
|
|
118850
|
-
}],
|
|
118851
|
-
modelLanguage: [{
|
|
118852
|
-
required: true,
|
|
118853
|
-
message: `${this.$i18n.t("template.language_not_empty")}`,
|
|
118854
|
-
trigger: "change"
|
|
118855
|
-
}]
|
|
118856
|
-
},
|
|
118857
|
-
// 标签表单校验规则
|
|
118858
|
-
isFocusSubject: false,
|
|
118859
|
-
// 主题是否获取焦点
|
|
118860
|
-
isSubmit: false // 是否正在提交
|
|
118861
|
-
};
|
|
118862
|
-
},
|
|
118863
|
-
created() {
|
|
118864
|
-
if (this.id) {
|
|
118865
|
-
// 初始化
|
|
118866
|
-
this.init();
|
|
118769
|
+
}, [_c('div', {
|
|
118770
|
+
staticClass: "right_sort"
|
|
118771
|
+
}, [_c('el-dropdown', {
|
|
118772
|
+
attrs: {
|
|
118773
|
+
"placement": "bottom"
|
|
118867
118774
|
}
|
|
118868
|
-
},
|
|
118869
|
-
|
|
118870
|
-
|
|
118871
|
-
|
|
118872
|
-
|
|
118873
|
-
|
|
118874
|
-
|
|
118875
|
-
if (this.selectType == 1) {
|
|
118876
|
-
this.$refs.templateContent.setDisable();
|
|
118877
|
-
}
|
|
118878
|
-
}, 200);
|
|
118879
|
-
this.form = {
|
|
118880
|
-
templatesTitle: this.rowData.templatesTitle,
|
|
118881
|
-
mailSubject: this.rowData.mailSubject,
|
|
118882
|
-
scene: this.rowData.scene,
|
|
118883
|
-
modelLanguage: this.rowData.modelLanguage
|
|
118884
|
-
};
|
|
118885
|
-
}
|
|
118775
|
+
}, [_c('div', {
|
|
118776
|
+
staticClass: "sort_btn"
|
|
118777
|
+
}, [_c('i', {
|
|
118778
|
+
staticClass: "dss-iconfont"
|
|
118779
|
+
}, [_vm._v("")]), _vm._v(" " + _vm._s(_vm.sortConfig.find(item => item.value == _vm.searchForm.searchSort).label) + " ")]), _c('el-dropdown-menu', {
|
|
118780
|
+
attrs: {
|
|
118781
|
+
"slot": "dropdown"
|
|
118886
118782
|
},
|
|
118887
|
-
|
|
118888
|
-
|
|
118889
|
-
|
|
118890
|
-
|
|
118891
|
-
|
|
118892
|
-
|
|
118893
|
-
|
|
118894
|
-
|
|
118895
|
-
|
|
118896
|
-
|
|
118897
|
-
|
|
118898
|
-
|
|
118899
|
-
|
|
118900
|
-
this.isSubmit = true;
|
|
118901
|
-
if (this.id) {
|
|
118902
|
-
data.id = this.id;
|
|
118903
|
-
// 编辑
|
|
118904
|
-
editTemplate(data).then(res => {
|
|
118905
|
-
if (res.code == 0) {
|
|
118906
|
-
this.isSubmit = false;
|
|
118907
|
-
this.$emit("init");
|
|
118908
|
-
this.close();
|
|
118909
|
-
this.$message({
|
|
118910
|
-
type: "success",
|
|
118911
|
-
message: `${this.$i18n.t("outboxMail.success")}`
|
|
118912
|
-
});
|
|
118913
|
-
}
|
|
118914
|
-
});
|
|
118915
|
-
} else {
|
|
118916
|
-
// 新增
|
|
118917
|
-
addTemplate(data).then(res => {
|
|
118918
|
-
if (res.code == 0) {
|
|
118919
|
-
this.isSubmit = false;
|
|
118920
|
-
this.$emit("init");
|
|
118921
|
-
this.close();
|
|
118922
|
-
this.$message({
|
|
118923
|
-
type: "success",
|
|
118924
|
-
message: `${this.$i18n.t("outboxMail.success")}`
|
|
118925
|
-
});
|
|
118926
|
-
}
|
|
118927
|
-
});
|
|
118928
|
-
}
|
|
118929
|
-
} else {
|
|
118930
|
-
return false;
|
|
118783
|
+
slot: "dropdown"
|
|
118784
|
+
}, _vm._l(_vm.sortConfig, function (item, index) {
|
|
118785
|
+
return _c('el-dropdown-item', {
|
|
118786
|
+
key: index,
|
|
118787
|
+
staticStyle: {
|
|
118788
|
+
"white-space": "nowrap"
|
|
118789
|
+
},
|
|
118790
|
+
attrs: {
|
|
118791
|
+
"command": item.value
|
|
118792
|
+
},
|
|
118793
|
+
nativeOn: {
|
|
118794
|
+
"click": function ($event) {
|
|
118795
|
+
return _vm.clickDropdownItem(item);
|
|
118931
118796
|
}
|
|
118932
|
-
}
|
|
118933
|
-
},
|
|
118934
|
-
|
|
118935
|
-
|
|
118936
|
-
|
|
118937
|
-
|
|
118938
|
-
|
|
118939
|
-
|
|
118940
|
-
|
|
118941
|
-
|
|
118942
|
-
|
|
118943
|
-
|
|
118944
|
-
|
|
118945
|
-
|
|
118946
|
-
|
|
118947
|
-
|
|
118948
|
-
|
|
118949
|
-
|
|
118950
|
-
|
|
118951
|
-
|
|
118952
|
-
|
|
118953
|
-
|
|
118954
|
-
|
|
118797
|
+
}
|
|
118798
|
+
}, [_vm._v(_vm._s(item.label))]);
|
|
118799
|
+
}), 1)], 1)], 1)])])])], 1)], 1), _c('div', {
|
|
118800
|
+
directives: [{
|
|
118801
|
+
name: "loading",
|
|
118802
|
+
rawName: "v-loading",
|
|
118803
|
+
value: _vm.loading,
|
|
118804
|
+
expression: "loading"
|
|
118805
|
+
}],
|
|
118806
|
+
staticClass: "temp_box"
|
|
118807
|
+
}, [_vm.templateList.length ? _c('div', {
|
|
118808
|
+
staticClass: "temp_list"
|
|
118809
|
+
}, _vm._l(_vm.templateList, function (item) {
|
|
118810
|
+
return _c('div', {
|
|
118811
|
+
key: item.id,
|
|
118812
|
+
staticClass: "temp_item"
|
|
118813
|
+
}, [_c('div', {
|
|
118814
|
+
staticClass: "temp_content"
|
|
118815
|
+
}, [_c('div', {
|
|
118816
|
+
staticClass: "temp_top"
|
|
118817
|
+
}, [_c('div', {
|
|
118818
|
+
staticClass: "temp_title"
|
|
118819
|
+
}, [_c('div', {
|
|
118820
|
+
staticClass: "title_text"
|
|
118821
|
+
}, [_vm._v(" " + _vm._s(item.templatesTitle) + " ")]), _c('div', {
|
|
118822
|
+
staticClass: "more_icon",
|
|
118823
|
+
on: {
|
|
118824
|
+
"click": function ($event) {
|
|
118825
|
+
return _vm.toDetail(item);
|
|
118955
118826
|
}
|
|
118956
|
-
|
|
118957
|
-
|
|
118958
|
-
|
|
118959
|
-
|
|
118960
|
-
|
|
118961
|
-
|
|
118962
|
-
|
|
118963
|
-
|
|
118964
|
-
|
|
118965
|
-
|
|
118966
|
-
|
|
118967
|
-
|
|
118968
|
-
|
|
118969
|
-
|
|
118970
|
-
|
|
118971
|
-
|
|
118972
|
-
|
|
118973
|
-
|
|
118974
|
-
|
|
118975
|
-
|
|
118976
|
-
|
|
118977
|
-
|
|
118827
|
+
}
|
|
118828
|
+
}, [_vm._v(" 详情"), _c('i', {
|
|
118829
|
+
staticClass: "el-icon-arrow-right"
|
|
118830
|
+
})])]), _c('div', {
|
|
118831
|
+
staticClass: "num_box"
|
|
118832
|
+
}, [_c('div', {
|
|
118833
|
+
staticClass: "lang_box"
|
|
118834
|
+
}, [_vm._v(" 语言:" + _vm._s(_vm.getLangLabel(item.modelLanguage)) + " ")]), item.attachmentNum ? _c('div', {
|
|
118835
|
+
staticClass: "lang_box"
|
|
118836
|
+
}, [_vm._v(" 附件:" + _vm._s(item.attachmentNum) + "个 ")]) : _vm._e(), item.productCardNum ? _c('div', {
|
|
118837
|
+
staticClass: "lang_box"
|
|
118838
|
+
}, [_vm._v(" 商品卡:" + _vm._s(item.productCardNum) + "个 ")]) : _vm._e()])]), _c('div', {
|
|
118839
|
+
staticClass: "temp_middle"
|
|
118840
|
+
}, [_c('div', {
|
|
118841
|
+
staticClass: "nu_box"
|
|
118842
|
+
}, [_c('div', {
|
|
118843
|
+
staticClass: "nu_title"
|
|
118844
|
+
}, [_vm._v("送达率")]), _c('div', {
|
|
118845
|
+
staticClass: "nu_number"
|
|
118846
|
+
}, [_vm._v(" " + _vm._s(item.deliveryRate == null ? "-" : item.deliveryRate + "%") + " ")])]), _c('div', {
|
|
118847
|
+
staticClass: "nu_box"
|
|
118848
|
+
}, [_c('div', {
|
|
118849
|
+
staticClass: "nu_title"
|
|
118850
|
+
}, [_vm._v("打开率")]), _c('div', {
|
|
118851
|
+
staticClass: "nu_number"
|
|
118852
|
+
}, [_vm._v(" " + _vm._s(item.openRate == null ? "-" : item.openRate + "%") + " ")])]), _c('div', {
|
|
118853
|
+
staticClass: "nu_box"
|
|
118854
|
+
}, [_c('div', {
|
|
118855
|
+
staticClass: "nu_title"
|
|
118856
|
+
}, [_vm._v("回复率")]), _c('div', {
|
|
118857
|
+
staticClass: "nu_number"
|
|
118858
|
+
}, [_vm._v(" " + _vm._s(item.replyRate == null ? "-" : item.replyRate + "%") + " ")])]), _c('div', {
|
|
118859
|
+
staticClass: "nu_box"
|
|
118860
|
+
}, [_c('div', {
|
|
118861
|
+
staticClass: "nu_title"
|
|
118862
|
+
}, [_vm._v("累计发送数")]), _c('div', {
|
|
118863
|
+
staticClass: "nu_number"
|
|
118864
|
+
}, [_vm._v(" " + _vm._s(item.totalSentNumber == null ? "-" : item.totalSentNumber + "%") + " ")])])]), _c('div', {
|
|
118865
|
+
staticClass: "tem_bottom"
|
|
118866
|
+
}, [_c('div', {
|
|
118867
|
+
staticClass: "tem_desc"
|
|
118868
|
+
}, [_vm._v("邮件标题:" + _vm._s(item.mailSubject))]), _c('div', {
|
|
118869
|
+
staticClass: "tem_desc"
|
|
118870
|
+
}, [_vm._v("应用场景:" + _vm._s(item.scene))]), _c('div', {
|
|
118871
|
+
staticClass: "desc_btns"
|
|
118872
|
+
}, [_c('div', {
|
|
118873
|
+
staticClass: "desc_text"
|
|
118874
|
+
}, [_c('div', {
|
|
118875
|
+
staticClass: "tem_desc"
|
|
118876
|
+
}, [_vm._v("创建人:" + _vm._s(item.creator))]), _c('div', {
|
|
118877
|
+
staticClass: "tem_desc"
|
|
118878
|
+
}, [_vm._v("更新时间:" + _vm._s(item.gmtModify))])]), _c('div', {
|
|
118879
|
+
staticClass: "apply_btn"
|
|
118880
|
+
}, [_c('el-button', {
|
|
118881
|
+
attrs: {
|
|
118882
|
+
"type": "primary"
|
|
118883
|
+
},
|
|
118884
|
+
on: {
|
|
118885
|
+
"click": function ($event) {
|
|
118886
|
+
return _vm.setMailTemplate(item);
|
|
118978
118887
|
}
|
|
118979
|
-
this.$refs.templateContent.insertEditContent(content);
|
|
118980
118888
|
}
|
|
118981
|
-
},
|
|
118982
|
-
|
|
118983
|
-
|
|
118984
|
-
|
|
118985
|
-
}
|
|
118986
|
-
}
|
|
118987
|
-
});
|
|
118988
|
-
;// ./src/components/EdmElement/TemplateCom/SetTemplate.vue?vue&type=script&lang=js
|
|
118989
|
-
/* harmony default export */ var TemplateCom_SetTemplatevue_type_script_lang_js = (SetTemplatevue_type_script_lang_js);
|
|
118990
|
-
;// ./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/TemplateCom/SetTemplate.vue?vue&type=style&index=0&id=87417d06&prod&lang=scss&scoped=true
|
|
118991
|
-
// extracted by mini-css-extract-plugin
|
|
118992
|
-
|
|
118993
|
-
;// ./src/components/EdmElement/TemplateCom/SetTemplate.vue?vue&type=style&index=0&id=87417d06&prod&lang=scss&scoped=true
|
|
118994
|
-
|
|
118995
|
-
;// ./src/components/EdmElement/TemplateCom/SetTemplate.vue
|
|
118996
|
-
|
|
118997
|
-
|
|
118998
|
-
|
|
118999
|
-
;
|
|
119000
|
-
|
|
119001
|
-
|
|
119002
|
-
/* normalize component */
|
|
119003
|
-
|
|
119004
|
-
var SetTemplate_component = normalizeComponent(
|
|
119005
|
-
TemplateCom_SetTemplatevue_type_script_lang_js,
|
|
119006
|
-
SetTemplatevue_type_template_id_87417d06_scoped_true_render,
|
|
119007
|
-
SetTemplatevue_type_template_id_87417d06_scoped_true_staticRenderFns,
|
|
119008
|
-
false,
|
|
119009
|
-
null,
|
|
119010
|
-
"87417d06",
|
|
119011
|
-
null
|
|
119012
|
-
|
|
119013
|
-
)
|
|
119014
|
-
|
|
119015
|
-
/* harmony default export */ var SetTemplate = (SetTemplate_component.exports);
|
|
119016
|
-
;// ./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/TemplateCom/SetSysTemplate.vue?vue&type=template&id=3c0d8a32&scoped=true
|
|
119017
|
-
var SetSysTemplatevue_type_template_id_3c0d8a32_scoped_true_render = function render() {
|
|
119018
|
-
var _vm = this,
|
|
119019
|
-
_c = _vm._self._c;
|
|
119020
|
-
return _c('el-dialog', {
|
|
118889
|
+
}, [_vm._v("应用")])], 1)])])])]);
|
|
118890
|
+
}), 0) : _c('Empty')], 1), _c('div', {
|
|
118891
|
+
staticClass: "page_box"
|
|
118892
|
+
}, [_c('el-pagination', {
|
|
119021
118893
|
attrs: {
|
|
119022
|
-
"
|
|
119023
|
-
"
|
|
119024
|
-
"
|
|
119025
|
-
"
|
|
119026
|
-
"append-to-body": ""
|
|
118894
|
+
"current-page": _vm.searchForm.currentPage,
|
|
118895
|
+
"page-size": _vm.searchForm.pageSize,
|
|
118896
|
+
"layout": "total,prev, pager, next, jumper",
|
|
118897
|
+
"total": _vm.total
|
|
119027
118898
|
},
|
|
119028
118899
|
on: {
|
|
119029
|
-
"
|
|
119030
|
-
|
|
119031
|
-
|
|
119032
|
-
|
|
119033
|
-
}
|
|
119034
|
-
}, [_c('div', {
|
|
119035
|
-
staticClass: "form-item flex-col mb24"
|
|
119036
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.$i18n.t('template.choose_type')))]), _c('el-select', {
|
|
119037
|
-
attrs: {
|
|
119038
|
-
"filterable": "",
|
|
119039
|
-
"placeholder": _vm.$i18n.t('common.please_select'),
|
|
119040
|
-
"clearable": ""
|
|
119041
|
-
},
|
|
119042
|
-
model: {
|
|
119043
|
-
value: _vm.setSystemForm.modelType,
|
|
119044
|
-
callback: function ($$v) {
|
|
119045
|
-
_vm.$set(_vm.setSystemForm, "modelType", $$v);
|
|
118900
|
+
"size-change": _vm.handleSizeChange,
|
|
118901
|
+
"current-change": _vm.handleCurrentChange,
|
|
118902
|
+
"update:currentPage": function ($event) {
|
|
118903
|
+
return _vm.$set(_vm.searchForm, "currentPage", $event);
|
|
119046
118904
|
},
|
|
119047
|
-
|
|
119048
|
-
|
|
119049
|
-
}, _vm._l(_vm.tabOpts, function (item) {
|
|
119050
|
-
return _c('el-option', {
|
|
119051
|
-
key: Number(item.name),
|
|
119052
|
-
attrs: {
|
|
119053
|
-
"value": Number(item.name),
|
|
119054
|
-
"label": item.label
|
|
118905
|
+
"update:current-page": function ($event) {
|
|
118906
|
+
return _vm.$set(_vm.searchForm, "currentPage", $event);
|
|
119055
118907
|
}
|
|
119056
|
-
});
|
|
119057
|
-
}), 1)], 1), _c('div', {
|
|
119058
|
-
staticClass: "flex justify-end"
|
|
119059
|
-
}, [_c('button', {
|
|
119060
|
-
staticClass: "form-btn form-btn-disabled mr16",
|
|
119061
|
-
on: {
|
|
119062
|
-
"click": _vm.closeEvt
|
|
119063
118908
|
}
|
|
119064
|
-
},
|
|
119065
|
-
staticClass: "form-btn form-btn-face",
|
|
119066
|
-
on: {
|
|
119067
|
-
"click": _vm.customToSystem
|
|
119068
|
-
}
|
|
119069
|
-
}, [_vm._v(" " + _vm._s(_vm.$i18n.t('template.confirm')) + " ")])])]);
|
|
118909
|
+
})], 1)]);
|
|
119070
118910
|
};
|
|
119071
|
-
var
|
|
119072
|
-
|
|
119073
|
-
;// ./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/TemplateCom/SetSysTemplate.vue?vue&type=script&lang=js
|
|
119074
|
-
|
|
119075
|
-
/* harmony default export */ var SetSysTemplatevue_type_script_lang_js = ({
|
|
119076
|
-
props: {
|
|
119077
|
-
isShowSetSystem: {
|
|
119078
|
-
type: Boolean,
|
|
119079
|
-
default: false
|
|
119080
|
-
},
|
|
119081
|
-
mailId: {
|
|
119082
|
-
type: [String, Number],
|
|
119083
|
-
default: ""
|
|
119084
|
-
},
|
|
119085
|
-
tabOpts: {
|
|
119086
|
-
type: Array,
|
|
119087
|
-
default: () => {
|
|
119088
|
-
return [];
|
|
119089
|
-
}
|
|
119090
|
-
}
|
|
119091
|
-
},
|
|
119092
|
-
data() {
|
|
119093
|
-
return {
|
|
119094
|
-
isShowSetSystemDialog: this.isShowSetSystem,
|
|
119095
|
-
setSystemForm: {
|
|
119096
|
-
// 设置系统模板表单
|
|
119097
|
-
id: this.mailId,
|
|
119098
|
-
modelType: ""
|
|
119099
|
-
}
|
|
119100
|
-
};
|
|
119101
|
-
},
|
|
119102
|
-
methods: {
|
|
119103
|
-
customToSystem() {
|
|
119104
|
-
if (!this.setSystemForm.modelType) {
|
|
119105
|
-
this.$message({
|
|
119106
|
-
type: "warning",
|
|
119107
|
-
message: `${this.$i18n.t('common.please_select')}${this.$i18n.t('template.template_type')}`
|
|
119108
|
-
});
|
|
119109
|
-
return;
|
|
119110
|
-
}
|
|
119111
|
-
setSysTemplate(this.setSystemForm).then(res => {
|
|
119112
|
-
if (res.code == 0) {
|
|
119113
|
-
this.closeEvt();
|
|
119114
|
-
this.$message({
|
|
119115
|
-
type: "success",
|
|
119116
|
-
message: `${this.$i18n.t('template.set_success')}`
|
|
119117
|
-
});
|
|
119118
|
-
} else {
|
|
119119
|
-
this.$message.error(res.message);
|
|
119120
|
-
this.closeEvt();
|
|
119121
|
-
}
|
|
119122
|
-
});
|
|
119123
|
-
},
|
|
119124
|
-
closeEvt() {
|
|
119125
|
-
this.setSystemForm.id = "";
|
|
119126
|
-
this.setSystemForm.modelType = "";
|
|
119127
|
-
this.$emit("closeDialog");
|
|
119128
|
-
}
|
|
119129
|
-
}
|
|
119130
|
-
});
|
|
119131
|
-
;// ./src/components/EdmElement/TemplateCom/SetSysTemplate.vue?vue&type=script&lang=js
|
|
119132
|
-
/* harmony default export */ var TemplateCom_SetSysTemplatevue_type_script_lang_js = (SetSysTemplatevue_type_script_lang_js);
|
|
119133
|
-
;// ./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/TemplateCom/SetSysTemplate.vue?vue&type=style&index=0&id=3c0d8a32&prod&lang=scss&scoped=true
|
|
119134
|
-
// extracted by mini-css-extract-plugin
|
|
119135
|
-
|
|
119136
|
-
;// ./src/components/EdmElement/TemplateCom/SetSysTemplate.vue?vue&type=style&index=0&id=3c0d8a32&prod&lang=scss&scoped=true
|
|
119137
|
-
|
|
119138
|
-
;// ./src/components/EdmElement/TemplateCom/SetSysTemplate.vue
|
|
119139
|
-
|
|
119140
|
-
|
|
119141
|
-
|
|
119142
|
-
;
|
|
118911
|
+
var TemplateListvue_type_template_id_d1b92a60_scoped_true_staticRenderFns = [];
|
|
119143
118912
|
|
|
118913
|
+
;// ./src/components/EdmElement/TemplateCom/TemplateList.vue?vue&type=template&id=d1b92a60&scoped=true
|
|
119144
118914
|
|
|
119145
|
-
|
|
118915
|
+
;// ./src/components/EdmElement/TemplateCom/const.js
|
|
119146
118916
|
|
|
119147
|
-
|
|
119148
|
-
|
|
119149
|
-
|
|
119150
|
-
|
|
119151
|
-
|
|
119152
|
-
|
|
119153
|
-
|
|
119154
|
-
|
|
119155
|
-
|
|
119156
|
-
|
|
119157
|
-
|
|
119158
|
-
|
|
118917
|
+
const TemplateCom_const_language = [{
|
|
118918
|
+
value: '7',
|
|
118919
|
+
label: '汉语',
|
|
118920
|
+
enLabel: 'Chinese'
|
|
118921
|
+
}, {
|
|
118922
|
+
value: '1',
|
|
118923
|
+
label: '英语',
|
|
118924
|
+
enLabel: 'English'
|
|
118925
|
+
}, {
|
|
118926
|
+
value: '3',
|
|
118927
|
+
label: '法语',
|
|
118928
|
+
enLabel: 'French'
|
|
118929
|
+
}, {
|
|
118930
|
+
value: '8',
|
|
118931
|
+
label: '德语',
|
|
118932
|
+
enLabel: 'German'
|
|
118933
|
+
}, {
|
|
118934
|
+
value: '6',
|
|
118935
|
+
label: '日语',
|
|
118936
|
+
enLabel: 'Japanese'
|
|
118937
|
+
}, {
|
|
118938
|
+
value: '9',
|
|
118939
|
+
label: '韩语',
|
|
118940
|
+
enLabel: 'Korean'
|
|
118941
|
+
}, {
|
|
118942
|
+
value: '10',
|
|
118943
|
+
label: '越南语',
|
|
118944
|
+
enLabel: 'Vietnamese'
|
|
118945
|
+
}, {
|
|
118946
|
+
value: '11',
|
|
118947
|
+
label: '泰国语',
|
|
118948
|
+
enLabel: 'Thai'
|
|
118949
|
+
}, {
|
|
118950
|
+
value: '12',
|
|
118951
|
+
label: '菲律宾语',
|
|
118952
|
+
enLabel: 'Filipino'
|
|
118953
|
+
}, {
|
|
118954
|
+
value: '13',
|
|
118955
|
+
label: '印度尼西亚语',
|
|
118956
|
+
enLabel: 'Indonesian'
|
|
118957
|
+
}, {
|
|
118958
|
+
value: '14',
|
|
118959
|
+
label: '俄罗斯语',
|
|
118960
|
+
enLabel: 'Russian'
|
|
118961
|
+
}, {
|
|
118962
|
+
value: '4',
|
|
118963
|
+
label: '西班牙语',
|
|
118964
|
+
enLabel: 'Spanish'
|
|
118965
|
+
}, {
|
|
118966
|
+
value: '15',
|
|
118967
|
+
label: '意大利语',
|
|
118968
|
+
enLabel: 'Italian'
|
|
118969
|
+
}];
|
|
118970
|
+
const sortConfig = [{
|
|
118971
|
+
label: '按创建时间倒序',
|
|
118972
|
+
value: 0
|
|
118973
|
+
}, {
|
|
118974
|
+
label: '按更新时间倒序',
|
|
118975
|
+
value: 1
|
|
118976
|
+
}, {
|
|
118977
|
+
label: '按送达率倒序',
|
|
118978
|
+
value: 2
|
|
118979
|
+
}, {
|
|
118980
|
+
label: '按打开率倒序',
|
|
118981
|
+
value: 3
|
|
118982
|
+
}, {
|
|
118983
|
+
label: '按回复率倒序',
|
|
118984
|
+
value: 4
|
|
118985
|
+
}, {
|
|
118986
|
+
label: '按累计发送数倒序',
|
|
118987
|
+
value: 5
|
|
118988
|
+
}];
|
|
118989
|
+
// 系统模版场景
|
|
118990
|
+
const templateSystemScene = [{
|
|
118991
|
+
value: '1',
|
|
118992
|
+
label: `${src_language.t('template.invite_cooperation')}`
|
|
118993
|
+
},
|
|
118994
|
+
//合作邀请
|
|
118995
|
+
{
|
|
118996
|
+
value: '2',
|
|
118997
|
+
label: `${src_language.t('template.price_negotiation')}`
|
|
118998
|
+
},
|
|
118999
|
+
//价格协商
|
|
119000
|
+
{
|
|
119001
|
+
value: '3',
|
|
119002
|
+
label: `${src_language.t('template.contract_template')}`
|
|
119003
|
+
},
|
|
119004
|
+
//合同模板
|
|
119005
|
+
{
|
|
119006
|
+
value: '4',
|
|
119007
|
+
label: `${src_language.t('template.video_production')}`
|
|
119008
|
+
},
|
|
119009
|
+
//视频制作
|
|
119010
|
+
{
|
|
119011
|
+
value: '5',
|
|
119012
|
+
label: `${src_language.t('template.expense_settlement')}`
|
|
119013
|
+
} //费用结算
|
|
119014
|
+
];
|
|
119159
119015
|
;// ./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/TemplateCom/TemplateList.vue?vue&type=script&lang=js
|
|
119160
119016
|
|
|
119161
119017
|
|
|
119162
119018
|
|
|
119163
119019
|
|
|
119164
119020
|
|
|
119021
|
+
|
|
119022
|
+
function createSearchForm(tar) {
|
|
119023
|
+
let raw = {
|
|
119024
|
+
templatesTitle: "",
|
|
119025
|
+
//模板标题
|
|
119026
|
+
scene: "",
|
|
119027
|
+
//应用场景
|
|
119028
|
+
mailSubject: "",
|
|
119029
|
+
//邮件主题
|
|
119030
|
+
content: "",
|
|
119031
|
+
//正文
|
|
119032
|
+
type: null,
|
|
119033
|
+
//模版类型 1-系统模板;2-自定义模板
|
|
119034
|
+
modelLanguage: "",
|
|
119035
|
+
//语言
|
|
119036
|
+
isShared: "",
|
|
119037
|
+
//是否共享
|
|
119038
|
+
userId: "",
|
|
119039
|
+
//创建人
|
|
119040
|
+
searchSort: 1,
|
|
119041
|
+
//排序
|
|
119042
|
+
currentPage: 1,
|
|
119043
|
+
pageSize: 10
|
|
119044
|
+
};
|
|
119045
|
+
if (tar) {
|
|
119046
|
+
raw = Object.assign(raw, tar);
|
|
119047
|
+
}
|
|
119048
|
+
return raw;
|
|
119049
|
+
}
|
|
119165
119050
|
/* harmony default export */ var TemplateListvue_type_script_lang_js = ({
|
|
119166
119051
|
components: {
|
|
119167
|
-
|
|
119168
|
-
SetSysTemplate: SetSysTemplate
|
|
119052
|
+
Empty: Empty
|
|
119169
119053
|
},
|
|
119170
119054
|
props: {
|
|
119171
119055
|
userId: {
|
|
@@ -119175,161 +119059,123 @@ var SetSysTemplate_component = normalizeComponent(
|
|
|
119175
119059
|
},
|
|
119176
119060
|
data() {
|
|
119177
119061
|
return {
|
|
119178
|
-
|
|
119179
|
-
|
|
119180
|
-
|
|
119181
|
-
|
|
119182
|
-
|
|
119183
|
-
|
|
119184
|
-
|
|
119185
|
-
|
|
119186
|
-
|
|
119187
|
-
|
|
119188
|
-
|
|
119189
|
-
|
|
119190
|
-
|
|
119191
|
-
|
|
119192
|
-
//当前页
|
|
119193
|
-
pageSize: 10 //当前页条数
|
|
119194
|
-
},
|
|
119195
|
-
// 选项卡 1合作邀请,2价格协商,3合同模板,4视频制作,5费用结算
|
|
119196
|
-
tabOpts: [{
|
|
119197
|
-
name: "1",
|
|
119198
|
-
label: `${this.$i18n.t("template.invite_cooperation")}`
|
|
119199
|
-
},
|
|
119200
|
-
//合作邀请
|
|
119201
|
-
{
|
|
119202
|
-
name: "2",
|
|
119203
|
-
label: `${this.$i18n.t("template.price_negotiation")}`
|
|
119204
|
-
},
|
|
119205
|
-
//价格协商
|
|
119206
|
-
{
|
|
119207
|
-
name: "3",
|
|
119208
|
-
label: `${this.$i18n.t("template.contract_template")}`
|
|
119209
|
-
},
|
|
119210
|
-
//合同模板
|
|
119211
|
-
{
|
|
119212
|
-
name: "4",
|
|
119213
|
-
label: `${this.$i18n.t("template.video_production")}`
|
|
119214
|
-
},
|
|
119215
|
-
//视频制作
|
|
119216
|
-
{
|
|
119217
|
-
name: "5",
|
|
119218
|
-
label: `${this.$i18n.t("template.expense_settlement")}`
|
|
119219
|
-
} //费用结算
|
|
119220
|
-
],
|
|
119221
|
-
loading: false,
|
|
119222
|
-
// 加载中
|
|
119223
|
-
tableData: [],
|
|
119224
|
-
// 表格数据
|
|
119225
|
-
tableTotal: 1,
|
|
119226
|
-
// 表格总数
|
|
119227
|
-
isShowSet: false,
|
|
119228
|
-
// 是否显示模板设置
|
|
119229
|
-
setId: 0,
|
|
119230
|
-
// 设置模板id
|
|
119231
|
-
rowData: null,
|
|
119232
|
-
//选择的模板数据
|
|
119233
|
-
|
|
119234
|
-
isShowSetSystem: false,
|
|
119235
|
-
// 是否显示设置系统模板
|
|
119236
|
-
mailId: ""
|
|
119062
|
+
// 模版名称 场景
|
|
119063
|
+
contentSelect: "1",
|
|
119064
|
+
contentInput: "",
|
|
119065
|
+
// 邮件主题正文
|
|
119066
|
+
mailTitleSelect: "1",
|
|
119067
|
+
mailTitleInput: "",
|
|
119068
|
+
searchForm: createSearchForm(),
|
|
119069
|
+
language: TemplateCom_const_language,
|
|
119070
|
+
sortConfig: sortConfig,
|
|
119071
|
+
accountList: [],
|
|
119072
|
+
templateList: [],
|
|
119073
|
+
templateSystemScene: templateSystemScene,
|
|
119074
|
+
total: 0,
|
|
119075
|
+
loading: false
|
|
119237
119076
|
};
|
|
119238
119077
|
},
|
|
119239
|
-
|
|
119240
|
-
|
|
119241
|
-
this.
|
|
119078
|
+
mounted() {
|
|
119079
|
+
this.getAccountList();
|
|
119080
|
+
this.getCardList();
|
|
119242
119081
|
},
|
|
119243
119082
|
methods: {
|
|
119244
|
-
//
|
|
119245
|
-
|
|
119246
|
-
this.
|
|
119247
|
-
if (
|
|
119248
|
-
|
|
119083
|
+
// 语言枚举
|
|
119084
|
+
getLangLabel(val) {
|
|
119085
|
+
const currLang = this.language.find(item => item.value == val);
|
|
119086
|
+
if (currLang) {
|
|
119087
|
+
return currLang.label;
|
|
119249
119088
|
}
|
|
119250
|
-
|
|
119251
|
-
|
|
119252
|
-
|
|
119253
|
-
|
|
119254
|
-
|
|
119089
|
+
},
|
|
119090
|
+
// 应用模版
|
|
119091
|
+
setMailTemplate(data) {
|
|
119092
|
+
this.$emit("setMailTemplate", data);
|
|
119093
|
+
},
|
|
119094
|
+
// 跳转详情
|
|
119095
|
+
toDetail(item) {
|
|
119096
|
+
const routeData = this.$router.resolve({
|
|
119097
|
+
path: "/emailTempDetail",
|
|
119098
|
+
query: {
|
|
119099
|
+
type: "edit",
|
|
119100
|
+
id: item.id
|
|
119101
|
+
}
|
|
119102
|
+
});
|
|
119103
|
+
window.open(routeData.href, "_blank");
|
|
119104
|
+
},
|
|
119105
|
+
// 获取列表
|
|
119106
|
+
getCardList() {
|
|
119107
|
+
if (this.contentSelect == "1") {
|
|
119108
|
+
this.searchForm.templatesTitle = this.contentInput;
|
|
119109
|
+
} else if (this.contentSelect == "2") {
|
|
119110
|
+
//系统模版
|
|
119111
|
+
if (this.searchForm.type != 1) {
|
|
119112
|
+
this.searchForm.scene = this.contentInput;
|
|
119113
|
+
}
|
|
119114
|
+
}
|
|
119115
|
+
if (this.mailTitleSelect == "1") {
|
|
119116
|
+
this.searchForm.mailSubject = this.mailTitleInput;
|
|
119117
|
+
} else if (this.mailTitleSelect == "2") {
|
|
119118
|
+
this.searchForm.content = this.mailTitleInput;
|
|
119119
|
+
}
|
|
119120
|
+
this.loading = true;
|
|
119121
|
+
templatesList(this.searchForm).then(res => {
|
|
119122
|
+
if (res.code == "0") {
|
|
119123
|
+
this.templateList = res.data.rows;
|
|
119124
|
+
this.total = res.data.total;
|
|
119125
|
+
this.loading = false;
|
|
119255
119126
|
} else {
|
|
119127
|
+
this.loading = false;
|
|
119256
119128
|
this.$message.error(res.message);
|
|
119257
119129
|
}
|
|
119258
119130
|
});
|
|
119259
119131
|
},
|
|
119260
|
-
//
|
|
119261
|
-
|
|
119262
|
-
this.searchForm.
|
|
119263
|
-
this.
|
|
119264
|
-
},
|
|
119265
|
-
// 删除模板
|
|
119266
|
-
del(id) {
|
|
119267
|
-
this.$confirm(this.$t("inboxTable.delMail"), this.$t("inboxTable.tip"), {
|
|
119268
|
-
confirmButtonText: this.$t("inboxTable.confirm"),
|
|
119269
|
-
cancelButtonText: this.$t("inboxTable.cancel"),
|
|
119270
|
-
type: "warning",
|
|
119271
|
-
confirmButtonClass: "confirm_del"
|
|
119272
|
-
}).then(() => {
|
|
119273
|
-
delTemplate({
|
|
119274
|
-
id
|
|
119275
|
-
}).then(res => {
|
|
119276
|
-
if (res.code == 0) {
|
|
119277
|
-
this.init();
|
|
119278
|
-
this.$message({
|
|
119279
|
-
type: "success",
|
|
119280
|
-
message: `${this.$i18n.t("outboxMail.success")}`,
|
|
119281
|
-
duration: 1500
|
|
119282
|
-
});
|
|
119283
|
-
}
|
|
119284
|
-
});
|
|
119285
|
-
}).catch(() => {});
|
|
119132
|
+
// 模板类型切换
|
|
119133
|
+
modelTypeChange(val) {
|
|
119134
|
+
this.searchForm.scene = "";
|
|
119135
|
+
this.contentInput = "";
|
|
119286
119136
|
},
|
|
119287
|
-
//
|
|
119288
|
-
|
|
119289
|
-
this
|
|
119137
|
+
// 重置
|
|
119138
|
+
resetEvt() {
|
|
119139
|
+
this.searchForm = createSearchForm();
|
|
119140
|
+
this.contentSelect = "1";
|
|
119141
|
+
this.contentInput = "";
|
|
119142
|
+
this.mailTitleSelect = "1";
|
|
119143
|
+
this.mailTitleInput = "";
|
|
119144
|
+
this.getCardList();
|
|
119290
119145
|
},
|
|
119291
|
-
//
|
|
119292
|
-
|
|
119293
|
-
|
|
119294
|
-
|
|
119295
|
-
|
|
119146
|
+
// 获取账号下的账户
|
|
119147
|
+
getAccountList() {
|
|
119148
|
+
hubUserSonFather().then(res => {
|
|
119149
|
+
if (res.code == "0") {
|
|
119150
|
+
this.accountList = res.data;
|
|
119151
|
+
} else {
|
|
119152
|
+
this.$message.error(res.message);
|
|
119153
|
+
}
|
|
119154
|
+
});
|
|
119296
119155
|
},
|
|
119297
|
-
//
|
|
119298
|
-
|
|
119299
|
-
this.searchForm.modelType = tab.name;
|
|
119156
|
+
// 排序按钮
|
|
119157
|
+
clickDropdownItem(item) {
|
|
119300
119158
|
this.searchForm.currentPage = 1;
|
|
119301
|
-
this.
|
|
119159
|
+
this.searchForm.searchSort = item.value;
|
|
119160
|
+
this.getCardList();
|
|
119302
119161
|
},
|
|
119303
|
-
|
|
119304
|
-
|
|
119305
|
-
|
|
119306
|
-
|
|
119307
|
-
// 下载模板
|
|
119308
|
-
downloadTem(obj) {
|
|
119309
|
-
window.location.href = obj.downloadUrl;
|
|
119310
|
-
},
|
|
119311
|
-
// 打开转为系统模版弹窗
|
|
119312
|
-
showSetSystem(row) {
|
|
119313
|
-
this.mailId = row.id;
|
|
119314
|
-
this.isShowSetSystem = true;
|
|
119162
|
+
handleSizeChange(val) {
|
|
119163
|
+
this.searchForm.currentPage = 1;
|
|
119164
|
+
this.searchForm.pageSize = val;
|
|
119165
|
+
this.getCardList();
|
|
119315
119166
|
},
|
|
119316
|
-
|
|
119317
|
-
|
|
119318
|
-
this.
|
|
119167
|
+
handleCurrentChange(val) {
|
|
119168
|
+
this.searchForm.currentPage = val;
|
|
119169
|
+
this.getCardList();
|
|
119319
119170
|
}
|
|
119320
119171
|
}
|
|
119321
119172
|
});
|
|
119322
119173
|
;// ./src/components/EdmElement/TemplateCom/TemplateList.vue?vue&type=script&lang=js
|
|
119323
119174
|
/* harmony default export */ var TemplateCom_TemplateListvue_type_script_lang_js = (TemplateListvue_type_script_lang_js);
|
|
119324
|
-
;// ./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/TemplateCom/TemplateList.vue?vue&type=style&index=0&id=
|
|
119175
|
+
;// ./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/TemplateCom/TemplateList.vue?vue&type=style&index=0&id=d1b92a60&prod&lang=scss&scoped=true
|
|
119325
119176
|
// extracted by mini-css-extract-plugin
|
|
119326
119177
|
|
|
119327
|
-
;// ./src/components/EdmElement/TemplateCom/TemplateList.vue?vue&type=style&index=0&id=
|
|
119328
|
-
|
|
119329
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/EdmElement/TemplateCom/TemplateList.vue?vue&type=style&index=1&id=13a1b12d&prod&lang=css
|
|
119330
|
-
// extracted by mini-css-extract-plugin
|
|
119331
|
-
|
|
119332
|
-
;// ./src/components/EdmElement/TemplateCom/TemplateList.vue?vue&type=style&index=1&id=13a1b12d&prod&lang=css
|
|
119178
|
+
;// ./src/components/EdmElement/TemplateCom/TemplateList.vue?vue&type=style&index=0&id=d1b92a60&prod&lang=scss&scoped=true
|
|
119333
119179
|
|
|
119334
119180
|
;// ./src/components/EdmElement/TemplateCom/TemplateList.vue
|
|
119335
119181
|
|
|
@@ -119338,16 +119184,15 @@ var SetSysTemplate_component = normalizeComponent(
|
|
|
119338
119184
|
;
|
|
119339
119185
|
|
|
119340
119186
|
|
|
119341
|
-
|
|
119342
119187
|
/* normalize component */
|
|
119343
119188
|
|
|
119344
119189
|
var TemplateList_component = normalizeComponent(
|
|
119345
119190
|
TemplateCom_TemplateListvue_type_script_lang_js,
|
|
119346
|
-
|
|
119347
|
-
|
|
119191
|
+
TemplateListvue_type_template_id_d1b92a60_scoped_true_render,
|
|
119192
|
+
TemplateListvue_type_template_id_d1b92a60_scoped_true_staticRenderFns,
|
|
119348
119193
|
false,
|
|
119349
119194
|
null,
|
|
119350
|
-
"
|
|
119195
|
+
"d1b92a60",
|
|
119351
119196
|
null
|
|
119352
119197
|
|
|
119353
119198
|
)
|
|
@@ -121723,6 +121568,406 @@ function inviteEmailSave(data) {
|
|
|
121723
121568
|
function inviteEmailGet(taskId) {
|
|
121724
121569
|
return request_get(`/edm/ai/inviteEmail/${taskId}`);
|
|
121725
121570
|
}
|
|
121571
|
+
;// ./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/saveMailTempDialog.vue?vue&type=template&id=62cde375&scoped=true
|
|
121572
|
+
var saveMailTempDialogvue_type_template_id_62cde375_scoped_true_render = function render() {
|
|
121573
|
+
var _vm = this,
|
|
121574
|
+
_c = _vm._self._c;
|
|
121575
|
+
return _c('el-dialog', {
|
|
121576
|
+
attrs: {
|
|
121577
|
+
"visible": _vm.visible,
|
|
121578
|
+
"title": "存为模版",
|
|
121579
|
+
"width": "480px",
|
|
121580
|
+
"before-close": _vm.closeDialog,
|
|
121581
|
+
"custom-class": "setting-nickname-dialog",
|
|
121582
|
+
"close-on-click-modal": false
|
|
121583
|
+
}
|
|
121584
|
+
}, [_c('div', {
|
|
121585
|
+
directives: [{
|
|
121586
|
+
name: "loading",
|
|
121587
|
+
rawName: "v-loading",
|
|
121588
|
+
value: _vm.loading,
|
|
121589
|
+
expression: "loading"
|
|
121590
|
+
}]
|
|
121591
|
+
}, [_c('el-form', {
|
|
121592
|
+
ref: "ruleForm",
|
|
121593
|
+
staticClass: "demo-ruleForm",
|
|
121594
|
+
attrs: {
|
|
121595
|
+
"label-position": "top",
|
|
121596
|
+
"model": _vm.ruleForm,
|
|
121597
|
+
"rules": _vm.rules,
|
|
121598
|
+
"label-width": "100px"
|
|
121599
|
+
}
|
|
121600
|
+
}, [_c('el-form-item', {
|
|
121601
|
+
attrs: {
|
|
121602
|
+
"label": "模版名称",
|
|
121603
|
+
"prop": "templatesTitle"
|
|
121604
|
+
}
|
|
121605
|
+
}, [_c('el-input', {
|
|
121606
|
+
attrs: {
|
|
121607
|
+
"clearable": ""
|
|
121608
|
+
},
|
|
121609
|
+
model: {
|
|
121610
|
+
value: _vm.ruleForm.templatesTitle,
|
|
121611
|
+
callback: function ($$v) {
|
|
121612
|
+
_vm.$set(_vm.ruleForm, "templatesTitle", $$v);
|
|
121613
|
+
},
|
|
121614
|
+
expression: "ruleForm.templatesTitle"
|
|
121615
|
+
}
|
|
121616
|
+
})], 1), _c('el-form-item', {
|
|
121617
|
+
attrs: {
|
|
121618
|
+
"label": "应用场景",
|
|
121619
|
+
"prop": "scene"
|
|
121620
|
+
}
|
|
121621
|
+
}, [_c('el-input', {
|
|
121622
|
+
attrs: {
|
|
121623
|
+
"clearable": ""
|
|
121624
|
+
},
|
|
121625
|
+
model: {
|
|
121626
|
+
value: _vm.ruleForm.scene,
|
|
121627
|
+
callback: function ($$v) {
|
|
121628
|
+
_vm.$set(_vm.ruleForm, "scene", $$v);
|
|
121629
|
+
},
|
|
121630
|
+
expression: "ruleForm.scene"
|
|
121631
|
+
}
|
|
121632
|
+
})], 1), _c('el-form-item', {
|
|
121633
|
+
attrs: {
|
|
121634
|
+
"label": "语言",
|
|
121635
|
+
"prop": "modelLanguage"
|
|
121636
|
+
}
|
|
121637
|
+
}, [_c('el-select', {
|
|
121638
|
+
attrs: {
|
|
121639
|
+
"placeholder": _vm.$i18n.t('common.please_select'),
|
|
121640
|
+
"clearable": "",
|
|
121641
|
+
"filterable": ""
|
|
121642
|
+
},
|
|
121643
|
+
model: {
|
|
121644
|
+
value: _vm.ruleForm.modelLanguage,
|
|
121645
|
+
callback: function ($$v) {
|
|
121646
|
+
_vm.$set(_vm.ruleForm, "modelLanguage", $$v);
|
|
121647
|
+
},
|
|
121648
|
+
expression: "ruleForm.modelLanguage"
|
|
121649
|
+
}
|
|
121650
|
+
}, _vm._l(_vm.language, function (item) {
|
|
121651
|
+
return _c('el-option', {
|
|
121652
|
+
key: item.value,
|
|
121653
|
+
attrs: {
|
|
121654
|
+
"value": item.value,
|
|
121655
|
+
"label": item.label
|
|
121656
|
+
}
|
|
121657
|
+
});
|
|
121658
|
+
}), 1)], 1), _c('el-form-item', {
|
|
121659
|
+
attrs: {
|
|
121660
|
+
"label": "共享状态"
|
|
121661
|
+
}
|
|
121662
|
+
}, [_c('el-select', {
|
|
121663
|
+
attrs: {
|
|
121664
|
+
"clearable": "",
|
|
121665
|
+
"placeholder": "请选择共享状态"
|
|
121666
|
+
},
|
|
121667
|
+
model: {
|
|
121668
|
+
value: _vm.ruleForm.isShared,
|
|
121669
|
+
callback: function ($$v) {
|
|
121670
|
+
_vm.$set(_vm.ruleForm, "isShared", $$v);
|
|
121671
|
+
},
|
|
121672
|
+
expression: "ruleForm.isShared"
|
|
121673
|
+
}
|
|
121674
|
+
}, [_c('el-option', {
|
|
121675
|
+
key: 1,
|
|
121676
|
+
attrs: {
|
|
121677
|
+
"value": true,
|
|
121678
|
+
"label": "公开"
|
|
121679
|
+
}
|
|
121680
|
+
}), _c('el-option', {
|
|
121681
|
+
key: 2,
|
|
121682
|
+
attrs: {
|
|
121683
|
+
"value": false,
|
|
121684
|
+
"label": "私有"
|
|
121685
|
+
}
|
|
121686
|
+
})], 1)], 1)], 1), _c('div', {
|
|
121687
|
+
staticClass: "footer-btn"
|
|
121688
|
+
}, [_c('el-button', {
|
|
121689
|
+
on: {
|
|
121690
|
+
"click": function ($event) {
|
|
121691
|
+
return _vm.resetForm('ruleForm');
|
|
121692
|
+
}
|
|
121693
|
+
}
|
|
121694
|
+
}, [_vm._v(_vm._s(_vm.$t("edm5.v226")))]), _c('el-button', {
|
|
121695
|
+
attrs: {
|
|
121696
|
+
"type": "primary",
|
|
121697
|
+
"loading": _vm.confirmBtnLoading
|
|
121698
|
+
},
|
|
121699
|
+
on: {
|
|
121700
|
+
"click": function ($event) {
|
|
121701
|
+
return _vm.submitForm('ruleForm');
|
|
121702
|
+
}
|
|
121703
|
+
}
|
|
121704
|
+
}, [_vm._v(_vm._s(_vm.$t("edm5.v45")))])], 1)], 1)]);
|
|
121705
|
+
};
|
|
121706
|
+
var saveMailTempDialogvue_type_template_id_62cde375_scoped_true_staticRenderFns = [];
|
|
121707
|
+
|
|
121708
|
+
;// ./src/api/mailData/index.js
|
|
121709
|
+
|
|
121710
|
+
|
|
121711
|
+
// 文件上传
|
|
121712
|
+
async function mailData_uploadFile(data) {
|
|
121713
|
+
let res = await post("/edm/mail/upload_file", data);
|
|
121714
|
+
return res;
|
|
121715
|
+
}
|
|
121716
|
+
// 邮件发送数据
|
|
121717
|
+
async function getSendList(data) {
|
|
121718
|
+
let res = await request_post("/edm/outbox/sendData", data);
|
|
121719
|
+
if (res.code === '0') {
|
|
121720
|
+
return res;
|
|
121721
|
+
}
|
|
121722
|
+
return null;
|
|
121723
|
+
}
|
|
121724
|
+
|
|
121725
|
+
// 邮件接收数据 inbox/receiveData
|
|
121726
|
+
async function getReceiveList(data) {
|
|
121727
|
+
let res = await request_post("/edm/inbox/receiveData", data);
|
|
121728
|
+
if (res) {
|
|
121729
|
+
return res;
|
|
121730
|
+
}
|
|
121731
|
+
return null;
|
|
121732
|
+
}
|
|
121733
|
+
|
|
121734
|
+
// 查看详情-收件数据
|
|
121735
|
+
async function mailData_getInboxDetail(id) {
|
|
121736
|
+
let res = await get(`/edm/inbox/inboxDetail/${id}`);
|
|
121737
|
+
if (res) {
|
|
121738
|
+
return res;
|
|
121739
|
+
}
|
|
121740
|
+
return null;
|
|
121741
|
+
}
|
|
121742
|
+
|
|
121743
|
+
// 查看会话-收件数据
|
|
121744
|
+
async function getInboxDialogue(chatId) {
|
|
121745
|
+
let res = await request_get(`/edm/inbox/inboxDialogue/${chatId}`);
|
|
121746
|
+
if (res) {
|
|
121747
|
+
return res;
|
|
121748
|
+
}
|
|
121749
|
+
return null;
|
|
121750
|
+
}
|
|
121751
|
+
|
|
121752
|
+
// 查看收件箱详情 /inbox/inboxDetail/{id}
|
|
121753
|
+
async function getInboxDialogue1(id) {
|
|
121754
|
+
let res = await request_get(`/edm/inbox/inboxDetail/${id}`);
|
|
121755
|
+
if (res) {
|
|
121756
|
+
return res;
|
|
121757
|
+
}
|
|
121758
|
+
return null;
|
|
121759
|
+
}
|
|
121760
|
+
|
|
121761
|
+
//发送详情
|
|
121762
|
+
async function getSendDetail(id) {
|
|
121763
|
+
let res = await get(`/edm/outbox/outBoxDetail/${id}`);
|
|
121764
|
+
if (res.code === '0') {
|
|
121765
|
+
return res;
|
|
121766
|
+
}
|
|
121767
|
+
return null;
|
|
121768
|
+
}
|
|
121769
|
+
|
|
121770
|
+
// 发信详情 sendDetail/{id}
|
|
121771
|
+
async function getDetailReceive() {
|
|
121772
|
+
let res = await get(`/edm/inbox/receiveData`);
|
|
121773
|
+
if (res.code === '0') {
|
|
121774
|
+
return res;
|
|
121775
|
+
}
|
|
121776
|
+
return null;
|
|
121777
|
+
}
|
|
121778
|
+
|
|
121779
|
+
// 发件数据详情 --和邮件往来一样
|
|
121780
|
+
async function sendDetail(id) {
|
|
121781
|
+
let res = await request_get(`/edm/mail/sendDetail/${id}`);
|
|
121782
|
+
if (res.code === '0') {
|
|
121783
|
+
return res;
|
|
121784
|
+
}
|
|
121785
|
+
return null;
|
|
121786
|
+
}
|
|
121787
|
+
|
|
121788
|
+
// 收信详情
|
|
121789
|
+
async function getDetailSend(id) {
|
|
121790
|
+
let res = await get(`/edm/outbox/sendData`);
|
|
121791
|
+
if (res.code === '0') {
|
|
121792
|
+
return res;
|
|
121793
|
+
}
|
|
121794
|
+
return null;
|
|
121795
|
+
}
|
|
121796
|
+
|
|
121797
|
+
// 查看AI回复 - 发件
|
|
121798
|
+
async function AiReplyDetail(id) {
|
|
121799
|
+
let res = await request_get(`/edm/outbox/selAiReply/${id}`);
|
|
121800
|
+
if (res) {
|
|
121801
|
+
return res;
|
|
121802
|
+
}
|
|
121803
|
+
return null;
|
|
121804
|
+
}
|
|
121805
|
+
|
|
121806
|
+
// 查看AI回复 收件
|
|
121807
|
+
async function aiReply(params) {
|
|
121808
|
+
let res = await request_post(`/edm/inbox/aiReply`, params);
|
|
121809
|
+
if (res) {
|
|
121810
|
+
return res;
|
|
121811
|
+
}
|
|
121812
|
+
return null;
|
|
121813
|
+
}
|
|
121814
|
+
|
|
121815
|
+
// 导出收信数据 /inbox/exportReceiveData
|
|
121816
|
+
async function exportReceiveData(params) {
|
|
121817
|
+
let res = await request_post(`/edm/inbox/exportReceiveData`, params, 'blob');
|
|
121818
|
+
if (res) {
|
|
121819
|
+
return res;
|
|
121820
|
+
}
|
|
121821
|
+
return null;
|
|
121822
|
+
}
|
|
121823
|
+
|
|
121824
|
+
// 导出发信数据 /outbox/exportSendData
|
|
121825
|
+
async function exportSendData(params) {
|
|
121826
|
+
let res = await request_post(`/edm/outbox/exportSendData`, params, 'blob');
|
|
121827
|
+
if (res) {
|
|
121828
|
+
return res;
|
|
121829
|
+
}
|
|
121830
|
+
return null;
|
|
121831
|
+
}
|
|
121832
|
+
// 保存模版
|
|
121833
|
+
|
|
121834
|
+
async function addTemplate(params) {
|
|
121835
|
+
let res = await request_post(`/edm/template/addTemplate`, params);
|
|
121836
|
+
if (res) {
|
|
121837
|
+
return res;
|
|
121838
|
+
}
|
|
121839
|
+
return null;
|
|
121840
|
+
}
|
|
121841
|
+
;// ./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/saveMailTempDialog.vue?vue&type=script&lang=js
|
|
121842
|
+
|
|
121843
|
+
|
|
121844
|
+
|
|
121845
|
+
|
|
121846
|
+
/* harmony default export */ var saveMailTempDialogvue_type_script_lang_js = ({
|
|
121847
|
+
props: {
|
|
121848
|
+
visible: {
|
|
121849
|
+
type: Boolean,
|
|
121850
|
+
default: false
|
|
121851
|
+
},
|
|
121852
|
+
mailTempList: {
|
|
121853
|
+
type: Array,
|
|
121854
|
+
default: () => []
|
|
121855
|
+
},
|
|
121856
|
+
tempProductCard: {
|
|
121857
|
+
type: String,
|
|
121858
|
+
default: ""
|
|
121859
|
+
}
|
|
121860
|
+
},
|
|
121861
|
+
data() {
|
|
121862
|
+
return {
|
|
121863
|
+
confirmBtnLoading: false,
|
|
121864
|
+
loading: false,
|
|
121865
|
+
ruleForm: {
|
|
121866
|
+
templatesTitle: "",
|
|
121867
|
+
scene: "",
|
|
121868
|
+
modelLanguage: "",
|
|
121869
|
+
isShared: false
|
|
121870
|
+
},
|
|
121871
|
+
rules: {
|
|
121872
|
+
templatesTitle: [{
|
|
121873
|
+
required: true,
|
|
121874
|
+
message: "请输入模版名称",
|
|
121875
|
+
trigger: "blur"
|
|
121876
|
+
}],
|
|
121877
|
+
modelLanguage: [{
|
|
121878
|
+
required: true,
|
|
121879
|
+
message: "请选择模版语言",
|
|
121880
|
+
trigger: "change"
|
|
121881
|
+
}],
|
|
121882
|
+
scene: [{
|
|
121883
|
+
required: true,
|
|
121884
|
+
message: "请输入应用场景",
|
|
121885
|
+
trigger: "change"
|
|
121886
|
+
}]
|
|
121887
|
+
},
|
|
121888
|
+
language: const_language
|
|
121889
|
+
};
|
|
121890
|
+
},
|
|
121891
|
+
created() {},
|
|
121892
|
+
methods: {
|
|
121893
|
+
// 处理邮件参数
|
|
121894
|
+
getMailParams() {
|
|
121895
|
+
// 处理邮件
|
|
121896
|
+
const currentMail = this.mailTempList.find(item => item.active);
|
|
121897
|
+
let content = "";
|
|
121898
|
+
if (currentMail.getReplyHtml()) {
|
|
121899
|
+
content = currentMail.getContent() + " " + currentMail.getReplyHtml() + this.tempProductCard;
|
|
121900
|
+
} else {
|
|
121901
|
+
content = currentMail.getContent() + currentMail.getReplyHtml() + this.tempProductCard;
|
|
121902
|
+
}
|
|
121903
|
+
return {
|
|
121904
|
+
mailSubject: currentMail.subject,
|
|
121905
|
+
content,
|
|
121906
|
+
attachments: currentMail.fileList
|
|
121907
|
+
};
|
|
121908
|
+
},
|
|
121909
|
+
// 表单验证
|
|
121910
|
+
submitForm(formName) {
|
|
121911
|
+
const mailParams = this.getMailParams();
|
|
121912
|
+
this.$refs[formName].validate(valid => {
|
|
121913
|
+
if (valid) {
|
|
121914
|
+
const paramsObj = {
|
|
121915
|
+
...this.ruleForm,
|
|
121916
|
+
...mailParams
|
|
121917
|
+
};
|
|
121918
|
+
//新增
|
|
121919
|
+
addTemplate(paramsObj).then(res => {
|
|
121920
|
+
console.log(res, "resss");
|
|
121921
|
+
if (res.code == "0") {
|
|
121922
|
+
this.$message.success("保存成功");
|
|
121923
|
+
this.closeDialog();
|
|
121924
|
+
} else {
|
|
121925
|
+
this.$message.error(res.message);
|
|
121926
|
+
}
|
|
121927
|
+
});
|
|
121928
|
+
} else {
|
|
121929
|
+
console.log("error submit!!");
|
|
121930
|
+
return false;
|
|
121931
|
+
}
|
|
121932
|
+
});
|
|
121933
|
+
},
|
|
121934
|
+
resetForm(formName) {
|
|
121935
|
+
this.$refs[formName].resetFields();
|
|
121936
|
+
this.closeDialog();
|
|
121937
|
+
},
|
|
121938
|
+
closeDialog() {
|
|
121939
|
+
this.$emit("update:visible", false);
|
|
121940
|
+
}
|
|
121941
|
+
}
|
|
121942
|
+
});
|
|
121943
|
+
;// ./src/package/write-email/components/saveMailTempDialog.vue?vue&type=script&lang=js
|
|
121944
|
+
/* harmony default export */ var components_saveMailTempDialogvue_type_script_lang_js = (saveMailTempDialogvue_type_script_lang_js);
|
|
121945
|
+
;// ./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/saveMailTempDialog.vue?vue&type=style&index=0&id=62cde375&prod&lang=scss&scoped=true
|
|
121946
|
+
// extracted by mini-css-extract-plugin
|
|
121947
|
+
|
|
121948
|
+
;// ./src/package/write-email/components/saveMailTempDialog.vue?vue&type=style&index=0&id=62cde375&prod&lang=scss&scoped=true
|
|
121949
|
+
|
|
121950
|
+
;// ./src/package/write-email/components/saveMailTempDialog.vue
|
|
121951
|
+
|
|
121952
|
+
|
|
121953
|
+
|
|
121954
|
+
;
|
|
121955
|
+
|
|
121956
|
+
|
|
121957
|
+
/* normalize component */
|
|
121958
|
+
|
|
121959
|
+
var saveMailTempDialog_component = normalizeComponent(
|
|
121960
|
+
components_saveMailTempDialogvue_type_script_lang_js,
|
|
121961
|
+
saveMailTempDialogvue_type_template_id_62cde375_scoped_true_render,
|
|
121962
|
+
saveMailTempDialogvue_type_template_id_62cde375_scoped_true_staticRenderFns,
|
|
121963
|
+
false,
|
|
121964
|
+
null,
|
|
121965
|
+
"62cde375",
|
|
121966
|
+
null
|
|
121967
|
+
|
|
121968
|
+
)
|
|
121969
|
+
|
|
121970
|
+
/* harmony default export */ var saveMailTempDialog = (saveMailTempDialog_component.exports);
|
|
121726
121971
|
;// ./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/index.vue?vue&type=script&lang=js
|
|
121727
121972
|
|
|
121728
121973
|
|
|
@@ -121764,6 +122009,7 @@ function inviteEmailGet(taskId) {
|
|
|
121764
122009
|
|
|
121765
122010
|
|
|
121766
122011
|
|
|
122012
|
+
|
|
121767
122013
|
|
|
121768
122014
|
|
|
121769
122015
|
/* harmony default export */ var write_emailvue_type_script_lang_js = ({
|
|
@@ -121786,7 +122032,8 @@ function inviteEmailGet(taskId) {
|
|
|
121786
122032
|
SignTextDrawer: signText,
|
|
121787
122033
|
MailTemplateDrawer: mailTemplate,
|
|
121788
122034
|
AiMailDialog: aiMail,
|
|
121789
|
-
MailOptimizeDrawer: mailOptimize
|
|
122035
|
+
MailOptimizeDrawer: mailOptimize,
|
|
122036
|
+
saveMailTempDialog: saveMailTempDialog
|
|
121790
122037
|
},
|
|
121791
122038
|
props: {
|
|
121792
122039
|
// pm 添加
|
|
@@ -121806,6 +122053,10 @@ function inviteEmailGet(taskId) {
|
|
|
121806
122053
|
// {
|
|
121807
122054
|
// bloggerId: "UCCvAkgPsNA8dlZKZcxD9JtQytb0773",
|
|
121808
122055
|
// bloggerName: "Thắng Xinh Trai"
|
|
122056
|
+
// },
|
|
122057
|
+
// {
|
|
122058
|
+
// bloggerId: "UCB5FAog0G7LOrDgtsSVnsJAytb7800",
|
|
122059
|
+
// bloggerName: "mozanatv"
|
|
121809
122060
|
// }
|
|
121810
122061
|
];
|
|
121811
122062
|
}
|
|
@@ -121948,11 +122199,12 @@ function inviteEmailGet(taskId) {
|
|
|
121948
122199
|
//邮件检测
|
|
121949
122200
|
isCheckType: false,
|
|
121950
122201
|
// 是否是邮件检测模式
|
|
121951
|
-
|
|
122202
|
+
reContactList: [],
|
|
122203
|
+
// 重复触达红人列表
|
|
122204
|
+
riskList: [],
|
|
122205
|
+
// 风险红人列表
|
|
121952
122206
|
filterBloggerArr: [],
|
|
121953
122207
|
//过滤重复发件
|
|
121954
|
-
continueBloggerArr: [],
|
|
121955
|
-
//继续发件
|
|
121956
122208
|
isLimit: false,
|
|
121957
122209
|
//是否超限
|
|
121958
122210
|
restSendNum: 0,
|
|
@@ -122015,7 +122267,13 @@ function inviteEmailGet(taskId) {
|
|
|
122015
122267
|
nickName: "",
|
|
122016
122268
|
// 发件人昵称
|
|
122017
122269
|
pageFrom: this.$route.query.pageFrom || '',
|
|
122018
|
-
currentAiPlatform: this.$route.query.currentAiPlatform || ''
|
|
122270
|
+
currentAiPlatform: this.$route.query.currentAiPlatform || '',
|
|
122271
|
+
// 当前使用的AI平台
|
|
122272
|
+
saveMailTempDialogVisible: false,
|
|
122273
|
+
// 保存模版弹窗
|
|
122274
|
+
tempProductCard: '',
|
|
122275
|
+
// 模版产品卡
|
|
122276
|
+
totalNum: 0 // 当前有效发件人数
|
|
122019
122277
|
};
|
|
122020
122278
|
},
|
|
122021
122279
|
created() {
|
|
@@ -122046,14 +122304,14 @@ function inviteEmailGet(taskId) {
|
|
|
122046
122304
|
} else if (this.$route.query.inviteAITaskId) {
|
|
122047
122305
|
// 获取自动邀约邮件详情
|
|
122048
122306
|
this.getInviteAITaskDetail();
|
|
122049
|
-
} else if (this.$route.query.pageFrom ==
|
|
122307
|
+
} else if (this.$route.query.pageFrom == "payStatusDetail") {
|
|
122050
122308
|
// 支付详情跳转到写信页面
|
|
122051
122309
|
this.payInitTemplate();
|
|
122052
122310
|
} else {
|
|
122053
122311
|
// 获取发信红人-普通情况
|
|
122054
122312
|
this.getMailBlogger();
|
|
122055
122313
|
}
|
|
122056
|
-
if (this.pageFrom !==
|
|
122314
|
+
if (this.pageFrom !== "AIinvitePlan") {
|
|
122057
122315
|
//设置定时器,注意:只有在 created 生命周期中设置的定时器 才能在beforeDestroy 中销毁
|
|
122058
122316
|
if (!this.isMultiReply) {
|
|
122059
122317
|
this.timer = window.setInterval(() => {
|
|
@@ -122078,7 +122336,7 @@ function inviteEmailGet(taskId) {
|
|
|
122078
122336
|
}, 150);
|
|
122079
122337
|
},
|
|
122080
122338
|
beforeDestroy() {
|
|
122081
|
-
if (this.pageFrom !==
|
|
122339
|
+
if (this.pageFrom !== "AIinvitePlan") {
|
|
122082
122340
|
this.remindSave();
|
|
122083
122341
|
}
|
|
122084
122342
|
//在 beforeDestroy生命周期函数中销毁定时器
|
|
@@ -122091,10 +122349,22 @@ function inviteEmailGet(taskId) {
|
|
|
122091
122349
|
window.onbeforeunload = null;
|
|
122092
122350
|
},
|
|
122093
122351
|
methods: {
|
|
122352
|
+
// 保存邮件模版
|
|
122353
|
+
saveMailTemplate() {
|
|
122354
|
+
const currentMail = this.mailList.find(item => item.active);
|
|
122355
|
+
if (currentMail.subject == '') {
|
|
122356
|
+
this.$message.error('请输入邮件主题');
|
|
122357
|
+
return;
|
|
122358
|
+
}
|
|
122359
|
+
let cardHtml = this.cardsArr.map(item => this.finallyCardHtml(item)).join("");
|
|
122360
|
+
let cardIds = arrayColumn(this.cardsArr, "id");
|
|
122361
|
+
this.tempProductCard = `<product-card cardIds=${cardIds}><div style="display:flex;overflow-x:auto">${cardHtml}</div></product-card>`;
|
|
122362
|
+
this.saveMailTempDialogVisible = true;
|
|
122363
|
+
},
|
|
122094
122364
|
// 初始化邮件模版
|
|
122095
122365
|
payInitTemplate() {
|
|
122096
122366
|
// 初始化收件人
|
|
122097
|
-
const bloggerList = JSON.parse(localStorage.getItem(
|
|
122367
|
+
const bloggerList = JSON.parse(localStorage.getItem("resultRecipientData") || "[]");
|
|
122098
122368
|
if (bloggerList && bloggerList.length) {
|
|
122099
122369
|
bloggerList.forEach(item => {
|
|
122100
122370
|
this.addresseeArr.push({
|
|
@@ -122105,14 +122375,14 @@ function inviteEmailGet(taskId) {
|
|
|
122105
122375
|
});
|
|
122106
122376
|
}
|
|
122107
122377
|
// 初始化写信模版
|
|
122108
|
-
const payWriteData = JSON.parse(localStorage.getItem(
|
|
122378
|
+
const payWriteData = JSON.parse(localStorage.getItem("payWriteData") || "{}");
|
|
122109
122379
|
this.mailList = [{
|
|
122110
122380
|
attachments: [],
|
|
122111
122381
|
content: `<p>To: ${this.addresseeArr[0].bloggerName}</p>
|
|
122112
122382
|
<p>Hello!</p>
|
|
122113
122383
|
<p>We are the official customer service team of WotoHub. On behalf of the platform and [${payWriteData.companyName}], we confirm the upcoming payment for the agreement you reached on the platform. </p>
|
|
122114
122384
|
<p>Below are the contract details. Please review and sign them carefully:<a href=\"${payWriteData.payWriteUrl}\" target=\"_blank\">${payWriteData.payWriteUrl}</a></p>`,
|
|
122115
|
-
subject:
|
|
122385
|
+
subject: "Contract Signature Required to Confirm Collaboration Payment ",
|
|
122116
122386
|
id: "mockId-" + Date.now(),
|
|
122117
122387
|
fileList: [],
|
|
122118
122388
|
// 附件
|
|
@@ -122192,17 +122462,17 @@ function inviteEmailGet(taskId) {
|
|
|
122192
122462
|
};
|
|
122193
122463
|
});
|
|
122194
122464
|
const inviteParams = {
|
|
122195
|
-
taskId: this.$route.query.inviteAITaskId ||
|
|
122465
|
+
taskId: this.$route.query.inviteAITaskId || "",
|
|
122196
122466
|
platform: this.currentAiPlatform,
|
|
122197
122467
|
emails: this.filterEmailId(emails)
|
|
122198
122468
|
};
|
|
122199
122469
|
const isAllSubjectEmpty = this.mailList.every(item => !item.subject);
|
|
122200
122470
|
const isAllContentEmpty = this.mailList.every(item => item.isEmpty());
|
|
122201
122471
|
if (isAllSubjectEmpty || isAllContentEmpty) {
|
|
122202
|
-
return this.$message.error(
|
|
122472
|
+
return this.$message.error("邮件主题和正文不能为空!");
|
|
122203
122473
|
}
|
|
122204
122474
|
inviteEmailSave(inviteParams).then(res => {
|
|
122205
|
-
if (res.code ==
|
|
122475
|
+
if (res.code == "0") {
|
|
122206
122476
|
// 在新窗口的脚本中设置监听器 传递数据给旧窗口
|
|
122207
122477
|
const localTaskId = res.data;
|
|
122208
122478
|
if (window.opener) {
|
|
@@ -122215,11 +122485,11 @@ function inviteEmailGet(taskId) {
|
|
|
122215
122485
|
inviteAITaskId: localTaskId
|
|
122216
122486
|
}
|
|
122217
122487
|
}).catch(err => {
|
|
122218
|
-
if (err.name !==
|
|
122488
|
+
if (err.name !== "NavigationDuplicated") {
|
|
122219
122489
|
throw err;
|
|
122220
122490
|
}
|
|
122221
122491
|
});
|
|
122222
|
-
this.$message.success(
|
|
122492
|
+
this.$message.success("邮件添加成功,请回到原窗口继续创建任务!");
|
|
122223
122493
|
} else {
|
|
122224
122494
|
this.$message.error(res.message);
|
|
122225
122495
|
}
|
|
@@ -122497,6 +122767,7 @@ function inviteEmailGet(taskId) {
|
|
|
122497
122767
|
active: idx === 0,
|
|
122498
122768
|
// 是否当前选中
|
|
122499
122769
|
isAiContent: false,
|
|
122770
|
+
templateId: item.templateId,
|
|
122500
122771
|
getContent: () => {},
|
|
122501
122772
|
getTextContent: () => {},
|
|
122502
122773
|
setContent: () => {},
|
|
@@ -122637,11 +122908,8 @@ function inviteEmailGet(taskId) {
|
|
|
122637
122908
|
bloggerIds
|
|
122638
122909
|
});
|
|
122639
122910
|
if (res.code === "0") {
|
|
122640
|
-
this.
|
|
122641
|
-
this.
|
|
122642
|
-
this.filterBloggerArr = this.addresseeArr.filter(
|
|
122643
|
-
// 选择过滤重复触达,则需要过滤红人
|
|
122644
|
-
item => !res.data.some(ele => ele === item.bloggerId));
|
|
122911
|
+
this.totalNum = this.addresseeArr.length || 0;
|
|
122912
|
+
this.reContactList = res.data;
|
|
122645
122913
|
const hasOtherEmailRes = await hasBindOtherEmail();
|
|
122646
122914
|
if (hasOtherEmailRes.code === "0" && hasOtherEmailRes.data) {
|
|
122647
122915
|
// 如果除了系统邮箱还绑定了其他邮箱(如 Gmail、企业邮箱...)则发件检测要先选择本次发件的邮箱
|
|
@@ -122652,6 +122920,13 @@ function inviteEmailGet(taskId) {
|
|
|
122652
122920
|
this.isCheckType = false;
|
|
122653
122921
|
this.isShowCheck = true;
|
|
122654
122922
|
}
|
|
122923
|
+
const riskRes = await getRiskRedList({
|
|
122924
|
+
bloggerIds
|
|
122925
|
+
});
|
|
122926
|
+
if (riskRes.code === "0") {
|
|
122927
|
+
this.riskList = riskRes.data;
|
|
122928
|
+
this.updateFilterBloggerArr(true, true);
|
|
122929
|
+
}
|
|
122655
122930
|
} else {
|
|
122656
122931
|
this.$message.error(res.message);
|
|
122657
122932
|
}
|
|
@@ -122659,6 +122934,17 @@ function inviteEmailGet(taskId) {
|
|
|
122659
122934
|
console.log(error);
|
|
122660
122935
|
}
|
|
122661
122936
|
},
|
|
122937
|
+
updateFilterBloggerArr(isFilterRepeat, isFilterRisk) {
|
|
122938
|
+
if (isFilterRepeat && isFilterRisk) {
|
|
122939
|
+
this.filterBloggerArr = this.addresseeArr.filter(item => !this.reContactList.some(ele => ele === item.bloggerId) && !this.riskList.some(ele => ele === item.bloggerId));
|
|
122940
|
+
} else if (isFilterRepeat && !isFilterRisk) {
|
|
122941
|
+
this.filterBloggerArr = this.addresseeArr.filter(item => !this.reContactList.some(ele => ele === item.bloggerId));
|
|
122942
|
+
} else if (!isFilterRepeat && isFilterRisk) {
|
|
122943
|
+
this.filterBloggerArr = this.addresseeArr.filter(item => !this.riskList.some(ele => ele === item.bloggerId));
|
|
122944
|
+
} else {
|
|
122945
|
+
this.filterBloggerArr = this.addresseeArr;
|
|
122946
|
+
}
|
|
122947
|
+
},
|
|
122662
122948
|
// 邮件检测第一步--->发件箱选择--->下一步
|
|
122663
122949
|
openCheckNext() {
|
|
122664
122950
|
this.isShowCheck = true;
|
|
@@ -122693,17 +122979,7 @@ function inviteEmailGet(taskId) {
|
|
|
122693
122979
|
return `<div style="display: flex"><div style="box-sizing:border-box;width: 280px; min-height: 310px; border-radius: 14px; border: 1px solid #e8e8e8; padding: 12px;margin-right:8px"><div style="position: relative; margin-bottom: 10px;"><img style="object-fit:cover;border: 1px solid #333;width: 256px;height: 150px;border-radius: 14px;" 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>`;
|
|
122694
122980
|
},
|
|
122695
122981
|
// 检测之后主动发信,区分继续发件/过滤重复触达
|
|
122696
|
-
async selfSend(
|
|
122697
|
-
// 继续立即发件 过滤立即发件 自动立即发送
|
|
122698
|
-
// 继续定时 过滤定时 自动定时
|
|
122699
|
-
if (flag === "continueSend") {
|
|
122700
|
-
this.addresseeArr = this.continueBloggerArr;
|
|
122701
|
-
} else if (flag === "filterSend") {
|
|
122702
|
-
this.addresseeArr = this.filterBloggerArr;
|
|
122703
|
-
} else {
|
|
122704
|
-
this.addresseeArr = this.addresseeArr;
|
|
122705
|
-
}
|
|
122706
|
-
|
|
122982
|
+
async selfSend() {
|
|
122707
122983
|
// 商品卡处理
|
|
122708
122984
|
let cardHtml = this.cardsArr.map(item => this.finallyCardHtml(item)).join("");
|
|
122709
122985
|
let cardIds = arrayColumn(this.cardsArr, "id");
|
|
@@ -122721,12 +122997,13 @@ function inviteEmailGet(taskId) {
|
|
|
122721
122997
|
id: item.id,
|
|
122722
122998
|
subject: item.subject,
|
|
122723
122999
|
content: content,
|
|
122724
|
-
attachments: item.fileList
|
|
123000
|
+
attachments: item.fileList,
|
|
123001
|
+
templateId: item.templateId
|
|
122725
123002
|
};
|
|
122726
123003
|
});
|
|
122727
123004
|
|
|
122728
123005
|
// 发件人处理
|
|
122729
|
-
const bloggerInfos = this.
|
|
123006
|
+
const bloggerInfos = this.filterBloggerArr.map(item => {
|
|
122730
123007
|
return {
|
|
122731
123008
|
bloggerId: item.bloggerId,
|
|
122732
123009
|
chooseSource: item.chooseSource || undefined,
|
|
@@ -122898,7 +123175,8 @@ function inviteEmailGet(taskId) {
|
|
|
122898
123175
|
id: item.id,
|
|
122899
123176
|
subject: item.subject,
|
|
122900
123177
|
content: item.getContent() + " " + item.getReplyHtml() + sendProductCard,
|
|
122901
|
-
attachments: item.fileList
|
|
123178
|
+
attachments: item.fileList,
|
|
123179
|
+
templateId: item.templateId
|
|
122902
123180
|
};
|
|
122903
123181
|
});
|
|
122904
123182
|
// 处理红人
|
|
@@ -123051,15 +123329,38 @@ function inviteEmailGet(taskId) {
|
|
|
123051
123329
|
},
|
|
123052
123330
|
// 设置模板
|
|
123053
123331
|
setMailTemplate(data) {
|
|
123054
|
-
this.
|
|
123055
|
-
|
|
123056
|
-
|
|
123057
|
-
|
|
123058
|
-
|
|
123332
|
+
this.mailTemplateDrawerVisible = false;
|
|
123333
|
+
templatesDetail(data.id).then(res => {
|
|
123334
|
+
if (res.code == '0') {
|
|
123335
|
+
const detailObj = res.data;
|
|
123336
|
+
if (detailObj) {
|
|
123337
|
+
// 获取模版详情
|
|
123338
|
+
this.mailList.forEach(mail => {
|
|
123339
|
+
if (mail.active) {
|
|
123340
|
+
mail.subject = detailObj.mailSubject;
|
|
123341
|
+
mail.templateId = detailObj.id;
|
|
123342
|
+
mail.fileList = detailObj.attachmentRes;
|
|
123343
|
+
if (mail.setContent) {
|
|
123344
|
+
mail.setContent(detailObj.content);
|
|
123345
|
+
}
|
|
123346
|
+
}
|
|
123347
|
+
});
|
|
123348
|
+
// 商品卡相关逻辑
|
|
123349
|
+
if (detailObj.content) {
|
|
123350
|
+
let productCardStart = detailObj.content.indexOf('<product-card');
|
|
123351
|
+
let productCardEnd = detailObj.content.indexOf('</product-card>');
|
|
123352
|
+
let productCardHtml = detailObj.content.slice(productCardStart, productCardEnd + 15);
|
|
123353
|
+
const cardIdsMatch = productCardHtml.match(/cardids="([^"]+)"/);
|
|
123354
|
+
if (cardIdsMatch && cardIdsMatch[1]) {
|
|
123355
|
+
const cardIds = cardIdsMatch[1]; // 获取匹配到的cardids值
|
|
123356
|
+
this.addProductCard(cardIds.split(","));
|
|
123357
|
+
}
|
|
123358
|
+
}
|
|
123059
123359
|
}
|
|
123360
|
+
} else {
|
|
123361
|
+
this.$message.error(res.message);
|
|
123060
123362
|
}
|
|
123061
|
-
});
|
|
123062
|
-
this.mailTemplateDrawerVisible = false;
|
|
123363
|
+
}).catch(() => {});
|
|
123063
123364
|
},
|
|
123064
123365
|
// 设置签名
|
|
123065
123366
|
setMailSign(data) {
|
|
@@ -123398,15 +123699,15 @@ function inviteEmailGet(taskId) {
|
|
|
123398
123699
|
});
|
|
123399
123700
|
;// ./src/package/write-email/index.vue?vue&type=script&lang=js
|
|
123400
123701
|
/* harmony default export */ var package_write_emailvue_type_script_lang_js = (write_emailvue_type_script_lang_js);
|
|
123401
|
-
;// ./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=
|
|
123702
|
+
;// ./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=3c690e4c&prod&lang=scss&scoped=true
|
|
123402
123703
|
// extracted by mini-css-extract-plugin
|
|
123403
123704
|
|
|
123404
|
-
;// ./src/package/write-email/index.vue?vue&type=style&index=0&id=
|
|
123705
|
+
;// ./src/package/write-email/index.vue?vue&type=style&index=0&id=3c690e4c&prod&lang=scss&scoped=true
|
|
123405
123706
|
|
|
123406
|
-
;// ./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=
|
|
123707
|
+
;// ./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=3c690e4c&prod&lang=scss
|
|
123407
123708
|
// extracted by mini-css-extract-plugin
|
|
123408
123709
|
|
|
123409
|
-
;// ./src/package/write-email/index.vue?vue&type=style&index=1&id=
|
|
123710
|
+
;// ./src/package/write-email/index.vue?vue&type=style&index=1&id=3c690e4c&prod&lang=scss
|
|
123410
123711
|
|
|
123411
123712
|
;// ./src/package/write-email/index.vue
|
|
123412
123713
|
|
|
@@ -123420,11 +123721,11 @@ function inviteEmailGet(taskId) {
|
|
|
123420
123721
|
|
|
123421
123722
|
var write_email_component = normalizeComponent(
|
|
123422
123723
|
package_write_emailvue_type_script_lang_js,
|
|
123423
|
-
|
|
123424
|
-
|
|
123724
|
+
write_emailvue_type_template_id_3c690e4c_scoped_true_render,
|
|
123725
|
+
write_emailvue_type_template_id_3c690e4c_scoped_true_staticRenderFns,
|
|
123425
123726
|
false,
|
|
123426
123727
|
null,
|
|
123427
|
-
"
|
|
123728
|
+
"3c690e4c",
|
|
123428
123729
|
null
|
|
123429
123730
|
|
|
123430
123731
|
)
|
|
@@ -123491,8 +123792,8 @@ var outbox_emailvue_type_template_id_1d113158_scoped_true_render = function rend
|
|
|
123491
123792
|
};
|
|
123492
123793
|
var outbox_emailvue_type_template_id_1d113158_scoped_true_staticRenderFns = [];
|
|
123493
123794
|
|
|
123494
|
-
;// ./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/outbox-email/components/singleSendMail.vue?vue&type=template&id=
|
|
123495
|
-
var
|
|
123795
|
+
;// ./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/outbox-email/components/singleSendMail.vue?vue&type=template&id=31e099df&scoped=true
|
|
123796
|
+
var singleSendMailvue_type_template_id_31e099df_scoped_true_render = function render() {
|
|
123496
123797
|
var _vm = this,
|
|
123497
123798
|
_c = _vm._self._c;
|
|
123498
123799
|
return _c('div', {
|
|
@@ -123813,6 +124114,25 @@ var singleSendMailvue_type_template_id_1f01a884_scoped_true_render = function re
|
|
|
123813
124114
|
}
|
|
123814
124115
|
})];
|
|
123815
124116
|
}
|
|
124117
|
+
}, {
|
|
124118
|
+
key: "operation",
|
|
124119
|
+
fn: function ({
|
|
124120
|
+
data
|
|
124121
|
+
}) {
|
|
124122
|
+
return [_c('el-link', {
|
|
124123
|
+
attrs: {
|
|
124124
|
+
"type": "primary",
|
|
124125
|
+
"size": "small",
|
|
124126
|
+
"underline": false
|
|
124127
|
+
},
|
|
124128
|
+
on: {
|
|
124129
|
+
"click": function ($event) {
|
|
124130
|
+
$event.stopPropagation();
|
|
124131
|
+
return _vm.recallMail(data.scope);
|
|
124132
|
+
}
|
|
124133
|
+
}
|
|
124134
|
+
}, [_vm._v("撤回")])];
|
|
124135
|
+
}
|
|
123816
124136
|
}])
|
|
123817
124137
|
}), _c('div', {
|
|
123818
124138
|
staticClass: "tool"
|
|
@@ -123854,7 +124174,7 @@ var singleSendMailvue_type_template_id_1f01a884_scoped_true_render = function re
|
|
|
123854
124174
|
staticClass: "dss-iconfont"
|
|
123855
124175
|
}, [_vm._v("")]) : _vm._e()])], 1)])])], 1)]);
|
|
123856
124176
|
};
|
|
123857
|
-
var
|
|
124177
|
+
var singleSendMailvue_type_template_id_31e099df_scoped_true_staticRenderFns = [];
|
|
123858
124178
|
|
|
123859
124179
|
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
123860
124180
|
var dayjs_min = __webpack_require__(4353);
|
|
@@ -123942,6 +124262,10 @@ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
|
123942
124262
|
label: src_language.t("edm2.mailEn12"),
|
|
123943
124263
|
prop: "sendTime",
|
|
123944
124264
|
width: "200"
|
|
124265
|
+
}, {
|
|
124266
|
+
label: "操作",
|
|
124267
|
+
scope: "operation",
|
|
124268
|
+
width: "100"
|
|
123945
124269
|
}],
|
|
123946
124270
|
tableData: [],
|
|
123947
124271
|
loading: false,
|
|
@@ -123990,6 +124314,32 @@ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
|
123990
124314
|
localStorage.removeItem("searchFlag");
|
|
123991
124315
|
},
|
|
123992
124316
|
methods: {
|
|
124317
|
+
// 撤回邮件
|
|
124318
|
+
recallMail(row) {
|
|
124319
|
+
console.log(row, "row");
|
|
124320
|
+
this.$confirm("请确认是否撤回该邮件?", "提示", {
|
|
124321
|
+
confirmButtonText: "确定",
|
|
124322
|
+
cancelButtonText: "取消",
|
|
124323
|
+
type: "warning"
|
|
124324
|
+
}).then(() => {
|
|
124325
|
+
withdraw(row.id).then(res => {
|
|
124326
|
+
if (res.code == "0") {
|
|
124327
|
+
this.$message({
|
|
124328
|
+
type: "success",
|
|
124329
|
+
duration: 7000,
|
|
124330
|
+
message: "撤回成功,该邮件现已被存放至草稿箱中,本次发件消耗的权益数已自动为您回退至账户中。"
|
|
124331
|
+
});
|
|
124332
|
+
this.init();
|
|
124333
|
+
} else {
|
|
124334
|
+
this.$message({
|
|
124335
|
+
type: "error",
|
|
124336
|
+
duration: 7000,
|
|
124337
|
+
message: res.message
|
|
124338
|
+
});
|
|
124339
|
+
}
|
|
124340
|
+
});
|
|
124341
|
+
}).catch(() => {});
|
|
124342
|
+
},
|
|
123993
124343
|
// 主题-正文
|
|
123994
124344
|
changeContentMode(val) {
|
|
123995
124345
|
this.contentSelect = val;
|
|
@@ -124183,10 +124533,10 @@ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
|
124183
124533
|
});
|
|
124184
124534
|
;// ./src/package/outbox-email/components/singleSendMail.vue?vue&type=script&lang=js
|
|
124185
124535
|
/* harmony default export */ var components_singleSendMailvue_type_script_lang_js = (singleSendMailvue_type_script_lang_js);
|
|
124186
|
-
;// ./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/outbox-email/components/singleSendMail.vue?vue&type=style&index=0&id=
|
|
124536
|
+
;// ./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/outbox-email/components/singleSendMail.vue?vue&type=style&index=0&id=31e099df&prod&lang=scss&scoped=true
|
|
124187
124537
|
// extracted by mini-css-extract-plugin
|
|
124188
124538
|
|
|
124189
|
-
;// ./src/package/outbox-email/components/singleSendMail.vue?vue&type=style&index=0&id=
|
|
124539
|
+
;// ./src/package/outbox-email/components/singleSendMail.vue?vue&type=style&index=0&id=31e099df&prod&lang=scss&scoped=true
|
|
124190
124540
|
|
|
124191
124541
|
;// ./src/package/outbox-email/components/singleSendMail.vue
|
|
124192
124542
|
|
|
@@ -124199,18 +124549,18 @@ var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
|
124199
124549
|
|
|
124200
124550
|
var singleSendMail_component = normalizeComponent(
|
|
124201
124551
|
components_singleSendMailvue_type_script_lang_js,
|
|
124202
|
-
|
|
124203
|
-
|
|
124552
|
+
singleSendMailvue_type_template_id_31e099df_scoped_true_render,
|
|
124553
|
+
singleSendMailvue_type_template_id_31e099df_scoped_true_staticRenderFns,
|
|
124204
124554
|
false,
|
|
124205
124555
|
null,
|
|
124206
|
-
"
|
|
124556
|
+
"31e099df",
|
|
124207
124557
|
null
|
|
124208
124558
|
|
|
124209
124559
|
)
|
|
124210
124560
|
|
|
124211
124561
|
/* harmony default export */ var singleSendMail = (singleSendMail_component.exports);
|
|
124212
|
-
;// ./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/outbox-email/components/replySendMail.vue?vue&type=template&id=
|
|
124213
|
-
var
|
|
124562
|
+
;// ./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/outbox-email/components/replySendMail.vue?vue&type=template&id=561c9fe0&scoped=true
|
|
124563
|
+
var replySendMailvue_type_template_id_561c9fe0_scoped_true_render = function render() {
|
|
124214
124564
|
var _vm = this,
|
|
124215
124565
|
_c = _vm._self._c;
|
|
124216
124566
|
return _c('div', {
|
|
@@ -124500,6 +124850,25 @@ var replySendMailvue_type_template_id_9bfe54da_scoped_true_render = function ren
|
|
|
124500
124850
|
}
|
|
124501
124851
|
})];
|
|
124502
124852
|
}
|
|
124853
|
+
}, {
|
|
124854
|
+
key: "operation",
|
|
124855
|
+
fn: function ({
|
|
124856
|
+
data
|
|
124857
|
+
}) {
|
|
124858
|
+
return [_c('el-link', {
|
|
124859
|
+
attrs: {
|
|
124860
|
+
"type": "primary",
|
|
124861
|
+
"size": "small",
|
|
124862
|
+
"underline": false
|
|
124863
|
+
},
|
|
124864
|
+
on: {
|
|
124865
|
+
"click": function ($event) {
|
|
124866
|
+
$event.stopPropagation();
|
|
124867
|
+
return _vm.recallMail(data.scope);
|
|
124868
|
+
}
|
|
124869
|
+
}
|
|
124870
|
+
}, [_vm._v("撤回")])];
|
|
124871
|
+
}
|
|
124503
124872
|
}])
|
|
124504
124873
|
}), _c('div', {
|
|
124505
124874
|
staticClass: "tool"
|
|
@@ -124526,7 +124895,7 @@ var replySendMailvue_type_template_id_9bfe54da_scoped_true_render = function ren
|
|
|
124526
124895
|
staticClass: "dss-iconfont icon-delete-2"
|
|
124527
124896
|
})])])])], 1)]);
|
|
124528
124897
|
};
|
|
124529
|
-
var
|
|
124898
|
+
var replySendMailvue_type_template_id_561c9fe0_scoped_true_staticRenderFns = [];
|
|
124530
124899
|
|
|
124531
124900
|
;// ./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/outbox-email/components/replySendMail.vue?vue&type=script&lang=js
|
|
124532
124901
|
|
|
@@ -124598,6 +124967,10 @@ var replySendMailvue_type_template_id_9bfe54da_scoped_true_staticRenderFns = [];
|
|
|
124598
124967
|
label: src_language.t("edm2.mailEn12"),
|
|
124599
124968
|
prop: "sendTime",
|
|
124600
124969
|
width: "200"
|
|
124970
|
+
}, {
|
|
124971
|
+
label: "操作",
|
|
124972
|
+
scope: "operation",
|
|
124973
|
+
width: "100"
|
|
124601
124974
|
}],
|
|
124602
124975
|
contentInput: "",
|
|
124603
124976
|
contentSelect: "1",
|
|
@@ -124649,6 +125022,32 @@ var replySendMailvue_type_template_id_9bfe54da_scoped_true_staticRenderFns = [];
|
|
|
124649
125022
|
localStorage.removeItem("searchFlag");
|
|
124650
125023
|
},
|
|
124651
125024
|
methods: {
|
|
125025
|
+
// 撤回邮件
|
|
125026
|
+
recallMail(row) {
|
|
125027
|
+
console.log(row, "row");
|
|
125028
|
+
this.$confirm("请确认是否撤回该邮件?", "提示", {
|
|
125029
|
+
confirmButtonText: "确定",
|
|
125030
|
+
cancelButtonText: "取消",
|
|
125031
|
+
type: "warning"
|
|
125032
|
+
}).then(() => {
|
|
125033
|
+
withdraw(row.id).then(res => {
|
|
125034
|
+
if (res.code == "0") {
|
|
125035
|
+
this.$message({
|
|
125036
|
+
type: "success",
|
|
125037
|
+
duration: 7000,
|
|
125038
|
+
message: "撤回成功,该邮件现已被存放至草稿箱中,本次发件消耗的权益数已自动为您回退至账户中。"
|
|
125039
|
+
});
|
|
125040
|
+
this.init();
|
|
125041
|
+
} else {
|
|
125042
|
+
this.$message({
|
|
125043
|
+
type: "error",
|
|
125044
|
+
duration: 7000,
|
|
125045
|
+
message: res.message
|
|
125046
|
+
});
|
|
125047
|
+
}
|
|
125048
|
+
});
|
|
125049
|
+
}).catch(() => {});
|
|
125050
|
+
},
|
|
124652
125051
|
// 去除html标签
|
|
124653
125052
|
filterHtmlTag(str) {
|
|
124654
125053
|
if (str) {
|
|
@@ -124860,10 +125259,10 @@ var replySendMailvue_type_template_id_9bfe54da_scoped_true_staticRenderFns = [];
|
|
|
124860
125259
|
});
|
|
124861
125260
|
;// ./src/package/outbox-email/components/replySendMail.vue?vue&type=script&lang=js
|
|
124862
125261
|
/* harmony default export */ var components_replySendMailvue_type_script_lang_js = (replySendMailvue_type_script_lang_js);
|
|
124863
|
-
;// ./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/outbox-email/components/replySendMail.vue?vue&type=style&index=0&id=
|
|
125262
|
+
;// ./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/outbox-email/components/replySendMail.vue?vue&type=style&index=0&id=561c9fe0&prod&lang=scss&scoped=true
|
|
124864
125263
|
// extracted by mini-css-extract-plugin
|
|
124865
125264
|
|
|
124866
|
-
;// ./src/package/outbox-email/components/replySendMail.vue?vue&type=style&index=0&id=
|
|
125265
|
+
;// ./src/package/outbox-email/components/replySendMail.vue?vue&type=style&index=0&id=561c9fe0&prod&lang=scss&scoped=true
|
|
124867
125266
|
|
|
124868
125267
|
;// ./src/package/outbox-email/components/replySendMail.vue
|
|
124869
125268
|
|
|
@@ -124876,11 +125275,11 @@ var replySendMailvue_type_template_id_9bfe54da_scoped_true_staticRenderFns = [];
|
|
|
124876
125275
|
|
|
124877
125276
|
var replySendMail_component = normalizeComponent(
|
|
124878
125277
|
components_replySendMailvue_type_script_lang_js,
|
|
124879
|
-
|
|
124880
|
-
|
|
125278
|
+
replySendMailvue_type_template_id_561c9fe0_scoped_true_render,
|
|
125279
|
+
replySendMailvue_type_template_id_561c9fe0_scoped_true_staticRenderFns,
|
|
124881
125280
|
false,
|
|
124882
125281
|
null,
|
|
124883
|
-
"
|
|
125282
|
+
"561c9fe0",
|
|
124884
125283
|
null
|
|
124885
125284
|
|
|
124886
125285
|
)
|
|
@@ -126348,8 +126747,8 @@ var draft_email_component = normalizeComponent(
|
|
|
126348
126747
|
)
|
|
126349
126748
|
|
|
126350
126749
|
/* harmony default export */ var draft_email = (draft_email_component.exports);
|
|
126351
|
-
;// ./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/outbox-email/detail.vue?vue&type=template&id=
|
|
126352
|
-
var
|
|
126750
|
+
;// ./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/outbox-email/detail.vue?vue&type=template&id=ad633b50&scoped=true
|
|
126751
|
+
var detailvue_type_template_id_ad633b50_scoped_true_render = function render() {
|
|
126353
126752
|
var _vm = this,
|
|
126354
126753
|
_c = _vm._self._c;
|
|
126355
126754
|
return _vm.emailArr.length !== 0 ? _c('div', {
|
|
@@ -126362,6 +126761,11 @@ var detailvue_type_template_id_cfc1a914_scoped_true_render = function render() {
|
|
|
126362
126761
|
}, [_c('i', {
|
|
126363
126762
|
staticClass: "el-icon-arrow-left"
|
|
126364
126763
|
})]), _c('div', {
|
|
126764
|
+
staticClass: "back recall_btn",
|
|
126765
|
+
on: {
|
|
126766
|
+
"click": _vm.recallMail
|
|
126767
|
+
}
|
|
126768
|
+
}, [_vm._m(0)]), _c('div', {
|
|
126365
126769
|
staticClass: "mail-items-box"
|
|
126366
126770
|
}, [_c('div', {
|
|
126367
126771
|
staticClass: "mail-item-row mail-template"
|
|
@@ -126588,7 +126992,19 @@ var detailvue_type_template_id_cfc1a914_scoped_true_render = function render() {
|
|
|
126588
126992
|
}
|
|
126589
126993
|
}) : _vm._e()], 1) : _vm._e();
|
|
126590
126994
|
};
|
|
126591
|
-
var
|
|
126995
|
+
var detailvue_type_template_id_ad633b50_scoped_true_staticRenderFns = [function () {
|
|
126996
|
+
var _vm = this,
|
|
126997
|
+
_c = _vm._self._c;
|
|
126998
|
+
return _c('div', {
|
|
126999
|
+
staticClass: "re_box"
|
|
127000
|
+
}, [_c('i', {
|
|
127001
|
+
staticClass: "dss-iconfont btn_con"
|
|
127002
|
+
}, [_vm._v("")]), _c('span', {
|
|
127003
|
+
staticClass: "btn_con"
|
|
127004
|
+
}, [_vm._v("撤回")])]);
|
|
127005
|
+
}];
|
|
127006
|
+
|
|
127007
|
+
;// ./src/package/outbox-email/detail.vue?vue&type=template&id=ad633b50&scoped=true
|
|
126592
127008
|
|
|
126593
127009
|
;// ./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/Table/components/bloggerColumn.vue?vue&type=template&id=2b58a2e1&scoped=true
|
|
126594
127010
|
var bloggerColumnvue_type_template_id_2b58a2e1_scoped_true_render = function render() {
|
|
@@ -126837,6 +127253,31 @@ var bloggerColumn_component = normalizeComponent(
|
|
|
126837
127253
|
localStorage.setItem("searchFlag", true);
|
|
126838
127254
|
},
|
|
126839
127255
|
methods: {
|
|
127256
|
+
// 撤回邮件
|
|
127257
|
+
recallMail() {
|
|
127258
|
+
this.$confirm("请确认是否撤回该邮件?", "提示", {
|
|
127259
|
+
confirmButtonText: "确定",
|
|
127260
|
+
cancelButtonText: "取消",
|
|
127261
|
+
type: "warning"
|
|
127262
|
+
}).then(() => {
|
|
127263
|
+
withdraw(this.$route.query.id).then(res => {
|
|
127264
|
+
if (res.code == "0") {
|
|
127265
|
+
this.$message({
|
|
127266
|
+
type: "success",
|
|
127267
|
+
duration: 7000,
|
|
127268
|
+
message: "撤回成功,该邮件现已被存放至草稿箱中,本次发件消耗的权益数已自动为您回退至账户中。"
|
|
127269
|
+
});
|
|
127270
|
+
this.backToOutbox();
|
|
127271
|
+
} else {
|
|
127272
|
+
this.$message({
|
|
127273
|
+
type: "error",
|
|
127274
|
+
duration: 7000,
|
|
127275
|
+
message: res.message
|
|
127276
|
+
});
|
|
127277
|
+
}
|
|
127278
|
+
});
|
|
127279
|
+
}).catch(() => {});
|
|
127280
|
+
},
|
|
126840
127281
|
// 红人档案侧抽
|
|
126841
127282
|
toBloggerDeatil(item) {
|
|
126842
127283
|
this.$emit("toBloggerDeatil", item);
|
|
@@ -126968,10 +127409,10 @@ var bloggerColumn_component = normalizeComponent(
|
|
|
126968
127409
|
});
|
|
126969
127410
|
;// ./src/package/outbox-email/detail.vue?vue&type=script&lang=js
|
|
126970
127411
|
/* harmony default export */ var package_outbox_email_detailvue_type_script_lang_js = (outbox_email_detailvue_type_script_lang_js);
|
|
126971
|
-
;// ./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/outbox-email/detail.vue?vue&type=style&index=0&id=
|
|
127412
|
+
;// ./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/outbox-email/detail.vue?vue&type=style&index=0&id=ad633b50&prod&lang=scss&scoped=true
|
|
126972
127413
|
// extracted by mini-css-extract-plugin
|
|
126973
127414
|
|
|
126974
|
-
;// ./src/package/outbox-email/detail.vue?vue&type=style&index=0&id=
|
|
127415
|
+
;// ./src/package/outbox-email/detail.vue?vue&type=style&index=0&id=ad633b50&prod&lang=scss&scoped=true
|
|
126975
127416
|
|
|
126976
127417
|
;// ./src/package/outbox-email/detail.vue
|
|
126977
127418
|
|
|
@@ -126984,11 +127425,11 @@ var bloggerColumn_component = normalizeComponent(
|
|
|
126984
127425
|
|
|
126985
127426
|
var outbox_email_detail_component = normalizeComponent(
|
|
126986
127427
|
package_outbox_email_detailvue_type_script_lang_js,
|
|
126987
|
-
|
|
126988
|
-
|
|
127428
|
+
detailvue_type_template_id_ad633b50_scoped_true_render,
|
|
127429
|
+
detailvue_type_template_id_ad633b50_scoped_true_staticRenderFns,
|
|
126989
127430
|
false,
|
|
126990
127431
|
null,
|
|
126991
|
-
"
|
|
127432
|
+
"ad633b50",
|
|
126992
127433
|
null
|
|
126993
127434
|
|
|
126994
127435
|
)
|
|
@@ -127294,7 +127735,7 @@ async function mailList2(data) {
|
|
|
127294
127735
|
}
|
|
127295
127736
|
|
|
127296
127737
|
// 查看邮件往来里的发件详情
|
|
127297
|
-
async function
|
|
127738
|
+
async function blogmail_sendDetail(params) {
|
|
127298
127739
|
let res = await get(`/edm/mail/sendDetail/${params.id}`);
|
|
127299
127740
|
return res;
|
|
127300
127741
|
}
|
|
@@ -128539,130 +128980,6 @@ var Editorvue_type_template_id_16051201_scoped_true_render = function render() {
|
|
|
128539
128980
|
};
|
|
128540
128981
|
var Editorvue_type_template_id_16051201_scoped_true_staticRenderFns = [];
|
|
128541
128982
|
|
|
128542
|
-
;// ./src/api/mailData/index.js
|
|
128543
|
-
|
|
128544
|
-
|
|
128545
|
-
// 文件上传
|
|
128546
|
-
async function mailData_uploadFile(data) {
|
|
128547
|
-
let res = await post("/edm/mail/upload_file", data);
|
|
128548
|
-
return res;
|
|
128549
|
-
}
|
|
128550
|
-
// 邮件发送数据
|
|
128551
|
-
async function getSendList(data) {
|
|
128552
|
-
let res = await request_post("/edm/outbox/sendData", data);
|
|
128553
|
-
if (res.code === '0') {
|
|
128554
|
-
return res;
|
|
128555
|
-
}
|
|
128556
|
-
return null;
|
|
128557
|
-
}
|
|
128558
|
-
|
|
128559
|
-
// 邮件接收数据 inbox/receiveData
|
|
128560
|
-
async function getReceiveList(data) {
|
|
128561
|
-
let res = await request_post("/edm/inbox/receiveData", data);
|
|
128562
|
-
if (res) {
|
|
128563
|
-
return res;
|
|
128564
|
-
}
|
|
128565
|
-
return null;
|
|
128566
|
-
}
|
|
128567
|
-
|
|
128568
|
-
// 查看详情-收件数据
|
|
128569
|
-
async function mailData_getInboxDetail(id) {
|
|
128570
|
-
let res = await get(`/edm/inbox/inboxDetail/${id}`);
|
|
128571
|
-
if (res) {
|
|
128572
|
-
return res;
|
|
128573
|
-
}
|
|
128574
|
-
return null;
|
|
128575
|
-
}
|
|
128576
|
-
|
|
128577
|
-
// 查看会话-收件数据
|
|
128578
|
-
async function getInboxDialogue(chatId) {
|
|
128579
|
-
let res = await request_get(`/edm/inbox/inboxDialogue/${chatId}`);
|
|
128580
|
-
if (res) {
|
|
128581
|
-
return res;
|
|
128582
|
-
}
|
|
128583
|
-
return null;
|
|
128584
|
-
}
|
|
128585
|
-
|
|
128586
|
-
// 查看收件箱详情 /inbox/inboxDetail/{id}
|
|
128587
|
-
async function getInboxDialogue1(id) {
|
|
128588
|
-
let res = await request_get(`/edm/inbox/inboxDetail/${id}`);
|
|
128589
|
-
if (res) {
|
|
128590
|
-
return res;
|
|
128591
|
-
}
|
|
128592
|
-
return null;
|
|
128593
|
-
}
|
|
128594
|
-
|
|
128595
|
-
//发送详情
|
|
128596
|
-
async function getSendDetail(id) {
|
|
128597
|
-
let res = await get(`/edm/outbox/outBoxDetail/${id}`);
|
|
128598
|
-
if (res.code === '0') {
|
|
128599
|
-
return res;
|
|
128600
|
-
}
|
|
128601
|
-
return null;
|
|
128602
|
-
}
|
|
128603
|
-
|
|
128604
|
-
// 发信详情 sendDetail/{id}
|
|
128605
|
-
async function getDetailReceive() {
|
|
128606
|
-
let res = await get(`/edm/inbox/receiveData`);
|
|
128607
|
-
if (res.code === '0') {
|
|
128608
|
-
return res;
|
|
128609
|
-
}
|
|
128610
|
-
return null;
|
|
128611
|
-
}
|
|
128612
|
-
|
|
128613
|
-
// 发件数据详情 --和邮件往来一样
|
|
128614
|
-
async function mailData_sendDetail(id) {
|
|
128615
|
-
let res = await request_get(`/edm/mail/sendDetail/${id}`);
|
|
128616
|
-
if (res.code === '0') {
|
|
128617
|
-
return res;
|
|
128618
|
-
}
|
|
128619
|
-
return null;
|
|
128620
|
-
}
|
|
128621
|
-
|
|
128622
|
-
// 收信详情
|
|
128623
|
-
async function getDetailSend(id) {
|
|
128624
|
-
let res = await get(`/edm/outbox/sendData`);
|
|
128625
|
-
if (res.code === '0') {
|
|
128626
|
-
return res;
|
|
128627
|
-
}
|
|
128628
|
-
return null;
|
|
128629
|
-
}
|
|
128630
|
-
|
|
128631
|
-
// 查看AI回复 - 发件
|
|
128632
|
-
async function AiReplyDetail(id) {
|
|
128633
|
-
let res = await request_get(`/edm/outbox/selAiReply/${id}`);
|
|
128634
|
-
if (res) {
|
|
128635
|
-
return res;
|
|
128636
|
-
}
|
|
128637
|
-
return null;
|
|
128638
|
-
}
|
|
128639
|
-
|
|
128640
|
-
// 查看AI回复 收件
|
|
128641
|
-
async function aiReply(params) {
|
|
128642
|
-
let res = await request_post(`/edm/inbox/aiReply`, params);
|
|
128643
|
-
if (res) {
|
|
128644
|
-
return res;
|
|
128645
|
-
}
|
|
128646
|
-
return null;
|
|
128647
|
-
}
|
|
128648
|
-
|
|
128649
|
-
// 导出收信数据 /inbox/exportReceiveData
|
|
128650
|
-
async function exportReceiveData(params) {
|
|
128651
|
-
let res = await request_post(`/edm/inbox/exportReceiveData`, params, 'blob');
|
|
128652
|
-
if (res) {
|
|
128653
|
-
return res;
|
|
128654
|
-
}
|
|
128655
|
-
return null;
|
|
128656
|
-
}
|
|
128657
|
-
|
|
128658
|
-
// 导出发信数据 /outbox/exportSendData
|
|
128659
|
-
async function exportSendData(params) {
|
|
128660
|
-
let res = await request_post(`/edm/outbox/exportSendData`, params, 'blob');
|
|
128661
|
-
if (res) {
|
|
128662
|
-
return res;
|
|
128663
|
-
}
|
|
128664
|
-
return null;
|
|
128665
|
-
}
|
|
128666
128983
|
;// ./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/MailPage/Editor.vue?vue&type=script&lang=js
|
|
128667
128984
|
//import { uploadFile } from '@/api'
|
|
128668
128985
|
|
|
@@ -129803,7 +130120,7 @@ var AttachmentList_component = normalizeComponent(
|
|
|
129803
130120
|
methods: {
|
|
129804
130121
|
// 获取页面数据
|
|
129805
130122
|
initPageData() {
|
|
129806
|
-
|
|
130123
|
+
sendDetail(this.id).then(res => {
|
|
129807
130124
|
if (res) {
|
|
129808
130125
|
this.mailData = res.data;
|
|
129809
130126
|
}
|