ecinc-cloud-yoaecoav9 9.7.3 → 9.7.5

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.
@@ -21391,6 +21391,48 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".applet-wrap[data-v-b755624a]{width:10
21391
21391
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21392
21392
 
21393
21393
 
21394
+ /***/ }),
21395
+
21396
+ /***/ 2266:
21397
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
21398
+
21399
+ "use strict";
21400
+ __webpack_require__.r(__webpack_exports__);
21401
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
21402
+ /* 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__);
21403
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
21404
+ /* 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__);
21405
+ // Imports
21406
+
21407
+
21408
+ 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()));
21409
+ // Module
21410
+ ___CSS_LOADER_EXPORT___.push([module.id, "#item-body[data-v-16b40ee3]{width:100%;height:100%;padding:0;margin:0}#item-body .link-message+.link-message[data-v-16b40ee3]{border-top:1px dashed #ebeef5}#item-body .link-message[data-v-16b40ee3]{width:100%;height:70px;font-size:var(--portalFontSize14);font-family:Microsoft YaHei;font-weight:400;list-style:none;padding:10px 20px;cursor:pointer}#item-body .link-message .item[data-v-16b40ee3]{padding:10px 0;width:100%;height:100%}#item-body .link-message[data-v-16b40ee3]:hover{background-color:#f5f7fa}#item-body .link-message[data-v-16b40ee3]:last-child{border-bottom:none}#item-body .link-message .title[data-v-16b40ee3]{font-size:var(--portalFontSize13);color:#333;height:25px;line-height:25px;width:100%;position:relative;padding-right:10px}#item-body .link-message .title .msg[data-v-16b40ee3]{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#item-body .link-message .title .no-read[data-v-16b40ee3]{display:block;width:6px;height:6px;border-radius:6px;background:red;position:absolute;left:-10px;top:12px;z-index:100}#item-body .link-message .bottom[data-v-16b40ee3]{color:#9b9b9b;height:25px;line-height:25px;font-size:0;font-family:MicrosoftYaHei}#item-body .link-message .bottom .name[data-v-16b40ee3]{display:inline-block;width:50%;font-size:var(--portalFontSize12)}#item-body .link-message .bottom .time[data-v-16b40ee3]{display:block;width:106px;float:right;margin-right:10px;font-size:var(--portalFontSize12)}#item-body .link-message .bottom .sender[data-v-16b40ee3]{font-size:var(--portalFontSize12)}", ""]);
21411
+ // Exports
21412
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21413
+
21414
+
21415
+ /***/ }),
21416
+
21417
+ /***/ 1889:
21418
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
21419
+
21420
+ "use strict";
21421
+ __webpack_require__.r(__webpack_exports__);
21422
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
21423
+ /* 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__);
21424
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
21425
+ /* 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__);
21426
+ // Imports
21427
+
21428
+
21429
+ 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()));
21430
+ // Module
21431
+ ___CSS_LOADER_EXPORT___.push([module.id, "#msg-notice-body[data-v-56f4b6e5]{height:100%}.footer[data-v-56f4b6e5]{height:20px;line-height:20px}.prev[data-v-56f4b6e5]{float:left;font-size:var(--portalFontSize14);cursor:pointer}.prev.noclick[data-v-56f4b6e5]{color:#999}.next[data-v-56f4b6e5]{float:right;font-size:var(--portalFontSize14);cursor:pointer}.next.noclick[data-v-56f4b6e5]{color:#999}.num[data-v-56f4b6e5]{float:right;margin-right:20px}.num .color[data-v-56f4b6e5]{color:#409eff}.content[data-v-56f4b6e5]{min-height:200px}.content[data-v-56f4b6e5] .msg-detail-link{line-height:29px;display:inline;color:#409eff;cursor:pointer;margin-left:4px;text-decoration:none}.infos[data-v-56f4b6e5]{height:40px;line-height:20px;text-align:right}", ""]);
21432
+ // Exports
21433
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21434
+
21435
+
21394
21436
  /***/ }),
21395
21437
 
21396
21438
  /***/ 8606:
@@ -21666,7 +21708,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".el-table td[data-v-76b7d26b]{padding:
21666
21708
 
21667
21709
  /***/ }),
21668
21710
 
21669
- /***/ 4784:
21711
+ /***/ 2310:
21670
21712
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
21671
21713
 
21672
21714
  "use strict";
@@ -21680,7 +21722,7 @@ __webpack_require__.r(__webpack_exports__);
21680
21722
 
21681
21723
  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()));
21682
21724
  // Module
21683
- ___CSS_LOADER_EXPORT___.push([module.id, ".findPassword .el-step__title[data-v-1780b7f3]{font-size:var(--portalFontSize13)}.pw-bar .pw-str-indicator[data-v-1780b7f3]{display:inline-block;margin-right:15px;width:80px;height:15px;background-color:#f3f3f3}.pw-bar .pw-str-indicator.on[data-v-1780b7f3]{transition:background .5s ease-in;-moz-transition:background .5s ease-in;-webkit-transition:background .5s ease-in;-o-transition:background .5s ease-in;background:#0f87ff}.error[data-v-1780b7f3]{color:#ff4949;font-size:var(--portalFontSize14);margin:7px 0;text-align:left}header[data-v-1780b7f3]{border-bottom:1px solid #ccc}header a.title[data-v-1780b7f3]{width:1000px;margin:0 auto;display:block;cursor:default}header a.title h3[data-v-1780b7f3]{font-size:26px;color:#777;line-height:82px;text-align:left;font-weight:700;margin:0}header a.title h3 img[data-v-1780b7f3]{width:32px;height:32px;vertical-align:middle;position:relative;top:-2px}header a.title h3 span[data-v-1780b7f3]{float:right;font-size:var(--portalFontSize14)}.copyright[data-v-1780b7f3]{text-align:center;color:#606266;position:fixed;bottom:10px;width:100vw}", ""]);
21725
+ ___CSS_LOADER_EXPORT___.push([module.id, ".findPassword .el-step__title[data-v-025a8345]{font-size:var(--portalFontSize13)}.pw-bar .pw-str-indicator[data-v-025a8345]{display:inline-block;margin-right:15px;width:80px;height:15px;background-color:#f3f3f3}.pw-bar .pw-str-indicator.on[data-v-025a8345]{transition:background .5s ease-in;-moz-transition:background .5s ease-in;-webkit-transition:background .5s ease-in;-o-transition:background .5s ease-in;background:#0f87ff}.error[data-v-025a8345]{color:#ff4949;font-size:var(--portalFontSize14);margin:7px 0;text-align:left}header[data-v-025a8345]{border-bottom:1px solid #ccc}header a.title[data-v-025a8345]{width:1000px;margin:0 auto;display:block;cursor:default}header a.title h3[data-v-025a8345]{font-size:26px;color:#777;line-height:82px;text-align:left;font-weight:700;margin:0}header a.title h3 img[data-v-025a8345]{width:32px;height:32px;vertical-align:middle;position:relative;top:-2px}header a.title h3 span[data-v-025a8345]{float:right;font-size:var(--portalFontSize14)}.copyright[data-v-025a8345]{text-align:center;color:#606266;position:fixed;bottom:10px;width:100vw}", ""]);
21684
21726
  // Exports
21685
21727
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
21686
21728
 
@@ -62900,6 +62942,38 @@ var update = add("56164bd0", content, true, {"sourceMap":false,"shadowMode":fals
62900
62942
 
62901
62943
  /***/ }),
62902
62944
 
62945
+ /***/ 2739:
62946
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
62947
+
62948
+ // style-loader: Adds some css to the DOM by adding a <style> tag
62949
+
62950
+ // load the styles
62951
+ var content = __webpack_require__(2266);
62952
+ if(content.__esModule) content = content.default;
62953
+ if(typeof content === 'string') content = [[module.id, content, '']];
62954
+ if(content.locals) module.exports = content.locals;
62955
+ // add the styles to the DOM
62956
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
62957
+ var update = add("bed25842", content, true, {"sourceMap":false,"shadowMode":false});
62958
+
62959
+ /***/ }),
62960
+
62961
+ /***/ 5112:
62962
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
62963
+
62964
+ // style-loader: Adds some css to the DOM by adding a <style> tag
62965
+
62966
+ // load the styles
62967
+ var content = __webpack_require__(1889);
62968
+ if(content.__esModule) content = content.default;
62969
+ if(typeof content === 'string') content = [[module.id, content, '']];
62970
+ if(content.locals) module.exports = content.locals;
62971
+ // add the styles to the DOM
62972
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
62973
+ var update = add("b4a9831c", content, true, {"sourceMap":false,"shadowMode":false});
62974
+
62975
+ /***/ }),
62976
+
62903
62977
  /***/ 3919:
62904
62978
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
62905
62979
 
@@ -63108,19 +63182,19 @@ var update = add("2783f59e", content, true, {"sourceMap":false,"shadowMode":fals
63108
63182
 
63109
63183
  /***/ }),
63110
63184
 
63111
- /***/ 9881:
63185
+ /***/ 4011:
63112
63186
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
63113
63187
 
63114
63188
  // style-loader: Adds some css to the DOM by adding a <style> tag
63115
63189
 
63116
63190
  // load the styles
63117
- var content = __webpack_require__(4784);
63191
+ var content = __webpack_require__(2310);
63118
63192
  if(content.__esModule) content = content.default;
63119
63193
  if(typeof content === 'string') content = [[module.id, content, '']];
63120
63194
  if(content.locals) module.exports = content.locals;
63121
63195
  // add the styles to the DOM
63122
63196
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
63123
- var update = add("664bdf54", content, true, {"sourceMap":false,"shadowMode":false});
63197
+ var update = add("6fff8a8c", content, true, {"sourceMap":false,"shadowMode":false});
63124
63198
 
63125
63199
  /***/ }),
63126
63200
 
@@ -95846,8 +95920,8 @@ var ideaSignature_component = (0,componentNormalizer/* default */.A)(
95846
95920
  )
95847
95921
 
95848
95922
  /* harmony default export */ var ideaSignature = (ideaSignature_component.exports);
95849
- ;// 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/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=template&id=1780b7f3&scoped=true
95850
- var modifyPasswordvue_type_template_id_1780b7f3_scoped_true_render = function render() {
95923
+ ;// 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/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=template&id=025a8345&scoped=true
95924
+ var modifyPasswordvue_type_template_id_025a8345_scoped_true_render = function render() {
95851
95925
  var _vm = this,
95852
95926
  _c = _vm._self._c;
95853
95927
  return _c('div', [_vm.$route.path === '/modifyInitPassword' ? _c('div', {
@@ -96161,7 +96235,7 @@ var modifyPasswordvue_type_template_id_1780b7f3_scoped_true_render = function re
96161
96235
  staticClass: "copyright"
96162
96236
  }, [_vm._v("Copyright©" + _vm._s(_vm.curUser.orgName) + ". All Rights Reserved")]) : _vm._e()], 1);
96163
96237
  };
96164
- var modifyPasswordvue_type_template_id_1780b7f3_scoped_true_staticRenderFns = [];
96238
+ var modifyPasswordvue_type_template_id_025a8345_scoped_true_staticRenderFns = [];
96165
96239
 
96166
96240
  // EXTERNAL MODULE: ./src/wapp/settings.js
96167
96241
  var settings = __webpack_require__(8645);
@@ -96244,6 +96318,16 @@ if (!window.jQuery) {
96244
96318
  },
96245
96319
  mounted: function mounted() {
96246
96320
  var _this = this;
96321
+ this.$http({
96322
+ method: 'GET',
96323
+ url: 'login/getRsaPublicKey'
96324
+ }).then(function (res) {
96325
+ if (res.code === 'success') {
96326
+ _this.encrypt = new window.JSEncrypt();
96327
+ _this.encrypt.setPublicKey(res.body.rsaPublicKey);
96328
+ }
96329
+ });
96330
+
96247
96331
  // 查询系统配置参数
96248
96332
  this.$http({
96249
96333
  method: 'POST',
@@ -96387,38 +96471,28 @@ if (!window.jQuery) {
96387
96471
  },
96388
96472
  modifyPassword: function modifyPassword() {
96389
96473
  var _this3 = this;
96390
- var encrypt = new window.JSEncrypt();
96391
96474
  if (!this.md.newPw) {
96392
96475
  this.formValidate(function () {
96393
96476
  if (!_this3.md.oldPw) return;
96394
96477
  if (_this3.levelingLock >= 0) {
96478
+ var password = _this3.encrypt.encrypt(_this3.md.oldPw);
96395
96479
  _this3.$http({
96396
- method: 'GET',
96397
- url: 'login/getRsaPublicKey'
96480
+ method: 'PUT',
96481
+ url: 'base/user/updateBasicSetup',
96482
+ data: {
96483
+ id: _this3.curUser.userId,
96484
+ levelingLock: _this3.levelingLock,
96485
+ password: password
96486
+ }
96398
96487
  }).then(function (res) {
96399
96488
  if (res.code === 'success') {
96400
- encrypt.setPublicKey(res.body.rsaPublicKey);
96401
- // const paramsObj = $.extend(true, {}, this.loginForm)
96402
- var password = encrypt.encrypt(_this3.md.oldPw);
96403
- _this3.$http({
96404
- method: 'PUT',
96405
- url: 'base/user/updateBasicSetup',
96406
- data: {
96407
- id: _this3.curUser.userId,
96408
- levelingLock: _this3.levelingLock,
96409
- password: password
96410
- }
96411
- }).then(function (res) {
96412
- if (res.code === 'success') {
96413
- console.log('res', res);
96414
- // this.Cookies.set('ECWEB-JWTSSO-TOKEN-' + location.port, res.body['ECWEB-JWTSSO-TOKEN'])
96415
- var loginUser = lib_default()(res.body['ECWEB-JWTSSO-TOKEN']);
96416
- console.log('loginUser', loginUser);
96417
- _this3.$store.commit('user/SET_LOGIN_USER', loginUser);
96418
- _this3.$message.success(res.message);
96419
- return;
96420
- }
96421
- });
96489
+ console.log('res', res);
96490
+ // this.Cookies.set('ECWEB-JWTSSO-TOKEN-' + location.port, res.body['ECWEB-JWTSSO-TOKEN'])
96491
+ var loginUser = lib_default()(res.body['ECWEB-JWTSSO-TOKEN']);
96492
+ console.log('loginUser', loginUser);
96493
+ _this3.$store.commit('user/SET_LOGIN_USER', loginUser);
96494
+ _this3.$message.success(res.message);
96495
+ return;
96422
96496
  }
96423
96497
  });
96424
96498
  }
@@ -96436,8 +96510,8 @@ if (!window.jQuery) {
96436
96510
  // 将用户密码相关的输入传到后台
96437
96511
  var paramsObj = jquery_default().extend(true, {}, _this3.md);
96438
96512
  delete paramsObj['confirmPw'];
96439
- paramsObj.oldPw = encrypt.encrypt(paramsObj.oldPw);
96440
- paramsObj.newPw = encrypt.encrypt(paramsObj.newPw);
96513
+ paramsObj.oldPw = _this3.encrypt.encrypt(paramsObj.oldPw);
96514
+ paramsObj.newPw = _this3.encrypt.encrypt(paramsObj.newPw);
96441
96515
  paramsObj.encrypt = true;
96442
96516
  _this3.$http({
96443
96517
  method: 'POST',
@@ -96497,9 +96571,9 @@ if (!window.jQuery) {
96497
96571
  });
96498
96572
  ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=script&lang=js
96499
96573
  /* harmony default export */ var personCenter_modifyPasswordvue_type_script_lang_js = (modifyPasswordvue_type_script_lang_js);
96500
- // 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/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=style&index=0&id=1780b7f3&prod&scoped=true&lang=scss
96501
- var modifyPasswordvue_type_style_index_0_id_1780b7f3_prod_scoped_true_lang_scss = __webpack_require__(9881);
96502
- ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=style&index=0&id=1780b7f3&prod&scoped=true&lang=scss
96574
+ // 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/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=style&index=0&id=025a8345&prod&scoped=true&lang=scss
96575
+ var modifyPasswordvue_type_style_index_0_id_025a8345_prod_scoped_true_lang_scss = __webpack_require__(4011);
96576
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue?vue&type=style&index=0&id=025a8345&prod&scoped=true&lang=scss
96503
96577
 
96504
96578
  ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/usersetting/personCenter/modifyPassword.vue
96505
96579
 
@@ -96512,11 +96586,11 @@ var modifyPasswordvue_type_style_index_0_id_1780b7f3_prod_scoped_true_lang_scss
96512
96586
 
96513
96587
  var modifyPassword_component = (0,componentNormalizer/* default */.A)(
96514
96588
  personCenter_modifyPasswordvue_type_script_lang_js,
96515
- modifyPasswordvue_type_template_id_1780b7f3_scoped_true_render,
96516
- modifyPasswordvue_type_template_id_1780b7f3_scoped_true_staticRenderFns,
96589
+ modifyPasswordvue_type_template_id_025a8345_scoped_true_render,
96590
+ modifyPasswordvue_type_template_id_025a8345_scoped_true_staticRenderFns,
96517
96591
  false,
96518
96592
  null,
96519
- "1780b7f3",
96593
+ "025a8345",
96520
96594
  null
96521
96595
 
96522
96596
  )
@@ -108692,6 +108766,483 @@ var quickEntry_component = (0,componentNormalizer/* default */.A)(
108692
108766
  )
108693
108767
 
108694
108768
  /* harmony default export */ var quickEntry = (quickEntry_component.exports);
108769
+ ;// 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/ecyoa/ecoa/src/portal/components/msgNotice/index.vue?vue&type=template&id=56f4b6e5&scoped=true
108770
+ var msgNoticevue_type_template_id_56f4b6e5_scoped_true_render = function render() {
108771
+ var _vm = this,
108772
+ _c = _vm._self._c;
108773
+ return _c('div', {
108774
+ attrs: {
108775
+ "id": "msg-notice-body"
108776
+ }
108777
+ }, [_c('CCBlockFrame', {
108778
+ attrs: {
108779
+ "header": {
108780
+ title: _vm.appletData.name,
108781
+ icon: _vm.appletData.icon,
108782
+ more: true,
108783
+ code: 'allMessage'
108784
+ }
108785
+ }
108786
+ }, [_vm.listdata ? _c('div', [_vm.listdata.length > 0 ? _c('div', [_c('MsgNoticeItem', {
108787
+ attrs: {
108788
+ "listdata": _vm.listdata,
108789
+ "page-info": _vm.pageInfo,
108790
+ "rowclick": _vm.rowclick
108791
+ }
108792
+ })], 1) : _c('div', {
108793
+ staticStyle: {
108794
+ "text-align": "center",
108795
+ "padding-top": "30px"
108796
+ }
108797
+ }, [_c('img', {
108798
+ staticStyle: {
108799
+ "max-width": "180px"
108800
+ },
108801
+ attrs: {
108802
+ "src": "images/w-imgs/nomessage.png"
108803
+ }
108804
+ }), _c('br'), _c('span', {
108805
+ directives: [{
108806
+ name: "text-lbl",
108807
+ rawName: "v-text-lbl",
108808
+ value: 'common.noData',
108809
+ expression: "'common.noData'"
108810
+ }],
108811
+ staticStyle: {
108812
+ "font-size": "var(--portalFontSize15)",
108813
+ "color": "#dbdbdb"
108814
+ }
108815
+ }, [_vm._v("暂无数据")])])]) : _vm._e()]), _c('el-dialog', {
108816
+ directives: [{
108817
+ name: "el-drag-dialog",
108818
+ rawName: "v-el-drag-dialog"
108819
+ }],
108820
+ attrs: {
108821
+ "title": "消息提醒",
108822
+ "visible": _vm.messageDialog,
108823
+ "append-to-body": true,
108824
+ "close-on-click-modal": false,
108825
+ "width": "500px",
108826
+ "center": ""
108827
+ },
108828
+ on: {
108829
+ "update:visible": function updateVisible($event) {
108830
+ _vm.messageDialog = $event;
108831
+ }
108832
+ }
108833
+ }, [_vm.listdata.length > 0 ? _c('div', {
108834
+ staticClass: "content",
108835
+ domProps: {
108836
+ "innerHTML": _vm._s(_vm.currentMsgContent)
108837
+ }
108838
+ }) : _vm._e(), _vm.listdata.length > 0 ? _c('div', {
108839
+ staticClass: "infos"
108840
+ }, [_c('div', {
108841
+ staticStyle: {
108842
+ "float": "right"
108843
+ }
108844
+ }, [_c('div', {
108845
+ staticClass: "name"
108846
+ }, [_vm._v(_vm._s(_vm.listdata[_vm.messageIndex].senderName))]), _c('div', {
108847
+ staticClass: "time"
108848
+ }, [_vm._v(_vm._s(_vm.listdata[_vm.messageIndex].createTime))])])]) : _vm._e(), _c('span', {
108849
+ staticClass: "dialog-footer",
108850
+ attrs: {
108851
+ "slot": "footer"
108852
+ },
108853
+ slot: "footer"
108854
+ }, [_c('div', {
108855
+ staticClass: "footer"
108856
+ }, [_c('div', {
108857
+ staticClass: "prev",
108858
+ class: _vm.messageIndex === 0 ? 'noclick' : '',
108859
+ on: {
108860
+ "click": function click($event) {
108861
+ return _vm.changeMessage('prev');
108862
+ }
108863
+ }
108864
+ }, [_vm._v("上一条")]), _c('div', {
108865
+ staticClass: "next",
108866
+ class: _vm.messageIndex === _vm.listdata.length - 1 ? 'noclick' : '',
108867
+ on: {
108868
+ "click": function click($event) {
108869
+ return _vm.changeMessage('next');
108870
+ }
108871
+ }
108872
+ }, [_vm._v("下一条")]), _c('div', {
108873
+ staticClass: "num"
108874
+ }, [_c('span', {
108875
+ staticClass: "color"
108876
+ }, [_vm._v(_vm._s(_vm.messageIndex + 1))]), _vm._v("/" + _vm._s(_vm.listdata.length) + " ")])])])])], 1);
108877
+ };
108878
+ var msgNoticevue_type_template_id_56f4b6e5_scoped_true_staticRenderFns = [];
108879
+
108880
+ ;// 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/ecyoa/ecoa/src/portal/components/msgNotice/MsgNoticeItem.vue?vue&type=template&id=16b40ee3&scoped=true
108881
+ var MsgNoticeItemvue_type_template_id_16b40ee3_scoped_true_render = function render() {
108882
+ var _vm = this,
108883
+ _c = _vm._self._c;
108884
+ return _c('ul', {
108885
+ attrs: {
108886
+ "id": "item-body"
108887
+ }
108888
+ }, [_vm._l(_vm.listdata, function (item, index) {
108889
+ return [_c('li', {
108890
+ key: index,
108891
+ staticClass: "link-message",
108892
+ on: {
108893
+ "click": function click($event) {
108894
+ return _vm.openWorkFlow(item, index);
108895
+ }
108896
+ }
108897
+ }, [_c('div', {
108898
+ staticClass: "item"
108899
+ }, [_c('div', {
108900
+ staticClass: "title"
108901
+ }, [item.isRead === 0 ? _c('span', {
108902
+ staticClass: "no-read"
108903
+ }) : _vm._e(), _c('span', {
108904
+ staticClass: "msg"
108905
+ }, [_vm._v(_vm._s(item.msgContent))])]), _c('div', {
108906
+ staticClass: "bottom"
108907
+ }, [_c('span', {
108908
+ staticClass: "name"
108909
+ }, [_vm._v(_vm._s(_vm.cutTime(item.createTime)))])])])])];
108910
+ })], 2);
108911
+ };
108912
+ var MsgNoticeItemvue_type_template_id_16b40ee3_scoped_true_staticRenderFns = [];
108913
+
108914
+ ;// 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/ecyoa/ecoa/src/portal/components/msgNotice/MsgNoticeItem.vue?vue&type=script&lang=js
108915
+ var MsgNoticeItemvue_type_script_lang_js_moment = __webpack_require__(5093);
108916
+ /* harmony default export */ var MsgNoticeItemvue_type_script_lang_js = ({
108917
+ // import引入的组件需要注入到对象中才能使用
108918
+ components: {},
108919
+ props: {
108920
+ listdata: {
108921
+ type: Array,
108922
+ default: function _default() {
108923
+ return [];
108924
+ }
108925
+ },
108926
+ pageInfo: {
108927
+ type: Object,
108928
+ default: function _default() {
108929
+ return {};
108930
+ }
108931
+ },
108932
+ rowclick: {
108933
+ type: Function,
108934
+ default: null
108935
+ }
108936
+ },
108937
+ data: function data() {
108938
+ return {};
108939
+ },
108940
+ computed: {},
108941
+ // 监控data中的数据变化
108942
+ watch: {},
108943
+ // 生命周期 - 创建完成(可以访问当前this实例)
108944
+ created: function created() {},
108945
+ // 生命周期 - 挂载完成(可以访问DOM元素)
108946
+ mounted: function mounted() {},
108947
+ beforeCreate: function beforeCreate() {},
108948
+ // 生命周期 - 创建之前
108949
+ beforeMount: function beforeMount() {},
108950
+ // 生命周期 - 挂载之前
108951
+ beforeUpdate: function beforeUpdate() {},
108952
+ // 生命周期 - 更新之前
108953
+ updated: function updated() {},
108954
+ // 生命周期 - 更新之后
108955
+ beforeDestroy: function beforeDestroy() {},
108956
+ // 生命周期 - 销毁之前
108957
+ destroyed: function destroyed() {},
108958
+ // 生命周期 - 销毁完成
108959
+ activated: function activated() {},
108960
+ // 方法集合
108961
+ methods: {
108962
+ cutTime: function cutTime(str) {
108963
+ var time = '';
108964
+ if (str !== '') {
108965
+ time = MsgNoticeItemvue_type_script_lang_js_moment(str).format('YYYY-MM-DD HH:mm');
108966
+ }
108967
+ return time;
108968
+ },
108969
+ openWorkFlow: function openWorkFlow(row, index) {
108970
+ if (this.$vnode.context.appletData.interfaceStatus === 0 || window.openInterface) {
108971
+ this.$bus.emit('openDefaultDialog', this.$vnode.context.appletData.name);
108972
+ return;
108973
+ }
108974
+ if (this.rowclick !== null) {
108975
+ return this.rowclick(row, index);
108976
+ } else {
108977
+ var activeItem = {};
108978
+ if (row.type === 'dwgg') {
108979
+ activeItem = {
108980
+ type: 1,
108981
+ moduleInfo: {
108982
+ 'getByIdUrl': 'portal/cms/article/getById'
108983
+ },
108984
+ fieldInfo: {
108985
+ timeField: 'publishTime',
108986
+ senderField: 'creator',
108987
+ titleField: 'title',
108988
+ contField: 'content'
108989
+ },
108990
+ desInfo: {
108991
+ timeDes: '时间:',
108992
+ senderDes: '发布人:'
108993
+ }
108994
+ };
108995
+ } else {
108996
+ activeItem = {
108997
+ type: 1,
108998
+ moduleInfo: {
108999
+ 'getByIdUrl': 'plat/tzgg/getById'
109000
+ },
109001
+ fieldInfo: {
109002
+ timeField: 'flCreateDate',
109003
+ senderField: 'flCreator',
109004
+ titleField: 'flSubject',
109005
+ contField: 'flContent'
109006
+ },
109007
+ desInfo: {
109008
+ timeDes: '时间:',
109009
+ senderDes: '发布人:'
109010
+ }
109011
+ };
109012
+ }
109013
+ window.open('/#/listinfo?rowId=' + row.id + '&pageCode=ListInfo&activeItem=' + encodeURIComponent(JSON.stringify(activeItem)) + '&isMyGG=1');
109014
+ }
109015
+ }
109016
+ } // 如果页面有keep-alive缓存功能,这个函数会触发
109017
+ });
109018
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/portal/components/msgNotice/MsgNoticeItem.vue?vue&type=script&lang=js
109019
+ /* harmony default export */ var msgNotice_MsgNoticeItemvue_type_script_lang_js = (MsgNoticeItemvue_type_script_lang_js);
109020
+ // 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/ecyoa/ecoa/src/portal/components/msgNotice/MsgNoticeItem.vue?vue&type=style&index=0&id=16b40ee3&prod&lang=scss&scoped=true
109021
+ var MsgNoticeItemvue_type_style_index_0_id_16b40ee3_prod_lang_scss_scoped_true = __webpack_require__(2739);
109022
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/portal/components/msgNotice/MsgNoticeItem.vue?vue&type=style&index=0&id=16b40ee3&prod&lang=scss&scoped=true
109023
+
109024
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/portal/components/msgNotice/MsgNoticeItem.vue
109025
+
109026
+
109027
+
109028
+ ;
109029
+
109030
+
109031
+ /* normalize component */
109032
+
109033
+ var MsgNoticeItem_component = (0,componentNormalizer/* default */.A)(
109034
+ msgNotice_MsgNoticeItemvue_type_script_lang_js,
109035
+ MsgNoticeItemvue_type_template_id_16b40ee3_scoped_true_render,
109036
+ MsgNoticeItemvue_type_template_id_16b40ee3_scoped_true_staticRenderFns,
109037
+ false,
109038
+ null,
109039
+ "16b40ee3",
109040
+ null
109041
+
109042
+ )
109043
+
109044
+ /* harmony default export */ var MsgNoticeItem = (MsgNoticeItem_component.exports);
109045
+ ;// 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/ecyoa/ecoa/src/portal/components/msgNotice/index.vue?vue&type=script&lang=js
109046
+ function msgNoticevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return msgNoticevue_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; }, msgNoticevue_type_script_lang_js_typeof(o); }
109047
+ function msgNoticevue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ msgNoticevue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == msgNoticevue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(msgNoticevue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
109048
+ function msgNoticevue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
109049
+ function msgNoticevue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { msgNoticevue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { msgNoticevue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
109050
+ function msgNoticevue_type_script_lang_js_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; }
109051
+ function msgNoticevue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? msgNoticevue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { msgNoticevue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : msgNoticevue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
109052
+ function msgNoticevue_type_script_lang_js_defineProperty(e, r, t) { return (r = msgNoticevue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
109053
+ function msgNoticevue_type_script_lang_js_toPropertyKey(t) { var i = msgNoticevue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == msgNoticevue_type_script_lang_js_typeof(i) ? i : i + ""; }
109054
+ function msgNoticevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != msgNoticevue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != msgNoticevue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
109055
+
109056
+
109057
+ /* harmony default export */ var msgNoticevue_type_script_lang_js = ({
109058
+ name: 'MsgNotice',
109059
+ components: {
109060
+ MsgNoticeItem: MsgNoticeItem
109061
+ },
109062
+ props: {
109063
+ name: {
109064
+ type: String,
109065
+ default: ''
109066
+ },
109067
+ id: {
109068
+ type: String,
109069
+ default: ''
109070
+ },
109071
+ appletData: {
109072
+ type: Object,
109073
+ required: true,
109074
+ default: function _default() {
109075
+ return {};
109076
+ }
109077
+ }
109078
+ },
109079
+ data: function data() {
109080
+ return {
109081
+ messageIndex: 0,
109082
+ messageDialog: false,
109083
+ listdata: [],
109084
+ loginUser: this.$store.getters.loginUser,
109085
+ pageSize: 5,
109086
+ pageInfo: {
109087
+ title: 'msgContent',
109088
+ time: 'pushTime',
109089
+ activeItem: {
109090
+ moduleInfo: {
109091
+ 'moduleCode': 'inbox',
109092
+ 'listDataUrl': 'message/inbox/listdata',
109093
+ 'getByIdUrl': 'message/inbox/getById'
109094
+ },
109095
+ desInfo: {
109096
+ timeDes: '时间:',
109097
+ senderDes: '发布人:'
109098
+ },
109099
+ fieldInfo: {
109100
+ timeField: 'createTime',
109101
+ senderField: 'senderName',
109102
+ titleField: 'msgContent',
109103
+ contField: 'msgContent'
109104
+ }
109105
+ }
109106
+ }
109107
+ };
109108
+ },
109109
+ computed: msgNoticevue_type_script_lang_js_objectSpread(msgNoticevue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['routes'])), {}, {
109110
+ currentMsgContent: function currentMsgContent() {
109111
+ var content = this.listdata[this.messageIndex] ? this.listdata[this.messageIndex].msgContent || '' : '';
109112
+ // 清除后端嵌入的链接HTML
109113
+ content = content.replace(/<a[^>]*>.*?<\/a>/gi, '').replace(/<div[^>]*class="msg-link"[^>]*>.*?<\/div>/gi, '');
109114
+ var msgUrl = this.listdata[this.messageIndex] ? this.listdata[this.messageIndex].msgUrl : '';
109115
+ if (msgUrl) {
109116
+ var origin = window.location.origin;
109117
+ content += ' <a href="javascript:void(0)" onclick="window.open(\'' + origin + '/#' + msgUrl + '\')" class="msg-detail-link">查看详情 &gt;</a>';
109118
+ }
109119
+ return content;
109120
+ }
109121
+ }),
109122
+ created: function created() {
109123
+ this.getMessage();
109124
+ this.$bus.on('refreshMsgNotice', this.getMessage);
109125
+ },
109126
+ beforeDestroy: function beforeDestroy() {
109127
+ this.$bus.off('refreshMsgNotice', this.getMessage);
109128
+ },
109129
+ methods: {
109130
+ // 调用getById接口更新消息已读状态
109131
+ markAsRead: function markAsRead(item) {
109132
+ var _this = this;
109133
+ return this.$http({
109134
+ method: 'GET',
109135
+ url: '/message/vwInbox/getById',
109136
+ params: {
109137
+ id: item.id,
109138
+ msgType: 0
109139
+ }
109140
+ }).then(function (res) {
109141
+ if (res.code == 'success') {
109142
+ item.isRead = 1;
109143
+ _this.$bus.emit('updateTopBarMessageTotal');
109144
+ }
109145
+ });
109146
+ },
109147
+ changeMessage: function changeMessage(type) {
109148
+ var _this2 = this;
109149
+ if (type === 'prev' && this.messageIndex > 0) {
109150
+ var prevItem = this.listdata[this.messageIndex - 1];
109151
+ if (prevItem.isRead !== 1) {
109152
+ this.markAsRead(prevItem).then(function () {
109153
+ _this2.messageIndex--;
109154
+ });
109155
+ } else {
109156
+ this.messageIndex--;
109157
+ }
109158
+ }
109159
+ if (type === 'next' && this.messageIndex < this.listdata.length - 1) {
109160
+ var nextItem = this.listdata[this.messageIndex + 1];
109161
+ if (nextItem.isRead !== 1) {
109162
+ this.markAsRead(nextItem).then(function () {
109163
+ _this2.messageIndex++;
109164
+ });
109165
+ } else {
109166
+ this.messageIndex++;
109167
+ }
109168
+ }
109169
+ },
109170
+ rowclick: function rowclick(item, index) {
109171
+ this.messageIndex = index;
109172
+ this.messageDialog = true;
109173
+ if (item.isRead !== 1) {
109174
+ this.markAsRead(item);
109175
+ }
109176
+ },
109177
+ getMessage: function getMessage() {
109178
+ var _this3 = this;
109179
+ return msgNoticevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/msgNoticevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
109180
+ var list, apigw, params, res;
109181
+ return msgNoticevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
109182
+ while (1) switch (_context.prev = _context.next) {
109183
+ case 0:
109184
+ if (!(_this3.appletData.interfaceStatus === 0 || window.openInterface)) {
109185
+ _context.next = 4;
109186
+ break;
109187
+ }
109188
+ list = JSON.parse(JSON.stringify(_this3.$defaultData.notifcationData));
109189
+ _this3.listdata = list.splice(0, _this3.pageSize);
109190
+ return _context.abrupt("return");
109191
+ case 4:
109192
+ apigw = '';
109193
+ if (_this3.appletData) {
109194
+ apigw = _this3.appletData.apiUrl || '';
109195
+ if (apigw && apigw.substring(apigw.length - 1) !== '/') apigw += '/';
109196
+ }
109197
+ params = {
109198
+ orderBy: 'pushTime desc',
109199
+ urlsearch: 'orgCode:' + _this3.loginUser.orgCode + ';pushStatus:1;msgContent!:null;receiverAccount:' + _this3.loginUser.personAccount,
109200
+ pageNum: 1,
109201
+ pageSize: _this3.pageSize
109202
+ };
109203
+ _context.next = 9;
109204
+ return _this3.$app.listdata(apigw + 'message/vwInbox/listdata', params);
109205
+ case 9:
109206
+ res = _context.sent;
109207
+ if (res.code === 'success') {
109208
+ _this3.listdata = res.body.pageInfo.list;
109209
+ }
109210
+ case 11:
109211
+ case "end":
109212
+ return _context.stop();
109213
+ }
109214
+ }, _callee);
109215
+ }))();
109216
+ }
109217
+ }
109218
+ });
109219
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/portal/components/msgNotice/index.vue?vue&type=script&lang=js
109220
+ /* harmony default export */ var components_msgNoticevue_type_script_lang_js = (msgNoticevue_type_script_lang_js);
109221
+ // 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/ecyoa/ecoa/src/portal/components/msgNotice/index.vue?vue&type=style&index=0&id=56f4b6e5&prod&scoped=true&lang=scss
109222
+ var msgNoticevue_type_style_index_0_id_56f4b6e5_prod_scoped_true_lang_scss = __webpack_require__(5112);
109223
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/portal/components/msgNotice/index.vue?vue&type=style&index=0&id=56f4b6e5&prod&scoped=true&lang=scss
109224
+
109225
+ ;// CONCATENATED MODULE: ./packages/ecyoa/ecoa/src/portal/components/msgNotice/index.vue
109226
+
109227
+
109228
+
109229
+ ;
109230
+
109231
+
109232
+ /* normalize component */
109233
+
109234
+ var msgNotice_component = (0,componentNormalizer/* default */.A)(
109235
+ components_msgNoticevue_type_script_lang_js,
109236
+ msgNoticevue_type_template_id_56f4b6e5_scoped_true_render,
109237
+ msgNoticevue_type_template_id_56f4b6e5_scoped_true_staticRenderFns,
109238
+ false,
109239
+ null,
109240
+ "56f4b6e5",
109241
+ null
109242
+
109243
+ )
109244
+
109245
+ /* harmony default export */ var msgNotice = (msgNotice_component.exports);
108695
109246
  ;// 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/ecyoa/ecoa/src/portal/components/statisticalChart/index.vue?vue&type=template&id=4176b0de&scoped=true
108696
109247
  var statisticalChartvue_type_template_id_4176b0de_scoped_true_render = function render() {
108697
109248
  var _vm = this,
@@ -113336,6 +113887,7 @@ function ecoa_toPrimitive(t, r) { if ("object" != ecoa_typeof(t) || !t) return t
113336
113887
 
113337
113888
 
113338
113889
 
113890
+
113339
113891
  //portal/components
113340
113892
 
113341
113893
 
@@ -113413,6 +113965,7 @@ var ecoa_components = {
113413
113965
  PortalDataListIcons: dataList_icons,
113414
113966
  PortalImagesText: imagesText,
113415
113967
  PortalQuickEntry: quickEntry,
113968
+ PortalMsgNotice: msgNotice,
113416
113969
  PortalStatisticalChart: statisticalChart,
113417
113970
  PortalTransactionStatistics: transactionStatistics,
113418
113971
  PortalApplet: Applet,