ecinc-cloud-moaecoav9 9.7.6 → 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.
@@ -1829,7 +1829,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".websocket-main[data-v-37a3d86b]{posit
1829
1829
 
1830
1830
  /***/ }),
1831
1831
 
1832
- /***/ 8259:
1832
+ /***/ 7183:
1833
1833
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1834
1834
 
1835
1835
  "use strict";
@@ -1843,7 +1843,7 @@ __webpack_require__.r(__webpack_exports__);
1843
1843
 
1844
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
1845
  // Module
1846
- ___CSS_LOADER_EXPORT___.push([module.id, ".msg-list-container[data-v-4490a3f9]{background:#f4f4f4;overflow:auto;height:100vh}.message-noMore[data-v-4490a3f9]{height:40px;line-height:40px;text-align:center;color:#999;font-size:14px}.message-item[data-v-4490a3f9]{width:92%;margin:0 auto}.message-item .message-time[data-v-4490a3f9]{height:40px;line-height:40px;text-align:center;color:#999;font-size:12px}.message-item .message-content[data-v-4490a3f9]{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-4490a3f9]{height:46px;line-height:46px;font-size:16px;font-weight:700;color:#333}.message-item .message-content .message-top .no-read-dot[data-v-4490a3f9]{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-4490a3f9]{font-size:13px;color:#999;line-height:20px}.message-item .message-content .message-info[data-v-4490a3f9]{margin-top:8px;font-size:12px;color:#999}.message-item .message-btn[data-v-4490a3f9],.message-item .message-content .message-info[data-v-4490a3f9]{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-4490a3f9]{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}", ""]);
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
1847
  // Exports
1848
1848
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1849
1849
 
@@ -27418,19 +27418,19 @@ var update = add("9d67f7d2", content, true, {"sourceMap":false,"shadowMode":fals
27418
27418
 
27419
27419
  /***/ }),
27420
27420
 
27421
- /***/ 1242:
27421
+ /***/ 2069:
27422
27422
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
27423
27423
 
27424
27424
  // style-loader: Adds some css to the DOM by adding a <style> tag
27425
27425
 
27426
27426
  // load the styles
27427
- var content = __webpack_require__(8259);
27427
+ var content = __webpack_require__(7183);
27428
27428
  if(content.__esModule) content = content.default;
27429
27429
  if(typeof content === 'string') content = [[module.id, content, '']];
27430
27430
  if(content.locals) module.exports = content.locals;
27431
27431
  // add the styles to the DOM
27432
27432
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
27433
- var update = add("bda431f6", content, true, {"sourceMap":false,"shadowMode":false});
27433
+ var update = add("3f46f6a1", content, true, {"sourceMap":false,"shadowMode":false});
27434
27434
 
27435
27435
  /***/ }),
27436
27436
 
@@ -56311,8 +56311,8 @@ var tzgg_tzgg_component = normalizeComponent(
56311
56311
  )
56312
56312
 
56313
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=4490a3f9&scoped=true
56315
- var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render() {
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
56316
  var _vm = this,
56317
56317
  _c = _vm._self._c;
56318
56318
  return _c('div', {
@@ -56336,6 +56336,10 @@ var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render()
56336
56336
  expression: "activeTab"
56337
56337
  }
56338
56338
  }, [_c('van-tab', {
56339
+ attrs: {
56340
+ "title": _vm.$tx('common.all', '全部')
56341
+ }
56342
+ }), _c('van-tab', {
56339
56343
  attrs: {
56340
56344
  "title": _vm.$tx('ecoa.dzgg.unread', '未读')
56341
56345
  }
@@ -56428,9 +56432,100 @@ var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render()
56428
56432
  attrs: {
56429
56433
  "description": _vm.$tx('common.noData', '暂无数据')
56430
56434
  }
56431
- })], 1) : _vm._e()], 1);
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);
56432
56527
  };
56433
- var MsgListvue_type_template_id_4490a3f9_scoped_true_staticRenderFns = [];
56528
+ var MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns = [];
56434
56529
 
56435
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
56436
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(); }
@@ -56450,7 +56545,9 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56450
56545
  pageSize: 15,
56451
56546
  list: [],
56452
56547
  total: 0,
56453
- hasMore: true
56548
+ hasMore: true,
56549
+ noticeIndex: 0,
56550
+ showDialog: false
56454
56551
  };
56455
56552
  },
56456
56553
  computed: {},
@@ -56461,6 +56558,9 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56461
56558
  text: this.$tx('ecoa.message.notice', '消息提醒'),
56462
56559
  color: '#000000'
56463
56560
  });
56561
+ if (this.$route.query.tab === 'all') {
56562
+ this.activeTab = 0;
56563
+ }
56464
56564
  this.getData(1);
56465
56565
  },
56466
56566
  beforeDestroy: function beforeDestroy() {},
@@ -56486,12 +56586,17 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56486
56586
  getData: function getData(pageNum) {
56487
56587
  var _this = this;
56488
56588
  var loginUser = this.$store.getters.loginUser;
56489
- var isRead = this.activeTab === 0 ? 0 : 1;
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
+ }
56490
56595
  this.$app.listdata('message/vwInbox/listdata', {
56491
56596
  pageNum: pageNum,
56492
56597
  pageSize: this.pageSize,
56493
56598
  orderBy: 'pushTime desc',
56494
- urlsearch: 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount + ';isRead:' + isRead
56599
+ urlsearch: search
56495
56600
  }).then(function (res) {
56496
56601
  if (res.code === 'success') {
56497
56602
  if (res.body.pageInfo.list.length > 0) {
@@ -56520,20 +56625,29 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56520
56625
  }
56521
56626
  });
56522
56627
  }
56523
- if (item.msgUrl) {
56524
- this.gotoDetail(item.msgUrl);
56525
- }
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++;
56526
56639
  },
56527
56640
  gotoDetail: function gotoDetail(url) {
56641
+ this.showDialog = false;
56528
56642
  this.$router.push(url);
56529
56643
  }
56530
56644
  }
56531
56645
  });
56532
56646
  ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=script&lang=js
56533
56647
  /* harmony default export */ var msgNotice_MsgListvue_type_script_lang_js = (MsgListvue_type_script_lang_js);
56534
- // 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=4490a3f9&prod&scoped=true&lang=scss
56535
- var MsgListvue_type_style_index_0_id_4490a3f9_prod_scoped_true_lang_scss = __webpack_require__(1242);
56536
- ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=4490a3f9&prod&scoped=true&lang=scss
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
56537
56651
 
56538
56652
  ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue
56539
56653
 
@@ -56546,11 +56660,11 @@ var MsgListvue_type_style_index_0_id_4490a3f9_prod_scoped_true_lang_scss = __web
56546
56660
 
56547
56661
  var MsgList_component = normalizeComponent(
56548
56662
  msgNotice_MsgListvue_type_script_lang_js,
56549
- MsgListvue_type_template_id_4490a3f9_scoped_true_render,
56550
- MsgListvue_type_template_id_4490a3f9_scoped_true_staticRenderFns,
56663
+ MsgListvue_type_template_id_c3e64278_scoped_true_render,
56664
+ MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns,
56551
56665
  false,
56552
56666
  null,
56553
- "4490a3f9",
56667
+ "c3e64278",
56554
56668
  null
56555
56669
 
56556
56670
  )
@@ -1839,7 +1839,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".websocket-main[data-v-37a3d86b]{posit
1839
1839
 
1840
1840
  /***/ }),
1841
1841
 
1842
- /***/ 9593:
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-4490a3f9]{background:#f4f4f4;overflow:auto;height:100vh}.message-noMore[data-v-4490a3f9]{height:40px;line-height:40px;text-align:center;color:#999;font-size:14px}.message-item[data-v-4490a3f9]{width:92%;margin:0 auto}.message-item .message-time[data-v-4490a3f9]{height:40px;line-height:40px;text-align:center;color:#999;font-size:12px}.message-item .message-content[data-v-4490a3f9]{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-4490a3f9]{height:46px;line-height:46px;font-size:16px;font-weight:700;color:#333}.message-item .message-content .message-top .no-read-dot[data-v-4490a3f9]{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-4490a3f9]{font-size:13px;color:#999;line-height:20px}.message-item .message-content .message-info[data-v-4490a3f9]{margin-top:8px;font-size:12px;color:#999}.message-item .message-btn[data-v-4490a3f9],.message-item .message-content .message-info[data-v-4490a3f9]{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-4490a3f9]{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}", ""]);
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
 
@@ -27428,19 +27428,19 @@ var update = add("cb55188e", content, true, {"sourceMap":false,"shadowMode":fals
27428
27428
 
27429
27429
  /***/ }),
27430
27430
 
27431
- /***/ 112:
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__(9593);
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("bcb90d76", content, true, {"sourceMap":false,"shadowMode":false});
27443
+ var update = add("3fbc88e1", content, true, {"sourceMap":false,"shadowMode":false});
27444
27444
 
27445
27445
  /***/ }),
27446
27446
 
@@ -56321,8 +56321,8 @@ var tzgg_tzgg_component = normalizeComponent(
56321
56321
  )
56322
56322
 
56323
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=4490a3f9&scoped=true
56325
- var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render() {
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
56326
  var _vm = this,
56327
56327
  _c = _vm._self._c;
56328
56328
  return _c('div', {
@@ -56346,6 +56346,10 @@ var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render()
56346
56346
  expression: "activeTab"
56347
56347
  }
56348
56348
  }, [_c('van-tab', {
56349
+ attrs: {
56350
+ "title": _vm.$tx('common.all', '全部')
56351
+ }
56352
+ }), _c('van-tab', {
56349
56353
  attrs: {
56350
56354
  "title": _vm.$tx('ecoa.dzgg.unread', '未读')
56351
56355
  }
@@ -56438,9 +56442,100 @@ var MsgListvue_type_template_id_4490a3f9_scoped_true_render = function render()
56438
56442
  attrs: {
56439
56443
  "description": _vm.$tx('common.noData', '暂无数据')
56440
56444
  }
56441
- })], 1) : _vm._e()], 1);
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);
56442
56537
  };
56443
- var MsgListvue_type_template_id_4490a3f9_scoped_true_staticRenderFns = [];
56538
+ var MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns = [];
56444
56539
 
56445
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
56446
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(); }
@@ -56460,7 +56555,9 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56460
56555
  pageSize: 15,
56461
56556
  list: [],
56462
56557
  total: 0,
56463
- hasMore: true
56558
+ hasMore: true,
56559
+ noticeIndex: 0,
56560
+ showDialog: false
56464
56561
  };
56465
56562
  },
56466
56563
  computed: {},
@@ -56471,6 +56568,9 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56471
56568
  text: this.$tx('ecoa.message.notice', '消息提醒'),
56472
56569
  color: '#000000'
56473
56570
  });
56571
+ if (this.$route.query.tab === 'all') {
56572
+ this.activeTab = 0;
56573
+ }
56474
56574
  this.getData(1);
56475
56575
  },
56476
56576
  beforeDestroy: function beforeDestroy() {},
@@ -56496,12 +56596,17 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56496
56596
  getData: function getData(pageNum) {
56497
56597
  var _this = this;
56498
56598
  var loginUser = this.$store.getters.loginUser;
56499
- var isRead = this.activeTab === 0 ? 0 : 1;
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
+ }
56500
56605
  this.$app.listdata('message/vwInbox/listdata', {
56501
56606
  pageNum: pageNum,
56502
56607
  pageSize: this.pageSize,
56503
56608
  orderBy: 'pushTime desc',
56504
- urlsearch: 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount + ';isRead:' + isRead
56609
+ urlsearch: search
56505
56610
  }).then(function (res) {
56506
56611
  if (res.code === 'success') {
56507
56612
  if (res.body.pageInfo.list.length > 0) {
@@ -56530,20 +56635,29 @@ var MsgListvue_type_script_lang_js_moment = __webpack_require__(5093);
56530
56635
  }
56531
56636
  });
56532
56637
  }
56533
- if (item.msgUrl) {
56534
- this.gotoDetail(item.msgUrl);
56535
- }
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++;
56536
56649
  },
56537
56650
  gotoDetail: function gotoDetail(url) {
56651
+ this.showDialog = false;
56538
56652
  this.$router.push(url);
56539
56653
  }
56540
56654
  }
56541
56655
  });
56542
56656
  ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=script&lang=js
56543
56657
  /* 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=4490a3f9&prod&scoped=true&lang=scss
56545
- var MsgListvue_type_style_index_0_id_4490a3f9_prod_scoped_true_lang_scss = __webpack_require__(112);
56546
- ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue?vue&type=style&index=0&id=4490a3f9&prod&scoped=true&lang=scss
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
56547
56661
 
56548
56662
  ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/msgNotice/MsgList.vue
56549
56663
 
@@ -56556,11 +56670,11 @@ var MsgListvue_type_style_index_0_id_4490a3f9_prod_scoped_true_lang_scss = __web
56556
56670
 
56557
56671
  var MsgList_component = normalizeComponent(
56558
56672
  msgNotice_MsgListvue_type_script_lang_js,
56559
- MsgListvue_type_template_id_4490a3f9_scoped_true_render,
56560
- MsgListvue_type_template_id_4490a3f9_scoped_true_staticRenderFns,
56673
+ MsgListvue_type_template_id_c3e64278_scoped_true_render,
56674
+ MsgListvue_type_template_id_c3e64278_scoped_true_staticRenderFns,
56561
56675
  false,
56562
56676
  null,
56563
- "4490a3f9",
56677
+ "c3e64278",
56564
56678
  null
56565
56679
 
56566
56680
  )