wotokol-edm 1.1.47 → 1.1.49

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.
@@ -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=625a7ee0&scoped=true
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=f47c181c&scoped=true
85278
85278
  var render = function render() {
85279
85279
  var _vm = this,
85280
85280
  _c = _vm._self._c;
@@ -91095,1176 +91095,201 @@ service.interceptors.response.use(response => {
91095
91095
  function isEmpty(obj) {
91096
91096
  return typeof obj === 'undefined' || obj === null || obj === '';
91097
91097
  }
91098
- ;// ./src/api/test.js
91099
- /**
91100
- * 测试api
91101
- */
91102
-
91103
-
91104
-
91105
- // 获取hub用户信息
91106
- async function loginHUB(params) {
91107
- let res = await request_sin_post("https://k8s-api.wotohub.com/user/userSystem/loginWithPassword", params);
91108
- return res.data;
91109
- }
91110
-
91111
- // 密码登录
91112
- function loginDSS1(data) {
91113
- return request_login({
91114
- url: "https://dss-apis.kuku.info/user/account/password",
91115
- method: "POST",
91116
- data
91117
- });
91118
- }
91119
-
91120
- // 获取dss用户信息 https://dss-apis.kuku.info/user/account/password
91121
- async function loginDSS(params) {
91122
- let res = await post("https://dss-apis.kuku.info/user/account/password", params);
91123
- return res.data;
91124
- }
91125
- async function test1(params) {
91126
- let res = await post("/edm/test1", params);
91127
- return res.data;
91098
+ ;// ./node_modules/jsencrypt/lib/lib/jsbn/util.js
91099
+ var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz";
91100
+ function int2char(n) {
91101
+ return BI_RM.charAt(n);
91128
91102
  }
91129
- async function getList(params) {
91130
- let res = await request_sin_post("https://api.kuku.info/koc/task/search", params);
91131
- return res.data;
91103
+ //#region BIT_OPERATIONS
91104
+ // (public) this & a
91105
+ function op_and(x, y) {
91106
+ return x & y;
91132
91107
  }
91133
- async function getCrosTest() {
91134
- let res = await request_sin_post("http://192.168.4.10:9528/writeEmail", {});
91135
- return res.data;
91108
+ // (public) this | a
91109
+ function op_or(x, y) {
91110
+ return x | y;
91136
91111
  }
91137
- async function test_test(params) {
91138
- let searchForm = {
91139
- // 检索字段
91140
- sourceApp: "hub",
91141
- //产品来源1-hub;2-dss
91142
- bloggerName: "",
91143
- //红人名称
91144
- subject: "",
91145
- //标题正文
91146
- taskName: "",
91147
- //任务名称
91148
- type: "",
91149
- //邮件类型 1-正常;2-定时
91150
- currentPage: 1,
91151
- pageSize: 10
91152
- };
91153
- let res = await request_sin_post("http://192.168.4.10:8080/edm/mail/selOutbox", searchForm);
91154
- return res.data;
91112
+ // (public) this ^ a
91113
+ function op_xor(x, y) {
91114
+ return x ^ y;
91155
91115
  }
91156
- ;// ./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/edm-button/index.vue?vue&type=script&lang=js
91157
-
91158
-
91159
-
91160
- /* harmony default export */ var edm_buttonvue_type_script_lang_js = ({
91161
- name: "edm-button",
91162
- //组件名
91163
- created() {
91164
- // this.test();
91165
- },
91166
- methods: {
91167
- test() {
91168
- let str = '<html>\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=gb2312">\n <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>\n </head>\n <body dir="ltr">\n <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">\n This is a great project. I like it very much. Can you tell me the specific way of cooperation?\n </div>\n <div id="appendonsend"></div>\n <hr style="display:inline-block;width:98%" tabindex="-1">\n <div id="divRplyFwdMsg" dir="ltr">\n <font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com &lt;e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com&gt; 代表 marywrogers@viralpromotors.com &lt;marywrogers@viralpromotors.com&gt;<br><b>发送时间:</b> 2024年6月27日 9:23<br><b>收件人:</b> lectmaha &lt;lectmaha@hotmail.com&gt;<br><b>主题:</b> Business inquiry-Hisense wants collaboration-allhostaria</font>\n <div>\n &nbsp;\n </div>\n </div>\n <div>\n <p style="text-align:left"><span style="font-size:14px">Hi allhostaria,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Hope this email finds you well.</span></p>\n <p style="text-align:left"><span style="font-size:14px">This is Anna from Wotokol, a famous influencer marketing company that connects international influencers and world-famous brands from China.</span></p>\n <p style="text-align:left"><span style="font-size:14px">You do really great content on your channel and here\'s a campaign that I\'d like to invite you to join.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Here is the info about this activity:</span></p>\n <p style="text-align:left"><span style="font-size:14px">Brand: Hisense &nbsp;</span><a href="https://sctrack.sendcloud.net/track/click2/eNolj8FuwyAQRP8FpTeC2TWsza39jipCeE1qK8RUAZ-q_ntwoj2sZuZpR_uNoyU7SCGkgAGcsWB6bONB9w7JO2cJ_ThoqwqfQXvnjfZA5rxuU963WZ9S5HoPS_hccttrUpzvQmopllp_y0f_1XU_KU8hqWUtcSvxALoXcQ2pxFZtBjWOClGBoSbrYz_cI2AmRDMb5wA0BeoBeQIOzMhXMm-qcH0Evql2feaU91ltsQr59y_fXzTo8gRda0GI.html" target="_blank"><span style="color:rgb(120,6,80); font-size:14px">https://global.hisense.com/</span></a></p>\n <p style="text-align:left"><span style="font-size:14px">Product models for different countries:</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>US:</u></span><span style="font-size:14px"> Hisense 100" Class U76 4K Google TV 100U76N Hisense (hisense-usa.com), Hisense 100" L9 Series TriChroma Laser TV (100L9H-DLT100C) (hisense-usa.com)</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>UK:</u></span><span style="font-size:14px"> Mini-LED Smart TV - 100U7KQTUK - Hisense, 4K Smart Laser TV - 120L9HTUKA - Hisense</span></p>\n <p style="text-align:left"><span style="font-size:14px">Deliverables: one 5-8 mins dedicated YTB video + video commercial usage rights for 3 months</span></p>\n <p style="text-align:left"><span style="font-size:14px">Post time: July 7-July 14, 2024</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">One of the products will be given to you, please let me know your rate for this collab if you\'re interested.</span></p>\n <p style="text-align:left"><span style="font-size:14px">Please feel free to contact me if you have any questions, hope to hear from you soon.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Best Regards,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Anna Chen</span></p>\n <div style="display:flex; overflow-x:auto"></div>\n <div>\n <br><img width="1px" height="1px" src="https://pixel.xin/collect.gif?trace_id=pixel_667cbf27e4b0b64ffa8b634c">\n </div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tbody>\n <tr>\n <td align="center" style="overflow:hidden; font-size:0; padding:0; margin:0; line-height:0"><img alt="" style="width:0; height:0" src="https://sctrack.sendcloud.net/track/open2/eNolTs0KwyAYexfZ0YpaP39ue48xxH46WuYUqj2NvfssJYeQEJI8pAUNhhJCiTDCKRBqlgNe8NlJ7Z0DLb01HFjDSXDvvOJeaDVtZalHifyWE_ZPWMN9rYO3zLB-COUD5BVyS6NaGWYtk5IJpYfs-3G65-aCBpzEqCAugo9RjDw6GCckaAxXqmHfA75ZSyVirkdkJXVCvz96vRyh5x_lOzaT.gif"></td>\n </tr>\n </tbody>\n </table>\n <center>\n <table width="100%" align="center" style="max-width:900px; margin:0 auto; width:100%">\n <tbody>\n <tr align="center">\n </tr>\n <tr align="center">\n <td width="560" style="border-top:1px #e5e5e5 solid; padding-top:15px; padding-bottom:15px">\n <table border="0" cellspacing="0" cellpadding="0" align="center">\n <tbody>\n <tr>\n <td style="background-color:#ddd; border:1px #ddd solid; border-radius:4px; padding:3px 15px; text-align:center"><a href="https://sctrack.sendcloud.net/track/unsubscribe2.do?p=eNptTssKAjEM_JfisVua9H3zP0RKt63sYt3CPk7ivxv1KjOQZMhMckFvrHGcMc7AQdAGtEJCBKkC2hiCsRi9k0ZseQAZQ9QygtXDvIz9WIo8tZr3R5rSeepU5yZyfzAuCeyW2lYpWjvhvUAUoC2N-3qQOsD37H87UwZzwVB1Skp7byEZGEsoNVGj8JNK3PK-pnwXW11Kbv0oYqk7488X__1PS9c3Zbc_0g%3D%3D" target="_blank" rel="noopener" style="color:#a6a6a6; background:#ddd; font-size:12px; text-decoration:none">点击这里取消订阅<br>\n click to unsubscribe</a></td>\n </tr>\n </tbody>\n </table></td>\n </tr>\n </tbody>\n </table>\n </center>\n </div>\n </body>\n</html>';
91169
- str = str.replace("https://pixel.xin/emailControl.php?mid=", "");
91170
- str = str.replace("https://pixel.xin/hub.gif?mid=", "");
91171
- str = str.replace(new RegExp("unsubscribe", "g"), "");
91172
- str = str.replace(/<head>[\s\S]*?<\/head>/i, "");
91173
- str = str.replace(/<[^>]+>/g, "");
91174
- str = str.replace(new RegExp("&nbsp;", "g"), " ");
91175
- console.log(str);
91176
- },
91177
- getData() {
91178
- login();
91179
- },
91180
- change() {
91181
- test_test();
91182
- let theme = {
91183
- id: "theme-hub"
91184
- };
91185
- changeTheme(theme);
91186
- },
91187
- handleTest1() {
91188
- let params = {
91189
- isTrue: false,
91190
- strings: ["hello", "testAAAA", "测试", "123测试AAA"],
91191
- integers: [123, 888, 234985029],
91192
- dtos: [{
91193
- id: "01",
91194
- type: 1
91195
- }, {
91196
- id: "02",
91197
- type: 2
91198
- }, {
91199
- id: "03",
91200
- type: 3
91201
- }]
91202
- };
91203
- },
91204
- change1() {
91205
- let theme = {
91206
- id: "theme-dss"
91207
- };
91208
- changeTheme(theme);
91209
- },
91210
- handleLoginHub() {
91211
- localStorage.setItem("sourceApp", "hub");
91212
- loginHUB({
91213
- // 模拟 hub 登陆 测试账号
91214
- // mobileOrEmail: "13262005357",
91215
- // password: "123123123"
91216
- // mobileOrEmail: "18846078060",
91217
- // password: "asd123456"
91218
- // mobileOrEmail: "18767117493",
91219
- // password: "tm123456789"
91220
- // mobileOrEmail: "15658187195",
91221
- // password: "wotu987412365"
91222
- // mobileOrEmail: "17336189682",
91223
- // password: "hcj123456"
91224
- // mobileOrEmail: "15658187181",
91225
- // password: "tkk123123123"
91226
- }).then(res => {
91227
- if (res) {
91228
- alert("登陆成功");
91229
- if (res.token) {
91230
- localStorage.setItem("token", res.token);
91231
- setToken(res.token);
91232
- }
91233
- }
91234
- });
91235
- },
91236
- handleLoginDSS() {
91237
- localStorage.setItem("sourceApp", "dss");
91238
- loginDSS1({
91239
- // 模拟 DSS 登陆 测试账号
91240
- login_account: "tankangkang0147",
91241
- password: "123123123"
91242
- }).then(res => {
91243
- if (res.code === 0) {
91244
- localStorage.setItem("Authorization", "Bearer " + res.data.token);
91245
- setToken(res.token);
91246
- }
91247
- });
91248
- },
91249
- handleGetlist() {
91250
- getList({
91251
- page: 1,
91252
- aa: "1"
91253
- }).then(res => {});
91254
- },
91255
- getCros() {
91256
- alert(1);
91257
- getCrosTest();
91258
- }
91259
- }
91260
- });
91261
- ;// ./src/package/edm-button/index.vue?vue&type=script&lang=js
91262
- /* harmony default export */ var package_edm_buttonvue_type_script_lang_js = (edm_buttonvue_type_script_lang_js);
91263
- ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
91264
- /* globals __VUE_SSR_CONTEXT__ */
91265
-
91266
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
91267
- // This module is a runtime utility for cleaner component module output and will
91268
- // be included in the final webpack user bundle.
91269
-
91270
- function normalizeComponent(
91271
- scriptExports,
91272
- render,
91273
- staticRenderFns,
91274
- functionalTemplate,
91275
- injectStyles,
91276
- scopeId,
91277
- moduleIdentifier /* server only */,
91278
- shadowMode /* vue-cli only */
91279
- ) {
91280
- // Vue.extend constructor export interop
91281
- var options =
91282
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
91283
-
91284
- // render functions
91285
- if (render) {
91286
- options.render = render
91287
- options.staticRenderFns = staticRenderFns
91288
- options._compiled = true
91289
- }
91290
-
91291
- // functional template
91292
- if (functionalTemplate) {
91293
- options.functional = true
91294
- }
91295
-
91296
- // scopedId
91297
- if (scopeId) {
91298
- options._scopeId = 'data-v-' + scopeId
91299
- }
91300
-
91301
- var hook
91302
- if (moduleIdentifier) {
91303
- // server build
91304
- hook = function (context) {
91305
- // 2.3 injection
91306
- context =
91307
- context || // cached call
91308
- (this.$vnode && this.$vnode.ssrContext) || // stateful
91309
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
91310
- // 2.2 with runInNewContext: true
91311
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
91312
- context = __VUE_SSR_CONTEXT__
91313
- }
91314
- // inject component styles
91315
- if (injectStyles) {
91316
- injectStyles.call(this, context)
91317
- }
91318
- // register component module identifier for async chunk inferrence
91319
- if (context && context._registeredComponents) {
91320
- context._registeredComponents.add(moduleIdentifier)
91321
- }
91322
- }
91323
- // used by ssr in case component is cached and beforeCreate
91324
- // never gets called
91325
- options._ssrRegister = hook
91326
- } else if (injectStyles) {
91327
- hook = shadowMode
91328
- ? function () {
91329
- injectStyles.call(
91330
- this,
91331
- (options.functional ? this.parent : this).$root.$options.shadowRoot
91332
- )
91333
- }
91334
- : injectStyles
91335
- }
91336
-
91337
- if (hook) {
91338
- if (options.functional) {
91339
- // for template-only hot-reload because in that case the render fn doesn't
91340
- // go through the normalizer
91341
- options._injectStyles = hook
91342
- // register for functional component in vue file
91343
- var originalRender = options.render
91344
- options.render = function renderWithStyleInjection(h, context) {
91345
- hook.call(context)
91346
- return originalRender(h, context)
91347
- }
91348
- } else {
91349
- // inject component registration as beforeCreate hook
91350
- var existing = options.beforeCreate
91351
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
91352
- }
91353
- }
91354
-
91355
- return {
91356
- exports: scriptExports,
91357
- options: options
91358
- }
91116
+ // (public) this & ~a
91117
+ function op_andnot(x, y) {
91118
+ return x & ~y;
91359
91119
  }
91360
-
91361
- ;// ./src/package/edm-button/index.vue
91362
-
91363
-
91364
-
91365
-
91366
-
91367
- /* normalize component */
91368
- ;
91369
- var component = normalizeComponent(
91370
- package_edm_buttonvue_type_script_lang_js,
91371
- render,
91372
- staticRenderFns,
91373
- false,
91374
- null,
91375
- "625a7ee0",
91376
- null
91377
-
91378
- )
91379
-
91380
- /* harmony default export */ var edm_button = (component.exports);
91381
- ;// ./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-inbox/index.vue?vue&type=template&id=6c6763e0&scoped=true
91382
- var edm_inboxvue_type_template_id_6c6763e0_scoped_true_render = function render() {
91383
- var _vm = this,
91384
- _c = _vm._self._c;
91385
- return _c('div', {
91386
- staticClass: "inbox-container"
91387
- }, [_c('div', {
91388
- staticClass: "search-box"
91389
- }, [_c('el-row', {
91390
- attrs: {
91391
- "gutter": 16
91392
- }
91393
- }, [_c('el-col', {
91394
- attrs: {
91395
- "span": 6
91120
+ // return index of lowest 1-bit in x, x < 2^31
91121
+ function lbit(x) {
91122
+ if (x == 0) {
91123
+ return -1;
91396
91124
  }
91397
- }, [_c('div', {
91398
- staticClass: "blogger-search-item"
91399
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.bloggerName")))]), _c('el-input', {
91400
- attrs: {
91401
- "placeholder": _vm.$t('inboxMail.search.default'),
91402
- "clearable": ""
91403
- },
91404
- model: {
91405
- value: _vm.searchForm.bloggerName,
91406
- callback: function ($$v) {
91407
- _vm.$set(_vm.searchForm, "bloggerName", $$v);
91408
- },
91409
- expression: "searchForm.bloggerName"
91125
+ var r = 0;
91126
+ if ((x & 0xffff) == 0) {
91127
+ x >>= 16;
91128
+ r += 16;
91410
91129
  }
91411
- })], 1)]), _c('el-col', {
91412
- attrs: {
91413
- "span": 6
91130
+ if ((x & 0xff) == 0) {
91131
+ x >>= 8;
91132
+ r += 8;
91414
91133
  }
91415
- }, [_c('div', {
91416
- staticClass: "blogger-search-item"
91417
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.title")))]), _c('el-input', {
91418
- attrs: {
91419
- "placeholder": _vm.$t('inboxMail.search.default'),
91420
- "clearable": ""
91421
- },
91422
- model: {
91423
- value: _vm.searchForm.subject,
91424
- callback: function ($$v) {
91425
- _vm.$set(_vm.searchForm, "subject", $$v);
91426
- },
91427
- expression: "searchForm.subject"
91134
+ if ((x & 0xf) == 0) {
91135
+ x >>= 4;
91136
+ r += 4;
91428
91137
  }
91429
- })], 1)]), _c('el-col', {
91430
- attrs: {
91431
- "span": 6
91138
+ if ((x & 3) == 0) {
91139
+ x >>= 2;
91140
+ r += 2;
91432
91141
  }
91433
- }, [_c('div', {
91434
- staticClass: "blogger-search-item"
91435
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.target")))]), _c('el-input', {
91436
- attrs: {
91437
- "placeholder": _vm.$t('inboxMail.search.default'),
91438
- "clearable": ""
91439
- },
91440
- model: {
91441
- value: _vm.searchForm.popularizePlanName,
91442
- callback: function ($$v) {
91443
- _vm.$set(_vm.searchForm, "popularizePlanName", $$v);
91444
- },
91445
- expression: "searchForm.popularizePlanName"
91142
+ if ((x & 1) == 0) {
91143
+ ++r;
91446
91144
  }
91447
- })], 1)]), _c('el-col', {
91448
- attrs: {
91449
- "span": 6
91145
+ return r;
91146
+ }
91147
+ // return number of 1 bits in x
91148
+ function cbit(x) {
91149
+ var r = 0;
91150
+ while (x != 0) {
91151
+ x &= x - 1;
91152
+ ++r;
91450
91153
  }
91451
- }, [_c('div', {
91452
- staticClass: "blogger-search-item"
91453
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.tagName")))]), _c('el-select', {
91454
- staticClass: "normal-select",
91455
- attrs: {
91456
- "clearable": "",
91457
- "multiple": "",
91458
- "collapse-tags": "",
91459
- "filterable": "",
91460
- "placeholder": _vm.$t('inboxMail.search.defaultSelect')
91461
- },
91462
- on: {
91463
- "change": _vm.handleTagChange
91464
- },
91465
- model: {
91466
- value: _vm.searchForm.selectTag,
91467
- callback: function ($$v) {
91468
- _vm.$set(_vm.searchForm, "selectTag", $$v);
91469
- },
91470
- expression: "searchForm.selectTag"
91154
+ return r;
91155
+ }
91156
+ //#endregion BIT_OPERATIONS
91157
+
91158
+ ;// ./node_modules/jsencrypt/lib/lib/jsbn/base64.js
91159
+
91160
+ var b64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
91161
+ var b64pad = "=";
91162
+ function hex2b64(h) {
91163
+ var i;
91164
+ var c;
91165
+ var ret = "";
91166
+ for (i = 0; i + 3 <= h.length; i += 3) {
91167
+ c = parseInt(h.substring(i, i + 3), 16);
91168
+ ret += b64map.charAt(c >> 6) + b64map.charAt(c & 63);
91471
91169
  }
91472
- }, _vm._l(_vm.tags, function (item) {
91473
- return _c('el-option', {
91474
- key: item.value,
91475
- attrs: {
91476
- "label": item.label,
91477
- "value": item.value
91478
- }
91479
- });
91480
- }), 1)], 1)])], 1), _c('el-row', {
91481
- staticClass: "second-row",
91482
- attrs: {
91483
- "gutter": 16
91170
+ if (i + 1 == h.length) {
91171
+ c = parseInt(h.substring(i, i + 1), 16);
91172
+ ret += b64map.charAt(c << 2);
91484
91173
  }
91485
- }, [_c('el-col', {
91486
- attrs: {
91487
- "span": 6
91174
+ else if (i + 2 == h.length) {
91175
+ c = parseInt(h.substring(i, i + 2), 16);
91176
+ ret += b64map.charAt(c >> 2) + b64map.charAt((c & 3) << 4);
91488
91177
  }
91489
- }, [_c('div', {
91490
- staticClass: "blogger-search-item"
91491
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.isStar")))]), _c('el-select', {
91492
- staticClass: "normal-select",
91493
- attrs: {
91494
- "clearable": "",
91495
- "placeholder": _vm.$t('inboxMail.search.defaultSelect')
91496
- },
91497
- model: {
91498
- value: _vm.searchForm.isStar,
91499
- callback: function ($$v) {
91500
- _vm.$set(_vm.searchForm, "isStar", $$v);
91501
- },
91502
- expression: "searchForm.isStar"
91178
+ while ((ret.length & 3) > 0) {
91179
+ ret += b64pad;
91503
91180
  }
91504
- }, [_c('el-option', {
91505
- attrs: {
91506
- "value": 0,
91507
- "label": _vm.$t('inboxMail.search.all')
91181
+ return ret;
91182
+ }
91183
+ // convert a base64 string to hex
91184
+ function b64tohex(s) {
91185
+ var ret = "";
91186
+ var i;
91187
+ var k = 0; // b64 state, 0-3
91188
+ var slop = 0;
91189
+ for (i = 0; i < s.length; ++i) {
91190
+ if (s.charAt(i) == b64pad) {
91191
+ break;
91192
+ }
91193
+ var v = b64map.indexOf(s.charAt(i));
91194
+ if (v < 0) {
91195
+ continue;
91196
+ }
91197
+ if (k == 0) {
91198
+ ret += int2char(v >> 2);
91199
+ slop = v & 3;
91200
+ k = 1;
91201
+ }
91202
+ else if (k == 1) {
91203
+ ret += int2char((slop << 2) | (v >> 4));
91204
+ slop = v & 0xf;
91205
+ k = 2;
91206
+ }
91207
+ else if (k == 2) {
91208
+ ret += int2char(slop);
91209
+ ret += int2char(v >> 2);
91210
+ slop = v & 3;
91211
+ k = 3;
91212
+ }
91213
+ else {
91214
+ ret += int2char((slop << 2) | (v >> 4));
91215
+ ret += int2char(v & 0xf);
91216
+ k = 0;
91217
+ }
91508
91218
  }
91509
- }), _c('el-option', {
91510
- attrs: {
91511
- "value": 1,
91512
- "label": _vm.$t('inboxMail.search.starred')
91219
+ if (k == 1) {
91220
+ ret += int2char(slop << 2);
91513
91221
  }
91514
- })], 1)], 1)]), _c('el-col', {
91515
- attrs: {
91516
- "span": 6
91222
+ return ret;
91223
+ }
91224
+ // convert a base64 string to a byte/number array
91225
+ function b64toBA(s) {
91226
+ // piggyback on b64tohex for now, optimize later
91227
+ var h = b64tohex(s);
91228
+ var i;
91229
+ var a = [];
91230
+ for (i = 0; 2 * i < h.length; ++i) {
91231
+ a[i] = parseInt(h.substring(2 * i, 2 * i + 2), 16);
91517
91232
  }
91518
- }, [_c('div', {
91519
- staticClass: "blogger-search-item"
91520
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.isRead")))]), _c('el-select', {
91521
- staticClass: "normal-select",
91522
- attrs: {
91523
- "clearable": "",
91524
- "placeholder": _vm.$t('inboxMail.search.defaultSelect')
91525
- },
91526
- model: {
91527
- value: _vm.searchForm.isRead,
91528
- callback: function ($$v) {
91529
- _vm.$set(_vm.searchForm, "isRead", $$v);
91530
- },
91531
- expression: "searchForm.isRead"
91532
- }
91533
- }, [_c('el-option', {
91534
- attrs: {
91535
- "value": 1,
91536
- "label": _vm.$t('inboxMail.search.unRead')
91537
- }
91538
- }), _c('el-option', {
91539
- attrs: {
91540
- "value": 2,
91541
- "label": _vm.$t('inboxMail.search.read')
91542
- }
91543
- })], 1)], 1)]), _c('el-col', {
91544
- attrs: {
91545
- "span": 6
91546
- }
91547
- }, [_c('div', {
91548
- staticClass: "blogger-search-item"
91549
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.isReply")))]), _c('el-select', {
91550
- staticClass: "normal-select",
91551
- attrs: {
91552
- "clearable": "",
91553
- "placeholder": _vm.$t('inboxMail.search.defaultSelect')
91554
- },
91555
- model: {
91556
- value: _vm.searchForm.isReply,
91557
- callback: function ($$v) {
91558
- _vm.$set(_vm.searchForm, "isReply", $$v);
91559
- },
91560
- expression: "searchForm.isReply"
91561
- }
91562
- }, [_c('el-option', {
91563
- attrs: {
91564
- "value": 1,
91565
- "label": _vm.$t('inboxMail.search.replyTrue')
91566
- }
91567
- }), _c('el-option', {
91568
- attrs: {
91569
- "value": 0,
91570
- "label": _vm.$t('inboxMail.search.replyFalse')
91571
- }
91572
- })], 1)], 1)]), _c('el-col', {
91573
- attrs: {
91574
- "span": 6
91575
- }
91576
- }, [_c('div', {
91577
- staticClass: "blogger-search-item"
91578
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.replayTime")))]), _c('el-select', {
91579
- staticClass: "normal-select",
91580
- attrs: {
91581
- "clearable": "",
91582
- "placeholder": _vm.$t('inboxMail.search.defaultSelect')
91583
- },
91584
- model: {
91585
- value: _vm.searchForm.timeRange,
91586
- callback: function ($$v) {
91587
- _vm.$set(_vm.searchForm, "timeRange", $$v);
91588
- },
91589
- expression: "searchForm.timeRange"
91590
- }
91591
- }, [_c('el-option', {
91592
- attrs: {
91593
- "value": "1",
91594
- "label": _vm.$t('inboxMail.search.time1')
91595
- }
91596
- }), _c('el-option', {
91597
- attrs: {
91598
- "value": "2",
91599
- "label": _vm.$t('inboxMail.search.time2')
91600
- }
91601
- }), _c('el-option', {
91602
- attrs: {
91603
- "value": "3",
91604
- "label": _vm.$t('inboxMail.search.time3')
91605
- }
91606
- })], 1)], 1)])], 1), _c('el-row', {
91607
- staticClass: "second-row last-row",
91608
- attrs: {
91609
- "gutter": 16
91610
- }
91611
- }, [_c('el-col', {
91612
- attrs: {
91613
- "span": 6
91614
- }
91615
- }, [_c('div', {
91616
- staticClass: "blogger-search-item"
91617
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.sendEmail")))]), _c('el-select', {
91618
- staticClass: "normal-select",
91619
- attrs: {
91620
- "clearable": "",
91621
- "placeholder": _vm.$t('inboxMail.search.defaultSelect')
91622
- },
91623
- model: {
91624
- value: _vm.searchForm.sentMail,
91625
- callback: function ($$v) {
91626
- _vm.$set(_vm.searchForm, "sentMail", $$v);
91627
- },
91628
- expression: "searchForm.sentMail"
91629
- }
91630
- }, [_c('el-option', {
91631
- attrs: {
91632
- "value": 0,
91633
- "label": _vm.$t('inboxMail.search.sysEmail')
91634
- }
91635
- }), _c('el-option', {
91636
- attrs: {
91637
- "value": 1,
91638
- "label": _vm.$t('inboxMail.search.businessEmail')
91639
- }
91640
- })], 1)], 1)]), _c('el-col', {
91641
- attrs: {
91642
- "span": 6
91643
- }
91644
- }, [_c('div', {
91645
- staticClass: "blogger-btn"
91646
- }, [_c('el-button', {
91647
- staticStyle: {
91648
- "width": "80px"
91649
- },
91650
- attrs: {
91651
- "size": "small",
91652
- "type": "primary"
91653
- },
91654
- on: {
91655
- "click": function ($event) {
91656
- _vm.searchForm.currentPage = 1;
91657
- _vm.init();
91658
- }
91659
- }
91660
- }, [_vm._v(_vm._s(_vm.$t("inboxMail.searchButton.search")))]), _c('el-button', {
91661
- staticStyle: {
91662
- "width": "80px"
91663
- },
91664
- attrs: {
91665
- "size": "small"
91666
- },
91667
- on: {
91668
- "click": _vm.reset
91669
- }
91670
- }, [_vm._v(_vm._s(_vm.$t("inboxMail.search.reset")))])], 1)])], 1)], 1), _c('div', {
91671
- staticClass: "mail-wrap legacy relative"
91672
- }, [_c('div', {
91673
- staticClass: "tool"
91674
- }, [_c('div', {
91675
- staticClass: "flex"
91676
- }, [_c('div', {
91677
- staticClass: "tool-item mr8",
91678
- on: {
91679
- "click": function ($event) {
91680
- return _vm.init();
91681
- }
91682
- }
91683
- }, [_c('el-tooltip', {
91684
- staticClass: "item1",
91685
- attrs: {
91686
- "popper-class": "wt-tooltip-mail",
91687
- "content": _vm.$t('edm5.v1'),
91688
- "placement": "top"
91689
- }
91690
- }, [_c('i', {
91691
- staticClass: "dss-iconfont icon-refresh-1"
91692
- })])], 1), _c('div', {
91693
- staticClass: "tool-item mr8",
91694
- on: {
91695
- "click": function ($event) {
91696
- return _vm.del();
91697
- }
91698
- }
91699
- }, [_c('el-tooltip', {
91700
- attrs: {
91701
- "popper-class": "wt-tooltip-mail",
91702
- "content": _vm.$t('edm5.v2'),
91703
- "placement": "top"
91704
- }
91705
- }, [_c('i', {
91706
- staticClass: "dss-iconfont icon-delete-2"
91707
- })])], 1), _c('div', {
91708
- staticClass: "tool-item mr8",
91709
- on: {
91710
- "click": function ($event) {
91711
- return _vm.setUnRead();
91712
- }
91713
- }
91714
- }, [_c('el-tooltip', {
91715
- attrs: {
91716
- "popper-class": "wt-tooltip-mail",
91717
- "content": _vm.$i18n.t('inboxMail.search.setUnRead'),
91718
- "placement": "top"
91719
- }
91720
- }, [_c('i', {
91721
- staticClass: "dss-iconfont relative icon-unread mail-unread mail-status"
91722
- })])], 1), _c('div', {
91723
- staticClass: "tool-item",
91724
- on: {
91725
- "click": _vm.multiReply
91726
- }
91727
- }, [_c('el-tooltip', {
91728
- attrs: {
91729
- "popper-class": "wt-tooltip-mail",
91730
- "content": _vm.$i18n.t('inboxMail.search.batchReply'),
91731
- "placement": "top"
91732
- }
91733
- }, [_c('i', {
91734
- staticClass: "dss-iconfont icon-plhf"
91735
- })])], 1)])]), _c('div', {
91736
- ref: "mail",
91737
- staticClass: "mail-body"
91738
- }, [_c('el-table', {
91739
- directives: [{
91740
- name: "loading",
91741
- rawName: "v-loading",
91742
- value: _vm.loading,
91743
- expression: "loading"
91744
- }],
91745
- ref: "table",
91746
- style: {
91747
- 'min-height': `${_vm.tableHeight}px`
91748
- },
91749
- attrs: {
91750
- "data": _vm.tableData,
91751
- "header-cell-class-name": _vm.headCellClass,
91752
- "cell-class-name": _vm.cellClass,
91753
- "row-class-name": _vm.rowClass,
91754
- "row-key": _vm.getRowKeys
91755
- },
91756
- on: {
91757
- "selection-change": _vm.switchMail,
91758
- "row-contextmenu": _vm.rightClick
91759
- }
91760
- }, [_c('el-table-column', {
91761
- attrs: {
91762
- "reserve-selection": true,
91763
- "type": "selection",
91764
- "align": "center",
91765
- "width": "48"
91766
- }
91767
- }), false ? 0 : _vm._e(), _c('el-table-column', {
91768
- attrs: {
91769
- "width": "45"
91770
- },
91771
- scopedSlots: _vm._u([{
91772
- key: "default",
91773
- fn: function ({
91774
- row
91775
- }) {
91776
- return [_c('span', {
91777
- on: {
91778
- "click": function ($event) {
91779
- $event.stopPropagation();
91780
- return _vm.isFavorites(row);
91781
- }
91782
- }
91783
- }, [_c('i', {
91784
- class: row.isStar === 0 ? 'start-icon pm-iconfont icon-star0' : 'start-icon pm-iconfont icon-star1 starcolor'
91785
- })])];
91786
- }
91787
- }])
91788
- }), _c('el-table-column', {
91789
- attrs: {
91790
- "width": "45"
91791
- },
91792
- scopedSlots: _vm._u([{
91793
- key: "default",
91794
- fn: function ({
91795
- row
91796
- }) {
91797
- return [row.mailStatus === '1' ? _c('span', [_c('i', {
91798
- staticClass: "dss-iconfont icon-contact2",
91799
- style: {
91800
- color: _vm.primary
91801
- }
91802
- })]) : _vm._e(), row.mailStatus === '2' ? _c('span', {
91803
- on: {
91804
- "click": function ($event) {
91805
- return _vm.changeRead(row);
91233
+ return a;
91234
+ }
91235
+
91236
+ ;// ./node_modules/jsencrypt/lib/lib/asn1js/hex.js
91237
+ // Hex JavaScript decoder
91238
+ // Copyright (c) 2008-2013 Lapo Luchini <lapo@lapo.it>
91239
+ // Permission to use, copy, modify, and/or distribute this software for any
91240
+ // purpose with or without fee is hereby granted, provided that the above
91241
+ // copyright notice and this permission notice appear in all copies.
91242
+ //
91243
+ // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
91244
+ // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
91245
+ // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
91246
+ // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
91247
+ // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
91248
+ // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
91249
+ // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
91250
+ /*jshint browser: true, strict: true, immed: true, latedef: true, undef: true, regexdash: false */
91251
+ var decoder;
91252
+ var Hex = {
91253
+ decode: function (a) {
91254
+ var i;
91255
+ if (decoder === undefined) {
91256
+ var hex = "0123456789ABCDEF";
91257
+ var ignore = " \f\n\r\t\u00A0\u2028\u2029";
91258
+ decoder = {};
91259
+ for (i = 0; i < 16; ++i) {
91260
+ decoder[hex.charAt(i)] = i;
91806
91261
  }
91807
- }
91808
- }, [_c('el-tooltip', {
91809
- attrs: {
91810
- "popper-class": "wt-tooltip-mail",
91811
- "content": _vm.$i18n.t('inboxMail.search.setUnRead'),
91812
- "placement": "top"
91813
- }
91814
- }, [_c('i', {
91815
- staticClass: "dss-iconfont relative icon-read-2 mail-read"
91816
- })])], 1) : _vm._e()];
91817
- }
91818
- }])
91819
- }), _c('el-table-column', {
91820
- attrs: {
91821
- "width": "70"
91822
- },
91823
- scopedSlots: _vm._u([{
91824
- key: "default",
91825
- fn: function ({
91826
- row
91827
- }) {
91828
- return [row.isReply === 1 ? _c('span', [_vm._v(" " + _vm._s(_vm.$t("inboxMail.search.replyTrue")) + " ")]) : _c('span')];
91829
- }
91830
- }])
91831
- }), _c('el-table-column', {
91832
- attrs: {
91833
- "width": "140"
91834
- },
91835
- scopedSlots: _vm._u([{
91836
- key: "default",
91837
- fn: function ({
91838
- row
91839
- }) {
91840
- return [_c('p', {
91841
- staticClass: "beyond_eip",
91842
- class: row.isRead === 1 ? 'font-bold .text-gray-700' : '',
91843
- on: {
91844
- "click": function ($event) {
91845
- return _vm.skipDetail(row);
91262
+ hex = hex.toLowerCase();
91263
+ for (i = 10; i < 16; ++i) {
91264
+ decoder[hex.charAt(i)] = i;
91846
91265
  }
91847
- }
91848
- }, [_vm._v(" " + _vm._s(row.bloggerName) + " ")])];
91849
- }
91850
- }])
91851
- }), _c('el-table-column', {
91852
- attrs: {
91853
- "width": "140"
91854
- },
91855
- scopedSlots: _vm._u([{
91856
- key: "default",
91857
- fn: function ({
91858
- row
91859
- }) {
91860
- return [_c('div', {
91861
- staticClass: "mail-task flex items-center"
91862
- }, [row.popularizePlanName !== '' && row.popularizePlanName !== null ? [_c('i', {
91863
- staticClass: "dss-iconfont icon-task",
91864
- staticStyle: {
91865
- "font-size": "22px"
91866
- },
91867
- style: {
91868
- color: row.isRead === 2 ? '#999999' : '#FF5277'
91869
- }
91870
- }), _c('span', {
91871
- staticClass: "beyond_eip",
91872
- class: row.isRead === 1 ? 'font-bold text-gray-700' : '',
91873
- attrs: {
91874
- "title": row.popularizePlanName
91875
- },
91876
- on: {
91877
- "click": function ($event) {
91878
- return _vm.skipPlan(row);
91266
+ for (i = 0; i < ignore.length; ++i) {
91267
+ decoder[ignore.charAt(i)] = -1;
91879
91268
  }
91880
- }
91881
- }, [_vm._v(_vm._s(row.popularizePlanName))])] : _c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.noTask")))])], 2)];
91882
- }
91883
- }])
91884
- }), _c('el-table-column', {
91885
- ref: "a1",
91886
- scopedSlots: _vm._u([{
91887
- key: "default",
91888
- fn: function ({
91889
- row
91890
- }) {
91891
- return [_c('div', {
91892
- staticClass: "mail-main"
91893
- }, [row.isAttachment === 1 ? _c('i', {
91894
- staticClass: "dss-iconfont icon-file-3",
91895
- staticStyle: {
91896
- "margin-right": "2px"
91897
- }
91898
- }) : _vm._e(), _c('span', {
91899
- staticClass: "mail-subject beyond_eip mr8",
91900
- class: row.isRead === 1 ? 'font-bold text-gray-700' : '',
91901
- on: {
91902
- "click": function ($event) {
91903
- return _vm.skipDetail(row);
91269
+ }
91270
+ var out = [];
91271
+ var bits = 0;
91272
+ var char_count = 0;
91273
+ for (i = 0; i < a.length; ++i) {
91274
+ var c = a.charAt(i);
91275
+ if (c == "=") {
91276
+ break;
91904
91277
  }
91905
- }
91906
- }, [_vm._v(_vm._s(row.subject))]), _c('span', {
91907
- staticClass: "mail-content beyond_eip ml6 mr16",
91908
- staticStyle: {
91909
- "color": "#999999"
91910
- },
91911
- domProps: {
91912
- "innerHTML": _vm._s(_vm.filterHtmlTag(row.content))
91913
- },
91914
- on: {
91915
- "click": function ($event) {
91916
- return _vm.skipDetail(row);
91278
+ c = decoder[c];
91279
+ if (c == -1) {
91280
+ continue;
91917
91281
  }
91918
- }
91919
- }), _c('div', {
91920
- ref: "mailTagList",
91921
- staticClass: "mail-tag"
91922
- }, _vm._l(row.tagList, function (t, i) {
91923
- return _c('div', {
91924
- key: i,
91925
- staticClass: "mail-tag-item inbox-item",
91926
- style: {
91927
- color: '#fff',
91928
- background: t.tagColor
91929
- },
91930
- attrs: {
91931
- "title": t.tagName
91932
- },
91933
- on: {
91934
- "click": function ($event) {
91935
- return _vm.handleBindTag(row, t);
91936
- }
91282
+ if (c === undefined) {
91283
+ throw new Error("Illegal character at offset " + i);
91937
91284
  }
91938
- }, [_vm._v(" " + _vm._s(t.tagName.length > 6 ? t.tagName.slice(0, 6) + " ..." : t.tagName) + " "), _c('i', {
91939
- staticClass: "el-icon-close inbox-icon-close"
91940
- })]);
91941
- }), 0), _c('div', {
91942
- staticClass: "add-block"
91943
- }), _c('div', {
91944
- staticClass: "tag-add"
91945
- }, [_c('span', {
91946
- staticClass: "tag-btn",
91947
- staticStyle: {
91948
- "font-size": "12px"
91949
- },
91950
- on: {
91951
- "click": function ($event) {
91952
- return _vm.addMailTag(row);
91285
+ bits |= c;
91286
+ if (++char_count >= 2) {
91287
+ out[out.length] = bits;
91288
+ bits = 0;
91289
+ char_count = 0;
91953
91290
  }
91954
- }
91955
- }, [_c('span', [_vm._v("+")]), _vm._v(" " + _vm._s(_vm.$t("inboxTable.addTag")))])])])];
91956
- }
91957
- }])
91958
- }), _c('el-table-column', {
91959
- attrs: {
91960
- "width": "160"
91961
- },
91962
- scopedSlots: _vm._u([{
91963
- key: "default",
91964
- fn: function ({
91965
- row
91966
- }) {
91967
- return [_c('p', {
91968
- staticStyle: {
91969
- "color": "#666666"
91970
- },
91971
- on: {
91972
- "click": function ($event) {
91973
- return _vm.skipDetail(row);
91974
- }
91975
- }
91976
- }, [_vm._v(" " + _vm._s(row.createTime) + " ")])];
91977
- }
91978
- }])
91979
- })], 1)], 1), _c('div', {
91980
- staticClass: "mail-foot mb16"
91981
- }, [_vm.tableTotal > 0 ? _c('el-pagination', {
91982
- attrs: {
91983
- "current-page": _vm.searchForm.currentPage,
91984
- "total": _vm.tableTotal,
91985
- "page-size": _vm.searchForm.pageSize,
91986
- "background": "",
91987
- "layout": "total, sizes, prev, pager, next, jumper"
91988
- },
91989
- on: {
91990
- "update:currentPage": function ($event) {
91991
- return _vm.$set(_vm.searchForm, "currentPage", $event);
91992
- },
91993
- "update:current-page": function ($event) {
91994
- return _vm.$set(_vm.searchForm, "currentPage", $event);
91995
- },
91996
- "current-change": _vm.changePage,
91997
- "size-change": _vm.changeSize
91998
- }
91999
- }) : _vm._e()], 1)]), _vm.isShowSettag ? _c('AddTagsDialog', {
92000
- attrs: {
92001
- "isShowDialog": _vm.isShowSettag,
92002
- "defaultTag": _vm.selectedTags
92003
- },
92004
- on: {
92005
- "updateTag": _vm.updateTag,
92006
- "closeAddTagsDialog": function ($event) {
92007
- _vm.isShowSettag = false;
92008
- }
92009
- }
92010
- }) : _vm._e(), _c('el-dialog', {
92011
- attrs: {
92012
- "title": _vm.$t('inboxTable.tip'),
92013
- "visible": _vm.dialogVisible,
92014
- "width": "420px",
92015
- "show-close": true
92016
- },
92017
- on: {
92018
- "update:visible": function ($event) {
92019
- _vm.dialogVisible = $event;
92020
- }
92021
- }
92022
- }, [_c('div', {
92023
- staticClass: "delete-shield",
92024
- staticStyle: {
92025
- "display": "flex"
92026
- }
92027
- }, [_c('i', {
92028
- staticClass: "delete-shield-icon el-icon-warning"
92029
- }), _c('div', {
92030
- staticStyle: {
92031
- "display": "flex",
92032
- "flex-direction": "column"
92033
- }
92034
- }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxTable.delMail")) + "?")]), _c('span', [_vm._v(_vm._s(_vm.$t("inboxTable.deleteTip")))])])]), _c('span', {
92035
- staticClass: "dialog-footer",
92036
- attrs: {
92037
- "slot": "footer"
92038
- },
92039
- slot: "footer"
92040
- }, [_c('el-button', {
92041
- attrs: {
92042
- "size": "small"
92043
- },
92044
- on: {
92045
- "click": function ($event) {
92046
- _vm.dialogVisible = false;
92047
- }
92048
- }
92049
- }, [_vm._v(_vm._s(_vm.$t("inboxTable.cancel")))]), _c('el-button', {
92050
- attrs: {
92051
- "type": "primary",
92052
- "size": "small"
92053
- },
92054
- on: {
92055
- "click": _vm.handleConfirmDel
92056
- }
92057
- }, [_vm._v(_vm._s(_vm.$t("inboxTable.confirm")))]), _c('el-button', {
92058
- attrs: {
92059
- "type": "primary",
92060
- "size": "small"
92061
- },
92062
- on: {
92063
- "click": _vm.handleDelShield
92064
- }
92065
- }, [_vm._v(_vm._s(_vm.$t("inboxTable.delShieldBtn")))])], 1)])], 1);
92066
- };
92067
- var edm_inboxvue_type_template_id_6c6763e0_scoped_true_staticRenderFns = [];
92068
-
92069
- // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
92070
- var esnext_iterator_filter = __webpack_require__(4520);
92071
- // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js
92072
- var esnext_iterator_map = __webpack_require__(1454);
92073
- ;// ./node_modules/jsencrypt/lib/lib/jsbn/util.js
92074
- var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz";
92075
- function int2char(n) {
92076
- return BI_RM.charAt(n);
92077
- }
92078
- //#region BIT_OPERATIONS
92079
- // (public) this & a
92080
- function op_and(x, y) {
92081
- return x & y;
92082
- }
92083
- // (public) this | a
92084
- function op_or(x, y) {
92085
- return x | y;
92086
- }
92087
- // (public) this ^ a
92088
- function op_xor(x, y) {
92089
- return x ^ y;
92090
- }
92091
- // (public) this & ~a
92092
- function op_andnot(x, y) {
92093
- return x & ~y;
92094
- }
92095
- // return index of lowest 1-bit in x, x < 2^31
92096
- function lbit(x) {
92097
- if (x == 0) {
92098
- return -1;
92099
- }
92100
- var r = 0;
92101
- if ((x & 0xffff) == 0) {
92102
- x >>= 16;
92103
- r += 16;
92104
- }
92105
- if ((x & 0xff) == 0) {
92106
- x >>= 8;
92107
- r += 8;
92108
- }
92109
- if ((x & 0xf) == 0) {
92110
- x >>= 4;
92111
- r += 4;
92112
- }
92113
- if ((x & 3) == 0) {
92114
- x >>= 2;
92115
- r += 2;
92116
- }
92117
- if ((x & 1) == 0) {
92118
- ++r;
92119
- }
92120
- return r;
92121
- }
92122
- // return number of 1 bits in x
92123
- function cbit(x) {
92124
- var r = 0;
92125
- while (x != 0) {
92126
- x &= x - 1;
92127
- ++r;
92128
- }
92129
- return r;
92130
- }
92131
- //#endregion BIT_OPERATIONS
92132
-
92133
- ;// ./node_modules/jsencrypt/lib/lib/jsbn/base64.js
92134
-
92135
- var b64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
92136
- var b64pad = "=";
92137
- function hex2b64(h) {
92138
- var i;
92139
- var c;
92140
- var ret = "";
92141
- for (i = 0; i + 3 <= h.length; i += 3) {
92142
- c = parseInt(h.substring(i, i + 3), 16);
92143
- ret += b64map.charAt(c >> 6) + b64map.charAt(c & 63);
92144
- }
92145
- if (i + 1 == h.length) {
92146
- c = parseInt(h.substring(i, i + 1), 16);
92147
- ret += b64map.charAt(c << 2);
92148
- }
92149
- else if (i + 2 == h.length) {
92150
- c = parseInt(h.substring(i, i + 2), 16);
92151
- ret += b64map.charAt(c >> 2) + b64map.charAt((c & 3) << 4);
92152
- }
92153
- while ((ret.length & 3) > 0) {
92154
- ret += b64pad;
92155
- }
92156
- return ret;
92157
- }
92158
- // convert a base64 string to hex
92159
- function b64tohex(s) {
92160
- var ret = "";
92161
- var i;
92162
- var k = 0; // b64 state, 0-3
92163
- var slop = 0;
92164
- for (i = 0; i < s.length; ++i) {
92165
- if (s.charAt(i) == b64pad) {
92166
- break;
92167
- }
92168
- var v = b64map.indexOf(s.charAt(i));
92169
- if (v < 0) {
92170
- continue;
92171
- }
92172
- if (k == 0) {
92173
- ret += int2char(v >> 2);
92174
- slop = v & 3;
92175
- k = 1;
92176
- }
92177
- else if (k == 1) {
92178
- ret += int2char((slop << 2) | (v >> 4));
92179
- slop = v & 0xf;
92180
- k = 2;
92181
- }
92182
- else if (k == 2) {
92183
- ret += int2char(slop);
92184
- ret += int2char(v >> 2);
92185
- slop = v & 3;
92186
- k = 3;
92187
- }
92188
- else {
92189
- ret += int2char((slop << 2) | (v >> 4));
92190
- ret += int2char(v & 0xf);
92191
- k = 0;
92192
- }
92193
- }
92194
- if (k == 1) {
92195
- ret += int2char(slop << 2);
92196
- }
92197
- return ret;
92198
- }
92199
- // convert a base64 string to a byte/number array
92200
- function b64toBA(s) {
92201
- // piggyback on b64tohex for now, optimize later
92202
- var h = b64tohex(s);
92203
- var i;
92204
- var a = [];
92205
- for (i = 0; 2 * i < h.length; ++i) {
92206
- a[i] = parseInt(h.substring(2 * i, 2 * i + 2), 16);
92207
- }
92208
- return a;
92209
- }
92210
-
92211
- ;// ./node_modules/jsencrypt/lib/lib/asn1js/hex.js
92212
- // Hex JavaScript decoder
92213
- // Copyright (c) 2008-2013 Lapo Luchini <lapo@lapo.it>
92214
- // Permission to use, copy, modify, and/or distribute this software for any
92215
- // purpose with or without fee is hereby granted, provided that the above
92216
- // copyright notice and this permission notice appear in all copies.
92217
- //
92218
- // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
92219
- // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
92220
- // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
92221
- // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
92222
- // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
92223
- // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
92224
- // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
92225
- /*jshint browser: true, strict: true, immed: true, latedef: true, undef: true, regexdash: false */
92226
- var decoder;
92227
- var Hex = {
92228
- decode: function (a) {
92229
- var i;
92230
- if (decoder === undefined) {
92231
- var hex = "0123456789ABCDEF";
92232
- var ignore = " \f\n\r\t\u00A0\u2028\u2029";
92233
- decoder = {};
92234
- for (i = 0; i < 16; ++i) {
92235
- decoder[hex.charAt(i)] = i;
92236
- }
92237
- hex = hex.toLowerCase();
92238
- for (i = 10; i < 16; ++i) {
92239
- decoder[hex.charAt(i)] = i;
92240
- }
92241
- for (i = 0; i < ignore.length; ++i) {
92242
- decoder[ignore.charAt(i)] = -1;
92243
- }
92244
- }
92245
- var out = [];
92246
- var bits = 0;
92247
- var char_count = 0;
92248
- for (i = 0; i < a.length; ++i) {
92249
- var c = a.charAt(i);
92250
- if (c == "=") {
92251
- break;
92252
- }
92253
- c = decoder[c];
92254
- if (c == -1) {
92255
- continue;
92256
- }
92257
- if (c === undefined) {
92258
- throw new Error("Illegal character at offset " + i);
92259
- }
92260
- bits |= c;
92261
- if (++char_count >= 2) {
92262
- out[out.length] = bits;
92263
- bits = 0;
92264
- char_count = 0;
92265
- }
92266
- else {
92267
- bits <<= 4;
91291
+ else {
91292
+ bits <<= 4;
92268
91293
  }
92269
91294
  }
92270
91295
  if (char_count) {
@@ -98021,383 +97046,1359 @@ function sha1(bytes) {
98021
97046
  for (var j = 0; j < 16; ++j) {
98022
97047
  arr[j] = bytes[_i * 64 + j * 4] << 24 | bytes[_i * 64 + j * 4 + 1] << 16 | bytes[_i * 64 + j * 4 + 2] << 8 | bytes[_i * 64 + j * 4 + 3];
98023
97048
  }
98024
-
98025
- M[_i] = arr;
98026
- }
98027
-
98028
- M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
98029
- M[N - 1][14] = Math.floor(M[N - 1][14]);
98030
- M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;
98031
-
98032
- for (var _i2 = 0; _i2 < N; ++_i2) {
98033
- var W = new Uint32Array(80);
98034
-
98035
- for (var t = 0; t < 16; ++t) {
98036
- W[t] = M[_i2][t];
97049
+
97050
+ M[_i] = arr;
97051
+ }
97052
+
97053
+ M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
97054
+ M[N - 1][14] = Math.floor(M[N - 1][14]);
97055
+ M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;
97056
+
97057
+ for (var _i2 = 0; _i2 < N; ++_i2) {
97058
+ var W = new Uint32Array(80);
97059
+
97060
+ for (var t = 0; t < 16; ++t) {
97061
+ W[t] = M[_i2][t];
97062
+ }
97063
+
97064
+ for (var _t = 16; _t < 80; ++_t) {
97065
+ W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);
97066
+ }
97067
+
97068
+ var a = H[0];
97069
+ var b = H[1];
97070
+ var c = H[2];
97071
+ var d = H[3];
97072
+ var e = H[4];
97073
+
97074
+ for (var _t2 = 0; _t2 < 80; ++_t2) {
97075
+ var s = Math.floor(_t2 / 20);
97076
+ var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;
97077
+ e = d;
97078
+ d = c;
97079
+ c = ROTL(b, 30) >>> 0;
97080
+ b = a;
97081
+ a = T;
97082
+ }
97083
+
97084
+ H[0] = H[0] + a >>> 0;
97085
+ H[1] = H[1] + b >>> 0;
97086
+ H[2] = H[2] + c >>> 0;
97087
+ H[3] = H[3] + d >>> 0;
97088
+ H[4] = H[4] + e >>> 0;
97089
+ }
97090
+
97091
+ return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];
97092
+ }
97093
+
97094
+ /* harmony default export */ var esm_browser_sha1 = (sha1);
97095
+ ;// ./node_modules/uuid/dist/esm-browser/v5.js
97096
+
97097
+
97098
+ var v5 = v35('v5', 0x50, esm_browser_sha1);
97099
+ /* harmony default export */ var esm_browser_v5 = (v5);
97100
+ ;// ./node_modules/vue-uuid/dist/index.esm.js
97101
+
97102
+
97103
+ // @ts-check
97104
+ /**
97105
+ * @typedef {Object} UUID
97106
+ * @property {typeof v1} v1
97107
+ * @property {typeof v3} v3
97108
+ * @property {typeof v4} v4
97109
+ * @property {typeof v5} v5
97110
+ */
97111
+
97112
+ /**
97113
+ * An object with uuid's v1, v3, v4 and v5 functions.
97114
+ * @type {UUID}
97115
+ */
97116
+
97117
+ var uuid = {
97118
+ v1: esm_browser_v1,
97119
+ v3: esm_browser_v3,
97120
+ v4: esm_browser_v4,
97121
+ v5: esm_browser_v5
97122
+ };
97123
+ /**
97124
+ * @typedef {import('vue').App<HostElement>} App
97125
+ * @template HostElement
97126
+ */
97127
+
97128
+ /**
97129
+ * Defines '$uuid' property globally, to be accessed in any component instance
97130
+ * inside the application. The '$uuid' is an object with uuid's v1, v3, v4 and
97131
+ * v5 functions.
97132
+ *
97133
+ * @example
97134
+ * import Vue from 'vue';
97135
+ * import withUUID from 'vue-uuid';
97136
+ *
97137
+ * const app = withUUID(
97138
+ * createApp({
97139
+ * // ...
97140
+ * }),
97141
+ * );
97142
+ *
97143
+ * app.component('c-button', {
97144
+ * created() {
97145
+ * this.id = this.$uuid.v4();
97146
+ * }
97147
+ * });
97148
+ * @param {App<HostElement>} app
97149
+ * @returns {App<HostElement>}
97150
+ * @template HostElement
97151
+ */
97152
+
97153
+ function withUUID(app) {
97154
+ app.config.globalProperties["$uuid"] = uuid;
97155
+ return app;
97156
+ }
97157
+
97158
+
97159
+
97160
+ ;// ./src/utils/common.js
97161
+
97162
+
97163
+
97164
+ /**
97165
+ * 非空判断
97166
+ * @param {*} obj
97167
+ * @returns
97168
+ */
97169
+ function common_isEmpty(obj) {
97170
+ return typeof obj === 'undefined' || obj === null || obj === '';
97171
+ }
97172
+
97173
+ /**
97174
+ * 获取服务端时间戳与客户端时间戳差距
97175
+ */
97176
+ async function getTimestamp() {
97177
+ let timeDifference = 0;
97178
+ fetch('https://api.kuku.info/koc/common/getMicrotime').then(res => {
97179
+ timeDifference = new Date().getTime() - res.data.data;
97180
+ }).catch(() => {});
97181
+ return timeDifference;
97182
+ }
97183
+
97184
+ /**
97185
+ * 配置请求头中的 sourceApp
97186
+ * @param str 入参字符串 hub 或 dss
97187
+ */
97188
+ function initSourceApp(str) {
97189
+ localStorage.setItem('sourceApp', str);
97190
+ }
97191
+
97192
+ /**
97193
+ * 非对称加密
97194
+ */
97195
+ function getKey(k) {
97196
+ let encryptor = new JSEncrypt_JSEncrypt();
97197
+ encryptor.setPublicKey(testA('4ADS20wxtyAw'));
97198
+ let passwordEncryp = encryptor.encrypt(k);
97199
+ return passwordEncryp;
97200
+ }
97201
+ function testA(str) {
97202
+ if (Object.prototype.toString.call(str)) {
97203
+ return testB('M1Fw3wD5QYJKoZIhvcNAQEBBQADSwAwSAJBAPWZswFK/6');
97204
+ }
97205
+ return false;
97206
+ }
97207
+ function testB(str) {
97208
+ if (Object.prototype.toString.call(str)) {
97209
+ let b = str.replace(new RegExp('1', 'g'), "");
97210
+ let c = b.replace(new RegExp('3', 'g'), "");
97211
+ let d = c.replace(new RegExp('5', 'g'), "");
97212
+ return testC("AJB5APWZ" + d);
97213
+ }
97214
+ return false;
97215
+ }
97216
+ function testC(str) {
97217
+ if (Object.prototype.toString.call(str)) {
97218
+ let test_str = '++m2Kx72j8q73mLKCxi72MZG6knk7vQAz9Ed4SgbJ67juHT7Km';
97219
+ let test_A = test_str.split('').reverse().join("");
97220
+ let test_B = test_A.split("").reverse().join("");
97221
+ let b = test_B.replace(new RegExp('3m', 'g'), "");
97222
+ let c = b.replace(new RegExp('6k', 'g'), "");
97223
+ let d = c.replace(new RegExp('gb', 'g'), "");
97224
+ return testD(str.slice(8) + d);
97225
+ }
97226
+ return false;
97227
+ }
97228
+ function testD(str) {
97229
+ if (Object.prototype.toString.call(str)) {
97230
+ let test_A = '7kdTklfaAsccYCeQbhDr7Cd8mWFleQtVKM6mM90CAwEAAQ==';
97231
+ let b = test_A.replace(new RegExp('cc', 'g'), "");
97232
+ let c = b.replace(new RegExp('8m', 'g'), "");
97233
+ let d = "hDr7Cd98mWF" + c.replace(new RegExp('90', 'g'), "");
97234
+ return str.split('').reverse().join("").split('').reverse().join("") + d.slice(11);
97235
+ }
97236
+ return false;
97237
+ }
97238
+ ;// ./src/utils/request.js
97239
+
97240
+
97241
+
97242
+
97243
+
97244
+ let baseUrl = "";
97245
+ let defaultEnv = "";
97246
+ function initJavaService(env) {
97247
+ defaultEnv = env;
97248
+ if (env === "dev" || env === "development" || env === "test") {
97249
+ baseUrl = "https://k8s-api.wotohub.com"; // https://pre-api.kuku.info
97250
+ } else if (env === "pre") {
97251
+ baseUrl = "https://k8s-api.wotohub.com"; // https://pre-api.kuku.info
97252
+ } else if (env === "prod" || env === "production") {
97253
+ baseUrl = "https://api-prd.wotohub.com/";
97254
+ }
97255
+ }
97256
+ const request_instance = lib_axios.create({
97257
+ baseURL: "",
97258
+ timeout: 250000
97259
+ });
97260
+ request_instance.interceptors.request.use(function (config) {
97261
+ const timestamp = new Date().getTime();
97262
+ const nonce = getRangeCode() + timestamp;
97263
+ // 设置签名
97264
+ let _key = uuid.v4();
97265
+ const parameter = config.params || config.data;
97266
+ let signatureObj = {};
97267
+ let signature = "";
97268
+ if (parameter) {
97269
+ signatureObj = signatureAlgorithmForJava(config.url, nonce, timestamp, parameter, _key);
97270
+ signature = signatureObj.hmacBytes;
97271
+ } else {
97272
+ signatureObj = signatureAlgorithmForJava(config.url, nonce, timestamp, null, _key);
97273
+ signature = signatureObj.hmacBytes;
97274
+ }
97275
+ config.baseURL = defaultEnv ? baseUrl : "https://k8s-api.wotohub.com"; //https://pre-api.kuku.info';
97276
+ // 设置应用头
97277
+ config.headers["appkey"] = getKey(_key);
97278
+ config.headers["timestamp"] = timestamp;
97279
+ config.headers["nonce"] = nonce;
97280
+ config.headers["cookieid"] = signature;
97281
+ config.headers["sign"] = signatureAlgorithm2(parameter).hmacBytes;
97282
+ config.headers["token"] = localStorage.getItem("token");
97283
+ config.headers["Content-Type"] = "application/json";
97284
+ if (config.config) {
97285
+ if (config.config.contentType && config.config.contentType === "formData") {
97286
+ config.headers["Content-Type"] = "multipart/form-data";
97287
+ }
97288
+ }
97289
+
97290
+ // 设置应用头
97291
+ let sourceApp = localStorage.getItem("sourceApp");
97292
+ if (sourceApp) {
97293
+ config.headers["sourceApp"] = localStorage.getItem("sourceApp");
97294
+ }
97295
+
97296
+ // hub token
97297
+ if (localStorage.getItem("token")) {
97298
+ config.headers["token"] = localStorage.getItem("token");
97299
+ }
97300
+ // dss token
97301
+ if (localStorage.getItem("Authorization")) {
97302
+ config.headers["Authorization"] = localStorage.getItem("Authorization");
97303
+ }
97304
+ // dss_token
97305
+ if (localStorage.getItem("dss_token")) {
97306
+ config.headers["dss-token"] = localStorage.getItem("dss_token");
97307
+ }
97308
+ return config;
97309
+ }, function (error) {
97310
+ // 对请求错误做些什么
97311
+ return Promise.reject(error);
97312
+ });
97313
+ // 添加响应拦截器
97314
+ request_instance.interceptors.response.use(function (response) {
97315
+ // 对响应数据做点什么
97316
+ if (response.status === 503) {
97317
+ alert("服务器不可用,请联系管理员");
97318
+ }
97319
+ if (response.status === 200 || response.status === 0) {
97320
+ if (response.data.code === "1006") {
97321
+ localStorage.removeItem("user_info");
97322
+ localStorage.removeItem("user_equity");
97323
+ localStorage.removeItem("token");
97324
+ localStorage.removeItem("dss_token");
97325
+ localStorage.removeItem("referrer");
97326
+ localStorage.removeItem("isRemindUnlock");
97327
+ localStorage.removeItem("inboxPage");
97328
+ localStorage.removeItem("outboxPage");
97329
+ localStorage.removeItem("omaToken");
97330
+ localStorage.removeItem("oma_token");
97331
+ if (['www.wotohub.com', 'pre-hub.kuku.info'].includes(window.location.host)) {
97332
+ window.location.href = "/login";
97333
+ }
97334
+ } else if (response.data.message === "用户未登录") {
97335
+ localStorage.removeItem("user_info");
97336
+ localStorage.removeItem("user_equity");
97337
+ localStorage.removeItem("token");
97338
+ localStorage.removeItem("dss_token");
97339
+ localStorage.removeItem("referrer");
97340
+ localStorage.removeItem("isRemindUnlock");
97341
+ localStorage.removeItem("inboxPage");
97342
+ localStorage.removeItem("outboxPage");
97343
+ localStorage.removeItem("omaToken");
97344
+ localStorage.removeItem("oma_token");
97345
+ if (['www.wotohub.com', 'pre-hub.kuku.info'].includes(window.location.host)) {
97346
+ window.location.href = "/login";
97347
+ }
97348
+ }
97349
+ }
97350
+ return response.data;
97351
+ }, function (error) {
97352
+ // 对响应错误做点什么
97353
+ return Promise.reject(error);
97354
+ });
97355
+ const request_get = (url, data) => {
97356
+ return new Promise((resolve, reject) => {
97357
+ request_instance.get(url, {
97358
+ params: data
97359
+ }).then(res => {
97360
+ resolve(res);
97361
+ }).catch(err => {
97362
+ reject(err);
97363
+ });
97364
+ });
97365
+ };
97366
+ const request_del = (url, data) => {
97367
+ return new Promise((resolve, reject) => {
97368
+ request_instance.delete(url, {
97369
+ params: data
97370
+ }).then(res => {
97371
+ resolve(res);
97372
+ }).catch(err => {
97373
+ reject(err);
97374
+ });
97375
+ });
97376
+ };
97377
+ const request_del2 = (url, params) => {
97378
+ return new Promise((resolve, reject) => {
97379
+ request_instance.delete(url, {
97380
+ data: params
97381
+ }).then(res => {
97382
+ resolve(res);
97383
+ }).catch(err => {
97384
+ reject(err);
97385
+ });
97386
+ });
97387
+ };
97388
+ const request_post = (url, data, type) => {
97389
+ return new Promise((resolve, reject) => {
97390
+ request_instance.post(url, data, {
97391
+ responseType: type ? "blob" : "json"
97392
+ }).then(res => {
97393
+ resolve(res);
97394
+ }).catch(err => {
97395
+ reject(err);
97396
+ });
97397
+ });
97398
+ };
97399
+ const request_put = (url, data) => {
97400
+ return new Promise((resolve, reject) => {
97401
+ request_instance.put(url, data).then(res => {
97402
+ resolve(res);
97403
+ }).catch(err => {
97404
+ reject(err);
97405
+ });
97406
+ });
97407
+ };
97408
+ const uploadSingleFile = (url, data, fn) => {
97409
+ return request_instance({
97410
+ method: "post",
97411
+ url,
97412
+ data,
97413
+ onUploadProgress: fn,
97414
+ config: {
97415
+ contentType: "formData"
97416
+ },
97417
+ headers: {
97418
+ "Content-Type": "multipart/form-data"
97419
+ //'Content-Disposition': 'attachment; filename=hello123' //
97420
+ }
97421
+ });
97422
+ };
97423
+
97424
+ // 返回结果同上
97425
+
97426
+ ;// ./src/api/test.js
97427
+ /**
97428
+ * 测试api
97429
+ */
97430
+
97431
+
97432
+
97433
+
97434
+ // 获取hub用户信息
97435
+ async function loginHUB(data) {
97436
+ let res = await request_post("/user/userSystem/loginWithPassword", data);
97437
+ return res.data;
97438
+ }
97439
+
97440
+ // 密码登录
97441
+ function loginDSS1(data) {
97442
+ return request_login({
97443
+ url: "https://dss-apis.kuku.info/user/account/password",
97444
+ method: "POST",
97445
+ data
97446
+ });
97447
+ }
97448
+
97449
+ // 获取dss用户信息 https://dss-apis.kuku.info/user/account/password
97450
+ async function loginDSS(params) {
97451
+ let res = await post("https://dss-apis.kuku.info/user/account/password", params);
97452
+ return res.data;
97453
+ }
97454
+ async function test1(params) {
97455
+ let res = await post("/edm/test1", params);
97456
+ return res.data;
97457
+ }
97458
+ async function getList(params) {
97459
+ let res = await request_sin_post("https://api.kuku.info/koc/task/search", params);
97460
+ return res.data;
97461
+ }
97462
+ async function getCrosTest() {
97463
+ let res = await request_sin_post("http://192.168.4.10:9528/writeEmail", {});
97464
+ return res.data;
97465
+ }
97466
+ async function test_test(params) {
97467
+ let searchForm = {
97468
+ // 检索字段
97469
+ sourceApp: "hub",
97470
+ //产品来源1-hub;2-dss
97471
+ bloggerName: "",
97472
+ //红人名称
97473
+ subject: "",
97474
+ //标题正文
97475
+ taskName: "",
97476
+ //任务名称
97477
+ type: "",
97478
+ //邮件类型 1-正常;2-定时
97479
+ currentPage: 1,
97480
+ pageSize: 10
97481
+ };
97482
+ let res = await request_sin_post("http://192.168.4.10:8080/edm/mail/selOutbox", searchForm);
97483
+ return res.data;
97484
+ }
97485
+ ;// ./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/edm-button/index.vue?vue&type=script&lang=js
97486
+
97487
+
97488
+
97489
+ /* harmony default export */ var edm_buttonvue_type_script_lang_js = ({
97490
+ name: "edm-button",
97491
+ //组件名
97492
+ created() {
97493
+ // this.test();
97494
+ },
97495
+ methods: {
97496
+ test() {
97497
+ let str = '<html>\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=gb2312">\n <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>\n </head>\n <body dir="ltr">\n <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">\n This is a great project. I like it very much. Can you tell me the specific way of cooperation?\n </div>\n <div id="appendonsend"></div>\n <hr style="display:inline-block;width:98%" tabindex="-1">\n <div id="divRplyFwdMsg" dir="ltr">\n <font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com &lt;e9f2b200-3423-11ef-85f0-525400450766@viralpromotors.com&gt; 代表 marywrogers@viralpromotors.com &lt;marywrogers@viralpromotors.com&gt;<br><b>发送时间:</b> 2024年6月27日 9:23<br><b>收件人:</b> lectmaha &lt;lectmaha@hotmail.com&gt;<br><b>主题:</b> Business inquiry-Hisense wants collaboration-allhostaria</font>\n <div>\n &nbsp;\n </div>\n </div>\n <div>\n <p style="text-align:left"><span style="font-size:14px">Hi allhostaria,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Hope this email finds you well.</span></p>\n <p style="text-align:left"><span style="font-size:14px">This is Anna from Wotokol, a famous influencer marketing company that connects international influencers and world-famous brands from China.</span></p>\n <p style="text-align:left"><span style="font-size:14px">You do really great content on your channel and here\'s a campaign that I\'d like to invite you to join.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Here is the info about this activity:</span></p>\n <p style="text-align:left"><span style="font-size:14px">Brand: Hisense &nbsp;</span><a href="https://sctrack.sendcloud.net/track/click2/eNolj8FuwyAQRP8FpTeC2TWsza39jipCeE1qK8RUAZ-q_ntwoj2sZuZpR_uNoyU7SCGkgAGcsWB6bONB9w7JO2cJ_ThoqwqfQXvnjfZA5rxuU963WZ9S5HoPS_hccttrUpzvQmopllp_y0f_1XU_KU8hqWUtcSvxALoXcQ2pxFZtBjWOClGBoSbrYz_cI2AmRDMb5wA0BeoBeQIOzMhXMm-qcH0Evql2feaU91ltsQr59y_fXzTo8gRda0GI.html" target="_blank"><span style="color:rgb(120,6,80); font-size:14px">https://global.hisense.com/</span></a></p>\n <p style="text-align:left"><span style="font-size:14px">Product models for different countries:</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>US:</u></span><span style="font-size:14px"> Hisense 100" Class U76 4K Google TV 100U76N Hisense (hisense-usa.com), Hisense 100" L9 Series TriChroma Laser TV (100L9H-DLT100C) (hisense-usa.com)</span></p>\n <p style="text-align:left"><span style="font-size:14px"><u>UK:</u></span><span style="font-size:14px"> Mini-LED Smart TV - 100U7KQTUK - Hisense, 4K Smart Laser TV - 120L9HTUKA - Hisense</span></p>\n <p style="text-align:left"><span style="font-size:14px">Deliverables: one 5-8 mins dedicated YTB video + video commercial usage rights for 3 months</span></p>\n <p style="text-align:left"><span style="font-size:14px">Post time: July 7-July 14, 2024</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">One of the products will be given to you, please let me know your rate for this collab if you\'re interested.</span></p>\n <p style="text-align:left"><span style="font-size:14px">Please feel free to contact me if you have any questions, hope to hear from you soon.</span></p>\n <p style="text-align:left"><br></p>\n <p style="text-align:left"><span style="font-size:14px">Best Regards,</span></p>\n <p style="text-align:left"><span style="font-size:14px">Anna Chen</span></p>\n <div style="display:flex; overflow-x:auto"></div>\n <div>\n <br><img width="1px" height="1px" src="https://pixel.xin/collect.gif?trace_id=pixel_667cbf27e4b0b64ffa8b634c">\n </div>\n <table cellpadding="0" cellspacing="0" border="0" width="100%">\n <tbody>\n <tr>\n <td align="center" style="overflow:hidden; font-size:0; padding:0; margin:0; line-height:0"><img alt="" style="width:0; height:0" src="https://sctrack.sendcloud.net/track/open2/eNolTs0KwyAYexfZ0YpaP39ue48xxH46WuYUqj2NvfssJYeQEJI8pAUNhhJCiTDCKRBqlgNe8NlJ7Z0DLb01HFjDSXDvvOJeaDVtZalHifyWE_ZPWMN9rYO3zLB-COUD5BVyS6NaGWYtk5IJpYfs-3G65-aCBpzEqCAugo9RjDw6GCckaAxXqmHfA75ZSyVirkdkJXVCvz96vRyh5x_lOzaT.gif"></td>\n </tr>\n </tbody>\n </table>\n <center>\n <table width="100%" align="center" style="max-width:900px; margin:0 auto; width:100%">\n <tbody>\n <tr align="center">\n </tr>\n <tr align="center">\n <td width="560" style="border-top:1px #e5e5e5 solid; padding-top:15px; padding-bottom:15px">\n <table border="0" cellspacing="0" cellpadding="0" align="center">\n <tbody>\n <tr>\n <td style="background-color:#ddd; border:1px #ddd solid; border-radius:4px; padding:3px 15px; text-align:center"><a href="https://sctrack.sendcloud.net/track/unsubscribe2.do?p=eNptTssKAjEM_JfisVua9H3zP0RKt63sYt3CPk7ivxv1KjOQZMhMckFvrHGcMc7AQdAGtEJCBKkC2hiCsRi9k0ZseQAZQ9QygtXDvIz9WIo8tZr3R5rSeepU5yZyfzAuCeyW2lYpWjvhvUAUoC2N-3qQOsD37H87UwZzwVB1Skp7byEZGEsoNVGj8JNK3PK-pnwXW11Kbv0oYqk7488X__1PS9c3Zbc_0g%3D%3D" target="_blank" rel="noopener" style="color:#a6a6a6; background:#ddd; font-size:12px; text-decoration:none">点击这里取消订阅<br>\n click to unsubscribe</a></td>\n </tr>\n </tbody>\n </table></td>\n </tr>\n </tbody>\n </table>\n </center>\n </div>\n </body>\n</html>';
97498
+ str = str.replace("https://pixel.xin/emailControl.php?mid=", "");
97499
+ str = str.replace("https://pixel.xin/hub.gif?mid=", "");
97500
+ str = str.replace(new RegExp("unsubscribe", "g"), "");
97501
+ str = str.replace(/<head>[\s\S]*?<\/head>/i, "");
97502
+ str = str.replace(/<[^>]+>/g, "");
97503
+ str = str.replace(new RegExp("&nbsp;", "g"), " ");
97504
+ console.log(str);
97505
+ },
97506
+ getData() {
97507
+ login();
97508
+ },
97509
+ change() {
97510
+ test_test();
97511
+ let theme = {
97512
+ id: "theme-hub"
97513
+ };
97514
+ changeTheme(theme);
97515
+ },
97516
+ handleTest1() {
97517
+ let params = {
97518
+ isTrue: false,
97519
+ strings: ["hello", "testAAAA", "测试", "123测试AAA"],
97520
+ integers: [123, 888, 234985029],
97521
+ dtos: [{
97522
+ id: "01",
97523
+ type: 1
97524
+ }, {
97525
+ id: "02",
97526
+ type: 2
97527
+ }, {
97528
+ id: "03",
97529
+ type: 3
97530
+ }]
97531
+ };
97532
+ },
97533
+ change1() {
97534
+ let theme = {
97535
+ id: "theme-dss"
97536
+ };
97537
+ changeTheme(theme);
97538
+ },
97539
+ handleLoginHub() {
97540
+ localStorage.setItem("sourceApp", "hub");
97541
+ loginHUB({
97542
+ // 模拟 hub 登陆 测试账号
97543
+ // mobileOrEmail: "13262005357",
97544
+ // password: "123123123"
97545
+ mobileOrEmail: "18846078060",
97546
+ password: "asd123456"
97547
+ // mobileOrEmail: "18767117493",
97548
+ // password: "tm123456789"
97549
+ // mobileOrEmail: "15658187195",
97550
+ // password: "wotu987412365"
97551
+ // mobileOrEmail: "17336189682",
97552
+ // password: "hcj123456"
97553
+ // mobileOrEmail: "15658187181",
97554
+ // password: "tkk123123123"
97555
+ }).then(res => {
97556
+ if (res) {
97557
+ alert("登陆成功");
97558
+ if (res.token) {
97559
+ localStorage.setItem("token", res.token);
97560
+ setToken(res.token);
97561
+ }
97562
+ }
97563
+ });
97564
+ },
97565
+ handleLoginDSS() {
97566
+ localStorage.setItem("sourceApp", "dss");
97567
+ loginDSS1({
97568
+ // 模拟 DSS 登陆 测试账号
97569
+ login_account: "tankangkang0147",
97570
+ password: "123123123"
97571
+ }).then(res => {
97572
+ if (res.code === 0) {
97573
+ localStorage.setItem("Authorization", "Bearer " + res.data.token);
97574
+ setToken(res.token);
97575
+ }
97576
+ });
97577
+ },
97578
+ handleGetlist() {
97579
+ getList({
97580
+ page: 1,
97581
+ aa: "1"
97582
+ }).then(res => {});
97583
+ },
97584
+ getCros() {
97585
+ alert(1);
97586
+ getCrosTest();
97587
+ }
97588
+ }
97589
+ });
97590
+ ;// ./src/package/edm-button/index.vue?vue&type=script&lang=js
97591
+ /* harmony default export */ var package_edm_buttonvue_type_script_lang_js = (edm_buttonvue_type_script_lang_js);
97592
+ ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
97593
+ /* globals __VUE_SSR_CONTEXT__ */
97594
+
97595
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
97596
+ // This module is a runtime utility for cleaner component module output and will
97597
+ // be included in the final webpack user bundle.
97598
+
97599
+ function normalizeComponent(
97600
+ scriptExports,
97601
+ render,
97602
+ staticRenderFns,
97603
+ functionalTemplate,
97604
+ injectStyles,
97605
+ scopeId,
97606
+ moduleIdentifier /* server only */,
97607
+ shadowMode /* vue-cli only */
97608
+ ) {
97609
+ // Vue.extend constructor export interop
97610
+ var options =
97611
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
97612
+
97613
+ // render functions
97614
+ if (render) {
97615
+ options.render = render
97616
+ options.staticRenderFns = staticRenderFns
97617
+ options._compiled = true
97618
+ }
97619
+
97620
+ // functional template
97621
+ if (functionalTemplate) {
97622
+ options.functional = true
97623
+ }
97624
+
97625
+ // scopedId
97626
+ if (scopeId) {
97627
+ options._scopeId = 'data-v-' + scopeId
97628
+ }
97629
+
97630
+ var hook
97631
+ if (moduleIdentifier) {
97632
+ // server build
97633
+ hook = function (context) {
97634
+ // 2.3 injection
97635
+ context =
97636
+ context || // cached call
97637
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
97638
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
97639
+ // 2.2 with runInNewContext: true
97640
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
97641
+ context = __VUE_SSR_CONTEXT__
97642
+ }
97643
+ // inject component styles
97644
+ if (injectStyles) {
97645
+ injectStyles.call(this, context)
97646
+ }
97647
+ // register component module identifier for async chunk inferrence
97648
+ if (context && context._registeredComponents) {
97649
+ context._registeredComponents.add(moduleIdentifier)
97650
+ }
97651
+ }
97652
+ // used by ssr in case component is cached and beforeCreate
97653
+ // never gets called
97654
+ options._ssrRegister = hook
97655
+ } else if (injectStyles) {
97656
+ hook = shadowMode
97657
+ ? function () {
97658
+ injectStyles.call(
97659
+ this,
97660
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
97661
+ )
97662
+ }
97663
+ : injectStyles
97664
+ }
97665
+
97666
+ if (hook) {
97667
+ if (options.functional) {
97668
+ // for template-only hot-reload because in that case the render fn doesn't
97669
+ // go through the normalizer
97670
+ options._injectStyles = hook
97671
+ // register for functional component in vue file
97672
+ var originalRender = options.render
97673
+ options.render = function renderWithStyleInjection(h, context) {
97674
+ hook.call(context)
97675
+ return originalRender(h, context)
97676
+ }
97677
+ } else {
97678
+ // inject component registration as beforeCreate hook
97679
+ var existing = options.beforeCreate
97680
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
97681
+ }
97682
+ }
97683
+
97684
+ return {
97685
+ exports: scriptExports,
97686
+ options: options
97687
+ }
97688
+ }
97689
+
97690
+ ;// ./src/package/edm-button/index.vue
97691
+
97692
+
97693
+
97694
+
97695
+
97696
+ /* normalize component */
97697
+ ;
97698
+ var component = normalizeComponent(
97699
+ package_edm_buttonvue_type_script_lang_js,
97700
+ render,
97701
+ staticRenderFns,
97702
+ false,
97703
+ null,
97704
+ "f47c181c",
97705
+ null
97706
+
97707
+ )
97708
+
97709
+ /* harmony default export */ var edm_button = (component.exports);
97710
+ ;// ./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-inbox/index.vue?vue&type=template&id=6c6763e0&scoped=true
97711
+ var edm_inboxvue_type_template_id_6c6763e0_scoped_true_render = function render() {
97712
+ var _vm = this,
97713
+ _c = _vm._self._c;
97714
+ return _c('div', {
97715
+ staticClass: "inbox-container"
97716
+ }, [_c('div', {
97717
+ staticClass: "search-box"
97718
+ }, [_c('el-row', {
97719
+ attrs: {
97720
+ "gutter": 16
97721
+ }
97722
+ }, [_c('el-col', {
97723
+ attrs: {
97724
+ "span": 6
97725
+ }
97726
+ }, [_c('div', {
97727
+ staticClass: "blogger-search-item"
97728
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.bloggerName")))]), _c('el-input', {
97729
+ attrs: {
97730
+ "placeholder": _vm.$t('inboxMail.search.default'),
97731
+ "clearable": ""
97732
+ },
97733
+ model: {
97734
+ value: _vm.searchForm.bloggerName,
97735
+ callback: function ($$v) {
97736
+ _vm.$set(_vm.searchForm, "bloggerName", $$v);
97737
+ },
97738
+ expression: "searchForm.bloggerName"
97739
+ }
97740
+ })], 1)]), _c('el-col', {
97741
+ attrs: {
97742
+ "span": 6
97743
+ }
97744
+ }, [_c('div', {
97745
+ staticClass: "blogger-search-item"
97746
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.title")))]), _c('el-input', {
97747
+ attrs: {
97748
+ "placeholder": _vm.$t('inboxMail.search.default'),
97749
+ "clearable": ""
97750
+ },
97751
+ model: {
97752
+ value: _vm.searchForm.subject,
97753
+ callback: function ($$v) {
97754
+ _vm.$set(_vm.searchForm, "subject", $$v);
97755
+ },
97756
+ expression: "searchForm.subject"
97757
+ }
97758
+ })], 1)]), _c('el-col', {
97759
+ attrs: {
97760
+ "span": 6
97761
+ }
97762
+ }, [_c('div', {
97763
+ staticClass: "blogger-search-item"
97764
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.target")))]), _c('el-input', {
97765
+ attrs: {
97766
+ "placeholder": _vm.$t('inboxMail.search.default'),
97767
+ "clearable": ""
97768
+ },
97769
+ model: {
97770
+ value: _vm.searchForm.popularizePlanName,
97771
+ callback: function ($$v) {
97772
+ _vm.$set(_vm.searchForm, "popularizePlanName", $$v);
97773
+ },
97774
+ expression: "searchForm.popularizePlanName"
97775
+ }
97776
+ })], 1)]), _c('el-col', {
97777
+ attrs: {
97778
+ "span": 6
97779
+ }
97780
+ }, [_c('div', {
97781
+ staticClass: "blogger-search-item"
97782
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.tagName")))]), _c('el-select', {
97783
+ staticClass: "normal-select",
97784
+ attrs: {
97785
+ "clearable": "",
97786
+ "multiple": "",
97787
+ "collapse-tags": "",
97788
+ "filterable": "",
97789
+ "placeholder": _vm.$t('inboxMail.search.defaultSelect')
97790
+ },
97791
+ on: {
97792
+ "change": _vm.handleTagChange
97793
+ },
97794
+ model: {
97795
+ value: _vm.searchForm.selectTag,
97796
+ callback: function ($$v) {
97797
+ _vm.$set(_vm.searchForm, "selectTag", $$v);
97798
+ },
97799
+ expression: "searchForm.selectTag"
97800
+ }
97801
+ }, _vm._l(_vm.tags, function (item) {
97802
+ return _c('el-option', {
97803
+ key: item.value,
97804
+ attrs: {
97805
+ "label": item.label,
97806
+ "value": item.value
97807
+ }
97808
+ });
97809
+ }), 1)], 1)])], 1), _c('el-row', {
97810
+ staticClass: "second-row",
97811
+ attrs: {
97812
+ "gutter": 16
97813
+ }
97814
+ }, [_c('el-col', {
97815
+ attrs: {
97816
+ "span": 6
97817
+ }
97818
+ }, [_c('div', {
97819
+ staticClass: "blogger-search-item"
97820
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.isStar")))]), _c('el-select', {
97821
+ staticClass: "normal-select",
97822
+ attrs: {
97823
+ "clearable": "",
97824
+ "placeholder": _vm.$t('inboxMail.search.defaultSelect')
97825
+ },
97826
+ model: {
97827
+ value: _vm.searchForm.isStar,
97828
+ callback: function ($$v) {
97829
+ _vm.$set(_vm.searchForm, "isStar", $$v);
97830
+ },
97831
+ expression: "searchForm.isStar"
97832
+ }
97833
+ }, [_c('el-option', {
97834
+ attrs: {
97835
+ "value": 0,
97836
+ "label": _vm.$t('inboxMail.search.all')
97837
+ }
97838
+ }), _c('el-option', {
97839
+ attrs: {
97840
+ "value": 1,
97841
+ "label": _vm.$t('inboxMail.search.starred')
97842
+ }
97843
+ })], 1)], 1)]), _c('el-col', {
97844
+ attrs: {
97845
+ "span": 6
97846
+ }
97847
+ }, [_c('div', {
97848
+ staticClass: "blogger-search-item"
97849
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.isRead")))]), _c('el-select', {
97850
+ staticClass: "normal-select",
97851
+ attrs: {
97852
+ "clearable": "",
97853
+ "placeholder": _vm.$t('inboxMail.search.defaultSelect')
97854
+ },
97855
+ model: {
97856
+ value: _vm.searchForm.isRead,
97857
+ callback: function ($$v) {
97858
+ _vm.$set(_vm.searchForm, "isRead", $$v);
97859
+ },
97860
+ expression: "searchForm.isRead"
97861
+ }
97862
+ }, [_c('el-option', {
97863
+ attrs: {
97864
+ "value": 1,
97865
+ "label": _vm.$t('inboxMail.search.unRead')
97866
+ }
97867
+ }), _c('el-option', {
97868
+ attrs: {
97869
+ "value": 2,
97870
+ "label": _vm.$t('inboxMail.search.read')
97871
+ }
97872
+ })], 1)], 1)]), _c('el-col', {
97873
+ attrs: {
97874
+ "span": 6
97875
+ }
97876
+ }, [_c('div', {
97877
+ staticClass: "blogger-search-item"
97878
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.isReply")))]), _c('el-select', {
97879
+ staticClass: "normal-select",
97880
+ attrs: {
97881
+ "clearable": "",
97882
+ "placeholder": _vm.$t('inboxMail.search.defaultSelect')
97883
+ },
97884
+ model: {
97885
+ value: _vm.searchForm.isReply,
97886
+ callback: function ($$v) {
97887
+ _vm.$set(_vm.searchForm, "isReply", $$v);
97888
+ },
97889
+ expression: "searchForm.isReply"
97890
+ }
97891
+ }, [_c('el-option', {
97892
+ attrs: {
97893
+ "value": 1,
97894
+ "label": _vm.$t('inboxMail.search.replyTrue')
97895
+ }
97896
+ }), _c('el-option', {
97897
+ attrs: {
97898
+ "value": 0,
97899
+ "label": _vm.$t('inboxMail.search.replyFalse')
97900
+ }
97901
+ })], 1)], 1)]), _c('el-col', {
97902
+ attrs: {
97903
+ "span": 6
97904
+ }
97905
+ }, [_c('div', {
97906
+ staticClass: "blogger-search-item"
97907
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.replayTime")))]), _c('el-select', {
97908
+ staticClass: "normal-select",
97909
+ attrs: {
97910
+ "clearable": "",
97911
+ "placeholder": _vm.$t('inboxMail.search.defaultSelect')
97912
+ },
97913
+ model: {
97914
+ value: _vm.searchForm.timeRange,
97915
+ callback: function ($$v) {
97916
+ _vm.$set(_vm.searchForm, "timeRange", $$v);
97917
+ },
97918
+ expression: "searchForm.timeRange"
97919
+ }
97920
+ }, [_c('el-option', {
97921
+ attrs: {
97922
+ "value": "1",
97923
+ "label": _vm.$t('inboxMail.search.time1')
97924
+ }
97925
+ }), _c('el-option', {
97926
+ attrs: {
97927
+ "value": "2",
97928
+ "label": _vm.$t('inboxMail.search.time2')
97929
+ }
97930
+ }), _c('el-option', {
97931
+ attrs: {
97932
+ "value": "3",
97933
+ "label": _vm.$t('inboxMail.search.time3')
97934
+ }
97935
+ })], 1)], 1)])], 1), _c('el-row', {
97936
+ staticClass: "second-row last-row",
97937
+ attrs: {
97938
+ "gutter": 16
97939
+ }
97940
+ }, [_c('el-col', {
97941
+ attrs: {
97942
+ "span": 6
97943
+ }
97944
+ }, [_c('div', {
97945
+ staticClass: "blogger-search-item"
97946
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.sendEmail")))]), _c('el-select', {
97947
+ staticClass: "normal-select",
97948
+ attrs: {
97949
+ "clearable": "",
97950
+ "placeholder": _vm.$t('inboxMail.search.defaultSelect')
97951
+ },
97952
+ model: {
97953
+ value: _vm.searchForm.sentMail,
97954
+ callback: function ($$v) {
97955
+ _vm.$set(_vm.searchForm, "sentMail", $$v);
97956
+ },
97957
+ expression: "searchForm.sentMail"
97958
+ }
97959
+ }, [_c('el-option', {
97960
+ attrs: {
97961
+ "value": 0,
97962
+ "label": _vm.$t('inboxMail.search.sysEmail')
97963
+ }
97964
+ }), _c('el-option', {
97965
+ attrs: {
97966
+ "value": 1,
97967
+ "label": _vm.$t('inboxMail.search.businessEmail')
97968
+ }
97969
+ })], 1)], 1)]), _c('el-col', {
97970
+ attrs: {
97971
+ "span": 6
97972
+ }
97973
+ }, [_c('div', {
97974
+ staticClass: "blogger-btn"
97975
+ }, [_c('el-button', {
97976
+ staticStyle: {
97977
+ "width": "80px"
97978
+ },
97979
+ attrs: {
97980
+ "size": "small",
97981
+ "type": "primary"
97982
+ },
97983
+ on: {
97984
+ "click": function ($event) {
97985
+ _vm.searchForm.currentPage = 1;
97986
+ _vm.init();
97987
+ }
97988
+ }
97989
+ }, [_vm._v(_vm._s(_vm.$t("inboxMail.searchButton.search")))]), _c('el-button', {
97990
+ staticStyle: {
97991
+ "width": "80px"
97992
+ },
97993
+ attrs: {
97994
+ "size": "small"
97995
+ },
97996
+ on: {
97997
+ "click": _vm.reset
97998
+ }
97999
+ }, [_vm._v(_vm._s(_vm.$t("inboxMail.search.reset")))])], 1)])], 1)], 1), _c('div', {
98000
+ staticClass: "mail-wrap legacy relative"
98001
+ }, [_c('div', {
98002
+ staticClass: "tool"
98003
+ }, [_c('div', {
98004
+ staticClass: "flex"
98005
+ }, [_c('div', {
98006
+ staticClass: "tool-item mr8",
98007
+ on: {
98008
+ "click": function ($event) {
98009
+ return _vm.init();
98010
+ }
98011
+ }
98012
+ }, [_c('el-tooltip', {
98013
+ staticClass: "item1",
98014
+ attrs: {
98015
+ "popper-class": "wt-tooltip-mail",
98016
+ "content": _vm.$t('edm5.v1'),
98017
+ "placement": "top"
98018
+ }
98019
+ }, [_c('i', {
98020
+ staticClass: "dss-iconfont icon-refresh-1"
98021
+ })])], 1), _c('div', {
98022
+ staticClass: "tool-item mr8",
98023
+ on: {
98024
+ "click": function ($event) {
98025
+ return _vm.del();
98026
+ }
98027
+ }
98028
+ }, [_c('el-tooltip', {
98029
+ attrs: {
98030
+ "popper-class": "wt-tooltip-mail",
98031
+ "content": _vm.$t('edm5.v2'),
98032
+ "placement": "top"
98033
+ }
98034
+ }, [_c('i', {
98035
+ staticClass: "dss-iconfont icon-delete-2"
98036
+ })])], 1), _c('div', {
98037
+ staticClass: "tool-item mr8",
98038
+ on: {
98039
+ "click": function ($event) {
98040
+ return _vm.setUnRead();
98041
+ }
98042
+ }
98043
+ }, [_c('el-tooltip', {
98044
+ attrs: {
98045
+ "popper-class": "wt-tooltip-mail",
98046
+ "content": _vm.$i18n.t('inboxMail.search.setUnRead'),
98047
+ "placement": "top"
98048
+ }
98049
+ }, [_c('i', {
98050
+ staticClass: "dss-iconfont relative icon-unread mail-unread mail-status"
98051
+ })])], 1), _c('div', {
98052
+ staticClass: "tool-item",
98053
+ on: {
98054
+ "click": _vm.multiReply
98055
+ }
98056
+ }, [_c('el-tooltip', {
98057
+ attrs: {
98058
+ "popper-class": "wt-tooltip-mail",
98059
+ "content": _vm.$i18n.t('inboxMail.search.batchReply'),
98060
+ "placement": "top"
98061
+ }
98062
+ }, [_c('i', {
98063
+ staticClass: "dss-iconfont icon-plhf"
98064
+ })])], 1)])]), _c('div', {
98065
+ ref: "mail",
98066
+ staticClass: "mail-body"
98067
+ }, [_c('el-table', {
98068
+ directives: [{
98069
+ name: "loading",
98070
+ rawName: "v-loading",
98071
+ value: _vm.loading,
98072
+ expression: "loading"
98073
+ }],
98074
+ ref: "table",
98075
+ style: {
98076
+ 'min-height': `${_vm.tableHeight}px`
98077
+ },
98078
+ attrs: {
98079
+ "data": _vm.tableData,
98080
+ "header-cell-class-name": _vm.headCellClass,
98081
+ "cell-class-name": _vm.cellClass,
98082
+ "row-class-name": _vm.rowClass,
98083
+ "row-key": _vm.getRowKeys
98084
+ },
98085
+ on: {
98086
+ "selection-change": _vm.switchMail,
98087
+ "row-contextmenu": _vm.rightClick
98088
+ }
98089
+ }, [_c('el-table-column', {
98090
+ attrs: {
98091
+ "reserve-selection": true,
98092
+ "type": "selection",
98093
+ "align": "center",
98094
+ "width": "48"
98095
+ }
98096
+ }), false ? 0 : _vm._e(), _c('el-table-column', {
98097
+ attrs: {
98098
+ "width": "45"
98099
+ },
98100
+ scopedSlots: _vm._u([{
98101
+ key: "default",
98102
+ fn: function ({
98103
+ row
98104
+ }) {
98105
+ return [_c('span', {
98106
+ on: {
98107
+ "click": function ($event) {
98108
+ $event.stopPropagation();
98109
+ return _vm.isFavorites(row);
98110
+ }
98111
+ }
98112
+ }, [_c('i', {
98113
+ class: row.isStar === 0 ? 'start-icon pm-iconfont icon-star0' : 'start-icon pm-iconfont icon-star1 starcolor'
98114
+ })])];
98115
+ }
98116
+ }])
98117
+ }), _c('el-table-column', {
98118
+ attrs: {
98119
+ "width": "45"
98120
+ },
98121
+ scopedSlots: _vm._u([{
98122
+ key: "default",
98123
+ fn: function ({
98124
+ row
98125
+ }) {
98126
+ return [row.mailStatus === '1' ? _c('span', [_c('i', {
98127
+ staticClass: "dss-iconfont icon-contact2",
98128
+ style: {
98129
+ color: _vm.primary
98130
+ }
98131
+ })]) : _vm._e(), row.mailStatus === '2' ? _c('span', {
98132
+ on: {
98133
+ "click": function ($event) {
98134
+ return _vm.changeRead(row);
98135
+ }
98136
+ }
98137
+ }, [_c('el-tooltip', {
98138
+ attrs: {
98139
+ "popper-class": "wt-tooltip-mail",
98140
+ "content": _vm.$i18n.t('inboxMail.search.setUnRead'),
98141
+ "placement": "top"
98142
+ }
98143
+ }, [_c('i', {
98144
+ staticClass: "dss-iconfont relative icon-read-2 mail-read"
98145
+ })])], 1) : _vm._e()];
98146
+ }
98147
+ }])
98148
+ }), _c('el-table-column', {
98149
+ attrs: {
98150
+ "width": "70"
98151
+ },
98152
+ scopedSlots: _vm._u([{
98153
+ key: "default",
98154
+ fn: function ({
98155
+ row
98156
+ }) {
98157
+ return [row.isReply === 1 ? _c('span', [_vm._v(" " + _vm._s(_vm.$t("inboxMail.search.replyTrue")) + " ")]) : _c('span')];
98158
+ }
98159
+ }])
98160
+ }), _c('el-table-column', {
98161
+ attrs: {
98162
+ "width": "140"
98163
+ },
98164
+ scopedSlots: _vm._u([{
98165
+ key: "default",
98166
+ fn: function ({
98167
+ row
98168
+ }) {
98169
+ return [_c('p', {
98170
+ staticClass: "beyond_eip",
98171
+ class: row.isRead === 1 ? 'font-bold .text-gray-700' : '',
98172
+ on: {
98173
+ "click": function ($event) {
98174
+ return _vm.skipDetail(row);
98175
+ }
98176
+ }
98177
+ }, [_vm._v(" " + _vm._s(row.bloggerName) + " ")])];
98178
+ }
98179
+ }])
98180
+ }), _c('el-table-column', {
98181
+ attrs: {
98182
+ "width": "140"
98183
+ },
98184
+ scopedSlots: _vm._u([{
98185
+ key: "default",
98186
+ fn: function ({
98187
+ row
98188
+ }) {
98189
+ return [_c('div', {
98190
+ staticClass: "mail-task flex items-center"
98191
+ }, [row.popularizePlanName !== '' && row.popularizePlanName !== null ? [_c('i', {
98192
+ staticClass: "dss-iconfont icon-task",
98193
+ staticStyle: {
98194
+ "font-size": "22px"
98195
+ },
98196
+ style: {
98197
+ color: row.isRead === 2 ? '#999999' : '#FF5277'
98198
+ }
98199
+ }), _c('span', {
98200
+ staticClass: "beyond_eip",
98201
+ class: row.isRead === 1 ? 'font-bold text-gray-700' : '',
98202
+ attrs: {
98203
+ "title": row.popularizePlanName
98204
+ },
98205
+ on: {
98206
+ "click": function ($event) {
98207
+ return _vm.skipPlan(row);
98208
+ }
98209
+ }
98210
+ }, [_vm._v(_vm._s(row.popularizePlanName))])] : _c('span', [_vm._v(_vm._s(_vm.$t("inboxMail.search.noTask")))])], 2)];
98211
+ }
98212
+ }])
98213
+ }), _c('el-table-column', {
98214
+ ref: "a1",
98215
+ scopedSlots: _vm._u([{
98216
+ key: "default",
98217
+ fn: function ({
98218
+ row
98219
+ }) {
98220
+ return [_c('div', {
98221
+ staticClass: "mail-main"
98222
+ }, [row.isAttachment === 1 ? _c('i', {
98223
+ staticClass: "dss-iconfont icon-file-3",
98224
+ staticStyle: {
98225
+ "margin-right": "2px"
98226
+ }
98227
+ }) : _vm._e(), _c('span', {
98228
+ staticClass: "mail-subject beyond_eip mr8",
98229
+ class: row.isRead === 1 ? 'font-bold text-gray-700' : '',
98230
+ on: {
98231
+ "click": function ($event) {
98232
+ return _vm.skipDetail(row);
98233
+ }
98234
+ }
98235
+ }, [_vm._v(_vm._s(row.subject))]), _c('span', {
98236
+ staticClass: "mail-content beyond_eip ml6 mr16",
98237
+ staticStyle: {
98238
+ "color": "#999999"
98239
+ },
98240
+ domProps: {
98241
+ "innerHTML": _vm._s(_vm.filterHtmlTag(row.content))
98242
+ },
98243
+ on: {
98244
+ "click": function ($event) {
98245
+ return _vm.skipDetail(row);
98246
+ }
98247
+ }
98248
+ }), _c('div', {
98249
+ ref: "mailTagList",
98250
+ staticClass: "mail-tag"
98251
+ }, _vm._l(row.tagList, function (t, i) {
98252
+ return _c('div', {
98253
+ key: i,
98254
+ staticClass: "mail-tag-item inbox-item",
98255
+ style: {
98256
+ color: '#fff',
98257
+ background: t.tagColor
98258
+ },
98259
+ attrs: {
98260
+ "title": t.tagName
98261
+ },
98262
+ on: {
98263
+ "click": function ($event) {
98264
+ return _vm.handleBindTag(row, t);
98265
+ }
98266
+ }
98267
+ }, [_vm._v(" " + _vm._s(t.tagName.length > 6 ? t.tagName.slice(0, 6) + " ..." : t.tagName) + " "), _c('i', {
98268
+ staticClass: "el-icon-close inbox-icon-close"
98269
+ })]);
98270
+ }), 0), _c('div', {
98271
+ staticClass: "add-block"
98272
+ }), _c('div', {
98273
+ staticClass: "tag-add"
98274
+ }, [_c('span', {
98275
+ staticClass: "tag-btn",
98276
+ staticStyle: {
98277
+ "font-size": "12px"
98278
+ },
98279
+ on: {
98280
+ "click": function ($event) {
98281
+ return _vm.addMailTag(row);
98282
+ }
98283
+ }
98284
+ }, [_c('span', [_vm._v("+")]), _vm._v(" " + _vm._s(_vm.$t("inboxTable.addTag")))])])])];
98285
+ }
98286
+ }])
98287
+ }), _c('el-table-column', {
98288
+ attrs: {
98289
+ "width": "160"
98290
+ },
98291
+ scopedSlots: _vm._u([{
98292
+ key: "default",
98293
+ fn: function ({
98294
+ row
98295
+ }) {
98296
+ return [_c('p', {
98297
+ staticStyle: {
98298
+ "color": "#666666"
98299
+ },
98300
+ on: {
98301
+ "click": function ($event) {
98302
+ return _vm.skipDetail(row);
98303
+ }
98304
+ }
98305
+ }, [_vm._v(" " + _vm._s(row.createTime) + " ")])];
98306
+ }
98307
+ }])
98308
+ })], 1)], 1), _c('div', {
98309
+ staticClass: "mail-foot mb16"
98310
+ }, [_vm.tableTotal > 0 ? _c('el-pagination', {
98311
+ attrs: {
98312
+ "current-page": _vm.searchForm.currentPage,
98313
+ "total": _vm.tableTotal,
98314
+ "page-size": _vm.searchForm.pageSize,
98315
+ "background": "",
98316
+ "layout": "total, sizes, prev, pager, next, jumper"
98317
+ },
98318
+ on: {
98319
+ "update:currentPage": function ($event) {
98320
+ return _vm.$set(_vm.searchForm, "currentPage", $event);
98321
+ },
98322
+ "update:current-page": function ($event) {
98323
+ return _vm.$set(_vm.searchForm, "currentPage", $event);
98324
+ },
98325
+ "current-change": _vm.changePage,
98326
+ "size-change": _vm.changeSize
98327
+ }
98328
+ }) : _vm._e()], 1)]), _vm.isShowSettag ? _c('AddTagsDialog', {
98329
+ attrs: {
98330
+ "isShowDialog": _vm.isShowSettag,
98331
+ "defaultTag": _vm.selectedTags
98332
+ },
98333
+ on: {
98334
+ "updateTag": _vm.updateTag,
98335
+ "closeAddTagsDialog": function ($event) {
98336
+ _vm.isShowSettag = false;
98337
+ }
98037
98338
  }
98038
-
98039
- for (var _t = 16; _t < 80; ++_t) {
98040
- W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);
98339
+ }) : _vm._e(), _c('el-dialog', {
98340
+ attrs: {
98341
+ "title": _vm.$t('inboxTable.tip'),
98342
+ "visible": _vm.dialogVisible,
98343
+ "width": "420px",
98344
+ "show-close": true
98345
+ },
98346
+ on: {
98347
+ "update:visible": function ($event) {
98348
+ _vm.dialogVisible = $event;
98349
+ }
98041
98350
  }
98042
-
98043
- var a = H[0];
98044
- var b = H[1];
98045
- var c = H[2];
98046
- var d = H[3];
98047
- var e = H[4];
98048
-
98049
- for (var _t2 = 0; _t2 < 80; ++_t2) {
98050
- var s = Math.floor(_t2 / 20);
98051
- var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;
98052
- e = d;
98053
- d = c;
98054
- c = ROTL(b, 30) >>> 0;
98055
- b = a;
98056
- a = T;
98351
+ }, [_c('div', {
98352
+ staticClass: "delete-shield",
98353
+ staticStyle: {
98354
+ "display": "flex"
98057
98355
  }
98058
-
98059
- H[0] = H[0] + a >>> 0;
98060
- H[1] = H[1] + b >>> 0;
98061
- H[2] = H[2] + c >>> 0;
98062
- H[3] = H[3] + d >>> 0;
98063
- H[4] = H[4] + e >>> 0;
98064
- }
98065
-
98066
- return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];
98067
- }
98068
-
98069
- /* harmony default export */ var esm_browser_sha1 = (sha1);
98070
- ;// ./node_modules/uuid/dist/esm-browser/v5.js
98071
-
98072
-
98073
- var v5 = v35('v5', 0x50, esm_browser_sha1);
98074
- /* harmony default export */ var esm_browser_v5 = (v5);
98075
- ;// ./node_modules/vue-uuid/dist/index.esm.js
98076
-
98077
-
98078
- // @ts-check
98079
- /**
98080
- * @typedef {Object} UUID
98081
- * @property {typeof v1} v1
98082
- * @property {typeof v3} v3
98083
- * @property {typeof v4} v4
98084
- * @property {typeof v5} v5
98085
- */
98086
-
98087
- /**
98088
- * An object with uuid's v1, v3, v4 and v5 functions.
98089
- * @type {UUID}
98090
- */
98091
-
98092
- var uuid = {
98093
- v1: esm_browser_v1,
98094
- v3: esm_browser_v3,
98095
- v4: esm_browser_v4,
98096
- v5: esm_browser_v5
98097
- };
98098
- /**
98099
- * @typedef {import('vue').App<HostElement>} App
98100
- * @template HostElement
98101
- */
98102
-
98103
- /**
98104
- * Defines '$uuid' property globally, to be accessed in any component instance
98105
- * inside the application. The '$uuid' is an object with uuid's v1, v3, v4 and
98106
- * v5 functions.
98107
- *
98108
- * @example
98109
- * import Vue from 'vue';
98110
- * import withUUID from 'vue-uuid';
98111
- *
98112
- * const app = withUUID(
98113
- * createApp({
98114
- * // ...
98115
- * }),
98116
- * );
98117
- *
98118
- * app.component('c-button', {
98119
- * created() {
98120
- * this.id = this.$uuid.v4();
98121
- * }
98122
- * });
98123
- * @param {App<HostElement>} app
98124
- * @returns {App<HostElement>}
98125
- * @template HostElement
98126
- */
98127
-
98128
- function withUUID(app) {
98129
- app.config.globalProperties["$uuid"] = uuid;
98130
- return app;
98131
- }
98132
-
98133
-
98134
-
98135
- ;// ./src/utils/common.js
98136
-
98137
-
98138
-
98139
- /**
98140
- * 非空判断
98141
- * @param {*} obj
98142
- * @returns
98143
- */
98144
- function common_isEmpty(obj) {
98145
- return typeof obj === 'undefined' || obj === null || obj === '';
98146
- }
98147
-
98148
- /**
98149
- * 获取服务端时间戳与客户端时间戳差距
98150
- */
98151
- async function getTimestamp() {
98152
- let timeDifference = 0;
98153
- fetch('https://api.kuku.info/koc/common/getMicrotime').then(res => {
98154
- timeDifference = new Date().getTime() - res.data.data;
98155
- }).catch(() => {});
98156
- return timeDifference;
98157
- }
98158
-
98159
- /**
98160
- * 配置请求头中的 sourceApp
98161
- * @param str 入参字符串 hub 或 dss
98162
- */
98163
- function initSourceApp(str) {
98164
- localStorage.setItem('sourceApp', str);
98165
- }
98166
-
98167
- /**
98168
- * 非对称加密
98169
- */
98170
- function getKey(k) {
98171
- let encryptor = new JSEncrypt_JSEncrypt();
98172
- encryptor.setPublicKey(testA('4ADS20wxtyAw'));
98173
- let passwordEncryp = encryptor.encrypt(k);
98174
- return passwordEncryp;
98175
- }
98176
- function testA(str) {
98177
- if (Object.prototype.toString.call(str)) {
98178
- return testB('M1Fw3wD5QYJKoZIhvcNAQEBBQADSwAwSAJBAPWZswFK/6');
98179
- }
98180
- return false;
98181
- }
98182
- function testB(str) {
98183
- if (Object.prototype.toString.call(str)) {
98184
- let b = str.replace(new RegExp('1', 'g'), "");
98185
- let c = b.replace(new RegExp('3', 'g'), "");
98186
- let d = c.replace(new RegExp('5', 'g'), "");
98187
- return testC("AJB5APWZ" + d);
98188
- }
98189
- return false;
98190
- }
98191
- function testC(str) {
98192
- if (Object.prototype.toString.call(str)) {
98193
- let test_str = '++m2Kx72j8q73mLKCxi72MZG6knk7vQAz9Ed4SgbJ67juHT7Km';
98194
- let test_A = test_str.split('').reverse().join("");
98195
- let test_B = test_A.split("").reverse().join("");
98196
- let b = test_B.replace(new RegExp('3m', 'g'), "");
98197
- let c = b.replace(new RegExp('6k', 'g'), "");
98198
- let d = c.replace(new RegExp('gb', 'g'), "");
98199
- return testD(str.slice(8) + d);
98200
- }
98201
- return false;
98202
- }
98203
- function testD(str) {
98204
- if (Object.prototype.toString.call(str)) {
98205
- let test_A = '7kdTklfaAsccYCeQbhDr7Cd8mWFleQtVKM6mM90CAwEAAQ==';
98206
- let b = test_A.replace(new RegExp('cc', 'g'), "");
98207
- let c = b.replace(new RegExp('8m', 'g'), "");
98208
- let d = "hDr7Cd98mWF" + c.replace(new RegExp('90', 'g'), "");
98209
- return str.split('').reverse().join("").split('').reverse().join("") + d.slice(11);
98210
- }
98211
- return false;
98212
- }
98213
- ;// ./src/utils/request.js
98214
-
98215
-
98216
-
98217
-
98218
-
98219
- let baseUrl = "";
98220
- let defaultEnv = "";
98221
- function initJavaService(env) {
98222
- defaultEnv = env;
98223
- if (env === "dev" || env === "development" || env === "test") {
98224
- baseUrl = "https://k8s-api.wotohub.com"; // https://pre-api.kuku.info
98225
- } else if (env === "pre") {
98226
- baseUrl = "https://k8s-api.wotohub.com"; // https://pre-api.kuku.info
98227
- } else if (env === "prod" || env === "production") {
98228
- baseUrl = "https://api-prd.wotohub.com/";
98229
- }
98230
- }
98231
- const request_instance = lib_axios.create({
98232
- baseURL: "",
98233
- timeout: 250000
98234
- });
98235
- request_instance.interceptors.request.use(function (config) {
98236
- const timestamp = new Date().getTime();
98237
- const nonce = getRangeCode() + timestamp;
98238
- // 设置签名
98239
- let _key = uuid.v4();
98240
- const parameter = config.params || config.data;
98241
- let signatureObj = {};
98242
- let signature = "";
98243
- if (parameter) {
98244
- signatureObj = signatureAlgorithmForJava(config.url, nonce, timestamp, parameter, _key);
98245
- signature = signatureObj.hmacBytes;
98246
- } else {
98247
- signatureObj = signatureAlgorithmForJava(config.url, nonce, timestamp, null, _key);
98248
- signature = signatureObj.hmacBytes;
98249
- }
98250
- config.baseURL = defaultEnv ? baseUrl : "https://k8s-api.wotohub.com"; //https://pre-api.kuku.info';
98251
- // 设置应用头
98252
- config.headers["appkey"] = getKey(_key);
98253
- config.headers["timestamp"] = timestamp;
98254
- config.headers["nonce"] = nonce;
98255
- config.headers["cookieid"] = signature;
98256
- config.headers["sign"] = signatureAlgorithm2(parameter).hmacBytes;
98257
- config.headers["token"] = localStorage.getItem("token");
98258
- config.headers["Content-Type"] = "application/json";
98259
- if (config.config) {
98260
- if (config.config.contentType && config.config.contentType === "formData") {
98261
- config.headers["Content-Type"] = "multipart/form-data";
98356
+ }, [_c('i', {
98357
+ staticClass: "delete-shield-icon el-icon-warning"
98358
+ }), _c('div', {
98359
+ staticStyle: {
98360
+ "display": "flex",
98361
+ "flex-direction": "column"
98262
98362
  }
98263
- }
98264
-
98265
- // 设置应用头
98266
- let sourceApp = localStorage.getItem("sourceApp");
98267
- if (sourceApp) {
98268
- config.headers["sourceApp"] = localStorage.getItem("sourceApp");
98269
- }
98270
-
98271
- // hub token
98272
- if (localStorage.getItem("token")) {
98273
- config.headers["token"] = localStorage.getItem("token");
98274
- }
98275
- // dss token
98276
- if (localStorage.getItem("Authorization")) {
98277
- config.headers["Authorization"] = localStorage.getItem("Authorization");
98278
- }
98279
- // dss_token
98280
- if (localStorage.getItem("dss_token")) {
98281
- config.headers["dss-token"] = localStorage.getItem("dss_token");
98282
- }
98283
- return config;
98284
- }, function (error) {
98285
- // 对请求错误做些什么
98286
- return Promise.reject(error);
98287
- });
98288
- // 添加响应拦截器
98289
- request_instance.interceptors.response.use(function (response) {
98290
- // 对响应数据做点什么
98291
- if (response.status === 503) {
98292
- alert("服务器不可用,请联系管理员");
98293
- }
98294
- if (response.status === 200 || response.status === 0) {
98295
- if (response.data.code === "1006") {
98296
- localStorage.removeItem("user_info");
98297
- localStorage.removeItem("user_equity");
98298
- localStorage.removeItem("token");
98299
- localStorage.removeItem("dss_token");
98300
- localStorage.removeItem("referrer");
98301
- localStorage.removeItem("isRemindUnlock");
98302
- localStorage.removeItem("inboxPage");
98303
- localStorage.removeItem("outboxPage");
98304
- localStorage.removeItem("omaToken");
98305
- localStorage.removeItem("oma_token");
98306
- if (['www.wotohub.com', 'pre-hub.kuku.info'].includes(window.location.host)) {
98307
- window.location.href = "/login";
98308
- }
98309
- } else if (response.data.message === "用户未登录") {
98310
- localStorage.removeItem("user_info");
98311
- localStorage.removeItem("user_equity");
98312
- localStorage.removeItem("token");
98313
- localStorage.removeItem("dss_token");
98314
- localStorage.removeItem("referrer");
98315
- localStorage.removeItem("isRemindUnlock");
98316
- localStorage.removeItem("inboxPage");
98317
- localStorage.removeItem("outboxPage");
98318
- localStorage.removeItem("omaToken");
98319
- localStorage.removeItem("oma_token");
98320
- if (['www.wotohub.com', 'pre-hub.kuku.info'].includes(window.location.host)) {
98321
- window.location.href = "/login";
98363
+ }, [_c('span', [_vm._v(_vm._s(_vm.$t("inboxTable.delMail")) + "?")]), _c('span', [_vm._v(_vm._s(_vm.$t("inboxTable.deleteTip")))])])]), _c('span', {
98364
+ staticClass: "dialog-footer",
98365
+ attrs: {
98366
+ "slot": "footer"
98367
+ },
98368
+ slot: "footer"
98369
+ }, [_c('el-button', {
98370
+ attrs: {
98371
+ "size": "small"
98372
+ },
98373
+ on: {
98374
+ "click": function ($event) {
98375
+ _vm.dialogVisible = false;
98322
98376
  }
98323
98377
  }
98324
- }
98325
- return response.data;
98326
- }, function (error) {
98327
- // 对响应错误做点什么
98328
- return Promise.reject(error);
98329
- });
98330
- const request_get = (url, data) => {
98331
- return new Promise((resolve, reject) => {
98332
- request_instance.get(url, {
98333
- params: data
98334
- }).then(res => {
98335
- resolve(res);
98336
- }).catch(err => {
98337
- reject(err);
98338
- });
98339
- });
98340
- };
98341
- const request_del = (url, data) => {
98342
- return new Promise((resolve, reject) => {
98343
- request_instance.delete(url, {
98344
- params: data
98345
- }).then(res => {
98346
- resolve(res);
98347
- }).catch(err => {
98348
- reject(err);
98349
- });
98350
- });
98351
- };
98352
- const request_del2 = (url, params) => {
98353
- return new Promise((resolve, reject) => {
98354
- request_instance.delete(url, {
98355
- data: params
98356
- }).then(res => {
98357
- resolve(res);
98358
- }).catch(err => {
98359
- reject(err);
98360
- });
98361
- });
98362
- };
98363
- const request_post = (url, data, type) => {
98364
- return new Promise((resolve, reject) => {
98365
- request_instance.post(url, data, {
98366
- responseType: type ? "blob" : "json"
98367
- }).then(res => {
98368
- resolve(res);
98369
- }).catch(err => {
98370
- reject(err);
98371
- });
98372
- });
98373
- };
98374
- const request_put = (url, data) => {
98375
- return new Promise((resolve, reject) => {
98376
- request_instance.put(url, data).then(res => {
98377
- resolve(res);
98378
- }).catch(err => {
98379
- reject(err);
98380
- });
98381
- });
98382
- };
98383
- const uploadSingleFile = (url, data, fn) => {
98384
- return request_instance({
98385
- method: "post",
98386
- url,
98387
- data,
98388
- onUploadProgress: fn,
98389
- config: {
98390
- contentType: "formData"
98378
+ }, [_vm._v(_vm._s(_vm.$t("inboxTable.cancel")))]), _c('el-button', {
98379
+ attrs: {
98380
+ "type": "primary",
98381
+ "size": "small"
98391
98382
  },
98392
- headers: {
98393
- "Content-Type": "multipart/form-data"
98394
- //'Content-Disposition': 'attachment; filename=hello123' //
98383
+ on: {
98384
+ "click": _vm.handleConfirmDel
98395
98385
  }
98396
- });
98386
+ }, [_vm._v(_vm._s(_vm.$t("inboxTable.confirm")))]), _c('el-button', {
98387
+ attrs: {
98388
+ "type": "primary",
98389
+ "size": "small"
98390
+ },
98391
+ on: {
98392
+ "click": _vm.handleDelShield
98393
+ }
98394
+ }, [_vm._v(_vm._s(_vm.$t("inboxTable.delShieldBtn")))])], 1)])], 1);
98397
98395
  };
98396
+ var edm_inboxvue_type_template_id_6c6763e0_scoped_true_staticRenderFns = [];
98398
98397
 
98399
- // 返回结果同上
98400
-
98398
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
98399
+ var esnext_iterator_filter = __webpack_require__(4520);
98400
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js
98401
+ var esnext_iterator_map = __webpack_require__(1454);
98401
98402
  ;// ./src/api/inbox/index.js
98402
98403
  /**
98403
98404
  * 测试api
@@ -104386,7 +104387,7 @@ const message = {
104386
104387
  email_quality_inspection: "Email Quality Check",
104387
104388
  create_email: "Create Email",
104388
104389
  tip9: "Exceeded daily email sending limit.",
104389
- tip10_1: "To ensure the health of your mailbox, the daily email sending limit is 5,000 emails. You have",
104390
+ tip10_1: "To ensure the health of your mailbox, the daily email sending limit is {value} emails. You have",
104390
104391
  tip10_2: "emails remaining to send today. You can",
104391
104392
  tip11: "Save the email to drafts",
104392
104393
  tip12: "Schedule to send the next day",
@@ -104394,7 +104395,7 @@ const message = {
104394
104395
  send_notice: "Sending Guidelines",
104395
104396
  tip13: "For more email optimization tips, please contact customer service.",
104396
104397
  tip14: "Do not show again for 14 days",
104397
- tip15: "To ensure the health of your mailbox, the combined daily sending limit for primary and sub-accounts is 5000 emails.",
104398
+ tip15: "To ensure the health of the email, there is a limit on the total number of daily emails sent by the primary and secondary accounts.",
104398
104399
  tip16: "Using variables in the subject and body can help increase email open rates.",
104399
104400
  tip17: "Recommended usage of template variables",
104400
104401
  tip18: "Using variables in the email subject and body can enrich bulk email content, effectively improving delivery and open rates.",
@@ -104625,7 +104626,7 @@ const message = {
104625
104626
  v187: "2. Maximum recipients per email: 500",
104626
104627
  v188: "3. Daily non-relationship recipients: 1,000",
104627
104628
  v189: "Sending Notes",
104628
- v190: "1. To ensure email health, the combined daily sending limit for master and sub-accounts is 5000 emails",
104629
+ v190: "1. To ensure email health, the combined daily sending limit for master and sub-accounts is {value} emails",
104629
104630
  v191: "2. When sending emails from non-system emails, the email unlock quota will be consumed simultaneously",
104630
104631
  v192: "When sending emails from non-system emails, the email unlock quota will be consumed simultaneously",
104631
104632
  v193: "Default",
@@ -105353,7 +105354,7 @@ const zh_message = {
105353
105354
  email_quality_inspection: "邮件质量检测",
105354
105355
  create_email: "创建邮件",
105355
105356
  tip9: "超过当日邮件发送限额",
105356
- tip10_1: "为保障邮箱健康,每日邮件发送上限为5000封。今日剩余发送数",
105357
+ tip10_1: "为保障邮箱健康,每日邮件发送上限为{value}封。今日剩余发送数",
105357
105358
  tip10_2: "封。您可以",
105358
105359
  tip11: "将邮件暂存至草稿箱",
105359
105360
  tip12: "设置次日的定时发送",
@@ -105361,7 +105362,7 @@ const zh_message = {
105361
105362
  send_notice: "发件需知",
105362
105363
  tip13: "了解更多邮件优化技巧,请咨询客服人员。",
105363
105364
  tip14: "14天内不再提示",
105364
- tip15: "为保障邮箱健康度,主子账号合计单日发送上限为5000封。",
105365
+ tip15: "为保障邮箱健康度,主子账号合计单日发送数存在上限。",
105365
105366
  tip16: "标题和正文中使用变量,有助于提升邮件打开率。",
105366
105367
  tip17: "模版变量推荐用法",
105367
105368
  tip18: "邮件标题和正文中使用变量,可增加群发内容的丰富度,有效提升邮件的送达率和打开率",
@@ -105592,7 +105593,7 @@ const zh_message = {
105592
105593
  v187: "2.每封邮件的最大收件人数:500",
105593
105594
  v188: "3.每日非关系收件人:1,000",
105594
105595
  v189: "发件须知",
105595
- v190: "1.为保障邮箱健康度,主子账号合计单日发送上限为5000封",
105596
+ v190: "1.为保障邮箱健康度,主子账号合计单日发送上限为{value}封",
105596
105597
  v191: "2.非系统邮箱发送邮件时,将同步消耗邮箱解锁配额",
105597
105598
  v192: "非系统邮箱发送邮件时,将同步消耗邮箱解锁配额",
105598
105599
  v193: "默认",
@@ -109413,8 +109414,8 @@ var detail_component = normalizeComponent(
109413
109414
  )
109414
109415
 
109415
109416
  /* harmony default export */ var detail = (detail_component.exports);
109416
- ;// ./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=55f9897e&scoped=true
109417
- var write_emailvue_type_template_id_55f9897e_scoped_true_render = function render() {
109417
+ ;// ./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=7a232057&scoped=true
109418
+ var write_emailvue_type_template_id_7a232057_scoped_true_render = function render() {
109418
109419
  var _vm = this,
109419
109420
  _c = _vm._self._c;
109420
109421
  return _c('div', {
@@ -110048,6 +110049,7 @@ var write_emailvue_type_template_id_55f9897e_scoped_true_render = function rende
110048
110049
  }) : _vm._e(), _vm.isShowLimit ? _c('send-limit', {
110049
110050
  attrs: {
110050
110051
  "isShow": _vm.isShowLimit,
110052
+ "totalSendNum": _vm.totalSendNum,
110051
110053
  "restSendNum": _vm.restSendNum
110052
110054
  },
110053
110055
  on: {
@@ -110084,7 +110086,8 @@ var write_emailvue_type_template_id_55f9897e_scoped_true_render = function rende
110084
110086
  "isGoogleGrayShow": _vm.isGoogleGrayShow,
110085
110087
  "isCheckType": _vm.isCheckType,
110086
110088
  "userId": _vm.userId,
110087
- "addresseeArrLength": _vm.addresseeArr.length
110089
+ "addresseeArrLength": _vm.addresseeArr.length,
110090
+ "totalSendNum": _vm.totalSendNum
110088
110091
  },
110089
110092
  on: {
110090
110093
  "toGuide": _vm.toGuide,
@@ -110173,7 +110176,7 @@ var write_emailvue_type_template_id_55f9897e_scoped_true_render = function rende
110173
110176
  }
110174
110177
  }) : _vm._e()], 1);
110175
110178
  };
110176
- var write_emailvue_type_template_id_55f9897e_scoped_true_staticRenderFns = [function () {
110179
+ var write_emailvue_type_template_id_7a232057_scoped_true_staticRenderFns = [function () {
110177
110180
  var _vm = this,
110178
110181
  _c = _vm._self._c;
110179
110182
  return _c('div', {
@@ -110194,7 +110197,7 @@ var write_emailvue_type_template_id_55f9897e_scoped_true_staticRenderFns = [func
110194
110197
  }, [_c('span', [_vm._v("$4.98")]), _vm._v(" /per ordered item ")]);
110195
110198
  }];
110196
110199
 
110197
- ;// ./src/package/write-email/index.vue?vue&type=template&id=55f9897e&scoped=true
110200
+ ;// ./src/package/write-email/index.vue?vue&type=template&id=7a232057&scoped=true
110198
110201
 
110199
110202
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
110200
110203
  var es_set_difference_v2 = __webpack_require__(7642);
@@ -111926,14 +111929,14 @@ var sendNotice_component = normalizeComponent(
111926
111929
  )
111927
111930
 
111928
111931
  /* harmony default export */ var sendNotice = (sendNotice_component.exports);
111929
- ;// ./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/sendLimit.vue?vue&type=template&id=c8fee544
111930
- var sendLimitvue_type_template_id_c8fee544_render = function render() {
111932
+ ;// ./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/sendLimit.vue?vue&type=template&id=41726dfd
111933
+ var sendLimitvue_type_template_id_41726dfd_render = function render() {
111931
111934
  var _vm = this,
111932
111935
  _c = _vm._self._c;
111933
111936
  return _c('el-dialog', {
111934
111937
  attrs: {
111935
111938
  "visible": _vm.isShow,
111936
- "title": _vm.$i18n.t('setMail.tip9'),
111939
+ "title": _vm.$i18n.t('checkMail.tip9'),
111937
111940
  "width": "480px",
111938
111941
  "before-close": _vm.closeLimit,
111939
111942
  "custom-class": "limit-dialog",
@@ -111946,7 +111949,9 @@ var sendLimitvue_type_template_id_c8fee544_render = function render() {
111946
111949
  }
111947
111950
  }, [_c('p', {
111948
111951
  staticClass: "tip2"
111949
- }, [_vm._v(" " + _vm._s(_vm.$i18n.t("checkMail.tip10_1")) + " "), _c('span', [_vm._v(_vm._s(_vm.restSendNum))]), _vm._v(" " + _vm._s(_vm.$i18n.t("checkMail.tip10_2")) + " ")]), _c('ul', {
111952
+ }, [_vm._v(" " + _vm._s(_vm.$i18n.t("checkMail.tip10_1", {
111953
+ value: _vm.totalSendNum
111954
+ })) + " "), _c('span', [_vm._v(_vm._s(_vm.restSendNum))]), _vm._v(" " + _vm._s(_vm.$i18n.t("checkMail.tip10_2")) + " ")]), _c('ul', {
111950
111955
  staticClass: "limit-ul"
111951
111956
  }, [_c('li', [_vm._v(_vm._s(_vm.$i18n.t("checkMail.tip11")))]), _c('li', [_vm._v(_vm._s(_vm.$i18n.t("checkMail.tip12")))])]), _c('span', {
111952
111957
  staticClass: "dialog-footer",
@@ -111964,7 +111969,7 @@ var sendLimitvue_type_template_id_c8fee544_render = function render() {
111964
111969
  }
111965
111970
  }, [_vm._v(_vm._s(_vm.$i18n.t("checkMail.know")))])], 1)]);
111966
111971
  };
111967
- var sendLimitvue_type_template_id_c8fee544_staticRenderFns = [];
111972
+ var sendLimitvue_type_template_id_41726dfd_staticRenderFns = [];
111968
111973
 
111969
111974
  ;// ./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/sendLimit.vue?vue&type=script&lang=js
111970
111975
  /* harmony default export */ var sendLimitvue_type_script_lang_js = ({
@@ -111973,6 +111978,11 @@ var sendLimitvue_type_template_id_c8fee544_staticRenderFns = [];
111973
111978
  default: false,
111974
111979
  type: Boolean
111975
111980
  },
111981
+ // 每日总数量
111982
+ totalSendNum: {
111983
+ type: Number,
111984
+ default: 0
111985
+ },
111976
111986
  // 剩余数量
111977
111987
  restSendNum: {
111978
111988
  type: Number,
@@ -111990,10 +112000,10 @@ var sendLimitvue_type_template_id_c8fee544_staticRenderFns = [];
111990
112000
  });
111991
112001
  ;// ./src/package/write-email/components/sendLimit.vue?vue&type=script&lang=js
111992
112002
  /* harmony default export */ var components_sendLimitvue_type_script_lang_js = (sendLimitvue_type_script_lang_js);
111993
- ;// ./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/sendLimit.vue?vue&type=style&index=0&id=c8fee544&prod&lang=scss
112003
+ ;// ./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/sendLimit.vue?vue&type=style&index=0&id=41726dfd&prod&lang=scss
111994
112004
  // extracted by mini-css-extract-plugin
111995
112005
 
111996
- ;// ./src/package/write-email/components/sendLimit.vue?vue&type=style&index=0&id=c8fee544&prod&lang=scss
112006
+ ;// ./src/package/write-email/components/sendLimit.vue?vue&type=style&index=0&id=41726dfd&prod&lang=scss
111997
112007
 
111998
112008
  ;// ./src/package/write-email/components/sendLimit.vue
111999
112009
 
@@ -112006,8 +112016,8 @@ var sendLimitvue_type_template_id_c8fee544_staticRenderFns = [];
112006
112016
 
112007
112017
  var sendLimit_component = normalizeComponent(
112008
112018
  components_sendLimitvue_type_script_lang_js,
112009
- sendLimitvue_type_template_id_c8fee544_render,
112010
- sendLimitvue_type_template_id_c8fee544_staticRenderFns,
112019
+ sendLimitvue_type_template_id_41726dfd_render,
112020
+ sendLimitvue_type_template_id_41726dfd_staticRenderFns,
112011
112021
  false,
112012
112022
  null,
112013
112023
  null,
@@ -112427,8 +112437,8 @@ var checkMail_component = normalizeComponent(
112427
112437
  )
112428
112438
 
112429
112439
  /* harmony default export */ var checkMail = (checkMail_component.exports);
112430
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=template&id=2468bd1b
112431
- var chooseMailNewvue_type_template_id_2468bd1b_render = function render() {
112440
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=template&id=b2391850
112441
+ var chooseMailNewvue_type_template_id_b2391850_render = function render() {
112432
112442
  var _vm = this,
112433
112443
  _c = _vm._self._c;
112434
112444
  return _c('div', {
@@ -112467,7 +112477,9 @@ var chooseMailNewvue_type_template_id_2468bd1b_render = function render() {
112467
112477
  staticClass: "tips-title"
112468
112478
  }, [_vm._v(_vm._s(_vm.$t("edm5.v189")))]), _c('div', {
112469
112479
  staticClass: "tips-item"
112470
- }, [_vm._v(" " + _vm._s(_vm.$t("edm5.v190")) + " ")]), _c('div', {
112480
+ }, [_vm._v(" " + _vm._s(_vm.$t("edm5.v190", {
112481
+ value: _vm.totalSendNum
112482
+ })) + " ")]), _c('div', {
112471
112483
  staticClass: "tips-item"
112472
112484
  }, [_vm._v(" " + _vm._s(_vm.$t("edm5.v191")) + " ")])]) : _vm._e(), !_vm.isCheckType && _vm.language == 'zh' ? _c('span', {
112473
112485
  staticClass: "header-tips"
@@ -113005,7 +113017,7 @@ var chooseMailNewvue_type_template_id_2468bd1b_render = function render() {
113005
113017
  }
113006
113018
  }, [_vm._v(_vm._s(_vm.$i18n.t("setMail.confirm_unbinding")))])], 1)])], 1);
113007
113019
  };
113008
- var chooseMailNewvue_type_template_id_2468bd1b_staticRenderFns = [];
113020
+ var chooseMailNewvue_type_template_id_b2391850_staticRenderFns = [];
113009
113021
 
113010
113022
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=script&lang=js
113011
113023
 
@@ -113048,6 +113060,11 @@ var chooseMailNewvue_type_template_id_2468bd1b_staticRenderFns = [];
113048
113060
  addresseeArrLength: {
113049
113061
  type: Number,
113050
113062
  default: 0
113063
+ },
113064
+ // 每日发送总数
113065
+ totalSendNum: {
113066
+ type: Number,
113067
+ default: 0
113051
113068
  }
113052
113069
  },
113053
113070
  data() {
@@ -113670,10 +113687,10 @@ var chooseMailNewvue_type_template_id_2468bd1b_staticRenderFns = [];
113670
113687
  });
113671
113688
  ;// ./src/package/write-email/components/chooseMailNew.vue?vue&type=script&lang=js
113672
113689
  /* harmony default export */ var components_chooseMailNewvue_type_script_lang_js = (chooseMailNewvue_type_script_lang_js);
113673
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=2468bd1b&prod&lang=scss
113690
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=b2391850&prod&lang=scss
113674
113691
  // extracted by mini-css-extract-plugin
113675
113692
 
113676
- ;// ./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=2468bd1b&prod&lang=scss
113693
+ ;// ./src/package/write-email/components/chooseMailNew.vue?vue&type=style&index=0&id=b2391850&prod&lang=scss
113677
113694
 
113678
113695
  ;// ./src/package/write-email/components/chooseMailNew.vue
113679
113696
 
@@ -113686,8 +113703,8 @@ var chooseMailNewvue_type_template_id_2468bd1b_staticRenderFns = [];
113686
113703
 
113687
113704
  var chooseMailNew_component = normalizeComponent(
113688
113705
  components_chooseMailNewvue_type_script_lang_js,
113689
- chooseMailNewvue_type_template_id_2468bd1b_render,
113690
- chooseMailNewvue_type_template_id_2468bd1b_staticRenderFns,
113706
+ chooseMailNewvue_type_template_id_b2391850_render,
113707
+ chooseMailNewvue_type_template_id_b2391850_staticRenderFns,
113691
113708
  false,
113692
113709
  null,
113693
113710
  null,
@@ -117016,8 +117033,8 @@ var productCardsDrawer_component = normalizeComponent(
117016
117033
  )
117017
117034
 
117018
117035
  /* harmony default export */ var productCardsDrawer = (productCardsDrawer_component.exports);
117019
- ;// ./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/contentBox.vue?vue&type=template&id=a1e6650c&scoped=true
117020
- var contentBoxvue_type_template_id_a1e6650c_scoped_true_render = function render() {
117036
+ ;// ./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/contentBox.vue?vue&type=template&id=20c85755&scoped=true
117037
+ var contentBoxvue_type_template_id_20c85755_scoped_true_render = function render() {
117021
117038
  var _vm = this,
117022
117039
  _c = _vm._self._c;
117023
117040
  return _c('div', {
@@ -117057,12 +117074,6 @@ var contentBoxvue_type_template_id_a1e6650c_scoped_true_render = function render
117057
117074
  }
117058
117075
  }
117059
117076
  })])]), _c('div', {
117060
- directives: [{
117061
- name: "show",
117062
- rawName: "v-show",
117063
- value: !_vm.isMultiReply,
117064
- expression: "!isMultiReply"
117065
- }],
117066
117077
  staticClass: "form-item mb4"
117067
117078
  }, [_c('span', {
117068
117079
  staticClass: "attachment-file"
@@ -117262,9 +117273,9 @@ var contentBoxvue_type_template_id_a1e6650c_scoped_true_render = function render
117262
117273
  }
117263
117274
  }) : _vm._e()], 1);
117264
117275
  };
117265
- var contentBoxvue_type_template_id_a1e6650c_scoped_true_staticRenderFns = [];
117276
+ var contentBoxvue_type_template_id_20c85755_scoped_true_staticRenderFns = [];
117266
117277
 
117267
- ;// ./src/package/write-email/components/contentBox.vue?vue&type=template&id=a1e6650c&scoped=true
117278
+ ;// ./src/package/write-email/components/contentBox.vue?vue&type=template&id=20c85755&scoped=true
117268
117279
 
117269
117280
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.reduce.js
117270
117281
  var esnext_iterator_reduce = __webpack_require__(8872);
@@ -118148,15 +118159,15 @@ var templateUsage_component = normalizeComponent(
118148
118159
  });
118149
118160
  ;// ./src/package/write-email/components/contentBox.vue?vue&type=script&lang=js
118150
118161
  /* harmony default export */ var components_contentBoxvue_type_script_lang_js = (contentBoxvue_type_script_lang_js);
118151
- ;// ./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/contentBox.vue?vue&type=style&index=0&id=a1e6650c&prod&lang=scss&scoped=true
118162
+ ;// ./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/contentBox.vue?vue&type=style&index=0&id=20c85755&prod&lang=scss&scoped=true
118152
118163
  // extracted by mini-css-extract-plugin
118153
118164
 
118154
- ;// ./src/package/write-email/components/contentBox.vue?vue&type=style&index=0&id=a1e6650c&prod&lang=scss&scoped=true
118165
+ ;// ./src/package/write-email/components/contentBox.vue?vue&type=style&index=0&id=20c85755&prod&lang=scss&scoped=true
118155
118166
 
118156
- ;// ./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/contentBox.vue?vue&type=style&index=1&id=a1e6650c&prod&lang=scss
118167
+ ;// ./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/contentBox.vue?vue&type=style&index=1&id=20c85755&prod&lang=scss
118157
118168
  // extracted by mini-css-extract-plugin
118158
118169
 
118159
- ;// ./src/package/write-email/components/contentBox.vue?vue&type=style&index=1&id=a1e6650c&prod&lang=scss
118170
+ ;// ./src/package/write-email/components/contentBox.vue?vue&type=style&index=1&id=20c85755&prod&lang=scss
118160
118171
 
118161
118172
  ;// ./src/package/write-email/components/contentBox.vue
118162
118173
 
@@ -118170,11 +118181,11 @@ var templateUsage_component = normalizeComponent(
118170
118181
 
118171
118182
  var contentBox_component = normalizeComponent(
118172
118183
  components_contentBoxvue_type_script_lang_js,
118173
- contentBoxvue_type_template_id_a1e6650c_scoped_true_render,
118174
- contentBoxvue_type_template_id_a1e6650c_scoped_true_staticRenderFns,
118184
+ contentBoxvue_type_template_id_20c85755_scoped_true_render,
118185
+ contentBoxvue_type_template_id_20c85755_scoped_true_staticRenderFns,
118175
118186
  false,
118176
118187
  null,
118177
- "a1e6650c",
118188
+ "20c85755",
118178
118189
  null
118179
118190
 
118180
118191
  )
@@ -122458,7 +122469,10 @@ var saveMailTempDialog_component = normalizeComponent(
122458
122469
  //过滤重复发件
122459
122470
  isLimit: false,
122460
122471
  //是否超限
122472
+ totalSendNum: 0,
122473
+ // 每日限额发送量
122461
122474
  restSendNum: 0,
122475
+ // 每日剩余发送量
122462
122476
  isSelfClick: false,
122463
122477
  isScheduledMail: false,
122464
122478
  //定时邮件
@@ -122892,6 +122906,7 @@ var saveMailTempDialog_component = normalizeComponent(
122892
122906
  let data = {
122893
122907
  replyIds: ids,
122894
122908
  content: this.mailList[0].getContent() + sendProductCard,
122909
+ attachments: this.mailList[0].fileList,
122895
122910
  sendEntryKey: "inboxMultiReply"
122896
122911
  };
122897
122912
  this.loading = true;
@@ -123150,6 +123165,7 @@ var saveMailTempDialog_component = normalizeComponent(
123150
123165
  // 是否超额0否1是
123151
123166
  this.isLimit = res.data.isExcess == 0 ? false : true;
123152
123167
  this.restSendNum = res.data.surplusNum;
123168
+ this.totalSendNum = res.data.dayNum;
123153
123169
  if (this.isLimit) {
123154
123170
  this.isShowLimit = true;
123155
123171
  return false;
@@ -123980,15 +123996,15 @@ var saveMailTempDialog_component = normalizeComponent(
123980
123996
  });
123981
123997
  ;// ./src/package/write-email/index.vue?vue&type=script&lang=js
123982
123998
  /* harmony default export */ var package_write_emailvue_type_script_lang_js = (write_emailvue_type_script_lang_js);
123983
- ;// ./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=55f9897e&prod&lang=scss&scoped=true
123999
+ ;// ./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=7a232057&prod&lang=scss&scoped=true
123984
124000
  // extracted by mini-css-extract-plugin
123985
124001
 
123986
- ;// ./src/package/write-email/index.vue?vue&type=style&index=0&id=55f9897e&prod&lang=scss&scoped=true
124002
+ ;// ./src/package/write-email/index.vue?vue&type=style&index=0&id=7a232057&prod&lang=scss&scoped=true
123987
124003
 
123988
- ;// ./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=55f9897e&prod&lang=scss
124004
+ ;// ./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=7a232057&prod&lang=scss
123989
124005
  // extracted by mini-css-extract-plugin
123990
124006
 
123991
- ;// ./src/package/write-email/index.vue?vue&type=style&index=1&id=55f9897e&prod&lang=scss
124007
+ ;// ./src/package/write-email/index.vue?vue&type=style&index=1&id=7a232057&prod&lang=scss
123992
124008
 
123993
124009
  ;// ./src/package/write-email/index.vue
123994
124010
 
@@ -124002,11 +124018,11 @@ var saveMailTempDialog_component = normalizeComponent(
124002
124018
 
124003
124019
  var write_email_component = normalizeComponent(
124004
124020
  package_write_emailvue_type_script_lang_js,
124005
- write_emailvue_type_template_id_55f9897e_scoped_true_render,
124006
- write_emailvue_type_template_id_55f9897e_scoped_true_staticRenderFns,
124021
+ write_emailvue_type_template_id_7a232057_scoped_true_render,
124022
+ write_emailvue_type_template_id_7a232057_scoped_true_staticRenderFns,
124007
124023
  false,
124008
124024
  null,
124009
- "55f9897e",
124025
+ "7a232057",
124010
124026
  null
124011
124027
 
124012
124028
  )