ecinc-cloud-moaecoav9 9.7.6 → 9.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ecmoaecoa.common.js +213 -67
- package/lib/ecmoaecoa.umd.js +211 -65
- package/lib/ecmoaecoa.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecmoaecoa.umd.js
CHANGED
|
@@ -1701,7 +1701,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0ad892c4] input{font-size:16px
|
|
|
1701
1701
|
|
|
1702
1702
|
/***/ }),
|
|
1703
1703
|
|
|
1704
|
-
/***/
|
|
1704
|
+
/***/ 2307:
|
|
1705
1705
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1706
1706
|
|
|
1707
1707
|
"use strict";
|
|
@@ -1715,7 +1715,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1715
1715
|
|
|
1716
1716
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1717
1717
|
// Module
|
|
1718
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".appVersion[data-v-
|
|
1718
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".appVersion[data-v-7f9d15a8] .van-cell__value{color:#53a8ff}", ""]);
|
|
1719
1719
|
// Exports
|
|
1720
1720
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1721
1721
|
|
|
@@ -1839,7 +1839,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".websocket-main[data-v-37a3d86b]{posit
|
|
|
1839
1839
|
|
|
1840
1840
|
/***/ }),
|
|
1841
1841
|
|
|
1842
|
-
/***/
|
|
1842
|
+
/***/ 6921:
|
|
1843
1843
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1844
1844
|
|
|
1845
1845
|
"use strict";
|
|
@@ -1853,7 +1853,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1853
1853
|
|
|
1854
1854
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1855
1855
|
// Module
|
|
1856
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".msg-list-container[data-v-
|
|
1856
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".msg-list-container[data-v-c3e64278]{background:#f4f4f4;overflow:auto;height:100vh}.message-noMore[data-v-c3e64278]{height:40px;line-height:40px;text-align:center;color:#999;font-size:14px}.message-item[data-v-c3e64278]{width:92%;margin:0 auto}.message-item .message-time[data-v-c3e64278]{height:40px;line-height:40px;text-align:center;color:#999;font-size:12px}.message-item .message-content[data-v-c3e64278]{background:#fff;padding:0 14px;font-family:PingFangSC,PingFang SC;padding-bottom:14px;-webkit-box-shadow:0 0 4px 0 #ebedf0;box-shadow:0 0 4px 0 #ebedf0;border-radius:4px 4px 0 0}.message-item .message-content .message-top[data-v-c3e64278]{height:46px;line-height:46px;font-size:16px;font-weight:700;color:#333}.message-item .message-content .message-top .no-read-dot[data-v-c3e64278]{display:inline-block;width:6px;height:6px;border-radius:50%;background:red;margin-right:6px;vertical-align:middle}.message-item .message-content .message-bottom[data-v-c3e64278]{font-size:13px;color:#999;line-height:20px}.message-item .message-content .message-info[data-v-c3e64278]{margin-top:8px;font-size:12px;color:#999}.message-item .message-btn[data-v-c3e64278],.message-item .message-content .message-info[data-v-c3e64278]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.message-item .message-btn[data-v-c3e64278]{background:#fff;height:38px;line-height:38px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 14px;border-top:1px solid #ebedf0;border-radius:0 0 4px 4px}", ""]);
|
|
1857
1857
|
// Exports
|
|
1858
1858
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1859
1859
|
|
|
@@ -27332,19 +27332,19 @@ var update = add("0c9b247c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27332
27332
|
|
|
27333
27333
|
/***/ }),
|
|
27334
27334
|
|
|
27335
|
-
/***/
|
|
27335
|
+
/***/ 4402:
|
|
27336
27336
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27337
27337
|
|
|
27338
27338
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27339
27339
|
|
|
27340
27340
|
// load the styles
|
|
27341
|
-
var content = __webpack_require__(
|
|
27341
|
+
var content = __webpack_require__(2307);
|
|
27342
27342
|
if(content.__esModule) content = content.default;
|
|
27343
27343
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27344
27344
|
if(content.locals) module.exports = content.locals;
|
|
27345
27345
|
// add the styles to the DOM
|
|
27346
27346
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27347
|
-
var update = add("
|
|
27347
|
+
var update = add("2cb9a616", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27348
27348
|
|
|
27349
27349
|
/***/ }),
|
|
27350
27350
|
|
|
@@ -27428,19 +27428,19 @@ var update = add("cb55188e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27428
27428
|
|
|
27429
27429
|
/***/ }),
|
|
27430
27430
|
|
|
27431
|
-
/***/
|
|
27431
|
+
/***/ 2524:
|
|
27432
27432
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27433
27433
|
|
|
27434
27434
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27435
27435
|
|
|
27436
27436
|
// load the styles
|
|
27437
|
-
var content = __webpack_require__(
|
|
27437
|
+
var content = __webpack_require__(6921);
|
|
27438
27438
|
if(content.__esModule) content = content.default;
|
|
27439
27439
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27440
27440
|
if(content.locals) module.exports = content.locals;
|
|
27441
27441
|
// add the styles to the DOM
|
|
27442
27442
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27443
|
-
var update = add("
|
|
27443
|
+
var update = add("3fbc88e1", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27444
27444
|
|
|
27445
27445
|
/***/ }),
|
|
27446
27446
|
|
|
@@ -39832,8 +39832,8 @@ var mainPage_component = normalizeComponent(
|
|
|
39832
39832
|
)
|
|
39833
39833
|
|
|
39834
39834
|
/* harmony default export */ var mainPage = (mainPage_component.exports);
|
|
39835
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=template&id=
|
|
39836
|
-
var
|
|
39835
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=template&id=7f9d15a8&scoped=true
|
|
39836
|
+
var sysvue_type_template_id_7f9d15a8_scoped_true_render = function render() {
|
|
39837
39837
|
var _vm = this,
|
|
39838
39838
|
_c = _vm._self._c;
|
|
39839
39839
|
return _c('div', {
|
|
@@ -40019,7 +40019,7 @@ var sysvue_type_template_id_50d1c14c_scoped_true_render = function render() {
|
|
|
40019
40019
|
}
|
|
40020
40020
|
}, [_vm._v("退出登录")])], 2);
|
|
40021
40021
|
};
|
|
40022
|
-
var
|
|
40022
|
+
var sysvue_type_template_id_7f9d15a8_scoped_true_staticRenderFns = [];
|
|
40023
40023
|
|
|
40024
40024
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=script&lang=js
|
|
40025
40025
|
function sysvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return sysvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sysvue_type_script_lang_js_typeof(o); }
|
|
@@ -40063,15 +40063,47 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40063
40063
|
methods: {
|
|
40064
40064
|
logout: function logout() {
|
|
40065
40065
|
var _this = this;
|
|
40066
|
-
|
|
40067
|
-
|
|
40068
|
-
|
|
40069
|
-
|
|
40070
|
-
|
|
40071
|
-
|
|
40072
|
-
|
|
40073
|
-
|
|
40074
|
-
|
|
40066
|
+
this.$store.dispatch('user/logout').then( /*#__PURE__*/sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
40067
|
+
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
40068
|
+
while (1) switch (_context.prev = _context.next) {
|
|
40069
|
+
case 0:
|
|
40070
|
+
window.$auth.removeToken();
|
|
40071
|
+
window.$auth.removeTicket();
|
|
40072
|
+
window.$auth.removeProductCode();
|
|
40073
|
+
_context.next = 5;
|
|
40074
|
+
return _this.$store.dispatch('route/updateRoutes', []);
|
|
40075
|
+
case 5:
|
|
40076
|
+
if (window.mappType === 'ecinc') {
|
|
40077
|
+
_this.$wv.logout();
|
|
40078
|
+
} else {
|
|
40079
|
+
_this.$router.push('/login');
|
|
40080
|
+
}
|
|
40081
|
+
case 6:
|
|
40082
|
+
case "end":
|
|
40083
|
+
return _context.stop();
|
|
40084
|
+
}
|
|
40085
|
+
}, _callee);
|
|
40086
|
+
}))).catch( /*#__PURE__*/sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
40087
|
+
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
40088
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
40089
|
+
case 0:
|
|
40090
|
+
window.$auth.removeToken();
|
|
40091
|
+
window.$auth.removeTicket();
|
|
40092
|
+
window.$auth.removeProductCode();
|
|
40093
|
+
_context2.next = 5;
|
|
40094
|
+
return _this.$store.dispatch('route/updateRoutes', []);
|
|
40095
|
+
case 5:
|
|
40096
|
+
if (window.mappType === 'ecinc') {
|
|
40097
|
+
_this.$wv.logout();
|
|
40098
|
+
} else {
|
|
40099
|
+
_this.$router.push('/login');
|
|
40100
|
+
}
|
|
40101
|
+
case 6:
|
|
40102
|
+
case "end":
|
|
40103
|
+
return _context2.stop();
|
|
40104
|
+
}
|
|
40105
|
+
}, _callee2);
|
|
40106
|
+
})));
|
|
40075
40107
|
},
|
|
40076
40108
|
openWeb: function openWeb(val) {
|
|
40077
40109
|
if (val === '用户协议') {
|
|
@@ -40094,9 +40126,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40094
40126
|
title: '设置提示',
|
|
40095
40127
|
message: '是否恢复系统设置',
|
|
40096
40128
|
confirmButtonColor: '#53A8FF'
|
|
40097
|
-
}).then( /*#__PURE__*/sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
40098
|
-
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
40099
|
-
while (1) switch (
|
|
40129
|
+
}).then( /*#__PURE__*/sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
40130
|
+
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
40131
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
40100
40132
|
case 0:
|
|
40101
40133
|
_this2.$wv.removeAppStorageItem({
|
|
40102
40134
|
key: 'defaultPagesSelected'
|
|
@@ -40115,9 +40147,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40115
40147
|
_this2.$toast('恢复系统设置成功');
|
|
40116
40148
|
case 4:
|
|
40117
40149
|
case "end":
|
|
40118
|
-
return
|
|
40150
|
+
return _context3.stop();
|
|
40119
40151
|
}
|
|
40120
|
-
},
|
|
40152
|
+
}, _callee3);
|
|
40121
40153
|
})));
|
|
40122
40154
|
},
|
|
40123
40155
|
clearCache: function clearCache() {
|
|
@@ -40126,16 +40158,16 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40126
40158
|
title: '清除提示',
|
|
40127
40159
|
message: '是否清除缓存',
|
|
40128
40160
|
confirmButtonColor: '#53A8FF'
|
|
40129
|
-
}).then( /*#__PURE__*/sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
40130
|
-
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
40131
|
-
while (1) switch (
|
|
40161
|
+
}).then( /*#__PURE__*/sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
40162
|
+
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
40163
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
40132
40164
|
case 0:
|
|
40133
40165
|
_this3.$wv.clearCache();
|
|
40134
40166
|
case 1:
|
|
40135
40167
|
case "end":
|
|
40136
|
-
return
|
|
40168
|
+
return _context4.stop();
|
|
40137
40169
|
}
|
|
40138
|
-
},
|
|
40170
|
+
}, _callee4);
|
|
40139
40171
|
})));
|
|
40140
40172
|
},
|
|
40141
40173
|
// 获取消息推送状态
|
|
@@ -40162,29 +40194,29 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40162
40194
|
},
|
|
40163
40195
|
getAppVersion: function getAppVersion() {
|
|
40164
40196
|
var _this5 = this;
|
|
40165
|
-
return sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
40166
|
-
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
40167
|
-
while (1) switch (
|
|
40197
|
+
return sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
|
|
40198
|
+
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
40199
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
40168
40200
|
case 0:
|
|
40169
|
-
|
|
40201
|
+
_context5.next = 2;
|
|
40170
40202
|
return _this5.$wv.getAppVersion();
|
|
40171
40203
|
case 2:
|
|
40172
|
-
|
|
40173
|
-
if (
|
|
40174
|
-
|
|
40204
|
+
_context5.t0 = _context5.sent;
|
|
40205
|
+
if (_context5.t0) {
|
|
40206
|
+
_context5.next = 5;
|
|
40175
40207
|
break;
|
|
40176
40208
|
}
|
|
40177
|
-
|
|
40209
|
+
_context5.t0 = '';
|
|
40178
40210
|
case 5:
|
|
40179
|
-
_this5.appVersion =
|
|
40211
|
+
_this5.appVersion = _context5.t0;
|
|
40180
40212
|
if (_this5.appVersion && _this5.appVersion.indexOf('V') === -1) {
|
|
40181
40213
|
_this5.appVersion = 'V' + _this5.appVersion;
|
|
40182
40214
|
}
|
|
40183
40215
|
case 7:
|
|
40184
40216
|
case "end":
|
|
40185
|
-
return
|
|
40217
|
+
return _context5.stop();
|
|
40186
40218
|
}
|
|
40187
|
-
},
|
|
40219
|
+
}, _callee5);
|
|
40188
40220
|
}))();
|
|
40189
40221
|
},
|
|
40190
40222
|
setVConsole: function setVConsole() {
|
|
@@ -40205,9 +40237,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40205
40237
|
});
|
|
40206
40238
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=script&lang=js
|
|
40207
40239
|
/* harmony default export */ var settings_sysvue_type_script_lang_js = (sysvue_type_script_lang_js);
|
|
40208
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=
|
|
40209
|
-
var
|
|
40210
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=
|
|
40240
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=7f9d15a8&prod&lang=scss&scoped=true
|
|
40241
|
+
var sysvue_type_style_index_0_id_7f9d15a8_prod_lang_scss_scoped_true = __webpack_require__(4402);
|
|
40242
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=7f9d15a8&prod&lang=scss&scoped=true
|
|
40211
40243
|
|
|
40212
40244
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue
|
|
40213
40245
|
|
|
@@ -40220,11 +40252,11 @@ var sysvue_type_style_index_0_id_50d1c14c_prod_lang_scss_scoped_true = __webpack
|
|
|
40220
40252
|
|
|
40221
40253
|
var sys_component = normalizeComponent(
|
|
40222
40254
|
settings_sysvue_type_script_lang_js,
|
|
40223
|
-
|
|
40224
|
-
|
|
40255
|
+
sysvue_type_template_id_7f9d15a8_scoped_true_render,
|
|
40256
|
+
sysvue_type_template_id_7f9d15a8_scoped_true_staticRenderFns,
|
|
40225
40257
|
false,
|
|
40226
40258
|
null,
|
|
40227
|
-
"
|
|
40259
|
+
"7f9d15a8",
|
|
40228
40260
|
null
|
|
40229
40261
|
|
|
40230
40262
|
)
|
|
@@ -56321,8 +56353,8 @@ var tzgg_tzgg_component = normalizeComponent(
|
|
|
56321
56353
|
)
|
|
56322
56354
|
|
|
56323
56355
|
/* harmony default export */ var tzgg_tzgg = (tzgg_tzgg_component.exports);
|
|
56324
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=template&id=
|
|
56325
|
-
var
|
|
56356
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=template&id=c3e64278&scoped=true
|
|
56357
|
+
var MsgListvue_type_template_id_c3e64278_scoped_true_render = function render() {
|
|
56326
56358
|
var _vm = this,
|
|
56327
56359
|
_c = _vm._self._c;
|
|
56328
56360
|
return _c('div', {
|
|
@@ -56346,6 +56378,10 @@ var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render()
|
|
|
56346
56378
|
expression: "activeTab"
|
|
56347
56379
|
}
|
|
56348
56380
|
}, [_c('van-tab', {
|
|
56381
|
+
attrs: {
|
|
56382
|
+
"title": _vm.$tx('common.all', '全部')
|
|
56383
|
+
}
|
|
56384
|
+
}), _c('van-tab', {
|
|
56349
56385
|
attrs: {
|
|
56350
56386
|
"title": _vm.$tx('ecoa.dzgg.unread', '未读')
|
|
56351
56387
|
}
|
|
@@ -56438,9 +56474,100 @@ var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render()
|
|
|
56438
56474
|
attrs: {
|
|
56439
56475
|
"description": _vm.$tx('common.noData', '暂无数据')
|
|
56440
56476
|
}
|
|
56441
|
-
})], 1) : _vm._e()
|
|
56477
|
+
})], 1) : _vm._e(), _c('van-overlay', {
|
|
56478
|
+
attrs: {
|
|
56479
|
+
"show": _vm.showDialog,
|
|
56480
|
+
"z-index": 9999
|
|
56481
|
+
},
|
|
56482
|
+
on: {
|
|
56483
|
+
"click": function click($event) {
|
|
56484
|
+
_vm.showDialog = false;
|
|
56485
|
+
}
|
|
56486
|
+
}
|
|
56487
|
+
}, [_c('div', {
|
|
56488
|
+
staticStyle: {
|
|
56489
|
+
"position": "absolute",
|
|
56490
|
+
"top": "50%",
|
|
56491
|
+
"left": "50%",
|
|
56492
|
+
"transform": "translate(-50%, -50%)",
|
|
56493
|
+
"width": "85%",
|
|
56494
|
+
"max-height": "70vh",
|
|
56495
|
+
"background": "#fff",
|
|
56496
|
+
"border-radius": "8px",
|
|
56497
|
+
"padding": "16px",
|
|
56498
|
+
"overflow-y": "auto"
|
|
56499
|
+
},
|
|
56500
|
+
on: {
|
|
56501
|
+
"click": function click($event) {
|
|
56502
|
+
$event.stopPropagation();
|
|
56503
|
+
}
|
|
56504
|
+
}
|
|
56505
|
+
}, [_c('div', {
|
|
56506
|
+
staticStyle: {
|
|
56507
|
+
"min-height": "80px",
|
|
56508
|
+
"font-size": "14px",
|
|
56509
|
+
"line-height": "22px",
|
|
56510
|
+
"color": "#333",
|
|
56511
|
+
"word-break": "break-all"
|
|
56512
|
+
}
|
|
56513
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].msgContent) + " "), _vm.list[_vm.noticeIndex].msgUrl ? _c('a', {
|
|
56514
|
+
staticStyle: {
|
|
56515
|
+
"color": "#1989fa",
|
|
56516
|
+
"margin-left": "4px",
|
|
56517
|
+
"text-decoration": "none"
|
|
56518
|
+
},
|
|
56519
|
+
attrs: {
|
|
56520
|
+
"href": "javascript:void(0)"
|
|
56521
|
+
},
|
|
56522
|
+
on: {
|
|
56523
|
+
"click": function click($event) {
|
|
56524
|
+
$event.stopPropagation();
|
|
56525
|
+
return _vm.gotoDetail(_vm.list[_vm.noticeIndex].msgUrl);
|
|
56526
|
+
}
|
|
56527
|
+
}
|
|
56528
|
+
}, [_vm._v("查看详情 >")]) : _vm._e()]), _c('div', {
|
|
56529
|
+
staticStyle: {
|
|
56530
|
+
"text-align": "right",
|
|
56531
|
+
"margin-top": "8px",
|
|
56532
|
+
"font-size": "12px",
|
|
56533
|
+
"color": "#999"
|
|
56534
|
+
}
|
|
56535
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].senderName) + " " + _vm._s(_vm.list[_vm.noticeIndex].pushTime) + " ")]), _c('div', {
|
|
56536
|
+
staticStyle: {
|
|
56537
|
+
"display": "flex",
|
|
56538
|
+
"justify-content": "space-between",
|
|
56539
|
+
"align-items": "center",
|
|
56540
|
+
"margin-top": "16px",
|
|
56541
|
+
"padding-top": "12px",
|
|
56542
|
+
"border-top": "1px solid #eee"
|
|
56543
|
+
}
|
|
56544
|
+
}, [_c('span', {
|
|
56545
|
+
style: {
|
|
56546
|
+
color: _vm.noticeIndex === 0 ? '#ccc' : '#333',
|
|
56547
|
+
fontSize: '14px'
|
|
56548
|
+
},
|
|
56549
|
+
on: {
|
|
56550
|
+
"click": _vm.prevNotice
|
|
56551
|
+
}
|
|
56552
|
+
}, [_vm._v("上一条")]), _c('span', {
|
|
56553
|
+
staticStyle: {
|
|
56554
|
+
"font-size": "14px"
|
|
56555
|
+
}
|
|
56556
|
+
}, [_c('span', {
|
|
56557
|
+
staticStyle: {
|
|
56558
|
+
"color": "#1989fa"
|
|
56559
|
+
}
|
|
56560
|
+
}, [_vm._v(_vm._s(_vm.noticeIndex + 1))]), _vm._v("/" + _vm._s(_vm.list.length))]), _c('span', {
|
|
56561
|
+
style: {
|
|
56562
|
+
color: _vm.noticeIndex === _vm.list.length - 1 ? '#ccc' : '#333',
|
|
56563
|
+
fontSize: '14px'
|
|
56564
|
+
},
|
|
56565
|
+
on: {
|
|
56566
|
+
"click": _vm.nextNotice
|
|
56567
|
+
}
|
|
56568
|
+
}, [_vm._v("下一条")])])])])], 1);
|
|
56442
56569
|
};
|
|
56443
|
-
var
|
|
56570
|
+
var MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns = [];
|
|
56444
56571
|
|
|
56445
56572
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=script&lang=js
|
|
56446
56573
|
function MsgListvue_type_script_lang_js_toConsumableArray(r) { return MsgListvue_type_script_lang_js_arrayWithoutHoles(r) || MsgListvue_type_script_lang_js_iterableToArray(r) || MsgListvue_type_script_lang_js_unsupportedIterableToArray(r) || MsgListvue_type_script_lang_js_nonIterableSpread(); }
|
|
@@ -56460,7 +56587,9 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56460
56587
|
pageSize: 15,
|
|
56461
56588
|
list: [],
|
|
56462
56589
|
total: 0,
|
|
56463
|
-
hasMore: true
|
|
56590
|
+
hasMore: true,
|
|
56591
|
+
noticeIndex: 0,
|
|
56592
|
+
showDialog: false
|
|
56464
56593
|
};
|
|
56465
56594
|
},
|
|
56466
56595
|
computed: {},
|
|
@@ -56471,6 +56600,9 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56471
56600
|
text: this.$tx('ecoa.message.notice', '消息提醒'),
|
|
56472
56601
|
color: '#000000'
|
|
56473
56602
|
});
|
|
56603
|
+
if (this.$route.query.tab === 'all') {
|
|
56604
|
+
this.activeTab = 0;
|
|
56605
|
+
}
|
|
56474
56606
|
this.getData(1);
|
|
56475
56607
|
},
|
|
56476
56608
|
beforeDestroy: function beforeDestroy() {},
|
|
@@ -56496,12 +56628,17 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56496
56628
|
getData: function getData(pageNum) {
|
|
56497
56629
|
var _this = this;
|
|
56498
56630
|
var loginUser = this.$store.getters.loginUser;
|
|
56499
|
-
var
|
|
56631
|
+
var search = 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount;
|
|
56632
|
+
if (this.activeTab === 1) {
|
|
56633
|
+
search += ';isRead:0';
|
|
56634
|
+
} else if (this.activeTab === 2) {
|
|
56635
|
+
search += ';isRead:1';
|
|
56636
|
+
}
|
|
56500
56637
|
this.$app.listdata('message/vwInbox/listdata', {
|
|
56501
56638
|
pageNum: pageNum,
|
|
56502
56639
|
pageSize: this.pageSize,
|
|
56503
56640
|
orderBy: 'pushTime desc',
|
|
56504
|
-
urlsearch:
|
|
56641
|
+
urlsearch: search
|
|
56505
56642
|
}).then(function (res) {
|
|
56506
56643
|
if (res.code === 'success') {
|
|
56507
56644
|
if (res.body.pageInfo.list.length > 0) {
|
|
@@ -56530,20 +56667,29 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
56530
56667
|
}
|
|
56531
56668
|
});
|
|
56532
56669
|
}
|
|
56533
|
-
|
|
56534
|
-
|
|
56535
|
-
}
|
|
56670
|
+
this.noticeIndex = this.list.findIndex(function (n) {
|
|
56671
|
+
return n.id === item.id;
|
|
56672
|
+
});
|
|
56673
|
+
if (this.noticeIndex < 0) this.noticeIndex = 0;
|
|
56674
|
+
this.showDialog = true;
|
|
56675
|
+
},
|
|
56676
|
+
prevNotice: function prevNotice() {
|
|
56677
|
+
if (this.noticeIndex > 0) this.noticeIndex--;
|
|
56678
|
+
},
|
|
56679
|
+
nextNotice: function nextNotice() {
|
|
56680
|
+
if (this.noticeIndex < this.list.length - 1) this.noticeIndex++;
|
|
56536
56681
|
},
|
|
56537
56682
|
gotoDetail: function gotoDetail(url) {
|
|
56683
|
+
this.showDialog = false;
|
|
56538
56684
|
this.$router.push(url);
|
|
56539
56685
|
}
|
|
56540
56686
|
}
|
|
56541
56687
|
});
|
|
56542
56688
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=script&lang=js
|
|
56543
56689
|
/* harmony default export */ var msgNotice_MsgListvue_type_script_lang_js = (MsgListvue_type_script_lang_js);
|
|
56544
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=
|
|
56545
|
-
var
|
|
56546
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=
|
|
56690
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=c3e64278&prod&scoped=true&lang=scss
|
|
56691
|
+
var MsgListvue_type_style_index_0_id_c3e64278_prod_scoped_true_lang_scss = __webpack_require__(2524);
|
|
56692
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=c3e64278&prod&scoped=true&lang=scss
|
|
56547
56693
|
|
|
56548
56694
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue
|
|
56549
56695
|
|
|
@@ -56556,11 +56702,11 @@ var MsgListvue_type_style_index_0_id_4490a3f9_prod_scoped_true_lang_scss = __web
|
|
|
56556
56702
|
|
|
56557
56703
|
var MsgList_component = normalizeComponent(
|
|
56558
56704
|
msgNotice_MsgListvue_type_script_lang_js,
|
|
56559
|
-
|
|
56560
|
-
|
|
56705
|
+
MsgListvue_type_template_id_c3e64278_scoped_true_render,
|
|
56706
|
+
MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns,
|
|
56561
56707
|
false,
|
|
56562
56708
|
null,
|
|
56563
|
-
"
|
|
56709
|
+
"c3e64278",
|
|
56564
56710
|
null
|
|
56565
56711
|
|
|
56566
56712
|
)
|