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.common.js
CHANGED
|
@@ -1691,7 +1691,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0ad892c4] input{font-size:16px
|
|
|
1691
1691
|
|
|
1692
1692
|
/***/ }),
|
|
1693
1693
|
|
|
1694
|
-
/***/
|
|
1694
|
+
/***/ 1977:
|
|
1695
1695
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1696
1696
|
|
|
1697
1697
|
"use strict";
|
|
@@ -1705,7 +1705,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1705
1705
|
|
|
1706
1706
|
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()));
|
|
1707
1707
|
// Module
|
|
1708
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".appVersion[data-v-
|
|
1708
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".appVersion[data-v-50d1c14c] .van-cell__value{color:#53a8ff}", ""]);
|
|
1709
1709
|
// Exports
|
|
1710
1710
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1711
1711
|
|
|
@@ -1827,6 +1827,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".websocket-main[data-v-37a3d86b]{posit
|
|
|
1827
1827
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1828
1828
|
|
|
1829
1829
|
|
|
1830
|
+
/***/ }),
|
|
1831
|
+
|
|
1832
|
+
/***/ 7183:
|
|
1833
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1834
|
+
|
|
1835
|
+
"use strict";
|
|
1836
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1837
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
|
|
1838
|
+
/* 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__);
|
|
1839
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
|
|
1840
|
+
/* 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__);
|
|
1841
|
+
// Imports
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
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()));
|
|
1845
|
+
// Module
|
|
1846
|
+
___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}", ""]);
|
|
1847
|
+
// Exports
|
|
1848
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1849
|
+
|
|
1850
|
+
|
|
1830
1851
|
/***/ }),
|
|
1831
1852
|
|
|
1832
1853
|
/***/ 7945:
|
|
@@ -2447,7 +2468,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".person-detial[data-v-692c2b26]{height
|
|
|
2447
2468
|
|
|
2448
2469
|
/***/ }),
|
|
2449
2470
|
|
|
2450
|
-
/***/
|
|
2471
|
+
/***/ 2703:
|
|
2451
2472
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2452
2473
|
|
|
2453
2474
|
"use strict";
|
|
@@ -2461,7 +2482,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2461
2482
|
|
|
2462
2483
|
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()));
|
|
2463
2484
|
// Module
|
|
2464
|
-
___CSS_LOADER_EXPORT___.push([module.id, "#Previewer[data-v-
|
|
2485
|
+
___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}", ""]);
|
|
2465
2486
|
// Exports
|
|
2466
2487
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2467
2488
|
|
|
@@ -27301,19 +27322,19 @@ var update = add("2052157c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27301
27322
|
|
|
27302
27323
|
/***/ }),
|
|
27303
27324
|
|
|
27304
|
-
/***/
|
|
27325
|
+
/***/ 8203:
|
|
27305
27326
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27306
27327
|
|
|
27307
27328
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27308
27329
|
|
|
27309
27330
|
// load the styles
|
|
27310
|
-
var content = __webpack_require__(
|
|
27331
|
+
var content = __webpack_require__(1977);
|
|
27311
27332
|
if(content.__esModule) content = content.default;
|
|
27312
27333
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27313
27334
|
if(content.locals) module.exports = content.locals;
|
|
27314
27335
|
// add the styles to the DOM
|
|
27315
27336
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27316
|
-
var update = add("
|
|
27337
|
+
var update = add("51c90f74", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27317
27338
|
|
|
27318
27339
|
/***/ }),
|
|
27319
27340
|
|
|
@@ -27397,6 +27418,22 @@ var update = add("9d67f7d2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27397
27418
|
|
|
27398
27419
|
/***/ }),
|
|
27399
27420
|
|
|
27421
|
+
/***/ 2069:
|
|
27422
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27423
|
+
|
|
27424
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27425
|
+
|
|
27426
|
+
// load the styles
|
|
27427
|
+
var content = __webpack_require__(7183);
|
|
27428
|
+
if(content.__esModule) content = content.default;
|
|
27429
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27430
|
+
if(content.locals) module.exports = content.locals;
|
|
27431
|
+
// add the styles to the DOM
|
|
27432
|
+
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27433
|
+
var update = add("3f46f6a1", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27434
|
+
|
|
27435
|
+
/***/ }),
|
|
27436
|
+
|
|
27400
27437
|
/***/ 2379:
|
|
27401
27438
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27402
27439
|
|
|
@@ -27861,19 +27898,19 @@ var update = add("5cb8e78b", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27861
27898
|
|
|
27862
27899
|
/***/ }),
|
|
27863
27900
|
|
|
27864
|
-
/***/
|
|
27901
|
+
/***/ 1725:
|
|
27865
27902
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27866
27903
|
|
|
27867
27904
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27868
27905
|
|
|
27869
27906
|
// load the styles
|
|
27870
|
-
var content = __webpack_require__(
|
|
27907
|
+
var content = __webpack_require__(2703);
|
|
27871
27908
|
if(content.__esModule) content = content.default;
|
|
27872
27909
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27873
27910
|
if(content.locals) module.exports = content.locals;
|
|
27874
27911
|
// add the styles to the DOM
|
|
27875
27912
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27876
|
-
var update = add("
|
|
27913
|
+
var update = add("71016764", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27877
27914
|
|
|
27878
27915
|
/***/ }),
|
|
27879
27916
|
|
|
@@ -34749,13 +34786,30 @@ var search_component = normalizeComponent(
|
|
|
34749
34786
|
)
|
|
34750
34787
|
|
|
34751
34788
|
/* harmony default export */ var search = (search_component.exports);
|
|
34752
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
34753
|
-
var
|
|
34789
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
34790
|
+
var previewervue_type_template_id_e775288c_scoped_true_render = function render() {
|
|
34754
34791
|
var _vm = this,
|
|
34755
34792
|
_c = _vm._self._c;
|
|
34756
34793
|
return _vm.fileName.indexOf('.pdf') !== -1 || _vm.url.includes('topdf=true') ? _c('div', {
|
|
34757
34794
|
staticClass: "pdfviewer"
|
|
34758
|
-
}, [_c('
|
|
34795
|
+
}, [_c('div', {
|
|
34796
|
+
attrs: {
|
|
34797
|
+
"id": "changeScreenH"
|
|
34798
|
+
},
|
|
34799
|
+
on: {
|
|
34800
|
+
"click": function click($event) {
|
|
34801
|
+
$event.stopPropagation();
|
|
34802
|
+
return _vm.changeScreenHo.apply(null, arguments);
|
|
34803
|
+
}
|
|
34804
|
+
}
|
|
34805
|
+
}, [_c('img', {
|
|
34806
|
+
staticStyle: {
|
|
34807
|
+
"width": "100%"
|
|
34808
|
+
},
|
|
34809
|
+
attrs: {
|
|
34810
|
+
"src": './images/m-imgs/app-icons/ic_change_ho.png'
|
|
34811
|
+
}
|
|
34812
|
+
})]), _c('span', {
|
|
34759
34813
|
directives: [{
|
|
34760
34814
|
name: "show",
|
|
34761
34815
|
rawName: "v-show",
|
|
@@ -34805,7 +34859,7 @@ var previewervue_type_template_id_6eb60cec_scoped_true_render = function render(
|
|
|
34805
34859
|
}
|
|
34806
34860
|
})]);
|
|
34807
34861
|
};
|
|
34808
|
-
var
|
|
34862
|
+
var previewervue_type_template_id_e775288c_scoped_true_staticRenderFns = [];
|
|
34809
34863
|
|
|
34810
34864
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
34811
34865
|
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); }
|
|
@@ -34836,7 +34890,7 @@ function previewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != pr
|
|
|
34836
34890
|
// this.url = params.url
|
|
34837
34891
|
var params = this.$route.query;
|
|
34838
34892
|
this.url = params.url + '&attachIds=' + params.attachIds + '&httpPort=' + params.httpPort;
|
|
34839
|
-
this.fileName = params.fileName;
|
|
34893
|
+
this.fileName = 'dd:' + params.fileName;
|
|
34840
34894
|
this.$wv.setTitle({
|
|
34841
34895
|
bool: true,
|
|
34842
34896
|
text: this.$tx('ecoa.message.filePreview', '文件预览'),
|
|
@@ -34855,6 +34909,20 @@ function previewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != pr
|
|
|
34855
34909
|
}
|
|
34856
34910
|
},
|
|
34857
34911
|
methods: {
|
|
34912
|
+
changeScreenHo: function changeScreenHo() {
|
|
34913
|
+
if (this.$route.query.viewer === '1') {
|
|
34914
|
+
return;
|
|
34915
|
+
}
|
|
34916
|
+
this.$wv.switchOrientation(false);
|
|
34917
|
+
this.orientation = 'portrait';
|
|
34918
|
+
this.showViewer = true;
|
|
34919
|
+
this.$router.push({
|
|
34920
|
+
path: this.$route.fullPath,
|
|
34921
|
+
query: previewervue_type_script_lang_js_objectSpread(previewervue_type_script_lang_js_objectSpread({}, this.$route.query), {}, {
|
|
34922
|
+
viewer: '1'
|
|
34923
|
+
})
|
|
34924
|
+
});
|
|
34925
|
+
},
|
|
34858
34926
|
handleOrientationChange: function handleOrientationChange() {
|
|
34859
34927
|
// type 包含 'landscape-primary' 或 'landscape-secondary' 时为横屏
|
|
34860
34928
|
if (screen.orientation.type.includes('landscape')) {
|
|
@@ -34886,9 +34954,9 @@ function previewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != pr
|
|
|
34886
34954
|
});
|
|
34887
34955
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue?vue&type=script&lang=js
|
|
34888
34956
|
/* harmony default export */ var usersetting_previewervue_type_script_lang_js = (previewervue_type_script_lang_js);
|
|
34889
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
34890
|
-
var
|
|
34891
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue?vue&type=style&index=0&id=
|
|
34957
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
34958
|
+
var previewervue_type_style_index_0_id_e775288c_prod_lang_scss_scoped_true = __webpack_require__(1725);
|
|
34959
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue?vue&type=style&index=0&id=e775288c&prod&lang=scss&scoped=true
|
|
34892
34960
|
|
|
34893
34961
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/usersetting/previewer/index.vue
|
|
34894
34962
|
|
|
@@ -34901,11 +34969,11 @@ var previewervue_type_style_index_0_id_6eb60cec_prod_lang_scss_scoped_true = __w
|
|
|
34901
34969
|
|
|
34902
34970
|
var previewer_component = normalizeComponent(
|
|
34903
34971
|
usersetting_previewervue_type_script_lang_js,
|
|
34904
|
-
|
|
34905
|
-
|
|
34972
|
+
previewervue_type_template_id_e775288c_scoped_true_render,
|
|
34973
|
+
previewervue_type_template_id_e775288c_scoped_true_staticRenderFns,
|
|
34906
34974
|
false,
|
|
34907
34975
|
null,
|
|
34908
|
-
"
|
|
34976
|
+
"e775288c",
|
|
34909
34977
|
null
|
|
34910
34978
|
|
|
34911
34979
|
)
|
|
@@ -39754,8 +39822,8 @@ var mainPage_component = normalizeComponent(
|
|
|
39754
39822
|
)
|
|
39755
39823
|
|
|
39756
39824
|
/* harmony default export */ var mainPage = (mainPage_component.exports);
|
|
39757
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
39758
|
-
var
|
|
39825
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
39826
|
+
var sysvue_type_template_id_50d1c14c_scoped_true_render = function render() {
|
|
39759
39827
|
var _vm = this,
|
|
39760
39828
|
_c = _vm._self._c;
|
|
39761
39829
|
return _c('div', {
|
|
@@ -39935,11 +40003,13 @@ var sysvue_type_template_id_b98ad6a2_scoped_true_render = function render() {
|
|
|
39935
40003
|
"block": ""
|
|
39936
40004
|
},
|
|
39937
40005
|
on: {
|
|
39938
|
-
"click":
|
|
40006
|
+
"click": function click($event) {
|
|
40007
|
+
return _vm.logout();
|
|
40008
|
+
}
|
|
39939
40009
|
}
|
|
39940
40010
|
}, [_vm._v("退出登录")])], 2);
|
|
39941
40011
|
};
|
|
39942
|
-
var
|
|
40012
|
+
var sysvue_type_template_id_50d1c14c_scoped_true_staticRenderFns = [];
|
|
39943
40013
|
|
|
39944
40014
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
39945
40015
|
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); }
|
|
@@ -39981,6 +40051,18 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
39981
40051
|
}
|
|
39982
40052
|
},
|
|
39983
40053
|
methods: {
|
|
40054
|
+
logout: function logout() {
|
|
40055
|
+
var _this = this;
|
|
40056
|
+
if (window.mappType === 'ecinc') {
|
|
40057
|
+
this.$wv.logout();
|
|
40058
|
+
} else {
|
|
40059
|
+
this.$store.dispatch('user/logout').then(function () {
|
|
40060
|
+
_this.$router.push('/login');
|
|
40061
|
+
}).catch(function () {
|
|
40062
|
+
_this.$router.push('/login');
|
|
40063
|
+
});
|
|
40064
|
+
}
|
|
40065
|
+
},
|
|
39984
40066
|
openWeb: function openWeb(val) {
|
|
39985
40067
|
if (val === '用户协议') {
|
|
39986
40068
|
this.$wv.openHorizontalWeb({
|
|
@@ -39997,7 +40079,7 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
39997
40079
|
}
|
|
39998
40080
|
},
|
|
39999
40081
|
resetSys: function resetSys() {
|
|
40000
|
-
var
|
|
40082
|
+
var _this2 = this;
|
|
40001
40083
|
this.$dialog.confirm({
|
|
40002
40084
|
title: '设置提示',
|
|
40003
40085
|
message: '是否恢复系统设置',
|
|
@@ -40006,21 +40088,21 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40006
40088
|
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
40007
40089
|
while (1) switch (_context.prev = _context.next) {
|
|
40008
40090
|
case 0:
|
|
40009
|
-
|
|
40091
|
+
_this2.$wv.removeAppStorageItem({
|
|
40010
40092
|
key: 'defaultPagesSelected'
|
|
40011
40093
|
});
|
|
40012
|
-
|
|
40094
|
+
_this2.$wv.removeAppStorageItem({
|
|
40013
40095
|
key: 'phoneCheck'
|
|
40014
40096
|
}, function () {
|
|
40015
|
-
|
|
40097
|
+
_this2.pageData.phoneCheck = _this2.$wv.getAppStorageItem({
|
|
40016
40098
|
key: 'phoneCheck',
|
|
40017
40099
|
type: 'boolean'
|
|
40018
40100
|
});
|
|
40019
40101
|
});
|
|
40020
|
-
|
|
40102
|
+
_this2.$wv.removeAppStorageItem({
|
|
40021
40103
|
key: 'autoLogin'
|
|
40022
40104
|
});
|
|
40023
|
-
|
|
40105
|
+
_this2.$toast('恢复系统设置成功');
|
|
40024
40106
|
case 4:
|
|
40025
40107
|
case "end":
|
|
40026
40108
|
return _context.stop();
|
|
@@ -40029,7 +40111,7 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40029
40111
|
})));
|
|
40030
40112
|
},
|
|
40031
40113
|
clearCache: function clearCache() {
|
|
40032
|
-
var
|
|
40114
|
+
var _this3 = this;
|
|
40033
40115
|
this.$dialog.confirm({
|
|
40034
40116
|
title: '清除提示',
|
|
40035
40117
|
message: '是否清除缓存',
|
|
@@ -40038,7 +40120,7 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40038
40120
|
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
40039
40121
|
while (1) switch (_context2.prev = _context2.next) {
|
|
40040
40122
|
case 0:
|
|
40041
|
-
|
|
40123
|
+
_this3.$wv.clearCache();
|
|
40042
40124
|
case 1:
|
|
40043
40125
|
case "end":
|
|
40044
40126
|
return _context2.stop();
|
|
@@ -40048,12 +40130,12 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40048
40130
|
},
|
|
40049
40131
|
// 获取消息推送状态
|
|
40050
40132
|
getSubscriberAppAll: function getSubscriberAppAll(val) {
|
|
40051
|
-
var
|
|
40133
|
+
var _this4 = this;
|
|
40052
40134
|
this.$http({
|
|
40053
40135
|
url: 'message/subscriber/getSubscriberAppAll'
|
|
40054
40136
|
}).then(function (res) {
|
|
40055
40137
|
if (res.code === 'success') {
|
|
40056
|
-
|
|
40138
|
+
_this4.msgSend = res.body.subscriberAppAll === 1;
|
|
40057
40139
|
}
|
|
40058
40140
|
});
|
|
40059
40141
|
},
|
|
@@ -40069,13 +40151,13 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40069
40151
|
});
|
|
40070
40152
|
},
|
|
40071
40153
|
getAppVersion: function getAppVersion() {
|
|
40072
|
-
var
|
|
40154
|
+
var _this5 = this;
|
|
40073
40155
|
return sysvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/sysvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
40074
40156
|
return sysvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
40075
40157
|
while (1) switch (_context3.prev = _context3.next) {
|
|
40076
40158
|
case 0:
|
|
40077
40159
|
_context3.next = 2;
|
|
40078
|
-
return
|
|
40160
|
+
return _this5.$wv.getAppVersion();
|
|
40079
40161
|
case 2:
|
|
40080
40162
|
_context3.t0 = _context3.sent;
|
|
40081
40163
|
if (_context3.t0) {
|
|
@@ -40084,9 +40166,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40084
40166
|
}
|
|
40085
40167
|
_context3.t0 = '';
|
|
40086
40168
|
case 5:
|
|
40087
|
-
|
|
40088
|
-
if (
|
|
40089
|
-
|
|
40169
|
+
_this5.appVersion = _context3.t0;
|
|
40170
|
+
if (_this5.appVersion && _this5.appVersion.indexOf('V') === -1) {
|
|
40171
|
+
_this5.appVersion = 'V' + _this5.appVersion;
|
|
40090
40172
|
}
|
|
40091
40173
|
case 7:
|
|
40092
40174
|
case "end":
|
|
@@ -40113,9 +40195,9 @@ function sysvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != sysvue_t
|
|
|
40113
40195
|
});
|
|
40114
40196
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=script&lang=js
|
|
40115
40197
|
/* harmony default export */ var settings_sysvue_type_script_lang_js = (sysvue_type_script_lang_js);
|
|
40116
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
40117
|
-
var
|
|
40118
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=
|
|
40198
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
40199
|
+
var sysvue_type_style_index_0_id_50d1c14c_prod_lang_scss_scoped_true = __webpack_require__(8203);
|
|
40200
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue?vue&type=style&index=0&id=50d1c14c&prod&lang=scss&scoped=true
|
|
40119
40201
|
|
|
40120
40202
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/index.vue
|
|
40121
40203
|
|
|
@@ -40128,11 +40210,11 @@ var sysvue_type_style_index_0_id_b98ad6a2_prod_lang_scss_scoped_true = __webpack
|
|
|
40128
40210
|
|
|
40129
40211
|
var sys_component = normalizeComponent(
|
|
40130
40212
|
settings_sysvue_type_script_lang_js,
|
|
40131
|
-
|
|
40132
|
-
|
|
40213
|
+
sysvue_type_template_id_50d1c14c_scoped_true_render,
|
|
40214
|
+
sysvue_type_template_id_50d1c14c_scoped_true_staticRenderFns,
|
|
40133
40215
|
false,
|
|
40134
40216
|
null,
|
|
40135
|
-
"
|
|
40217
|
+
"50d1c14c",
|
|
40136
40218
|
null
|
|
40137
40219
|
|
|
40138
40220
|
)
|
|
@@ -56229,6 +56311,365 @@ var tzgg_tzgg_component = normalizeComponent(
|
|
|
56229
56311
|
)
|
|
56230
56312
|
|
|
56231
56313
|
/* harmony default export */ var tzgg_tzgg = (tzgg_tzgg_component.exports);
|
|
56314
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
56315
|
+
var MsgListvue_type_template_id_c3e64278_scoped_true_render = function render() {
|
|
56316
|
+
var _vm = this,
|
|
56317
|
+
_c = _vm._self._c;
|
|
56318
|
+
return _c('div', {
|
|
56319
|
+
staticClass: "h5app-container msg-list-container",
|
|
56320
|
+
on: {
|
|
56321
|
+
"scroll": _vm.onScroll
|
|
56322
|
+
}
|
|
56323
|
+
}, [_c('van-tabs', {
|
|
56324
|
+
attrs: {
|
|
56325
|
+
"sticky": "",
|
|
56326
|
+
"line-width": "60px"
|
|
56327
|
+
},
|
|
56328
|
+
on: {
|
|
56329
|
+
"click": _vm.onTabClick
|
|
56330
|
+
},
|
|
56331
|
+
model: {
|
|
56332
|
+
value: _vm.activeTab,
|
|
56333
|
+
callback: function callback($$v) {
|
|
56334
|
+
_vm.activeTab = $$v;
|
|
56335
|
+
},
|
|
56336
|
+
expression: "activeTab"
|
|
56337
|
+
}
|
|
56338
|
+
}, [_c('van-tab', {
|
|
56339
|
+
attrs: {
|
|
56340
|
+
"title": _vm.$tx('common.all', '全部')
|
|
56341
|
+
}
|
|
56342
|
+
}), _c('van-tab', {
|
|
56343
|
+
attrs: {
|
|
56344
|
+
"title": _vm.$tx('ecoa.dzgg.unread', '未读')
|
|
56345
|
+
}
|
|
56346
|
+
}), _c('van-tab', {
|
|
56347
|
+
attrs: {
|
|
56348
|
+
"title": _vm.$tx('ecoa.dzgg.readAlready', '已读')
|
|
56349
|
+
}
|
|
56350
|
+
})], 1), _vm.list.length > 0 ? _c('div', {
|
|
56351
|
+
staticClass: "message-box"
|
|
56352
|
+
}, [_vm._l(_vm.list, function (item) {
|
|
56353
|
+
return _c('div', {
|
|
56354
|
+
key: item.id,
|
|
56355
|
+
staticClass: "message-item",
|
|
56356
|
+
on: {
|
|
56357
|
+
"click": function click($event) {
|
|
56358
|
+
return _vm.onCellClick(item);
|
|
56359
|
+
}
|
|
56360
|
+
}
|
|
56361
|
+
}, [_c('div', {
|
|
56362
|
+
staticClass: "message-time"
|
|
56363
|
+
}, [_vm._v(" " + _vm._s(item.pushTime) + " ")]), _c('div', {
|
|
56364
|
+
staticClass: "message-content",
|
|
56365
|
+
style: {
|
|
56366
|
+
'padding-top': !item.msgTitle ? '14px' : ''
|
|
56367
|
+
}
|
|
56368
|
+
}, [item.msgTitle ? _c('div', {
|
|
56369
|
+
staticClass: "message-top"
|
|
56370
|
+
}, [item.isRead === 0 ? _c('span', {
|
|
56371
|
+
staticClass: "no-read-dot"
|
|
56372
|
+
}) : _vm._e(), _vm._v(" " + _vm._s(item.msgTitle) + " ")]) : _vm._e(), _c('div', {
|
|
56373
|
+
staticClass: "message-bottom"
|
|
56374
|
+
}, [_vm._v(" " + _vm._s(item.msgContent) + " ")]), _c('div', {
|
|
56375
|
+
staticClass: "message-info"
|
|
56376
|
+
}, [_c('span', {
|
|
56377
|
+
staticClass: "sender"
|
|
56378
|
+
}, [_vm._v(_vm._s(item.senderName))]), _c('span', {
|
|
56379
|
+
staticClass: "time"
|
|
56380
|
+
}, [_vm._v(_vm._s(item.pushTime))])])]), item.msgUrl ? _c('div', {
|
|
56381
|
+
staticClass: "message-btn",
|
|
56382
|
+
on: {
|
|
56383
|
+
"click": function click($event) {
|
|
56384
|
+
$event.stopPropagation();
|
|
56385
|
+
return _vm.gotoDetail(item.msgUrl);
|
|
56386
|
+
}
|
|
56387
|
+
}
|
|
56388
|
+
}, [_c('span', {
|
|
56389
|
+
directives: [{
|
|
56390
|
+
name: "text-lbl",
|
|
56391
|
+
rawName: "v-text-lbl",
|
|
56392
|
+
value: 'ecoa.calendar.lookDetail',
|
|
56393
|
+
expression: "'ecoa.calendar.lookDetail'"
|
|
56394
|
+
}],
|
|
56395
|
+
staticStyle: {
|
|
56396
|
+
"font-size": "13px",
|
|
56397
|
+
"font-weight": "bold",
|
|
56398
|
+
"color": "#333333"
|
|
56399
|
+
}
|
|
56400
|
+
}, [_vm._v("查看详情")]), _c('van-icon', {
|
|
56401
|
+
attrs: {
|
|
56402
|
+
"size": "14",
|
|
56403
|
+
"color": "#333333",
|
|
56404
|
+
"name": "arrow"
|
|
56405
|
+
}
|
|
56406
|
+
})], 1) : _vm._e()]);
|
|
56407
|
+
}), _vm.hasMore ? _c('div', {
|
|
56408
|
+
staticStyle: {
|
|
56409
|
+
"display": "flex",
|
|
56410
|
+
"align-items": "center",
|
|
56411
|
+
"justify-content": "center",
|
|
56412
|
+
"padding": "10px"
|
|
56413
|
+
}
|
|
56414
|
+
}, [_c('van-loading', {
|
|
56415
|
+
staticStyle: {
|
|
56416
|
+
"height": "40px",
|
|
56417
|
+
"padding-top": "0"
|
|
56418
|
+
},
|
|
56419
|
+
attrs: {
|
|
56420
|
+
"type": "spinner",
|
|
56421
|
+
"color": "#1989fa"
|
|
56422
|
+
}
|
|
56423
|
+
})], 1) : _vm._e(), !_vm.hasMore && _vm.list.length > 0 ? _c('div', {
|
|
56424
|
+
directives: [{
|
|
56425
|
+
name: "text-lbl",
|
|
56426
|
+
rawName: "v-text-lbl",
|
|
56427
|
+
value: 'common.nothingMore',
|
|
56428
|
+
expression: "'common.nothingMore'"
|
|
56429
|
+
}],
|
|
56430
|
+
staticClass: "message-noMore"
|
|
56431
|
+
}, [_vm._v(" 没有更多了 ")]) : _vm._e()], 2) : _vm._e(), _vm.list.length === 0 && !_vm.hasMore ? _c('div', [_c('van-empty', {
|
|
56432
|
+
attrs: {
|
|
56433
|
+
"description": _vm.$tx('common.noData', '暂无数据')
|
|
56434
|
+
}
|
|
56435
|
+
})], 1) : _vm._e(), _c('van-overlay', {
|
|
56436
|
+
attrs: {
|
|
56437
|
+
"show": _vm.showDialog,
|
|
56438
|
+
"z-index": 9999
|
|
56439
|
+
},
|
|
56440
|
+
on: {
|
|
56441
|
+
"click": function click($event) {
|
|
56442
|
+
_vm.showDialog = false;
|
|
56443
|
+
}
|
|
56444
|
+
}
|
|
56445
|
+
}, [_c('div', {
|
|
56446
|
+
staticStyle: {
|
|
56447
|
+
"position": "absolute",
|
|
56448
|
+
"top": "50%",
|
|
56449
|
+
"left": "50%",
|
|
56450
|
+
"transform": "translate(-50%, -50%)",
|
|
56451
|
+
"width": "85%",
|
|
56452
|
+
"max-height": "70vh",
|
|
56453
|
+
"background": "#fff",
|
|
56454
|
+
"border-radius": "8px",
|
|
56455
|
+
"padding": "16px",
|
|
56456
|
+
"overflow-y": "auto"
|
|
56457
|
+
},
|
|
56458
|
+
on: {
|
|
56459
|
+
"click": function click($event) {
|
|
56460
|
+
$event.stopPropagation();
|
|
56461
|
+
}
|
|
56462
|
+
}
|
|
56463
|
+
}, [_c('div', {
|
|
56464
|
+
staticStyle: {
|
|
56465
|
+
"min-height": "80px",
|
|
56466
|
+
"font-size": "14px",
|
|
56467
|
+
"line-height": "22px",
|
|
56468
|
+
"color": "#333",
|
|
56469
|
+
"word-break": "break-all"
|
|
56470
|
+
}
|
|
56471
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].msgContent) + " "), _vm.list[_vm.noticeIndex].msgUrl ? _c('a', {
|
|
56472
|
+
staticStyle: {
|
|
56473
|
+
"color": "#1989fa",
|
|
56474
|
+
"margin-left": "4px",
|
|
56475
|
+
"text-decoration": "none"
|
|
56476
|
+
},
|
|
56477
|
+
attrs: {
|
|
56478
|
+
"href": "javascript:void(0)"
|
|
56479
|
+
},
|
|
56480
|
+
on: {
|
|
56481
|
+
"click": function click($event) {
|
|
56482
|
+
$event.stopPropagation();
|
|
56483
|
+
return _vm.gotoDetail(_vm.list[_vm.noticeIndex].msgUrl);
|
|
56484
|
+
}
|
|
56485
|
+
}
|
|
56486
|
+
}, [_vm._v("查看详情 >")]) : _vm._e()]), _c('div', {
|
|
56487
|
+
staticStyle: {
|
|
56488
|
+
"text-align": "right",
|
|
56489
|
+
"margin-top": "8px",
|
|
56490
|
+
"font-size": "12px",
|
|
56491
|
+
"color": "#999"
|
|
56492
|
+
}
|
|
56493
|
+
}, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].senderName) + " " + _vm._s(_vm.list[_vm.noticeIndex].pushTime) + " ")]), _c('div', {
|
|
56494
|
+
staticStyle: {
|
|
56495
|
+
"display": "flex",
|
|
56496
|
+
"justify-content": "space-between",
|
|
56497
|
+
"align-items": "center",
|
|
56498
|
+
"margin-top": "16px",
|
|
56499
|
+
"padding-top": "12px",
|
|
56500
|
+
"border-top": "1px solid #eee"
|
|
56501
|
+
}
|
|
56502
|
+
}, [_c('span', {
|
|
56503
|
+
style: {
|
|
56504
|
+
color: _vm.noticeIndex === 0 ? '#ccc' : '#333',
|
|
56505
|
+
fontSize: '14px'
|
|
56506
|
+
},
|
|
56507
|
+
on: {
|
|
56508
|
+
"click": _vm.prevNotice
|
|
56509
|
+
}
|
|
56510
|
+
}, [_vm._v("上一条")]), _c('span', {
|
|
56511
|
+
staticStyle: {
|
|
56512
|
+
"font-size": "14px"
|
|
56513
|
+
}
|
|
56514
|
+
}, [_c('span', {
|
|
56515
|
+
staticStyle: {
|
|
56516
|
+
"color": "#1989fa"
|
|
56517
|
+
}
|
|
56518
|
+
}, [_vm._v(_vm._s(_vm.noticeIndex + 1))]), _vm._v("/" + _vm._s(_vm.list.length))]), _c('span', {
|
|
56519
|
+
style: {
|
|
56520
|
+
color: _vm.noticeIndex === _vm.list.length - 1 ? '#ccc' : '#333',
|
|
56521
|
+
fontSize: '14px'
|
|
56522
|
+
},
|
|
56523
|
+
on: {
|
|
56524
|
+
"click": _vm.nextNotice
|
|
56525
|
+
}
|
|
56526
|
+
}, [_vm._v("下一条")])])])])], 1);
|
|
56527
|
+
};
|
|
56528
|
+
var MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns = [];
|
|
56529
|
+
|
|
56530
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
56531
|
+
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(); }
|
|
56532
|
+
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."); }
|
|
56533
|
+
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; } }
|
|
56534
|
+
function MsgListvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
56535
|
+
function MsgListvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return MsgListvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
56536
|
+
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; }
|
|
56537
|
+
var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
56538
|
+
/* harmony default export */ var MsgListvue_type_script_lang_js = ({
|
|
56539
|
+
components: {},
|
|
56540
|
+
props: {},
|
|
56541
|
+
data: function data() {
|
|
56542
|
+
return {
|
|
56543
|
+
activeTab: 0,
|
|
56544
|
+
pageNum: 1,
|
|
56545
|
+
pageSize: 15,
|
|
56546
|
+
list: [],
|
|
56547
|
+
total: 0,
|
|
56548
|
+
hasMore: true,
|
|
56549
|
+
noticeIndex: 0,
|
|
56550
|
+
showDialog: false
|
|
56551
|
+
};
|
|
56552
|
+
},
|
|
56553
|
+
computed: {},
|
|
56554
|
+
watch: {},
|
|
56555
|
+
created: function created() {
|
|
56556
|
+
this.$wv.setTitle({
|
|
56557
|
+
bool: true,
|
|
56558
|
+
text: this.$tx('ecoa.message.notice', '消息提醒'),
|
|
56559
|
+
color: '#000000'
|
|
56560
|
+
});
|
|
56561
|
+
if (this.$route.query.tab === 'all') {
|
|
56562
|
+
this.activeTab = 0;
|
|
56563
|
+
}
|
|
56564
|
+
this.getData(1);
|
|
56565
|
+
},
|
|
56566
|
+
beforeDestroy: function beforeDestroy() {},
|
|
56567
|
+
mounted: function mounted() {},
|
|
56568
|
+
methods: {
|
|
56569
|
+
onTabClick: function onTabClick() {
|
|
56570
|
+
this.list = [];
|
|
56571
|
+
this.pageNum = 1;
|
|
56572
|
+
this.hasMore = true;
|
|
56573
|
+
this.getData(1);
|
|
56574
|
+
},
|
|
56575
|
+
onScroll: function onScroll(e) {
|
|
56576
|
+
var scrollTop = e.target.scrollTop;
|
|
56577
|
+
var clientHeight = e.target.clientHeight;
|
|
56578
|
+
var scrollHeight = e.target.scrollHeight;
|
|
56579
|
+
if (scrollTop + clientHeight >= scrollHeight - 50) {
|
|
56580
|
+
if (this.hasMore) {
|
|
56581
|
+
this.pageNum++;
|
|
56582
|
+
this.getData(this.pageNum);
|
|
56583
|
+
}
|
|
56584
|
+
}
|
|
56585
|
+
},
|
|
56586
|
+
getData: function getData(pageNum) {
|
|
56587
|
+
var _this = this;
|
|
56588
|
+
var loginUser = this.$store.getters.loginUser;
|
|
56589
|
+
var search = 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount;
|
|
56590
|
+
if (this.activeTab === 1) {
|
|
56591
|
+
search += ';isRead:0';
|
|
56592
|
+
} else if (this.activeTab === 2) {
|
|
56593
|
+
search += ';isRead:1';
|
|
56594
|
+
}
|
|
56595
|
+
this.$app.listdata('message/vwInbox/listdata', {
|
|
56596
|
+
pageNum: pageNum,
|
|
56597
|
+
pageSize: this.pageSize,
|
|
56598
|
+
orderBy: 'pushTime desc',
|
|
56599
|
+
urlsearch: search
|
|
56600
|
+
}).then(function (res) {
|
|
56601
|
+
if (res.code === 'success') {
|
|
56602
|
+
if (res.body.pageInfo.list.length > 0) {
|
|
56603
|
+
res.body.pageInfo.list.forEach(function (item) {
|
|
56604
|
+
item.pushTime = MsgListvue_type_script_lang_js_moment(item.pushTime).format('YYYY-MM-DD HH:mm');
|
|
56605
|
+
});
|
|
56606
|
+
}
|
|
56607
|
+
_this.list = [].concat(MsgListvue_type_script_lang_js_toConsumableArray(_this.list), MsgListvue_type_script_lang_js_toConsumableArray(res.body.pageInfo.list));
|
|
56608
|
+
_this.total = res.body.pageInfo.total;
|
|
56609
|
+
if (_this.total === res.body.pageInfo.endRow) {
|
|
56610
|
+
_this.hasMore = false;
|
|
56611
|
+
} else {
|
|
56612
|
+
_this.hasMore = true;
|
|
56613
|
+
}
|
|
56614
|
+
}
|
|
56615
|
+
});
|
|
56616
|
+
},
|
|
56617
|
+
onCellClick: function onCellClick(item) {
|
|
56618
|
+
if (item.isRead === 0) {
|
|
56619
|
+
item.isRead = 1;
|
|
56620
|
+
this.$http({
|
|
56621
|
+
url: 'message/inbox/read',
|
|
56622
|
+
method: 'get',
|
|
56623
|
+
params: {
|
|
56624
|
+
id: item.id
|
|
56625
|
+
}
|
|
56626
|
+
});
|
|
56627
|
+
}
|
|
56628
|
+
this.noticeIndex = this.list.findIndex(function (n) {
|
|
56629
|
+
return n.id === item.id;
|
|
56630
|
+
});
|
|
56631
|
+
if (this.noticeIndex < 0) this.noticeIndex = 0;
|
|
56632
|
+
this.showDialog = true;
|
|
56633
|
+
},
|
|
56634
|
+
prevNotice: function prevNotice() {
|
|
56635
|
+
if (this.noticeIndex > 0) this.noticeIndex--;
|
|
56636
|
+
},
|
|
56637
|
+
nextNotice: function nextNotice() {
|
|
56638
|
+
if (this.noticeIndex < this.list.length - 1) this.noticeIndex++;
|
|
56639
|
+
},
|
|
56640
|
+
gotoDetail: function gotoDetail(url) {
|
|
56641
|
+
this.showDialog = false;
|
|
56642
|
+
this.$router.push(url);
|
|
56643
|
+
}
|
|
56644
|
+
}
|
|
56645
|
+
});
|
|
56646
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=script&lang=js
|
|
56647
|
+
/* harmony default export */ var msgNotice_MsgListvue_type_script_lang_js = (MsgListvue_type_script_lang_js);
|
|
56648
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
56649
|
+
var MsgListvue_type_style_index_0_id_c3e64278_prod_scoped_true_lang_scss = __webpack_require__(2069);
|
|
56650
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=c3e64278&prod&scoped=true&lang=scss
|
|
56651
|
+
|
|
56652
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue
|
|
56653
|
+
|
|
56654
|
+
|
|
56655
|
+
|
|
56656
|
+
;
|
|
56657
|
+
|
|
56658
|
+
|
|
56659
|
+
/* normalize component */
|
|
56660
|
+
|
|
56661
|
+
var MsgList_component = normalizeComponent(
|
|
56662
|
+
msgNotice_MsgListvue_type_script_lang_js,
|
|
56663
|
+
MsgListvue_type_template_id_c3e64278_scoped_true_render,
|
|
56664
|
+
MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns,
|
|
56665
|
+
false,
|
|
56666
|
+
null,
|
|
56667
|
+
"c3e64278",
|
|
56668
|
+
null
|
|
56669
|
+
|
|
56670
|
+
)
|
|
56671
|
+
|
|
56672
|
+
/* harmony default export */ var MsgList = (MsgList_component.exports);
|
|
56232
56673
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
56233
56674
|
var documentvue_type_template_id_05e817b3_scoped_true_render = function render() {
|
|
56234
56675
|
var _vm = this,
|
|
@@ -57167,6 +57608,9 @@ function ecoa_toPrimitive(t, r) { if ("object" != ecoa_typeof(t) || !t) return t
|
|
|
57167
57608
|
|
|
57168
57609
|
|
|
57169
57610
|
|
|
57611
|
+
//msgNotice
|
|
57612
|
+
|
|
57613
|
+
|
|
57170
57614
|
// document
|
|
57171
57615
|
|
|
57172
57616
|
|
|
@@ -57222,6 +57666,7 @@ var components = {
|
|
|
57222
57666
|
FullTextSearch: fullTextSearch,
|
|
57223
57667
|
TzggIndex: tzgg,
|
|
57224
57668
|
TzggTzgg: tzgg_tzgg,
|
|
57669
|
+
MsgNoticeMsgList: MsgList,
|
|
57225
57670
|
UsersettingContactsViewsUserDetail: userDetail,
|
|
57226
57671
|
SetTime: setTime,
|
|
57227
57672
|
DocumentIndex: src_document,
|