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