ecinc-cloud-moadesktop 9.6.278 → 9.7.2

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 CHANGED
@@ -18,6 +18,8 @@ import MappWorkHead from './src/components/workHead'
18
18
  import MappWorkHeadEight from './src/components/workHeadEight'
19
19
  // 文档中心
20
20
  import MappWorkWdzx from './src/components/workWdzx.vue'
21
+ // 消息提醒
22
+ import MappMsgNotices from './src/components/msgNotices'
21
23
  // 以对象的结构保存组件,便于遍历
22
24
  const components = {
23
25
  MappWorkTzgg,
@@ -36,7 +38,8 @@ const components = {
36
38
  MappWorkCommonApps,
37
39
  MappWorkHead,
38
40
  MappWorkHeadEight,
39
- MappWorkWdzx
41
+ MappWorkWdzx,
42
+ MappMsgNotices
40
43
  }
41
44
  // 定义 install 方法
42
45
  const install = function (Vue) {
@@ -606,6 +606,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-78076e13] .van-nav-bar .van-ic
606
606
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
607
607
 
608
608
 
609
+ /***/ }),
610
+
611
+ /***/ 4627:
612
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
613
+
614
+ "use strict";
615
+ __webpack_require__.r(__webpack_exports__);
616
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
617
+ /* 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__);
618
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
619
+ /* 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__);
620
+ // Imports
621
+
622
+
623
+ 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()));
624
+ // Module
625
+ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ab69629c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.no-data span[data-v-ab69629c]{color:#999;font-size:13px}#msg-notices[data-v-ab69629c]{position:relative;width:100%;max-height:243px;background:#fff;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06);border-radius:6px}#msg-notices .msg-notices-title[data-v-ab69629c]{height:44px;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebedf0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 14px}#msg-notices .msg-notices-title span[data-v-ab69629c]{font-size:14px;font-family:PingFangSC-Semibold,PingFang SC}#msg-notices .msg-notices-content[data-v-ab69629c]{height:calc(100% - 44px);overflow:hidden}#msg-notices .msg-notices-content .msg-notice-item[data-v-ab69629c]{display:-webkit-box;display:-ms-flexbox;display:flex;height:66px;width:100%;font-family:PingFangSC-Semibold,PingFang SC;padding:0 14px;color:#333;position:relative;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box}#msg-notices .msg-notices-content .msg-notice-item[data-v-ab69629c]:last-child{border-bottom:none}#msg-notices .msg-notices-content .msg-notice-item .left[data-v-ab69629c]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:70px;height:50px;background:#f7f9fc;border-radius:2px;border:1px solid #dfe8fb}#msg-notices .msg-notices-content .msg-notice-item .left[data-v-ab69629c],#msg-notices .msg-notices-content .msg-notice-item .right[data-v-ab69629c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#msg-notices .msg-notices-content .msg-notice-item .right[data-v-ab69629c]{width:calc(100% - 84px);font-size:14px;color:#333}#msg-notices .msg-notices-content .msg-notice-item .right span[data-v-ab69629c]{font-size:14px;color:#333;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-wrap:break-word;line-height:22px}#msg-notices .msg-notices-content .msg-notice-item .right .no-read-dot[data-v-ab69629c]{display:inline-block;width:6px;height:6px;border-radius:50%;background:red;margin-right:4px;vertical-align:middle}", ""]);
626
+ // Exports
627
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
628
+
629
+
609
630
  /***/ }),
610
631
 
611
632
  /***/ 7606:
@@ -671,7 +692,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
671
692
 
672
693
  /***/ }),
673
694
 
674
- /***/ 1951:
695
+ /***/ 9673:
675
696
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
676
697
 
677
698
  "use strict";
@@ -690,7 +711,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
690
711
  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()));
691
712
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
692
713
  // Module
693
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-86bb0962] .van-ellipsis{font-size:18px;color:#fff}[data-v-86bb0962] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-86bb0962] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-86bb0962] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-86bb0962] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-86bb0962] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-86bb0962] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-86bb0962]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");padding:0 16px;height:123px;font-size:16px;color:#fff;background-repeat:no-repeat;background-size:cover;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .3s;transition:height .3s}.work_pageHeader[data-v-86bb0962],.work_pageHeader .flex-horizon-bw[data-v-86bb0962]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-86bb0962]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageHeader .pageHeader_compony[data-v-86bb0962]{font-size:18px;font-weight:500;color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px;height:48px;line-height:48px}.work_pageHeader .pageHeader_name[data-v-86bb0962]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-86bb0962]{width:122px;border-radius:15px;background:hsla(0,0%,100%,.8);padding:7px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;font-size:12px}.work_pageHeader .pageHeader_timer[data-v-86bb0962]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;color:#fff;font-size:14px;line-height:30px;margin-right:16px}.work_pageHeader .more_compony[data-v-86bb0962]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-86bb0962]{-webkit-box-flex:1;-ms-flex:1;flex:1;border-right:1px solid #999;text-align:left;font-size:13px;color:#333;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.check_time img[data-v-86bb0962]{width:14px;height:14px}.check_time span[data-v-86bb0962]{margin-left:5px}.check_button[data-v-86bb0962]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
714
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-168b001e] .van-ellipsis{font-size:18px;color:#fff}[data-v-168b001e] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-168b001e] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-168b001e] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-168b001e] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-168b001e] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-168b001e] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-168b001e]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");padding:0 16px;height:123px;font-size:16px;color:#fff;background-repeat:no-repeat;background-size:cover;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .3s;transition:height .3s}.work_pageHeader[data-v-168b001e],.work_pageHeader .flex-horizon-bw[data-v-168b001e]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-168b001e]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageHeader .pageHeader_compony[data-v-168b001e]{font-size:18px;font-weight:500;color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px;height:48px;line-height:48px}.work_pageHeader .pageHeader_name[data-v-168b001e]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-168b001e]{width:122px;border-radius:15px;background:hsla(0,0%,100%,.8);padding:7px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;font-size:12px}.work_pageHeader .pageHeader_timer[data-v-168b001e]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;color:#fff;font-size:14px;line-height:30px;margin-right:16px}.work_pageHeader .more_compony[data-v-168b001e]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-168b001e]{-webkit-box-flex:1;-ms-flex:1;flex:1;border-right:1px solid #999;text-align:left;font-size:13px;color:#333;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.check_time img[data-v-168b001e]{width:14px;height:14px}.check_time span[data-v-168b001e]{margin-left:5px}.check_button[data-v-168b001e]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
694
715
  // Exports
695
716
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
696
717
 
@@ -22691,6 +22712,22 @@ var update = add("a08e7c36", content, true, {"sourceMap":false,"shadowMode":fals
22691
22712
 
22692
22713
  /***/ }),
22693
22714
 
22715
+ /***/ 5257:
22716
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22717
+
22718
+ // style-loader: Adds some css to the DOM by adding a <style> tag
22719
+
22720
+ // load the styles
22721
+ var content = __webpack_require__(4627);
22722
+ if(content.__esModule) content = content.default;
22723
+ if(typeof content === 'string') content = [[module.id, content, '']];
22724
+ if(content.locals) module.exports = content.locals;
22725
+ // add the styles to the DOM
22726
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
22727
+ var update = add("37405776", content, true, {"sourceMap":false,"shadowMode":false});
22728
+
22729
+ /***/ }),
22730
+
22694
22731
  /***/ 240:
22695
22732
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22696
22733
 
@@ -22739,19 +22776,19 @@ var update = add("b0496ae0", content, true, {"sourceMap":false,"shadowMode":fals
22739
22776
 
22740
22777
  /***/ }),
22741
22778
 
22742
- /***/ 7989:
22779
+ /***/ 7371:
22743
22780
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22744
22781
 
22745
22782
  // style-loader: Adds some css to the DOM by adding a <style> tag
22746
22783
 
22747
22784
  // load the styles
22748
- var content = __webpack_require__(1951);
22785
+ var content = __webpack_require__(9673);
22749
22786
  if(content.__esModule) content = content.default;
22750
22787
  if(typeof content === 'string') content = [[module.id, content, '']];
22751
22788
  if(content.locals) module.exports = content.locals;
22752
22789
  // add the styles to the DOM
22753
22790
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
22754
- var update = add("40fdc02f", content, true, {"sourceMap":false,"shadowMode":false});
22791
+ var update = add("7e9fc9cf", content, true, {"sourceMap":false,"shadowMode":false});
22755
22792
 
22756
22793
  /***/ }),
22757
22794
 
@@ -27923,8 +27960,8 @@ var commonApps_component = normalizeComponent(
27923
27960
  )
27924
27961
 
27925
27962
  /* harmony default export */ var commonApps = (commonApps_component.exports);
27926
- ;// 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/desktop/src/components/workHead.vue?vue&type=template&id=86bb0962&scoped=true
27927
- var workHeadvue_type_template_id_86bb0962_scoped_true_render = function render() {
27963
+ ;// 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/desktop/src/components/workHead.vue?vue&type=template&id=168b001e&scoped=true
27964
+ var workHeadvue_type_template_id_168b001e_scoped_true_render = function render() {
27928
27965
  var _vm = this,
27929
27966
  _c = _vm._self._c;
27930
27967
  return _c('div', {
@@ -27997,7 +28034,7 @@ var workHeadvue_type_template_id_86bb0962_scoped_true_render = function render()
27997
28034
  on: {
27998
28035
  "click": _vm.gotoChatlist
27999
28036
  }
28000
- })], _c('van-icon', {
28037
+ })], _vm.mappType == 'ecinc' ? _c('van-icon', {
28001
28038
  staticStyle: {
28002
28039
  "margin-left": "20px"
28003
28040
  },
@@ -28008,7 +28045,7 @@ var workHeadvue_type_template_id_86bb0962_scoped_true_render = function render()
28008
28045
  on: {
28009
28046
  "click": _vm.scan
28010
28047
  }
28011
- })], 2)]), _c('div', {
28048
+ }) : _vm._e()], 2)]), _c('div', {
28012
28049
  staticClass: "flex-horizon-bw",
28013
28050
  style: {
28014
28051
  'margin-top': '20px'
@@ -28048,7 +28085,7 @@ var workHeadvue_type_template_id_86bb0962_scoped_true_render = function render()
28048
28085
  staticClass: "pageHeader_timer"
28049
28086
  }, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
28050
28087
  };
28051
- var workHeadvue_type_template_id_86bb0962_scoped_true_staticRenderFns = [];
28088
+ var workHeadvue_type_template_id_168b001e_scoped_true_staticRenderFns = [];
28052
28089
 
28053
28090
  ;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
28054
28091
  /*!
@@ -29247,7 +29284,9 @@ var workClock = __webpack_require__(2396);
29247
29284
  // 签到校验信息
29248
29285
  timer: '',
29249
29286
  //时钟定时器
29250
- curInterval: '' // 勤数据更新定时器
29287
+ curInterval: '',
29288
+ // 勤数据更新定时器
29289
+ mappType: window.mappType
29251
29290
  };
29252
29291
  },
29253
29292
  computed: _objectSpread({}, mapGetters({
@@ -29555,9 +29594,9 @@ var workClock = __webpack_require__(2396);
29555
29594
  });
29556
29595
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
29557
29596
  /* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
29558
- // 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/desktop/src/components/workHead.vue?vue&type=style&index=0&id=86bb0962&prod&scoped=true&lang=scss
29559
- var workHeadvue_type_style_index_0_id_86bb0962_prod_scoped_true_lang_scss = __webpack_require__(7989);
29560
- ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=86bb0962&prod&scoped=true&lang=scss
29597
+ // 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/desktop/src/components/workHead.vue?vue&type=style&index=0&id=168b001e&prod&scoped=true&lang=scss
29598
+ var workHeadvue_type_style_index_0_id_168b001e_prod_scoped_true_lang_scss = __webpack_require__(7371);
29599
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=168b001e&prod&scoped=true&lang=scss
29561
29600
 
29562
29601
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
29563
29602
 
@@ -29570,11 +29609,11 @@ var workHeadvue_type_style_index_0_id_86bb0962_prod_scoped_true_lang_scss = __we
29570
29609
 
29571
29610
  var workHead_component = normalizeComponent(
29572
29611
  components_workHeadvue_type_script_lang_js,
29573
- workHeadvue_type_template_id_86bb0962_scoped_true_render,
29574
- workHeadvue_type_template_id_86bb0962_scoped_true_staticRenderFns,
29612
+ workHeadvue_type_template_id_168b001e_scoped_true_render,
29613
+ workHeadvue_type_template_id_168b001e_scoped_true_staticRenderFns,
29575
29614
  false,
29576
29615
  null,
29577
- "86bb0962",
29616
+ "168b001e",
29578
29617
  null
29579
29618
 
29580
29619
  )
@@ -30142,6 +30181,320 @@ var workWdzx_component = normalizeComponent(
30142
30181
  )
30143
30182
 
30144
30183
  /* harmony default export */ var workWdzx = (workWdzx_component.exports);
30184
+ ;// 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/desktop/src/components/msgNotices.vue?vue&type=template&id=ab69629c&scoped=true
30185
+ var msgNoticesvue_type_template_id_ab69629c_scoped_true_render = function render() {
30186
+ var _vm = this,
30187
+ _c = _vm._self._c;
30188
+ return _c('div', {
30189
+ style: {
30190
+ height: _vm.list.length === 0 ? '180px' : ''
30191
+ },
30192
+ attrs: {
30193
+ "id": "msg-notices"
30194
+ }
30195
+ }, [_c('div', {
30196
+ staticClass: "msg-notices-title"
30197
+ }, [_c('span', {
30198
+ directives: [{
30199
+ name: "text-lbl",
30200
+ rawName: "v-text-lbl",
30201
+ value: 'ecoa.message.notice',
30202
+ expression: "'ecoa.message.notice'"
30203
+ }],
30204
+ staticStyle: {
30205
+ "font-weight": "600",
30206
+ "color": "#333333"
30207
+ }
30208
+ }, [_vm._v("消息提醒")]), _vm.appletData.showMore === 1 ? _c('span', {
30209
+ staticStyle: {
30210
+ "color": "#666666",
30211
+ "font-size": "12px"
30212
+ },
30213
+ on: {
30214
+ "click": _vm.more
30215
+ }
30216
+ }, [_c('span', {
30217
+ directives: [{
30218
+ name: "text-lbl",
30219
+ rawName: "v-text-lbl",
30220
+ value: 'pageBtns.more',
30221
+ expression: "'pageBtns.more'"
30222
+ }]
30223
+ }, [_vm._v("更多")]), _c('van-icon', {
30224
+ staticStyle: {
30225
+ "margin-left": "2px"
30226
+ },
30227
+ attrs: {
30228
+ "color": "#666666",
30229
+ "size": "12",
30230
+ "name": "arrow"
30231
+ }
30232
+ })], 1) : _vm._e()]), _c('div', {
30233
+ staticClass: "msg-notices-content"
30234
+ }, [_vm._l(_vm.displayList, function (item) {
30235
+ return _c('div', {
30236
+ key: item.id,
30237
+ staticClass: "msg-notice-item",
30238
+ on: {
30239
+ "click": function click($event) {
30240
+ return _vm.clickItem(item);
30241
+ }
30242
+ }
30243
+ }, [_c('div', {
30244
+ staticClass: "left"
30245
+ }, [_c('span', {
30246
+ staticStyle: {
30247
+ "font-weight": "bold",
30248
+ "color": "#333333",
30249
+ "font-size": "16px"
30250
+ }
30251
+ }, [_vm._v(_vm._s(new Date(item.pushTime).getDate()))]), _c('span', {
30252
+ staticStyle: {
30253
+ "color": "#999999",
30254
+ "font-size": "12px"
30255
+ }
30256
+ }, [_vm._v(_vm._s(new Date(item.pushTime).getFullYear()) + "." + _vm._s(new Date(item.pushTime).getMonth() + 1))])]), _c('div', {
30257
+ staticClass: "right"
30258
+ }, [_c('span', {
30259
+ staticStyle: {
30260
+ "font-size": "14px",
30261
+ "color": "#333333"
30262
+ }
30263
+ }, [item.isRead === 0 ? _c('span', {
30264
+ staticClass: "no-read-dot"
30265
+ }) : _vm._e(), _vm._v(" " + _vm._s(item.msgContent) + " ")])])]);
30266
+ }), _vm.list.length === 0 ? _c('div', {
30267
+ staticClass: "no-data"
30268
+ }, [_c('img', {
30269
+ staticStyle: {
30270
+ "width": "115px",
30271
+ "height": "70px"
30272
+ },
30273
+ attrs: {
30274
+ "src": "/images/m-imgs/workBg/noTzgg.png"
30275
+ }
30276
+ }), _c('span', {
30277
+ directives: [{
30278
+ name: "text-lbl",
30279
+ rawName: "v-text-lbl",
30280
+ value: 'common.noData',
30281
+ expression: "'common.noData'"
30282
+ }]
30283
+ }, [_vm._v("暂无消息~")])]) : _vm._e()], 2), _c('van-overlay', {
30284
+ attrs: {
30285
+ "show": _vm.showDialog,
30286
+ "z-index": 9999
30287
+ },
30288
+ on: {
30289
+ "click": function click($event) {
30290
+ _vm.showDialog = false;
30291
+ }
30292
+ }
30293
+ }, [_c('div', {
30294
+ staticStyle: {
30295
+ "position": "absolute",
30296
+ "top": "50%",
30297
+ "left": "50%",
30298
+ "transform": "translate(-50%, -50%)",
30299
+ "width": "85%",
30300
+ "max-height": "70vh",
30301
+ "background": "#fff",
30302
+ "border-radius": "8px",
30303
+ "padding": "16px",
30304
+ "overflow-y": "auto"
30305
+ },
30306
+ on: {
30307
+ "click": function click($event) {
30308
+ $event.stopPropagation();
30309
+ }
30310
+ }
30311
+ }, [_c('div', {
30312
+ staticStyle: {
30313
+ "min-height": "80px",
30314
+ "font-size": "14px",
30315
+ "line-height": "22px",
30316
+ "color": "#333",
30317
+ "word-break": "break-all"
30318
+ }
30319
+ }, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].msgContent) + " "), _vm.list[_vm.noticeIndex].msgUrl ? _c('a', {
30320
+ staticStyle: {
30321
+ "color": "#1989fa",
30322
+ "margin-left": "4px",
30323
+ "text-decoration": "none"
30324
+ },
30325
+ attrs: {
30326
+ "href": "javascript:void(0)"
30327
+ },
30328
+ on: {
30329
+ "click": function click($event) {
30330
+ $event.stopPropagation();
30331
+ return _vm.gotoDetail(_vm.list[_vm.noticeIndex]);
30332
+ }
30333
+ }
30334
+ }, [_vm._v("查看详情 >")]) : _vm._e()]), _c('div', {
30335
+ staticStyle: {
30336
+ "text-align": "right",
30337
+ "margin-top": "8px",
30338
+ "font-size": "12px",
30339
+ "color": "#999"
30340
+ }
30341
+ }, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].senderName) + " " + _vm._s(_vm.list[_vm.noticeIndex].pushTime) + " ")]), _c('div', {
30342
+ staticStyle: {
30343
+ "display": "flex",
30344
+ "justify-content": "space-between",
30345
+ "align-items": "center",
30346
+ "margin-top": "16px",
30347
+ "padding-top": "12px",
30348
+ "border-top": "1px solid #eee"
30349
+ }
30350
+ }, [_c('span', {
30351
+ style: {
30352
+ color: _vm.noticeIndex === 0 ? '#ccc' : '#333',
30353
+ fontSize: '14px'
30354
+ },
30355
+ on: {
30356
+ "click": _vm.prevNotice
30357
+ }
30358
+ }, [_vm._v("上一条")]), _c('span', {
30359
+ staticStyle: {
30360
+ "font-size": "14px"
30361
+ }
30362
+ }, [_c('span', {
30363
+ staticStyle: {
30364
+ "color": "#1989fa"
30365
+ }
30366
+ }, [_vm._v(_vm._s(_vm.noticeIndex + 1))]), _vm._v("/" + _vm._s(_vm.displayList.length))]), _vm.noticeIndex < _vm.displayList.length - 1 ? _c('span', {
30367
+ staticStyle: {
30368
+ "color": "#333",
30369
+ "font-size": "14px"
30370
+ },
30371
+ on: {
30372
+ "click": _vm.nextNotice
30373
+ }
30374
+ }, [_vm._v("下一条")]) : _vm.list.length > 3 ? _c('span', {
30375
+ staticStyle: {
30376
+ "color": "#1989fa",
30377
+ "font-size": "14px"
30378
+ },
30379
+ on: {
30380
+ "click": _vm.more
30381
+ }
30382
+ }, [_vm._v("更多 >")]) : _c('span', {
30383
+ staticStyle: {
30384
+ "color": "#ccc",
30385
+ "font-size": "14px"
30386
+ }
30387
+ }, [_vm._v("下一条")])])])])], 1);
30388
+ };
30389
+ var msgNoticesvue_type_template_id_ab69629c_scoped_true_staticRenderFns = [];
30390
+
30391
+ ;// 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/desktop/src/components/msgNotices.vue?vue&type=script&lang=js
30392
+ /* harmony default export */ var msgNoticesvue_type_script_lang_js = ({
30393
+ components: {},
30394
+ props: {
30395
+ appletData: {
30396
+ type: Object,
30397
+ default: function _default() {
30398
+ return {};
30399
+ }
30400
+ }
30401
+ },
30402
+ data: function data() {
30403
+ return {
30404
+ list: [],
30405
+ noticeIndex: 0,
30406
+ showDialog: false
30407
+ };
30408
+ },
30409
+ computed: {
30410
+ displayList: function displayList() {
30411
+ return this.list.slice(0, 3);
30412
+ }
30413
+ },
30414
+ watch: {},
30415
+ created: function created() {
30416
+ this.getData();
30417
+ // 所有门户小组件刷新方法都注册 refreshPortletData eventBus方法
30418
+ this.$bus.on('refreshPortletData', this.getData);
30419
+ this.$bus.on('refreshMsgNotice', this.getData);
30420
+ },
30421
+ beforeDestroy: function beforeDestroy() {
30422
+ this.$bus.off('refreshPortletData', this.getData);
30423
+ this.$bus.off('refreshMsgNotice', this.getData);
30424
+ },
30425
+ mounted: function mounted() {},
30426
+ methods: {
30427
+ more: function more() {
30428
+ this.showDialog = false;
30429
+ this.$router.push({
30430
+ path: '/msgNoticeList',
30431
+ query: {
30432
+ tab: 'all'
30433
+ }
30434
+ });
30435
+ },
30436
+ clickItem: function clickItem(item) {
30437
+ this.noticeIndex = this.displayList.findIndex(function (n) {
30438
+ return n.id === item.id;
30439
+ });
30440
+ if (this.noticeIndex < 0) this.noticeIndex = 0;
30441
+ this.showDialog = true;
30442
+ },
30443
+ prevNotice: function prevNotice() {
30444
+ if (this.noticeIndex > 0) this.noticeIndex--;
30445
+ },
30446
+ nextNotice: function nextNotice() {
30447
+ if (this.noticeIndex < this.list.length - 1) this.noticeIndex++;
30448
+ },
30449
+ gotoDetail: function gotoDetail(item) {
30450
+ this.showDialog = false;
30451
+ this.$router.push(item.msgUrl);
30452
+ },
30453
+ getData: function getData() {
30454
+ var _this = this;
30455
+ var loginUser = this.$store.getters.loginUser;
30456
+ this.$app.listdata('message/vwInbox/listdata', {
30457
+ pageSize: 5,
30458
+ pageNum: 1,
30459
+ orderBy: 'pushTime desc',
30460
+ urlsearch: 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount
30461
+ }).then(function (resp) {
30462
+ if (resp.code === 'success') {
30463
+ _this.list = resp.body.pageInfo.list;
30464
+ } else {
30465
+ _this.$toast.fail(resp.message);
30466
+ }
30467
+ });
30468
+ }
30469
+ }
30470
+ });
30471
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=script&lang=js
30472
+ /* harmony default export */ var components_msgNoticesvue_type_script_lang_js = (msgNoticesvue_type_script_lang_js);
30473
+ // 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/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=ab69629c&prod&scoped=true&lang=scss
30474
+ var msgNoticesvue_type_style_index_0_id_ab69629c_prod_scoped_true_lang_scss = __webpack_require__(5257);
30475
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=ab69629c&prod&scoped=true&lang=scss
30476
+
30477
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue
30478
+
30479
+
30480
+
30481
+ ;
30482
+
30483
+
30484
+ /* normalize component */
30485
+
30486
+ var msgNotices_component = normalizeComponent(
30487
+ components_msgNoticesvue_type_script_lang_js,
30488
+ msgNoticesvue_type_template_id_ab69629c_scoped_true_render,
30489
+ msgNoticesvue_type_template_id_ab69629c_scoped_true_staticRenderFns,
30490
+ false,
30491
+ null,
30492
+ "ab69629c",
30493
+ null
30494
+
30495
+ )
30496
+
30497
+ /* harmony default export */ var msgNotices = (msgNotices_component.exports);
30145
30498
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
30146
30499
  function desktop_typeof(o) { "@babel/helpers - typeof"; return desktop_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; }, desktop_typeof(o); }
30147
30500
  function desktop_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -30169,6 +30522,8 @@ function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) re
30169
30522
 
30170
30523
  // 文档中心
30171
30524
 
30525
+ // 消息提醒
30526
+
30172
30527
  // 以对象的结构保存组件,便于遍历
30173
30528
  var components = {
30174
30529
  MappWorkTzgg: workTzgg,
@@ -30187,7 +30542,8 @@ var components = {
30187
30542
  MappWorkCommonApps: commonApps,
30188
30543
  MappWorkHead: workHead,
30189
30544
  MappWorkHeadEight: workHeadEight,
30190
- MappWorkWdzx: workWdzx
30545
+ MappWorkWdzx: workWdzx,
30546
+ MappMsgNotices: msgNotices
30191
30547
  };
30192
30548
  // 定义 install 方法
30193
30549
  var desktop_install = function install(Vue) {