ecinc-cloud-moadesktop 9.7.1 → 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.
@@ -616,6 +616,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-78076e13] .van-nav-bar .van-ic
616
616
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
617
617
 
618
618
 
619
+ /***/ }),
620
+
621
+ /***/ 3213:
622
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
623
+
624
+ "use strict";
625
+ __webpack_require__.r(__webpack_exports__);
626
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
627
+ /* 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__);
628
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
629
+ /* 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__);
630
+ // Imports
631
+
632
+
633
+ 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()));
634
+ // Module
635
+ ___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}", ""]);
636
+ // Exports
637
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
638
+
639
+
619
640
  /***/ }),
620
641
 
621
642
  /***/ 8068:
@@ -22701,6 +22722,22 @@ var update = add("090c8425", content, true, {"sourceMap":false,"shadowMode":fals
22701
22722
 
22702
22723
  /***/ }),
22703
22724
 
22725
+ /***/ 8874:
22726
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22727
+
22728
+ // style-loader: Adds some css to the DOM by adding a <style> tag
22729
+
22730
+ // load the styles
22731
+ var content = __webpack_require__(3213);
22732
+ if(content.__esModule) content = content.default;
22733
+ if(typeof content === 'string') content = [[module.id, content, '']];
22734
+ if(content.locals) module.exports = content.locals;
22735
+ // add the styles to the DOM
22736
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
22737
+ var update = add("ded7cc94", content, true, {"sourceMap":false,"shadowMode":false});
22738
+
22739
+ /***/ }),
22740
+
22704
22741
  /***/ 9547:
22705
22742
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22706
22743
 
@@ -30154,6 +30191,320 @@ var workWdzx_component = normalizeComponent(
30154
30191
  )
30155
30192
 
30156
30193
  /* harmony default export */ var workWdzx = (workWdzx_component.exports);
30194
+ ;// 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/desktop/src/components/msgNotices.vue?vue&type=template&id=ab69629c&scoped=true
30195
+ var msgNoticesvue_type_template_id_ab69629c_scoped_true_render = function render() {
30196
+ var _vm = this,
30197
+ _c = _vm._self._c;
30198
+ return _c('div', {
30199
+ style: {
30200
+ height: _vm.list.length === 0 ? '180px' : ''
30201
+ },
30202
+ attrs: {
30203
+ "id": "msg-notices"
30204
+ }
30205
+ }, [_c('div', {
30206
+ staticClass: "msg-notices-title"
30207
+ }, [_c('span', {
30208
+ directives: [{
30209
+ name: "text-lbl",
30210
+ rawName: "v-text-lbl",
30211
+ value: 'ecoa.message.notice',
30212
+ expression: "'ecoa.message.notice'"
30213
+ }],
30214
+ staticStyle: {
30215
+ "font-weight": "600",
30216
+ "color": "#333333"
30217
+ }
30218
+ }, [_vm._v("消息提醒")]), _vm.appletData.showMore === 1 ? _c('span', {
30219
+ staticStyle: {
30220
+ "color": "#666666",
30221
+ "font-size": "12px"
30222
+ },
30223
+ on: {
30224
+ "click": _vm.more
30225
+ }
30226
+ }, [_c('span', {
30227
+ directives: [{
30228
+ name: "text-lbl",
30229
+ rawName: "v-text-lbl",
30230
+ value: 'pageBtns.more',
30231
+ expression: "'pageBtns.more'"
30232
+ }]
30233
+ }, [_vm._v("更多")]), _c('van-icon', {
30234
+ staticStyle: {
30235
+ "margin-left": "2px"
30236
+ },
30237
+ attrs: {
30238
+ "color": "#666666",
30239
+ "size": "12",
30240
+ "name": "arrow"
30241
+ }
30242
+ })], 1) : _vm._e()]), _c('div', {
30243
+ staticClass: "msg-notices-content"
30244
+ }, [_vm._l(_vm.displayList, function (item) {
30245
+ return _c('div', {
30246
+ key: item.id,
30247
+ staticClass: "msg-notice-item",
30248
+ on: {
30249
+ "click": function click($event) {
30250
+ return _vm.clickItem(item);
30251
+ }
30252
+ }
30253
+ }, [_c('div', {
30254
+ staticClass: "left"
30255
+ }, [_c('span', {
30256
+ staticStyle: {
30257
+ "font-weight": "bold",
30258
+ "color": "#333333",
30259
+ "font-size": "16px"
30260
+ }
30261
+ }, [_vm._v(_vm._s(new Date(item.pushTime).getDate()))]), _c('span', {
30262
+ staticStyle: {
30263
+ "color": "#999999",
30264
+ "font-size": "12px"
30265
+ }
30266
+ }, [_vm._v(_vm._s(new Date(item.pushTime).getFullYear()) + "." + _vm._s(new Date(item.pushTime).getMonth() + 1))])]), _c('div', {
30267
+ staticClass: "right"
30268
+ }, [_c('span', {
30269
+ staticStyle: {
30270
+ "font-size": "14px",
30271
+ "color": "#333333"
30272
+ }
30273
+ }, [item.isRead === 0 ? _c('span', {
30274
+ staticClass: "no-read-dot"
30275
+ }) : _vm._e(), _vm._v(" " + _vm._s(item.msgContent) + " ")])])]);
30276
+ }), _vm.list.length === 0 ? _c('div', {
30277
+ staticClass: "no-data"
30278
+ }, [_c('img', {
30279
+ staticStyle: {
30280
+ "width": "115px",
30281
+ "height": "70px"
30282
+ },
30283
+ attrs: {
30284
+ "src": "/images/m-imgs/workBg/noTzgg.png"
30285
+ }
30286
+ }), _c('span', {
30287
+ directives: [{
30288
+ name: "text-lbl",
30289
+ rawName: "v-text-lbl",
30290
+ value: 'common.noData',
30291
+ expression: "'common.noData'"
30292
+ }]
30293
+ }, [_vm._v("暂无消息~")])]) : _vm._e()], 2), _c('van-overlay', {
30294
+ attrs: {
30295
+ "show": _vm.showDialog,
30296
+ "z-index": 9999
30297
+ },
30298
+ on: {
30299
+ "click": function click($event) {
30300
+ _vm.showDialog = false;
30301
+ }
30302
+ }
30303
+ }, [_c('div', {
30304
+ staticStyle: {
30305
+ "position": "absolute",
30306
+ "top": "50%",
30307
+ "left": "50%",
30308
+ "transform": "translate(-50%, -50%)",
30309
+ "width": "85%",
30310
+ "max-height": "70vh",
30311
+ "background": "#fff",
30312
+ "border-radius": "8px",
30313
+ "padding": "16px",
30314
+ "overflow-y": "auto"
30315
+ },
30316
+ on: {
30317
+ "click": function click($event) {
30318
+ $event.stopPropagation();
30319
+ }
30320
+ }
30321
+ }, [_c('div', {
30322
+ staticStyle: {
30323
+ "min-height": "80px",
30324
+ "font-size": "14px",
30325
+ "line-height": "22px",
30326
+ "color": "#333",
30327
+ "word-break": "break-all"
30328
+ }
30329
+ }, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].msgContent) + " "), _vm.list[_vm.noticeIndex].msgUrl ? _c('a', {
30330
+ staticStyle: {
30331
+ "color": "#1989fa",
30332
+ "margin-left": "4px",
30333
+ "text-decoration": "none"
30334
+ },
30335
+ attrs: {
30336
+ "href": "javascript:void(0)"
30337
+ },
30338
+ on: {
30339
+ "click": function click($event) {
30340
+ $event.stopPropagation();
30341
+ return _vm.gotoDetail(_vm.list[_vm.noticeIndex]);
30342
+ }
30343
+ }
30344
+ }, [_vm._v("查看详情 >")]) : _vm._e()]), _c('div', {
30345
+ staticStyle: {
30346
+ "text-align": "right",
30347
+ "margin-top": "8px",
30348
+ "font-size": "12px",
30349
+ "color": "#999"
30350
+ }
30351
+ }, [_vm._v(" " + _vm._s(_vm.list[_vm.noticeIndex].senderName) + " " + _vm._s(_vm.list[_vm.noticeIndex].pushTime) + " ")]), _c('div', {
30352
+ staticStyle: {
30353
+ "display": "flex",
30354
+ "justify-content": "space-between",
30355
+ "align-items": "center",
30356
+ "margin-top": "16px",
30357
+ "padding-top": "12px",
30358
+ "border-top": "1px solid #eee"
30359
+ }
30360
+ }, [_c('span', {
30361
+ style: {
30362
+ color: _vm.noticeIndex === 0 ? '#ccc' : '#333',
30363
+ fontSize: '14px'
30364
+ },
30365
+ on: {
30366
+ "click": _vm.prevNotice
30367
+ }
30368
+ }, [_vm._v("上一条")]), _c('span', {
30369
+ staticStyle: {
30370
+ "font-size": "14px"
30371
+ }
30372
+ }, [_c('span', {
30373
+ staticStyle: {
30374
+ "color": "#1989fa"
30375
+ }
30376
+ }, [_vm._v(_vm._s(_vm.noticeIndex + 1))]), _vm._v("/" + _vm._s(_vm.displayList.length))]), _vm.noticeIndex < _vm.displayList.length - 1 ? _c('span', {
30377
+ staticStyle: {
30378
+ "color": "#333",
30379
+ "font-size": "14px"
30380
+ },
30381
+ on: {
30382
+ "click": _vm.nextNotice
30383
+ }
30384
+ }, [_vm._v("下一条")]) : _vm.list.length > 3 ? _c('span', {
30385
+ staticStyle: {
30386
+ "color": "#1989fa",
30387
+ "font-size": "14px"
30388
+ },
30389
+ on: {
30390
+ "click": _vm.more
30391
+ }
30392
+ }, [_vm._v("更多 >")]) : _c('span', {
30393
+ staticStyle: {
30394
+ "color": "#ccc",
30395
+ "font-size": "14px"
30396
+ }
30397
+ }, [_vm._v("下一条")])])])])], 1);
30398
+ };
30399
+ var msgNoticesvue_type_template_id_ab69629c_scoped_true_staticRenderFns = [];
30400
+
30401
+ ;// 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/desktop/src/components/msgNotices.vue?vue&type=script&lang=js
30402
+ /* harmony default export */ var msgNoticesvue_type_script_lang_js = ({
30403
+ components: {},
30404
+ props: {
30405
+ appletData: {
30406
+ type: Object,
30407
+ default: function _default() {
30408
+ return {};
30409
+ }
30410
+ }
30411
+ },
30412
+ data: function data() {
30413
+ return {
30414
+ list: [],
30415
+ noticeIndex: 0,
30416
+ showDialog: false
30417
+ };
30418
+ },
30419
+ computed: {
30420
+ displayList: function displayList() {
30421
+ return this.list.slice(0, 3);
30422
+ }
30423
+ },
30424
+ watch: {},
30425
+ created: function created() {
30426
+ this.getData();
30427
+ // 所有门户小组件刷新方法都注册 refreshPortletData eventBus方法
30428
+ this.$bus.on('refreshPortletData', this.getData);
30429
+ this.$bus.on('refreshMsgNotice', this.getData);
30430
+ },
30431
+ beforeDestroy: function beforeDestroy() {
30432
+ this.$bus.off('refreshPortletData', this.getData);
30433
+ this.$bus.off('refreshMsgNotice', this.getData);
30434
+ },
30435
+ mounted: function mounted() {},
30436
+ methods: {
30437
+ more: function more() {
30438
+ this.showDialog = false;
30439
+ this.$router.push({
30440
+ path: '/msgNoticeList',
30441
+ query: {
30442
+ tab: 'all'
30443
+ }
30444
+ });
30445
+ },
30446
+ clickItem: function clickItem(item) {
30447
+ this.noticeIndex = this.displayList.findIndex(function (n) {
30448
+ return n.id === item.id;
30449
+ });
30450
+ if (this.noticeIndex < 0) this.noticeIndex = 0;
30451
+ this.showDialog = true;
30452
+ },
30453
+ prevNotice: function prevNotice() {
30454
+ if (this.noticeIndex > 0) this.noticeIndex--;
30455
+ },
30456
+ nextNotice: function nextNotice() {
30457
+ if (this.noticeIndex < this.list.length - 1) this.noticeIndex++;
30458
+ },
30459
+ gotoDetail: function gotoDetail(item) {
30460
+ this.showDialog = false;
30461
+ this.$router.push(item.msgUrl);
30462
+ },
30463
+ getData: function getData() {
30464
+ var _this = this;
30465
+ var loginUser = this.$store.getters.loginUser;
30466
+ this.$app.listdata('message/vwInbox/listdata', {
30467
+ pageSize: 5,
30468
+ pageNum: 1,
30469
+ orderBy: 'pushTime desc',
30470
+ urlsearch: 'pushStatus:1;msgContent!:null;receiverAccount:' + loginUser.personAccount
30471
+ }).then(function (resp) {
30472
+ if (resp.code === 'success') {
30473
+ _this.list = resp.body.pageInfo.list;
30474
+ } else {
30475
+ _this.$toast.fail(resp.message);
30476
+ }
30477
+ });
30478
+ }
30479
+ }
30480
+ });
30481
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=script&lang=js
30482
+ /* harmony default export */ var components_msgNoticesvue_type_script_lang_js = (msgNoticesvue_type_script_lang_js);
30483
+ // 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/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=ab69629c&prod&scoped=true&lang=scss
30484
+ var msgNoticesvue_type_style_index_0_id_ab69629c_prod_scoped_true_lang_scss = __webpack_require__(8874);
30485
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue?vue&type=style&index=0&id=ab69629c&prod&scoped=true&lang=scss
30486
+
30487
+ ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/msgNotices.vue
30488
+
30489
+
30490
+
30491
+ ;
30492
+
30493
+
30494
+ /* normalize component */
30495
+
30496
+ var msgNotices_component = normalizeComponent(
30497
+ components_msgNoticesvue_type_script_lang_js,
30498
+ msgNoticesvue_type_template_id_ab69629c_scoped_true_render,
30499
+ msgNoticesvue_type_template_id_ab69629c_scoped_true_staticRenderFns,
30500
+ false,
30501
+ null,
30502
+ "ab69629c",
30503
+ null
30504
+
30505
+ )
30506
+
30507
+ /* harmony default export */ var msgNotices = (msgNotices_component.exports);
30157
30508
  ;// CONCATENATED MODULE: ./packages/ecmoa/desktop/index.js
30158
30509
  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); }
30159
30510
  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; }
@@ -30181,6 +30532,8 @@ function desktop_toPrimitive(t, r) { if ("object" != desktop_typeof(t) || !t) re
30181
30532
 
30182
30533
  // 文档中心
30183
30534
 
30535
+ // 消息提醒
30536
+
30184
30537
  // 以对象的结构保存组件,便于遍历
30185
30538
  var components = {
30186
30539
  MappWorkTzgg: workTzgg,
@@ -30199,7 +30552,8 @@ var components = {
30199
30552
  MappWorkCommonApps: commonApps,
30200
30553
  MappWorkHead: workHead,
30201
30554
  MappWorkHeadEight: workHeadEight,
30202
- MappWorkWdzx: workWdzx
30555
+ MappWorkWdzx: workWdzx,
30556
+ MappMsgNotices: msgNotices
30203
30557
  };
30204
30558
  // 定义 install 方法
30205
30559
  var desktop_install = function install(Vue) {