ecinc-cloud-moaecoav9 9.7.5 → 9.7.7
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/index.js +4 -0
- package/lib/ecmoaecoa.common.js +491 -46
- package/lib/ecmoaecoa.umd.js +491 -46
- 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
|
+
/***/ 9887:
|
|
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-50d1c14c] .van-cell__value{color:#53a8ff}", ""]);
|
|
1719
1719
|
// Exports
|
|
1720
1720
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1721
1721
|
|
|
@@ -1837,6 +1837,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".websocket-main[data-v-37a3d86b]{posit
|
|
|
1837
1837
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1838
1838
|
|
|
1839
1839
|
|
|
1840
|
+
/***/ }),
|
|
1841
|
+
|
|
1842
|
+
/***/ 6921:
|
|
1843
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1844
|
+
|
|
1845
|
+
"use strict";
|
|
1846
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1847
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
1848
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1849
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
1850
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
1851
|
+
// Imports
|
|
1852
|
+
|
|
1853
|
+
|
|
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
|
+
// Module
|
|
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
|
+
// Exports
|
|
1858
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1859
|
+
|
|
1860
|
+
|
|
1840
1861
|
/***/ }),
|
|
1841
1862
|
|
|
1842
1863
|
/***/ 5247:
|
|
@@ -2457,7 +2478,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".person-detial[data-v-692c2b26]{height
|
|
|
2457
2478
|
|
|
2458
2479
|
/***/ }),
|
|
2459
2480
|
|
|
2460
|
-
/***/
|
|
2481
|
+
/***/ 3649:
|
|
2461
2482
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2462
2483
|
|
|
2463
2484
|
"use strict";
|
|
@@ -2471,7 +2492,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2471
2492
|
|
|
2472
2493
|
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()));
|
|
2473
2494
|
// Module
|
|
2474
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#Previewer[data-v-
|
|
2495
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".pdfviewer[data-v-e775288c]{position:relative;width:100%;height:100vh;overflow:hidden}#changeScreenH[data-v-e775288c]{position:absolute;width:17px;right:3px;padding:8px;top:4px;z-index:1000}#Previewer[data-v-e775288c]{width:100vw;height:100vh}#Previewer2[data-v-e775288c]{width:100vw;height:calc(100vh - 40px)}.toolbarViewer[data-v-e775288c]{height:40px;background:#f1f1f1}.toolbarViewer img[data-v-e775288c]{float:left;margin-top:12px;margin-left:15px;margin-right:10px}.toolbarViewer .fileName[data-v-e775288c]{min-width:240px;max-width:300px;line-height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}", ""]);
|
|
2475
2496
|
// Exports
|
|
2476
2497
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2477
2498
|
|
|
@@ -27311,19 +27332,19 @@ var update = add("0c9b247c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27311
27332
|
|
|
27312
27333
|
/***/ }),
|
|
27313
27334
|
|
|
27314
|
-
/***/
|
|
27335
|
+
/***/ 1790:
|
|
27315
27336
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27316
27337
|
|
|
27317
27338
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27318
27339
|
|
|
27319
27340
|
// load the styles
|
|
27320
|
-
var content = __webpack_require__(
|
|
27341
|
+
var content = __webpack_require__(9887);
|
|
27321
27342
|
if(content.__esModule) content = content.default;
|
|
27322
27343
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27323
27344
|
if(content.locals) module.exports = content.locals;
|
|
27324
27345
|
// add the styles to the DOM
|
|
27325
27346
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27326
|
-
var update = add("
|
|
27347
|
+
var update = add("1c4b7174", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27327
27348
|
|
|
27328
27349
|
/***/ }),
|
|
27329
27350
|
|
|
@@ -27407,6 +27428,22 @@ var update = add("cb55188e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27407
27428
|
|
|
27408
27429
|
/***/ }),
|
|
27409
27430
|
|
|
27431
|
+
/***/ 2524:
|
|
27432
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27433
|
+
|
|
27434
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27435
|
+
|
|
27436
|
+
// load the styles
|
|
27437
|
+
var content = __webpack_require__(6921);
|
|
27438
|
+
if(content.__esModule) content = content.default;
|
|
27439
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27440
|
+
if(content.locals) module.exports = content.locals;
|
|
27441
|
+
// add the styles to the DOM
|
|
27442
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27443
|
+
var update = add("3fbc88e1", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27444
|
+
|
|
27445
|
+
/***/ }),
|
|
27446
|
+
|
|
27410
27447
|
/***/ 2540:
|
|
27411
27448
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27412
27449
|
|
|
@@ -27871,19 +27908,19 @@ var update = add("5423ec6a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27871
27908
|
|
|
27872
27909
|
/***/ }),
|
|
27873
27910
|
|
|
27874
|
-
/***/
|
|
27911
|
+
/***/ 1008:
|
|
27875
27912
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27876
27913
|
|
|
27877
27914
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27878
27915
|
|
|
27879
27916
|
// load the styles
|
|
27880
|
-
var content = __webpack_require__(
|
|
27917
|
+
var content = __webpack_require__(3649);
|
|
27881
27918
|
if(content.__esModule) content = content.default;
|
|
27882
27919
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27883
27920
|
if(content.locals) module.exports = content.locals;
|
|
27884
27921
|
// add the styles to the DOM
|
|
27885
27922
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27886
|
-
var update = add("
|
|
27923
|
+
var update = add("9eee8820", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27887
27924
|
|
|
27888
27925
|
/***/ }),
|
|
27889
27926
|
|
|
@@ -34759,13 +34796,30 @@ var search_component = normalizeComponent(
|
|
|
34759
34796
|
)
|
|
34760
34797
|
|
|
34761
34798
|
/* harmony default export */ var search = (search_component.exports);
|
|
34762
|
-
;// 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/usersetting/previewer/index.vue?vue&type=template&id=
|
|
34763
|
-
var
|
|
34799
|
+
;// 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/usersetting/previewer/index.vue?vue&type=template&id=e775288c&scoped=true
|
|
34800
|
+
var previewervue_type_template_id_e775288c_scoped_true_render = function render() {
|
|
34764
34801
|
var _vm = this,
|
|
34765
34802
|
_c = _vm._self._c;
|
|
34766
34803
|
return _vm.fileName.indexOf('.pdf') !== -1 || _vm.url.includes('topdf=true') ? _c('div', {
|
|
34767
34804
|
staticClass: "pdfviewer"
|
|
34768
|
-
}, [_c('
|
|
34805
|
+
}, [_c('div', {
|
|
34806
|
+
attrs: {
|
|
34807
|
+
"id": "changeScreenH"
|
|
34808
|
+
},
|
|
34809
|
+
on: {
|
|
34810
|
+
"click": function click($event) {
|
|
34811
|
+
$event.stopPropagation();
|
|
34812
|
+
return _vm.changeScreenHo.apply(null, arguments);
|
|
34813
|
+
}
|
|
34814
|
+
}
|
|
34815
|
+
}, [_c('img', {
|
|
34816
|
+
staticStyle: {
|
|
34817
|
+
"width": "100%"
|
|
34818
|
+
},
|
|
34819
|
+
attrs: {
|
|
34820
|
+
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
34821
|
+
}
|
|
34822
|
+
})]), _c('span', {
|
|
34769
34823
|
directives: [{
|
|
34770
34824
|
name: "show",
|
|
34771
34825
|
rawName: "v-show",
|
|
@@ -34815,7 +34869,7 @@ var previewervue_type_template_id_6eb60cec_scoped_true_render = function render(
|
|
|
34815
34869
|
}
|
|
34816
34870
|
})]);
|
|
34817
34871
|
};
|
|
34818
|
-
var
|
|
34872
|
+
var previewervue_type_template_id_e775288c_scoped_true_staticRenderFns = [];
|
|
34819
34873
|
|
|
34820
34874
|
;// 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/usersetting/previewer/index.vue?vue&type=script&lang=js
|
|
34821
34875
|
function previewervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return previewervue_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; }, previewervue_type_script_lang_js_typeof(o); }
|
|
@@ -34846,7 +34900,7 @@ function previewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != pr
|
|
|
34846
34900
|
// this.url = params.url
|
|
34847
34901
|
var params = this.$route.query;
|
|
34848
34902
|
this.url = params.url + '&attachIds=' + params.attachIds + '&httpPort=' + params.httpPort;
|
|
34849
|
-
this.fileName = params.fileName;
|
|
34903
|
+
this.fileName = 'dd:' + params.fileName;
|
|
34850
34904
|
this.$wv.setTitle({
|
|
34851
34905
|
bool: true,
|
|
34852
34906
|
text: this.$tx('ecoa.message.filePreview', '文件预览'),
|
|
@@ -34865,6 +34919,20 @@ function previewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != pr
|
|
|
34865
34919
|
}
|
|
34866
34920
|
},
|
|
34867
34921
|
methods: {
|
|
34922
|
+
changeScreenHo: function changeScreenHo() {
|
|
34923
|
+
if (this.$route.query.viewer === '1') {
|
|
34924
|
+
return;
|
|
34925
|
+
}
|
|
34926
|
+
this.$wv.switchOrientation(false);
|
|
34927
|
+
this.orientation = 'portrait';
|
|
34928
|
+
this.showViewer = true;
|
|
34929
|
+
this.$router.push({
|
|
34930
|
+
path: this.$route.fullPath,
|
|
34931
|
+
query: previewervue_type_script_lang_js_objectSpread(previewervue_type_script_lang_js_objectSpread({}, this.$route.query), {}, {
|
|
34932
|
+
viewer: '1'
|
|
34933
|
+
})
|
|
34934
|
+
});
|
|
34935
|
+
},
|
|
34868
34936
|
handleOrientationChange: function handleOrientationChange() {
|
|
34869
34937
|
// type 包含 'landscape-primary' 或 'landscape-secondary' 时为横屏
|
|
34870
34938
|
if (screen.orientation.type.includes('landscape')) {
|
|
@@ -34896,9 +34964,9 @@ function previewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != pr
|
|
|
34896
34964
|
});
|
|
34897
34965
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue?vue&type=script&lang=js
|
|
34898
34966
|
/* harmony default export */ var usersetting_previewervue_type_script_lang_js = (previewervue_type_script_lang_js);
|
|
34899
|
-
// 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/usersetting/previewer/index.vue?vue&type=style&index=0&id=
|
|
34900
|
-
var
|
|
34901
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue?vue&type=style&index=0&id=
|
|
34967
|
+
// 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/usersetting/previewer/index.vue?vue&type=style&index=0&id=e775288c&prod&lang=scss&scoped=true
|
|
34968
|
+
var previewervue_type_style_index_0_id_e775288c_prod_lang_scss_scoped_true = __webpack_require__(1008);
|
|
34969
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue?vue&type=style&index=0&id=e775288c&prod&lang=scss&scoped=true
|
|
34902
34970
|
|
|
34903
34971
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue
|
|
34904
34972
|
|
|
@@ -34911,11 +34979,11 @@ var previewervue_type_style_index_0_id_6eb60cec_prod_lang_scss_scoped_true = __w
|
|
|
34911
34979
|
|
|
34912
34980
|
var previewer_component = normalizeComponent(
|
|
34913
34981
|
usersetting_previewervue_type_script_lang_js,
|
|
34914
|
-
|
|
34915
|
-
|
|
34982
|
+
previewervue_type_template_id_e775288c_scoped_true_render,
|
|
34983
|
+
previewervue_type_template_id_e775288c_scoped_true_staticRenderFns,
|
|
34916
34984
|
false,
|
|
34917
34985
|
null,
|
|
34918
|
-
"
|
|
34986
|
+
"e775288c",
|
|
34919
34987
|
null
|
|
34920
34988
|
|
|
34921
34989
|
)
|
|
@@ -39764,8 +39832,8 @@ var mainPage_component = normalizeComponent(
|
|
|
39764
39832
|
)
|
|
39765
39833
|
|
|
39766
39834
|
/* harmony default export */ var mainPage = (mainPage_component.exports);
|
|
39767
|
-
;// 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=
|
|
39768
|
-
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=50d1c14c&scoped=true
|
|
39836
|
+
var sysvue_type_template_id_50d1c14c_scoped_true_render = function render() {
|
|
39769
39837
|
var _vm = this,
|
|
39770
39838
|
_c = _vm._self._c;
|
|
39771
39839
|
return _c('div', {
|
|
@@ -39945,11 +40013,13 @@ var sysvue_type_template_id_b98ad6a2_scoped_true_render = function render() {
|
|
|
39945
40013
|
"block": ""
|
|
39946
40014
|
},
|
|
39947
40015
|
on: {
|
|
39948
|
-
"click":
|
|
40016
|
+
"click": function click($event) {
|
|
40017
|
+
return _vm.logout();
|
|
40018
|
+
}
|
|
39949
40019
|
}
|
|
39950
40020
|
}, [_vm._v("退出登录")])], 2);
|
|
39951
40021
|
};
|
|
39952
|
-
var
|
|
40022
|
+
var sysvue_type_template_id_50d1c14c_scoped_true_staticRenderFns = [];
|
|
39953
40023
|
|
|
39954
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
|
|
39955
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); }
|
|
@@ -39991,6 +40061,18 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
39991
40061
|
}
|
|
39992
40062
|
},
|
|
39993
40063
|
methods: {
|
|
40064
|
+
logout: function logout() {
|
|
40065
|
+
var _this = this;
|
|
40066
|
+
if (window.mappType === 'ecinc') {
|
|
40067
|
+
this.$wv.logout();
|
|
40068
|
+
} else {
|
|
40069
|
+
this.$store.dispatch('user/logout').then(function () {
|
|
40070
|
+
_this.$router.push('/login');
|
|
40071
|
+
}).catch(function () {
|
|
40072
|
+
_this.$router.push('/login');
|
|
40073
|
+
});
|
|
40074
|
+
}
|
|
40075
|
+
},
|
|
39994
40076
|
openWeb: function openWeb(val) {
|
|
39995
40077
|
if (val === '用户协议') {
|
|
39996
40078
|
this.$wv.openHorizontalWeb({
|
|
@@ -40007,7 +40089,7 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40007
40089
|
}
|
|
40008
40090
|
},
|
|
40009
40091
|
resetSys: function resetSys() {
|
|
40010
|
-
var
|
|
40092
|
+
var _this2 = this;
|
|
40011
40093
|
this.$dialog.confirm({
|
|
40012
40094
|
title: '设置提示',
|
|
40013
40095
|
message: '是否恢复系统设置',
|
|
@@ -40016,21 +40098,21 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40016
40098
|
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
40017
40099
|
while (1) switch (_context.prev = _context.next) {
|
|
40018
40100
|
case 0:
|
|
40019
|
-
|
|
40101
|
+
_this2.$wv.removeAppStorageItem({
|
|
40020
40102
|
key: 'defaultPagesSelected'
|
|
40021
40103
|
});
|
|
40022
|
-
|
|
40104
|
+
_this2.$wv.removeAppStorageItem({
|
|
40023
40105
|
key: 'phoneCheck'
|
|
40024
40106
|
}, function () {
|
|
40025
|
-
|
|
40107
|
+
_this2.pageData.phoneCheck = _this2.$wv.getAppStorageItem({
|
|
40026
40108
|
key: 'phoneCheck',
|
|
40027
40109
|
type: 'boolean'
|
|
40028
40110
|
});
|
|
40029
40111
|
});
|
|
40030
|
-
|
|
40112
|
+
_this2.$wv.removeAppStorageItem({
|
|
40031
40113
|
key: 'autoLogin'
|
|
40032
40114
|
});
|
|
40033
|
-
|
|
40115
|
+
_this2.$toast('恢复系统设置成功');
|
|
40034
40116
|
case 4:
|
|
40035
40117
|
case "end":
|
|
40036
40118
|
return _context.stop();
|
|
@@ -40039,7 +40121,7 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40039
40121
|
})));
|
|
40040
40122
|
},
|
|
40041
40123
|
clearCache: function clearCache() {
|
|
40042
|
-
var
|
|
40124
|
+
var _this3 = this;
|
|
40043
40125
|
this.$dialog.confirm({
|
|
40044
40126
|
title: '清除提示',
|
|
40045
40127
|
message: '是否清除缓存',
|
|
@@ -40048,7 +40130,7 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40048
40130
|
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
40049
40131
|
while (1) switch (_context2.prev = _context2.next) {
|
|
40050
40132
|
case 0:
|
|
40051
|
-
|
|
40133
|
+
_this3.$wv.clearCache();
|
|
40052
40134
|
case 1:
|
|
40053
40135
|
case "end":
|
|
40054
40136
|
return _context2.stop();
|
|
@@ -40058,12 +40140,12 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40058
40140
|
},
|
|
40059
40141
|
// 获取消息推送状态
|
|
40060
40142
|
getSubscriberAppAll: function getSubscriberAppAll(val) {
|
|
40061
|
-
var
|
|
40143
|
+
var _this4 = this;
|
|
40062
40144
|
this.$http({
|
|
40063
40145
|
url: 'message/subscriber/getSubscriberAppAll'
|
|
40064
40146
|
}).then(function (res) {
|
|
40065
40147
|
if (res.code === 'success') {
|
|
40066
|
-
|
|
40148
|
+
_this4.msgSend = res.body.subscriberAppAll === 1;
|
|
40067
40149
|
}
|
|
40068
40150
|
});
|
|
40069
40151
|
},
|
|
@@ -40079,13 +40161,13 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40079
40161
|
});
|
|
40080
40162
|
},
|
|
40081
40163
|
getAppVersion: function getAppVersion() {
|
|
40082
|
-
var
|
|
40164
|
+
var _this5 = this;
|
|
40083
40165
|
return sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
40084
40166
|
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
40085
40167
|
while (1) switch (_context3.prev = _context3.next) {
|
|
40086
40168
|
case 0:
|
|
40087
40169
|
_context3.next = 2;
|
|
40088
|
-
return
|
|
40170
|
+
return _this5.$wv.getAppVersion();
|
|
40089
40171
|
case 2:
|
|
40090
40172
|
_context3.t0 = _context3.sent;
|
|
40091
40173
|
if (_context3.t0) {
|
|
@@ -40094,9 +40176,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40094
40176
|
}
|
|
40095
40177
|
_context3.t0 = '';
|
|
40096
40178
|
case 5:
|
|
40097
|
-
|
|
40098
|
-
if (
|
|
40099
|
-
|
|
40179
|
+
_this5.appVersion = _context3.t0;
|
|
40180
|
+
if (_this5.appVersion && _this5.appVersion.indexOf('V') === -1) {
|
|
40181
|
+
_this5.appVersion = 'V' + _this5.appVersion;
|
|
40100
40182
|
}
|
|
40101
40183
|
case 7:
|
|
40102
40184
|
case "end":
|
|
@@ -40123,9 +40205,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40123
40205
|
});
|
|
40124
40206
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=script&lang=js
|
|
40125
40207
|
/* harmony default export */ var settings_sysvue_type_script_lang_js = (sysvue_type_script_lang_js);
|
|
40126
|
-
// 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=
|
|
40127
|
-
var
|
|
40128
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=
|
|
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=50d1c14c&prod&lang=scss&scoped=true
|
|
40209
|
+
var sysvue_type_style_index_0_id_50d1c14c_prod_lang_scss_scoped_true = __webpack_require__(1790);
|
|
40210
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=50d1c14c&prod&lang=scss&scoped=true
|
|
40129
40211
|
|
|
40130
40212
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue
|
|
40131
40213
|
|
|
@@ -40138,11 +40220,11 @@ var sysvue_type_style_index_0_id_b98ad6a2_prod_lang_scss_scoped_true = __webpack
|
|
|
40138
40220
|
|
|
40139
40221
|
var sys_component = normalizeComponent(
|
|
40140
40222
|
settings_sysvue_type_script_lang_js,
|
|
40141
|
-
|
|
40142
|
-
|
|
40223
|
+
sysvue_type_template_id_50d1c14c_scoped_true_render,
|
|
40224
|
+
sysvue_type_template_id_50d1c14c_scoped_true_staticRenderFns,
|
|
40143
40225
|
false,
|
|
40144
40226
|
null,
|
|
40145
|
-
"
|
|
40227
|
+
"50d1c14c",
|
|
40146
40228
|
null
|
|
40147
40229
|
|
|
40148
40230
|
)
|
|
@@ -56239,6 +56321,365 @@ var tzgg_tzgg_component = normalizeComponent(
|
|
|
56239
56321
|
)
|
|
56240
56322
|
|
|
56241
56323
|
/* 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=c3e64278&scoped=true
|
|
56325
|
+
var MsgListvue_type_template_id_c3e64278_scoped_true_render = function render() {
|
|
56326
|
+
var _vm = this,
|
|
56327
|
+
_c = _vm._self._c;
|
|
56328
|
+
return _c('div', {
|
|
56329
|
+
staticClass: "h5app-container msg-list-container",
|
|
56330
|
+
on: {
|
|
56331
|
+
"scroll": _vm.onScroll
|
|
56332
|
+
}
|
|
56333
|
+
}, [_c('van-tabs', {
|
|
56334
|
+
attrs: {
|
|
56335
|
+
"sticky": "",
|
|
56336
|
+
"line-width": "60px"
|
|
56337
|
+
},
|
|
56338
|
+
on: {
|
|
56339
|
+
"click": _vm.onTabClick
|
|
56340
|
+
},
|
|
56341
|
+
model: {
|
|
56342
|
+
value: _vm.activeTab,
|
|
56343
|
+
callback: function callback($$v) {
|
|
56344
|
+
_vm.activeTab = $$v;
|
|
56345
|
+
},
|
|
56346
|
+
expression: "activeTab"
|
|
56347
|
+
}
|
|
56348
|
+
}, [_c('van-tab', {
|
|
56349
|
+
attrs: {
|
|
56350
|
+
"title": _vm.$tx('common.all', '全部')
|
|
56351
|
+
}
|
|
56352
|
+
}), _c('van-tab', {
|
|
56353
|
+
attrs: {
|
|
56354
|
+
"title": _vm.$tx('ecoa.dzgg.unread', '未读')
|
|
56355
|
+
}
|
|
56356
|
+
}), _c('van-tab', {
|
|
56357
|
+
attrs: {
|
|
56358
|
+
"title": _vm.$tx('ecoa.dzgg.readAlready', '已读')
|
|
56359
|
+
}
|
|
56360
|
+
})], 1), _vm.list.length > 0 ? _c('div', {
|
|
56361
|
+
staticClass: "message-box"
|
|
56362
|
+
}, [_vm._l(_vm.list, function (item) {
|
|
56363
|
+
return _c('div', {
|
|
56364
|
+
key: item.id,
|
|
56365
|
+
staticClass: "message-item",
|
|
56366
|
+
on: {
|
|
56367
|
+
"click": function click($event) {
|
|
56368
|
+
return _vm.onCellClick(item);
|
|
56369
|
+
}
|
|
56370
|
+
}
|
|
56371
|
+
}, [_c('div', {
|
|
56372
|
+
staticClass: "message-time"
|
|
56373
|
+
}, [_vm._v(" " + _vm._s(item.pushTime) + " ")]), _c('div', {
|
|
56374
|
+
staticClass: "message-content",
|
|
56375
|
+
style: {
|
|
56376
|
+
'padding-top': !item.msgTitle ? '14px' : ''
|
|
56377
|
+
}
|
|
56378
|
+
}, [item.msgTitle ? _c('div', {
|
|
56379
|
+
staticClass: "message-top"
|
|
56380
|
+
}, [item.isRead === 0 ? _c('span', {
|
|
56381
|
+
staticClass: "no-read-dot"
|
|
56382
|
+
}) : _vm._e(), _vm._v(" " + _vm._s(item.msgTitle) + " ")]) : _vm._e(), _c('div', {
|
|
56383
|
+
staticClass: "message-bottom"
|
|
56384
|
+
}, [_vm._v(" " + _vm._s(item.msgContent) + " ")]), _c('div', {
|
|
56385
|
+
staticClass: "message-info"
|
|
56386
|
+
}, [_c('span', {
|
|
56387
|
+
staticClass: "sender"
|
|
56388
|
+
}, [_vm._v(_vm._s(item.senderName))]), _c('span', {
|
|
56389
|
+
staticClass: "time"
|
|
56390
|
+
}, [_vm._v(_vm._s(item.pushTime))])])]), item.msgUrl ? _c('div', {
|
|
56391
|
+
staticClass: "message-btn",
|
|
56392
|
+
on: {
|
|
56393
|
+
"click": function click($event) {
|
|
56394
|
+
$event.stopPropagation();
|
|
56395
|
+
return _vm.gotoDetail(item.msgUrl);
|
|
56396
|
+
}
|
|
56397
|
+
}
|
|
56398
|
+
}, [_c('span', {
|
|
56399
|
+
directives: [{
|
|
56400
|
+
name: "text-lbl",
|
|
56401
|
+
rawName: "v-text-lbl",
|
|
56402
|
+
value: 'ecoa.calendar.lookDetail',
|
|
56403
|
+
expression: "'ecoa.calendar.lookDetail'"
|
|
56404
|
+
}],
|
|
56405
|
+
staticStyle: {
|
|
56406
|
+
"font-size": "13px",
|
|
56407
|
+
"font-weight": "bold",
|
|
56408
|
+
"color": "#333333"
|
|
56409
|
+
}
|
|
56410
|
+
}, [_vm._v("查看详情")]), _c('van-icon', {
|
|
56411
|
+
attrs: {
|
|
56412
|
+
"size": "14",
|
|
56413
|
+
"color": "#333333",
|
|
56414
|
+
"name": "arrow"
|
|
56415
|
+
}
|
|
56416
|
+
})], 1) : _vm._e()]);
|
|
56417
|
+
}), _vm.hasMore ? _c('div', {
|
|
56418
|
+
staticStyle: {
|
|
56419
|
+
"display": "flex",
|
|
56420
|
+
"align-items": "center",
|
|
56421
|
+
"justify-content": "center",
|
|
56422
|
+
"padding": "10px"
|
|
56423
|
+
}
|
|
56424
|
+
}, [_c('van-loading', {
|
|
56425
|
+
staticStyle: {
|
|
56426
|
+
"height": "40px",
|
|
56427
|
+
"padding-top": "0"
|
|
56428
|
+
},
|
|
56429
|
+
attrs: {
|
|
56430
|
+
"type": "spinner",
|
|
56431
|
+
"color": "#1989fa"
|
|
56432
|
+
}
|
|
56433
|
+
})], 1) : _vm._e(), !_vm.hasMore && _vm.list.length > 0 ? _c('div', {
|
|
56434
|
+
directives: [{
|
|
56435
|
+
name: "text-lbl",
|
|
56436
|
+
rawName: "v-text-lbl",
|
|
56437
|
+
value: 'common.nothingMore',
|
|
56438
|
+
expression: "'common.nothingMore'"
|
|
56439
|
+
}],
|
|
56440
|
+
staticClass: "message-noMore"
|
|
56441
|
+
}, [_vm._v(" 没有更多了 ")]) : _vm._e()], 2) : _vm._e(), _vm.list.length === 0 && !_vm.hasMore ? _c('div', [_c('van-empty', {
|
|
56442
|
+
attrs: {
|
|
56443
|
+
"description": _vm.$tx('common.noData', '暂无数据')
|
|
56444
|
+
}
|
|
56445
|
+
})], 1) : _vm._e(), _c('van-overlay', {
|
|
56446
|
+
attrs: {
|
|
56447
|
+
"show": _vm.showDialog,
|
|
56448
|
+
"z-index": 9999
|
|
56449
|
+
},
|
|
56450
|
+
on: {
|
|
56451
|
+
"click": function click($event) {
|
|
56452
|
+
_vm.showDialog = false;
|
|
56453
|
+
}
|
|
56454
|
+
}
|
|
56455
|
+
}, [_c('div', {
|
|
56456
|
+
staticStyle: {
|
|
56457
|
+
"position": "absolute",
|
|
56458
|
+
"top": "50%",
|
|
56459
|
+
"left": "50%",
|
|
56460
|
+
"transform": "translate(-50%, -50%)",
|
|
56461
|
+
"width": "85%",
|
|
56462
|
+
"max-height": "70vh",
|
|
56463
|
+
"background": "#fff",
|
|
56464
|
+
"border-radius": "8px",
|
|
56465
|
+
"padding": "16px",
|
|
56466
|
+
"overflow-y": "auto"
|
|
56467
|
+
},
|
|
56468
|
+
on: {
|
|
56469
|
+
"click": function click($event) {
|
|
56470
|
+
$event.stopPropagation();
|
|
56471
|
+
}
|
|
56472
|
+
}
|
|
56473
|
+
}, [_c('div', {
|
|
56474
|
+
staticStyle: {
|
|
56475
|
+
"min-height": "80px",
|
|
56476
|
+
"font-size": "14px",
|
|
56477
|
+
"line-height": "22px",
|
|
56478
|
+
"color": "#333",
|
|
56479
|
+
"word-break": "break-all"
|
|
56480
|
+
}
|
|
56481
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].msgContent) + " "), _vm.list[_vm.noticeIndex].msgUrl ? _c('a', {
|
|
56482
|
+
staticStyle: {
|
|
56483
|
+
"color": "#1989fa",
|
|
56484
|
+
"margin-left": "4px",
|
|
56485
|
+
"text-decoration": "none"
|
|
56486
|
+
},
|
|
56487
|
+
attrs: {
|
|
56488
|
+
"href": "javascript:void(0)"
|
|
56489
|
+
},
|
|
56490
|
+
on: {
|
|
56491
|
+
"click": function click($event) {
|
|
56492
|
+
$event.stopPropagation();
|
|
56493
|
+
return _vm.gotoDetail(_vm.list[_vm.noticeIndex].msgUrl);
|
|
56494
|
+
}
|
|
56495
|
+
}
|
|
56496
|
+
}, [_vm._v("查看详情 >")]) : _vm._e()]), _c('div', {
|
|
56497
|
+
staticStyle: {
|
|
56498
|
+
"text-align": "right",
|
|
56499
|
+
"margin-top": "8px",
|
|
56500
|
+
"font-size": "12px",
|
|
56501
|
+
"color": "#999"
|
|
56502
|
+
}
|
|
56503
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].senderName) + " " + _vm._s(_vm.list[_vm.noticeIndex].pushTime) + " ")]), _c('div', {
|
|
56504
|
+
staticStyle: {
|
|
56505
|
+
"display": "flex",
|
|
56506
|
+
"justify-content": "space-between",
|
|
56507
|
+
"align-items": "center",
|
|
56508
|
+
"margin-top": "16px",
|
|
56509
|
+
"padding-top": "12px",
|
|
56510
|
+
"border-top": "1px solid #eee"
|
|
56511
|
+
}
|
|
56512
|
+
}, [_c('span', {
|
|
56513
|
+
style: {
|
|
56514
|
+
color: _vm.noticeIndex === 0 ? '#ccc' : '#333',
|
|
56515
|
+
fontSize: '14px'
|
|
56516
|
+
},
|
|
56517
|
+
on: {
|
|
56518
|
+
"click": _vm.prevNotice
|
|
56519
|
+
}
|
|
56520
|
+
}, [_vm._v("上一条")]), _c('span', {
|
|
56521
|
+
staticStyle: {
|
|
56522
|
+
"font-size": "14px"
|
|
56523
|
+
}
|
|
56524
|
+
}, [_c('span', {
|
|
56525
|
+
staticStyle: {
|
|
56526
|
+
"color": "#1989fa"
|
|
56527
|
+
}
|
|
56528
|
+
}, [_vm._v(_vm._s(_vm.noticeIndex + 1))]), _vm._v("/" + _vm._s(_vm.list.length))]), _c('span', {
|
|
56529
|
+
style: {
|
|
56530
|
+
color: _vm.noticeIndex === _vm.list.length - 1 ? '#ccc' : '#333',
|
|
56531
|
+
fontSize: '14px'
|
|
56532
|
+
},
|
|
56533
|
+
on: {
|
|
56534
|
+
"click": _vm.nextNotice
|
|
56535
|
+
}
|
|
56536
|
+
}, [_vm._v("下一条")])])])])], 1);
|
|
56537
|
+
};
|
|
56538
|
+
var MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns = [];
|
|
56539
|
+
|
|
56540
|
+
;// 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
|
|
56541
|
+
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(); }
|
|
56542
|
+
function MsgListvue_type_script_lang_js_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
56543
|
+
function MsgListvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return MsgListvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? MsgListvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
|
|
56544
|
+
function MsgListvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
56545
|
+
function MsgListvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return MsgListvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
56546
|
+
function MsgListvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
56547
|
+
var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
56548
|
+
/* harmony default export */ var MsgListvue_type_script_lang_js = ({
|
|
56549
|
+
components: {},
|
|
56550
|
+
props: {},
|
|
56551
|
+
data: function data() {
|
|
56552
|
+
return {
|
|
56553
|
+
activeTab: 0,
|
|
56554
|
+
pageNum: 1,
|
|
56555
|
+
pageSize: 15,
|
|
56556
|
+
list: [],
|
|
56557
|
+
total: 0,
|
|
56558
|
+
hasMore: true,
|
|
56559
|
+
noticeIndex: 0,
|
|
56560
|
+
showDialog: false
|
|
56561
|
+
};
|
|
56562
|
+
},
|
|
56563
|
+
computed: {},
|
|
56564
|
+
watch: {},
|
|
56565
|
+
created: function created() {
|
|
56566
|
+
this.$wv.setTitle({
|
|
56567
|
+
bool: true,
|
|
56568
|
+
text: this.$tx('ecoa.message.notice', '消息提醒'),
|
|
56569
|
+
color: '#000000'
|
|
56570
|
+
});
|
|
56571
|
+
if (this.$route.query.tab === 'all') {
|
|
56572
|
+
this.activeTab = 0;
|
|
56573
|
+
}
|
|
56574
|
+
this.getData(1);
|
|
56575
|
+
},
|
|
56576
|
+
beforeDestroy: function beforeDestroy() {},
|
|
56577
|
+
mounted: function mounted() {},
|
|
56578
|
+
methods: {
|
|
56579
|
+
onTabClick: function onTabClick() {
|
|
56580
|
+
this.list = [];
|
|
56581
|
+
this.pageNum = 1;
|
|
56582
|
+
this.hasMore = true;
|
|
56583
|
+
this.getData(1);
|
|
56584
|
+
},
|
|
56585
|
+
onScroll: function onScroll(e) {
|
|
56586
|
+
var scrollTop = e.target.scrollTop;
|
|
56587
|
+
var clientHeight = e.target.clientHeight;
|
|
56588
|
+
var scrollHeight = e.target.scrollHeight;
|
|
56589
|
+
if (scrollTop + clientHeight >= scrollHeight - 50) {
|
|
56590
|
+
if (this.hasMore) {
|
|
56591
|
+
this.pageNum++;
|
|
56592
|
+
this.getData(this.pageNum);
|
|
56593
|
+
}
|
|
56594
|
+
}
|
|
56595
|
+
},
|
|
56596
|
+
getData: function getData(pageNum) {
|
|
56597
|
+
var _this = this;
|
|
56598
|
+
var loginUser = this.$store.getters.loginUser;
|
|
56599
|
+
var search = 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount;
|
|
56600
|
+
if (this.activeTab === 1) {
|
|
56601
|
+
search += ';isRead:0';
|
|
56602
|
+
} else if (this.activeTab === 2) {
|
|
56603
|
+
search += ';isRead:1';
|
|
56604
|
+
}
|
|
56605
|
+
this.$app.listdata('message/vwInbox/listdata', {
|
|
56606
|
+
pageNum: pageNum,
|
|
56607
|
+
pageSize: this.pageSize,
|
|
56608
|
+
orderBy: 'pushTime desc',
|
|
56609
|
+
urlsearch: search
|
|
56610
|
+
}).then(function (res) {
|
|
56611
|
+
if (res.code === 'success') {
|
|
56612
|
+
if (res.body.pageInfo.list.length > 0) {
|
|
56613
|
+
res.body.pageInfo.list.forEach(function (item) {
|
|
56614
|
+
item.pushTime = MsgListvue_type_script_lang_js_moment(item.pushTime).format('YYYY-MM-DD HH:mm');
|
|
56615
|
+
});
|
|
56616
|
+
}
|
|
56617
|
+
_this.list = [].concat(MsgListvue_type_script_lang_js_toConsumableArray(_this.list), MsgListvue_type_script_lang_js_toConsumableArray(res.body.pageInfo.list));
|
|
56618
|
+
_this.total = res.body.pageInfo.total;
|
|
56619
|
+
if (_this.total === res.body.pageInfo.endRow) {
|
|
56620
|
+
_this.hasMore = false;
|
|
56621
|
+
} else {
|
|
56622
|
+
_this.hasMore = true;
|
|
56623
|
+
}
|
|
56624
|
+
}
|
|
56625
|
+
});
|
|
56626
|
+
},
|
|
56627
|
+
onCellClick: function onCellClick(item) {
|
|
56628
|
+
if (item.isRead === 0) {
|
|
56629
|
+
item.isRead = 1;
|
|
56630
|
+
this.$http({
|
|
56631
|
+
url: 'message/inbox/read',
|
|
56632
|
+
method: 'get',
|
|
56633
|
+
params: {
|
|
56634
|
+
id: item.id
|
|
56635
|
+
}
|
|
56636
|
+
});
|
|
56637
|
+
}
|
|
56638
|
+
this.noticeIndex = this.list.findIndex(function (n) {
|
|
56639
|
+
return n.id === item.id;
|
|
56640
|
+
});
|
|
56641
|
+
if (this.noticeIndex < 0) this.noticeIndex = 0;
|
|
56642
|
+
this.showDialog = true;
|
|
56643
|
+
},
|
|
56644
|
+
prevNotice: function prevNotice() {
|
|
56645
|
+
if (this.noticeIndex > 0) this.noticeIndex--;
|
|
56646
|
+
},
|
|
56647
|
+
nextNotice: function nextNotice() {
|
|
56648
|
+
if (this.noticeIndex < this.list.length - 1) this.noticeIndex++;
|
|
56649
|
+
},
|
|
56650
|
+
gotoDetail: function gotoDetail(url) {
|
|
56651
|
+
this.showDialog = false;
|
|
56652
|
+
this.$router.push(url);
|
|
56653
|
+
}
|
|
56654
|
+
}
|
|
56655
|
+
});
|
|
56656
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=script&lang=js
|
|
56657
|
+
/* harmony default export */ var msgNotice_MsgListvue_type_script_lang_js = (MsgListvue_type_script_lang_js);
|
|
56658
|
+
// 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
|
|
56659
|
+
var MsgListvue_type_style_index_0_id_c3e64278_prod_scoped_true_lang_scss = __webpack_require__(2524);
|
|
56660
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=c3e64278&prod&scoped=true&lang=scss
|
|
56661
|
+
|
|
56662
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue
|
|
56663
|
+
|
|
56664
|
+
|
|
56665
|
+
|
|
56666
|
+
;
|
|
56667
|
+
|
|
56668
|
+
|
|
56669
|
+
/* normalize component */
|
|
56670
|
+
|
|
56671
|
+
var MsgList_component = normalizeComponent(
|
|
56672
|
+
msgNotice_MsgListvue_type_script_lang_js,
|
|
56673
|
+
MsgListvue_type_template_id_c3e64278_scoped_true_render,
|
|
56674
|
+
MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns,
|
|
56675
|
+
false,
|
|
56676
|
+
null,
|
|
56677
|
+
"c3e64278",
|
|
56678
|
+
null
|
|
56679
|
+
|
|
56680
|
+
)
|
|
56681
|
+
|
|
56682
|
+
/* harmony default export */ var MsgList = (MsgList_component.exports);
|
|
56242
56683
|
;// 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/document/index.vue?vue&type=template&id=05e817b3&scoped=true
|
|
56243
56684
|
var documentvue_type_template_id_05e817b3_scoped_true_render = function render() {
|
|
56244
56685
|
var _vm = this,
|
|
@@ -57177,6 +57618,9 @@ function ecoa_toPrimitive(t, r) { if ("object" != ecoa_typeof(t) || !t) return t
|
|
|
57177
57618
|
|
|
57178
57619
|
|
|
57179
57620
|
|
|
57621
|
+
//msgNotice
|
|
57622
|
+
|
|
57623
|
+
|
|
57180
57624
|
// document
|
|
57181
57625
|
|
|
57182
57626
|
|
|
@@ -57232,6 +57676,7 @@ var components = {
|
|
|
57232
57676
|
FullTextSearch: fullTextSearch,
|
|
57233
57677
|
TzggIndex: tzgg,
|
|
57234
57678
|
TzggTzgg: tzgg_tzgg,
|
|
57679
|
+
MsgNoticeMsgList: MsgList,
|
|
57235
57680
|
UsersettingContactsViewsUserDetail: userDetail,
|
|
57236
57681
|
SetTime: setTime,
|
|
57237
57682
|
DocumentIndex: src_document,
|