eoss-ui 0.7.72 → 0.7.74

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.
Files changed (78) hide show
  1. package/lib/eoss-ui.common.js +413 -2110
  2. package/lib/flow.js +4 -3
  3. package/lib/index.js +1 -1
  4. package/lib/main.js +320 -2014
  5. package/lib/theme-chalk/index.css +1 -1
  6. package/lib/theme-chalk/main.css +1 -1
  7. package/lib/theme-chalk/simplicity-top.css +1 -1
  8. package/package.json +1 -1
  9. package/packages/flow/src/main.vue +3 -2
  10. package/packages/main/src/default/index.vue +1 -0
  11. package/packages/main/src/simplicity/index.vue +1 -0
  12. package/packages/main/src/simplicityTop/handler.vue +5 -0
  13. package/packages/main/src/simplicityTop/index.vue +145 -281
  14. package/packages/theme-chalk/lib/base.css +1 -0
  15. package/packages/theme-chalk/lib/button-group.css +1 -0
  16. package/packages/theme-chalk/lib/button.css +1 -0
  17. package/packages/theme-chalk/lib/calendar.css +1 -0
  18. package/packages/theme-chalk/lib/calogin.css +0 -0
  19. package/packages/theme-chalk/lib/card.css +1 -0
  20. package/packages/theme-chalk/lib/cascader.css +0 -0
  21. package/packages/theme-chalk/lib/checkbox-group.css +1 -0
  22. package/packages/theme-chalk/lib/clients.css +1 -0
  23. package/packages/theme-chalk/lib/data-table-form.css +1 -0
  24. package/packages/theme-chalk/lib/data-table.css +1 -0
  25. package/packages/theme-chalk/lib/date-picker.css +1 -0
  26. package/packages/theme-chalk/lib/dialog.css +1 -0
  27. package/packages/theme-chalk/lib/enable-drag.css +1 -0
  28. package/packages/theme-chalk/lib/enterprise.css +1 -0
  29. package/packages/theme-chalk/lib/error-page.css +1 -0
  30. package/packages/theme-chalk/lib/flow-chart.css +0 -0
  31. package/packages/theme-chalk/lib/flow-group.css +1 -0
  32. package/packages/theme-chalk/lib/flow-list.css +1 -0
  33. package/packages/theme-chalk/lib/flow.css +1 -0
  34. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  35. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  36. package/packages/theme-chalk/lib/form.css +1 -0
  37. package/packages/theme-chalk/lib/handle-user.css +1 -0
  38. package/packages/theme-chalk/lib/handler.css +1 -0
  39. package/packages/theme-chalk/lib/icon.css +1 -0
  40. package/packages/theme-chalk/lib/icons.css +1 -0
  41. package/packages/theme-chalk/lib/index.css +1 -0
  42. package/packages/theme-chalk/lib/input-number.css +0 -0
  43. package/packages/theme-chalk/lib/input.css +1 -0
  44. package/packages/theme-chalk/lib/label.css +1 -0
  45. package/packages/theme-chalk/lib/layout.css +1 -0
  46. package/packages/theme-chalk/lib/login.css +1 -0
  47. package/packages/theme-chalk/lib/main.css +1 -0
  48. package/packages/theme-chalk/lib/menu.css +1 -0
  49. package/packages/theme-chalk/lib/nav.css +1 -0
  50. package/packages/theme-chalk/lib/notify.css +0 -0
  51. package/packages/theme-chalk/lib/page.css +1 -0
  52. package/packages/theme-chalk/lib/pagination.css +1 -0
  53. package/packages/theme-chalk/lib/player.css +1 -0
  54. package/packages/theme-chalk/lib/qr-code.css +1 -0
  55. package/packages/theme-chalk/lib/radio-group.css +1 -0
  56. package/packages/theme-chalk/lib/retrial-auth.css +1 -0
  57. package/packages/theme-chalk/lib/select-ganged.css +1 -0
  58. package/packages/theme-chalk/lib/select.css +1 -0
  59. package/packages/theme-chalk/lib/selector-panel.css +1 -0
  60. package/packages/theme-chalk/lib/selector.css +1 -0
  61. package/packages/theme-chalk/lib/simplicity-top.css +1 -0
  62. package/packages/theme-chalk/lib/simplicity.css +1 -0
  63. package/packages/theme-chalk/lib/sizer.css +1 -0
  64. package/packages/theme-chalk/lib/steps.css +1 -0
  65. package/packages/theme-chalk/lib/switch.css +1 -0
  66. package/packages/theme-chalk/lib/table-form.css +0 -0
  67. package/packages/theme-chalk/lib/tabs-panel.css +0 -0
  68. package/packages/theme-chalk/lib/tabs.css +1 -0
  69. package/packages/theme-chalk/lib/tips.css +1 -0
  70. package/packages/theme-chalk/lib/toolbar.css +1 -0
  71. package/packages/theme-chalk/lib/tree-group.css +1 -0
  72. package/packages/theme-chalk/lib/tree.css +1 -0
  73. package/packages/theme-chalk/lib/upload.css +1 -0
  74. package/packages/theme-chalk/lib/wujie.css +0 -0
  75. package/packages/theme-chalk/lib/wxlogin.css +1 -0
  76. package/packages/theme-chalk/src/simplicity-top.scss +14 -0
  77. package/src/index.js +1 -1
  78. package/packages/theme-chalk/gulpfile.js +0 -25
@@ -28203,8 +28203,8 @@ form_src_main.install = function (Vue) {
28203
28203
  };
28204
28204
 
28205
28205
  /* harmony default export */ var packages_form = (form_src_main);
28206
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=389411fe&
28207
- var mainvue_type_template_id_389411fe_render = function () {
28206
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=3280dd80&
28207
+ var mainvue_type_template_id_3280dd80_render = function () {
28208
28208
  var _vm = this
28209
28209
  var _h = _vm.$createElement
28210
28210
  var _c = _vm._self._c || _h
@@ -31145,11 +31145,11 @@ var mainvue_type_template_id_389411fe_render = function () {
31145
31145
  )
31146
31146
  : _vm._e()
31147
31147
  }
31148
- var mainvue_type_template_id_389411fe_staticRenderFns = []
31149
- mainvue_type_template_id_389411fe_render._withStripped = true
31148
+ var mainvue_type_template_id_3280dd80_staticRenderFns = []
31149
+ mainvue_type_template_id_3280dd80_render._withStripped = true
31150
31150
 
31151
31151
 
31152
- // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=389411fe&
31152
+ // CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=3280dd80&
31153
31153
 
31154
31154
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/CommonOpinions.vue?vue&type=template&id=4a620f86&
31155
31155
  var CommonOpinionsvue_type_template_id_4a620f86_render = function () {
@@ -49944,6 +49944,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
49944
49944
 
49945
49945
  _this27.loading.close();
49946
49946
  if (status === 'success') {
49947
+ _this27.isCurrentNodeForbiddenChangeCandidate = data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
49947
49948
  _this27.currentNodeEnableItemHandleDescription = data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
49948
49949
  _this27.enableCustomLimitTimeSetting = data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
49949
49950
  if (_this27.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays) {
@@ -50380,7 +50381,7 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
50380
50381
  _this29.nodeFixedOpinionSelectList.push({ content: x });
50381
50382
  });
50382
50383
  }
50383
- _this29.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
50384
+
50384
50385
  _this29.value = opinion || '';
50385
50386
  _this29.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
50386
50387
  _this29.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
@@ -51059,8 +51060,8 @@ function flow_src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return func
51059
51060
 
51060
51061
  var flow_src_main_component = normalizeComponent(
51061
51062
  packages_flow_src_mainvue_type_script_lang_js_,
51062
- mainvue_type_template_id_389411fe_render,
51063
- mainvue_type_template_id_389411fe_staticRenderFns,
51063
+ mainvue_type_template_id_3280dd80_render,
51064
+ mainvue_type_template_id_3280dd80_staticRenderFns,
51064
51065
  false,
51065
51066
  null,
51066
51067
  null,
@@ -61590,8 +61591,8 @@ mainvue_type_template_id_0fbde292_render._withStripped = true
61590
61591
 
61591
61592
  // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=0fbde292&
61592
61593
 
61593
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=c4919c58&scoped=true&
61594
- var simplicityvue_type_template_id_c4919c58_scoped_true_render = function () {
61594
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
61595
+ var simplicityvue_type_template_id_6808c3e5_scoped_true_render = function () {
61595
61596
  var _vm = this
61596
61597
  var _h = _vm.$createElement
61597
61598
  var _c = _vm._self._c || _h
@@ -62357,11 +62358,11 @@ var simplicityvue_type_template_id_c4919c58_scoped_true_render = function () {
62357
62358
  ),
62358
62359
  ])
62359
62360
  }
62360
- var simplicityvue_type_template_id_c4919c58_scoped_true_staticRenderFns = []
62361
- simplicityvue_type_template_id_c4919c58_scoped_true_render._withStripped = true
62361
+ var simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns = []
62362
+ simplicityvue_type_template_id_6808c3e5_scoped_true_render._withStripped = true
62362
62363
 
62363
62364
 
62364
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=c4919c58&scoped=true&
62365
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=6808c3e5&scoped=true&
62365
62366
 
62366
62367
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
62367
62368
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -70050,6 +70051,7 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70050
70051
  handleLayout: function handleLayout(res, active) {
70051
70052
  if (active) {
70052
70053
  localStorage.setItem('layout', active);
70054
+ localStorage.setItem('layoutType', active);
70053
70055
  }
70054
70056
  this.$emit('chang-layout', res, active);
70055
70057
  },
@@ -70198,18 +70200,18 @@ var simplicityvue_type_script_lang_js_events = [function (tabs, index, that) {
70198
70200
 
70199
70201
  var simplicity_component = normalizeComponent(
70200
70202
  src_simplicityvue_type_script_lang_js_,
70201
- simplicityvue_type_template_id_c4919c58_scoped_true_render,
70202
- simplicityvue_type_template_id_c4919c58_scoped_true_staticRenderFns,
70203
+ simplicityvue_type_template_id_6808c3e5_scoped_true_render,
70204
+ simplicityvue_type_template_id_6808c3e5_scoped_true_staticRenderFns,
70203
70205
  false,
70204
70206
  null,
70205
- "c4919c58",
70207
+ "6808c3e5",
70206
70208
  null
70207
70209
 
70208
70210
  )
70209
70211
 
70210
70212
  /* harmony default export */ var simplicity = (simplicity_component.exports);
70211
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=4a8a8fcc&scoped=true&
70212
- var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function () {
70213
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70214
+ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render = function () {
70213
70215
  var _vm = this
70214
70216
  var _h = _vm.$createElement
70215
70217
  var _c = _vm._self._c || _h
@@ -70340,11 +70342,79 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70340
70342
  _c(
70341
70343
  "div",
70342
70344
  { staticClass: "es-simplicitytop-menu-children" },
70343
- [
70344
- _vm._l(_vm.myRemind, function (child, i) {
70345
- return [
70346
- child.hasPermission
70345
+ _vm._l(_vm.myRemindMenu, function (child, i) {
70346
+ return _c(
70347
+ "div",
70348
+ {
70349
+ key: i,
70350
+ staticClass: "es-simplicitytop-menu-children-item",
70351
+ on: {
70352
+ click: function ($event) {
70353
+ _vm.remindSelect(child)
70354
+ },
70355
+ },
70356
+ },
70357
+ [
70358
+ _c(
70359
+ "div",
70360
+ { staticClass: "es-simplicitytop-menu-children-icon" },
70361
+ [
70362
+ _c("i", {
70363
+ class: child.icons
70364
+ ? child.icons
70365
+ : "es-icon-application",
70366
+ }),
70367
+ ]
70368
+ ),
70369
+ _c(
70370
+ "div",
70371
+ { staticClass: "es-simplicitytop-menu-children-name" },
70372
+ [
70373
+ _vm._v(
70374
+ "\n " +
70375
+ _vm._s(child.text || child.name) +
70376
+ "\n "
70377
+ ),
70378
+ ]
70379
+ ),
70380
+ child.num
70347
70381
  ? _c(
70382
+ "div",
70383
+ {
70384
+ staticClass:
70385
+ "es-simplicitytop-menu-children-badge",
70386
+ },
70387
+ [
70388
+ _vm._v(
70389
+ "\n " +
70390
+ _vm._s(child.num) +
70391
+ "\n "
70392
+ ),
70393
+ ]
70394
+ )
70395
+ : _vm._e(),
70396
+ ]
70397
+ )
70398
+ }),
70399
+ 0
70400
+ ),
70401
+ ]
70402
+ ),
70403
+ _vm.myShortcut.length > 0
70404
+ ? _c(
70405
+ "div",
70406
+ { staticClass: "es-simplicitytop-menu-item" },
70407
+ [
70408
+ _vm._m(0),
70409
+ _c(
70410
+ "el-scrollbar",
70411
+ { staticStyle: { height: "calc(100% - 45px)" } },
70412
+ [
70413
+ _c(
70414
+ "div",
70415
+ { staticClass: "es-simplicitytop-menu-children" },
70416
+ _vm._l(_vm.myShortcut, function (child, i) {
70417
+ return _c(
70348
70418
  "div",
70349
70419
  {
70350
70420
  key: i,
@@ -70352,7 +70422,7 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70352
70422
  "es-simplicitytop-menu-children-item",
70353
70423
  on: {
70354
70424
  click: function ($event) {
70355
- _vm.handleSelect(child)
70425
+ _vm.remindSelect(child)
70356
70426
  },
70357
70427
  },
70358
70428
  },
@@ -70363,7 +70433,13 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70363
70433
  staticClass:
70364
70434
  "es-simplicitytop-menu-children-icon",
70365
70435
  },
70366
- [_c("i", { class: child.icon })]
70436
+ [
70437
+ _c("i", {
70438
+ class: child.icons
70439
+ ? child.icons
70440
+ : "es-icon-application",
70441
+ }),
70442
+ ]
70367
70443
  ),
70368
70444
  _c(
70369
70445
  "div",
@@ -70374,96 +70450,13 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70374
70450
  [
70375
70451
  _vm._v(
70376
70452
  "\n " +
70377
- _vm._s(child.text || child.name) +
70453
+ _vm._s(child.text) +
70378
70454
  "\n "
70379
70455
  ),
70380
70456
  ]
70381
70457
  ),
70382
- child.badge && child.num
70383
- ? _c(
70384
- "div",
70385
- {
70386
- staticClass:
70387
- "es-simplicitytop-menu-children-badge",
70388
- },
70389
- [
70390
- _vm._v(
70391
- "\n " +
70392
- _vm._s(child.num) +
70393
- "\n "
70394
- ),
70395
- ]
70396
- )
70397
- : _vm._e(),
70398
70458
  ]
70399
70459
  )
70400
- : _vm._e(),
70401
- ]
70402
- }),
70403
- ],
70404
- 2
70405
- ),
70406
- ]
70407
- ),
70408
- _vm.userCommonMenuList.length > 0
70409
- ? _c(
70410
- "div",
70411
- { staticClass: "es-simplicitytop-menu-item" },
70412
- [
70413
- _vm._m(0),
70414
- _c(
70415
- "el-scrollbar",
70416
- { staticStyle: { height: "calc(100% - 45px)" } },
70417
- [
70418
- _c(
70419
- "div",
70420
- { staticClass: "es-simplicitytop-menu-children" },
70421
- _vm._l(_vm.userCommonMenuList, function (child, i) {
70422
- return child.hasPermission
70423
- ? _c(
70424
- "div",
70425
- {
70426
- key: i,
70427
- staticClass:
70428
- "es-simplicitytop-menu-children-item",
70429
- on: {
70430
- click: function ($event) {
70431
- _vm.handleSelect(child)
70432
- },
70433
- },
70434
- },
70435
- [
70436
- _c(
70437
- "div",
70438
- {
70439
- staticClass:
70440
- "es-simplicitytop-menu-children-icon",
70441
- },
70442
- [
70443
- _c("i", {
70444
- class: child.icons
70445
- ? child.icons
70446
- : "es-icon-application",
70447
- }),
70448
- ]
70449
- ),
70450
- _c(
70451
- "div",
70452
- {
70453
- staticClass:
70454
- "es-simplicitytop-menu-children-name",
70455
- },
70456
- [
70457
- _vm._v(
70458
- "\n " +
70459
- _vm._s(child.text) +
70460
- "\n "
70461
- ),
70462
- ]
70463
- ),
70464
- ]
70465
- )
70466
- : _vm._e()
70467
70460
  }),
70468
70461
  0
70469
70462
  ),
@@ -70604,24 +70597,6 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70604
70597
  },
70605
70598
  })
70606
70599
  : _vm._e(),
70607
- _c("apps", {
70608
- attrs: {
70609
- visible: _vm.showApps,
70610
- "menu-icon": _vm.menuIcon,
70611
- color: _vm.appColor,
70612
- backgroundColor: _vm.appBackgroundColor,
70613
- applications: _vm.applications,
70614
- business: _vm.business,
70615
- systems: _vm.systems,
70616
- user: _vm.user,
70617
- },
70618
- on: {
70619
- "update:visible": function ($event) {
70620
- _vm.showApps = $event
70621
- },
70622
- click: _vm.handlerClickApps,
70623
- },
70624
- }),
70625
70600
  _c(
70626
70601
  "el-drawer",
70627
70602
  {
@@ -70790,7 +70765,7 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render = function ()
70790
70765
  1
70791
70766
  )
70792
70767
  }
70793
- var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_staticRenderFns = [
70768
+ var simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns = [
70794
70769
  function () {
70795
70770
  var _vm = this
70796
70771
  var _h = _vm.$createElement
@@ -70802,10 +70777,10 @@ var simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_staticRenderFns = [
70802
70777
  ])
70803
70778
  },
70804
70779
  ]
70805
- simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render._withStripped = true
70780
+ simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render._withStripped = true
70806
70781
 
70807
70782
 
70808
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=4a8a8fcc&scoped=true&
70783
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/index.vue?vue&type=template&id=06dd3ec1&scoped=true&
70809
70784
 
70810
70785
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/avatar.vue?vue&type=template&id=30391b69&scoped=true&
70811
70786
  var avatarvue_type_template_id_30391b69_scoped_true_render = function () {
@@ -70956,8 +70931,8 @@ var simplicityTop_avatar_component = normalizeComponent(
70956
70931
  )
70957
70932
 
70958
70933
  /* harmony default export */ var simplicityTop_avatar = (simplicityTop_avatar_component.exports);
70959
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=63cde61d&scoped=true&
70960
- var handlervue_type_template_id_63cde61d_scoped_true_render = function () {
70934
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
70935
+ var handlervue_type_template_id_6434fb72_scoped_true_render = function () {
70961
70936
  var _vm = this
70962
70937
  var _h = _vm.$createElement
70963
70938
  var _c = _vm._self._c || _h
@@ -71058,11 +71033,11 @@ var handlervue_type_template_id_63cde61d_scoped_true_render = function () {
71058
71033
  2
71059
71034
  )
71060
71035
  }
71061
- var handlervue_type_template_id_63cde61d_scoped_true_staticRenderFns = []
71062
- handlervue_type_template_id_63cde61d_scoped_true_render._withStripped = true
71036
+ var handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns = []
71037
+ handlervue_type_template_id_6434fb72_scoped_true_render._withStripped = true
71063
71038
 
71064
71039
 
71065
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=63cde61d&scoped=true&
71040
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=template&id=6434fb72&scoped=true&
71066
71041
 
71067
71042
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71068
71043
  var simplicityTop_handlervue_type_script_lang_js_data;
@@ -71121,1747 +71096,152 @@ var simplicityTop_handlervue_type_script_lang_js_data;
71121
71096
 
71122
71097
 
71123
71098
 
71124
- /* harmony default export */ var simplicityTop_handlervue_type_script_lang_js_ = ({
71125
- name: 'Handler',
71126
- components: {},
71127
- props: {
71128
- data: {
71129
- type: Array,
71130
- default: function _default() {
71131
- return [];
71132
- }
71133
- },
71134
- nums: {
71135
- type: Object,
71136
- default: function _default() {
71137
- return {};
71138
- }
71139
- },
71140
- showTitleType: {
71141
- type: String,
71142
- default: 'tooltip',
71143
- validator: function validator(val) {
71144
- return val === 'text' || val === 'tooltip';
71145
- }
71146
- },
71147
- user: {
71148
- type: Object,
71149
- default: function _default() {
71150
- return {};
71151
- }
71152
- }
71153
- },
71154
- data: function data() {
71155
- return {
71156
- time: '',
71157
- date: '',
71158
- timer: null,
71159
- handlers: [{
71160
- type: 'index',
71161
- icon: 'es-icon-zhuye',
71162
- text: '首页'
71163
- }, {
71164
- type: 'org'
71165
- }, {
71166
- type: 'online'
71167
- }, {
71168
- type: 'userinfo',
71169
- text: '个人资料',
71170
- icon: 'es-icon-yonghu'
71171
- }, {
71172
- type: 'set',
71173
- icon: 'es-icon-shezhi',
71174
- text: '设置'
71175
- }, {
71176
- type: 'quit',
71177
- icon: 'es-icon-tuichu',
71178
- text: '退出'
71179
- }]
71180
- };
71181
- },
71182
-
71183
- computed: {
71184
- isClick: function isClick() {
71185
- var useCaseCodes = utils_util.getStorage('useCaseCodes');
71186
- return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
71187
- }
71188
- },
71189
- watch: {
71190
- data: (simplicityTop_handlervue_type_script_lang_js_data = {
71191
- handler: 'deep',
71192
- immediate: true
71193
- }, simplicityTop_handlervue_type_script_lang_js_data['handler'] = function handler(newVal, oldVal) {}, simplicityTop_handlervue_type_script_lang_js_data)
71194
- },
71195
- created: function created() {
71196
- //this.time = util.timeCycle() + '好!';
71197
- this.date = utils_util.formatDate('', 'yyyy年M月d日');
71198
- },
71199
- mounted: function mounted() {
71200
- this.getTime();
71201
- },
71202
-
71203
- methods: {
71204
- //切换职务
71205
- handleUserSelect: function handleUserSelect(res) {
71206
- var _this = this;
71207
-
71208
- if (this.user.identityId !== res.id) {
71209
- utils_util.ajax({
71210
- method: 'post',
71211
- url: switchUserTo,
71212
- data: { userId: res.value }
71213
- }).then(function (res) {
71214
- if (res.rCode == 0) {
71215
- _this.$emit('close');
71216
- utils_util.setStorage({
71217
- type: _this.storage,
71218
- key: 'userId',
71219
- value: res.value
71220
- });
71221
- utils_util.removeStorage(['mainConfig', 'jump']);
71222
- _this.$message({
71223
- message: res.msg,
71224
- type: 'success',
71225
- duration: 500,
71226
- onClose: function onClose() {
71227
- if (utils_util.win.location.href.indexOf('#/main') > -1 || utils_util.win.location.href.indexOf('/main.html') > -1) {
71228
- location.reload();
71229
- } else {
71230
- _this.$router.replace('/main');
71231
- }
71232
- }
71233
- });
71234
- } else {
71235
- _this.$message({
71236
- message: res.msg || '系统错误,请联系管理员!',
71237
- type: 'error'
71238
- });
71239
- }
71240
- }).catch(function (err) {
71241
- if (err.message && err.message !== 'canceled') {
71242
- _this.$message.error(err.message);
71243
- }
71244
- });
71245
- }
71246
- },
71247
- getTime: function getTime() {
71248
- var _this2 = this;
71249
-
71250
- this.timer && clearInterval(this.timer);
71251
- this.timer = setInterval(function () {
71252
- _this2.time = utils_util.formatDate('', 'HH:mm:ss');
71253
- });
71254
- },
71255
- handleClick: function handleClick(res) {
71256
- this.$emit('click', res);
71257
- }
71258
- },
71259
- beforeDestroy: function beforeDestroy() {
71260
- clearInterval(this.timer);
71261
- }
71262
- });
71263
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71264
- /* harmony default export */ var src_simplicityTop_handlervue_type_script_lang_js_ = (simplicityTop_handlervue_type_script_lang_js_);
71265
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue
71266
-
71267
-
71268
-
71269
-
71270
-
71271
- /* normalize component */
71272
-
71273
- var simplicityTop_handler_component = normalizeComponent(
71274
- src_simplicityTop_handlervue_type_script_lang_js_,
71275
- handlervue_type_template_id_63cde61d_scoped_true_render,
71276
- handlervue_type_template_id_63cde61d_scoped_true_staticRenderFns,
71277
- false,
71278
- null,
71279
- "63cde61d",
71280
- null
71281
-
71282
- )
71283
-
71284
- /* harmony default export */ var simplicityTop_handler = (simplicityTop_handler_component.exports);
71285
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/sub-menu.vue?vue&type=template&id=551bd2e0&scoped=true&
71286
- var sub_menuvue_type_template_id_551bd2e0_scoped_true_render = function () {
71287
- var this$1 = this
71288
- var _vm = this
71289
- var _h = _vm.$createElement
71290
- var _c = _vm._self._c || _h
71291
- return _c(
71292
- "el-drawer",
71293
- {
71294
- staticClass: "es-simplicity-subMenus",
71295
- attrs: {
71296
- direction: "ltr",
71297
- "modal-class": "es-simplicity-apps-modal",
71298
- size: "auto",
71299
- "modal-append-to-body": false,
71300
- "close-on-press-escape": false,
71301
- modal: false,
71302
- "with-header": false,
71303
- wrapperClosable: false,
71304
- visible: _vm.show,
71305
- },
71306
- on: {
71307
- "update:visible": function ($event) {
71308
- _vm.show = $event
71309
- },
71310
- },
71311
- },
71312
- [
71313
- _c(
71314
- "div",
71315
- {
71316
- staticClass: "es-simplicity-menus",
71317
- class: { "es-simplicity-menus-plus": _vm.mode == "plus" },
71318
- },
71319
- [
71320
- _c(
71321
- "div",
71322
- {
71323
- staticClass: "es-simplicity-menus-box",
71324
- style: { width: _vm.width + "px" },
71325
- },
71326
- [
71327
- _c(
71328
- "div",
71329
- { staticClass: "es-simplicity-menus-title" },
71330
- [
71331
- _c(
71332
- "el-tooltip",
71333
- {
71334
- staticClass: "item",
71335
- attrs: {
71336
- effect: "dark",
71337
- placement: "right",
71338
- content: _vm.title || _vm.text,
71339
- auto: true,
71340
- },
71341
- },
71342
- [
71343
- !_vm.fold
71344
- ? _c(
71345
- "span",
71346
- { staticClass: "es-simplicity-menus-title-text" },
71347
- [_vm._v(_vm._s(_vm.title || _vm.text))]
71348
- )
71349
- : _vm._e(),
71350
- ]
71351
- ),
71352
- _c("i", {
71353
- directives: [
71354
- {
71355
- name: "show",
71356
- rawName: "v-show",
71357
- value: !_vm.fold,
71358
- expression: "!fold",
71359
- },
71360
- ],
71361
- staticClass:
71362
- "es-icon-shouqi es-simplicity-menus-title-icon",
71363
- on: {
71364
- click: function ($event) {
71365
- _vm.handleFold(true)
71366
- },
71367
- },
71368
- }),
71369
- _c("i", {
71370
- directives: [
71371
- {
71372
- name: "show",
71373
- rawName: "v-show",
71374
- value: _vm.fold,
71375
- expression: "fold",
71376
- },
71377
- ],
71378
- staticClass:
71379
- "es-icon-zhankai es-simplicity-menus-title-icon",
71380
- on: {
71381
- click: function ($event) {
71382
- _vm.handleFold(false)
71383
- },
71384
- },
71385
- }),
71386
- ],
71387
- 1
71388
- ),
71389
- _vm.collapse
71390
- ? _c(
71391
- "div",
71392
- { staticClass: "es-simplicity-menus-scrollbar" },
71393
- [
71394
- _c("es-menu", {
71395
- attrs: {
71396
- popperClass: "es-simplicity_menus",
71397
- "menu-class": _vm.fold
71398
- ? "es-simplicity_menus es-simplicity_menus-fold"
71399
- : "es-simplicity_menus",
71400
- fourthTabs: true,
71401
- data: _vm.menus,
71402
- menuIcon: _vm.menuIcon,
71403
- color: _vm.color,
71404
- backgroundColor: _vm.backgroundColor,
71405
- "show-title": false,
71406
- collapse: _vm.fold,
71407
- },
71408
- on: { select: _vm.handleSelect },
71409
- }),
71410
- ],
71411
- 1
71412
- )
71413
- : _c("menu-list", {
71414
- attrs: {
71415
- active: _vm.actives[0],
71416
- data: _vm.menus,
71417
- menuIcon: _vm.menuIcon,
71418
- color: _vm.color,
71419
- backgroundColor: _vm.backgroundColor,
71420
- fold: _vm.fold,
71421
- width: _vm.size,
71422
- },
71423
- on: {
71424
- menter: function (res) {
71425
- this$1.getData(res, 0, true)
71426
- },
71427
- mleave: function (res) {
71428
- this$1.getData(res, 0, false)
71429
- },
71430
- hover: _vm.handleHover,
71431
- command: _vm.handleCommand,
71432
- },
71433
- }),
71434
- ],
71435
- 1
71436
- ),
71437
- _c(
71438
- "div",
71439
- {
71440
- directives: [
71441
- {
71442
- name: "show",
71443
- rawName: "v-show",
71444
- value: _vm.subMenus.length,
71445
- expression: "subMenus.length",
71446
- },
71447
- ],
71448
- staticClass: "es-simplicity-menus-view",
71449
- on: { mouseleave: _vm.handleLeave, mouseenter: _vm.handleEnter },
71450
- },
71451
- _vm._l(_vm.subMenus, function (item, index) {
71452
- return _c(
71453
- "div",
71454
- { key: item.id, staticClass: "es-simplicity-menus-box" },
71455
- [
71456
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
71457
- _c(
71458
- "span",
71459
- { staticClass: "es-simplicity-menus-title-text" },
71460
- [_vm._v(_vm._s(item.name || item.text || item.title))]
71461
- ),
71462
- ]),
71463
- _c("menu-list", {
71464
- attrs: {
71465
- active: _vm.actives[index + 1],
71466
- data: item.children.concat(item.fourthTabs),
71467
- menuIcon: _vm.menuIcon,
71468
- color: _vm.color,
71469
- backgroundColor: _vm.backgroundColor,
71470
- width: _vm.size,
71471
- },
71472
- on: {
71473
- menter: function (res) {
71474
- _vm.getData(res, index + 1, true)
71475
- },
71476
- mleave: function (res) {
71477
- _vm.getData(res, index + 1, false)
71478
- },
71479
- command: _vm.handleCommand,
71480
- },
71481
- }),
71482
- ],
71483
- 1
71484
- )
71485
- }),
71486
- 0
71487
- ),
71488
- ]
71489
- ),
71490
- ]
71491
- )
71492
- }
71493
- var sub_menuvue_type_template_id_551bd2e0_scoped_true_staticRenderFns = []
71494
- sub_menuvue_type_template_id_551bd2e0_scoped_true_render._withStripped = true
71495
-
71496
-
71497
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/sub-menu.vue?vue&type=template&id=551bd2e0&scoped=true&
71498
-
71499
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/menu-list.vue?vue&type=template&id=29e56eef&scoped=true&
71500
- var menu_listvue_type_template_id_29e56eef_scoped_true_render = function () {
71501
- var _vm = this
71502
- var _h = _vm.$createElement
71503
- var _c = _vm._self._c || _h
71504
- return _c("el-scrollbar", { staticClass: "es-simplicity-menus-scrollbar" }, [
71505
- _c(
71506
- "div",
71507
- {
71508
- staticClass: "es-simplicity-menus-lists",
71509
- class: { "is-fold": _vm.fold },
71510
- on: {
71511
- mouseleave: function ($event) {
71512
- _vm.handleOut(true)
71513
- },
71514
- mouseenter: function ($event) {
71515
- _vm.handleOut(false)
71516
- },
71517
- },
71518
- },
71519
- _vm._l(_vm.data, function (item, index) {
71520
- return _c(
71521
- "div",
71522
- {
71523
- key: item.id,
71524
- staticClass: "es-simplicity-menus-item",
71525
- class: { "is-fold": _vm.fold, "is-active": _vm.active == item.id },
71526
- attrs: { title: _vm.fold ? item.text || item.name : "" },
71527
- on: {
71528
- click: function ($event) {
71529
- _vm.handleClick(item)
71530
- },
71531
- mouseenter: function ($event) {
71532
- _vm.handleEnter(item)
71533
- },
71534
- mouseleave: function ($event) {
71535
- _vm.handleLeave(item)
71536
- },
71537
- },
71538
- },
71539
- [
71540
- _vm.fold
71541
- ? [
71542
- _c(
71543
- "el-badge",
71544
- { attrs: { "is-dot": "", hidden: !item.tips } },
71545
- [
71546
- _c("es-icon", {
71547
- staticClass: "es-simplicity_apps-icon",
71548
- style: _vm.setStyle(index),
71549
- attrs: {
71550
- contents: item.icons || item.icon || _vm.menuIcon,
71551
- },
71552
- }),
71553
- ],
71554
- 1
71555
- ),
71556
- ]
71557
- : [
71558
- _c("es-icon", {
71559
- staticClass: "es-simplicity_apps-icon",
71560
- style: _vm.setStyle(index),
71561
- attrs: {
71562
- contents: item.icons || item.icon || _vm.menuIcon,
71563
- },
71564
- }),
71565
- item.tips
71566
- ? _c("div", { staticClass: "es-simplicity-menus-tips" }, [
71567
- _vm._v(
71568
- "\n " +
71569
- _vm._s(item.tips > 99 ? "99+" : item.tips) +
71570
- "\n "
71571
- ),
71572
- ])
71573
- : _vm._e(),
71574
- ],
71575
- _c(
71576
- "div",
71577
- {
71578
- directives: [
71579
- {
71580
- name: "show",
71581
- rawName: "v-show",
71582
- value: !_vm.fold,
71583
- expression: "!fold",
71584
- },
71585
- ],
71586
- staticClass: "es-simplicity_apps-text",
71587
- },
71588
- [
71589
- _vm._v(
71590
- "\n " + _vm._s(item.text || item.name) + "\n "
71591
- ),
71592
- ]
71593
- ),
71594
- _c("i", {
71595
- directives: [
71596
- {
71597
- name: "show",
71598
- rawName: "v-show",
71599
- value:
71600
- (item.children && item.children.length) ||
71601
- (item.fourthTabs && item.fourthTabs.length),
71602
- expression:
71603
- "\n (item.children && item.children.length) ||\n (item.fourthTabs && item.fourthTabs.length)\n ",
71604
- },
71605
- ],
71606
- staticClass: "es-icon-you es-simplicity-menus-item-icon",
71607
- }),
71608
- ],
71609
- 2
71610
- )
71611
- }),
71612
- 0
71613
- ),
71614
- ])
71615
- }
71616
- var menu_listvue_type_template_id_29e56eef_scoped_true_staticRenderFns = []
71617
- menu_listvue_type_template_id_29e56eef_scoped_true_render._withStripped = true
71618
-
71619
-
71620
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/menu-list.vue?vue&type=template&id=29e56eef&scoped=true&
71621
-
71622
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/menu-list.vue?vue&type=script&lang=js&
71623
- //
71624
- //
71625
- //
71626
- //
71627
- //
71628
- //
71629
- //
71630
- //
71631
- //
71632
- //
71633
- //
71634
- //
71635
- //
71636
- //
71637
- //
71638
- //
71639
- //
71640
- //
71641
- //
71642
- //
71643
- //
71644
- //
71645
- //
71646
- //
71647
- //
71648
- //
71649
- //
71650
- //
71651
- //
71652
- //
71653
- //
71654
- //
71655
- //
71656
- //
71657
- //
71658
- //
71659
- //
71660
- //
71661
- //
71662
- //
71663
- //
71664
- //
71665
- //
71666
- //
71667
- //
71668
- //
71669
- //
71670
- //
71671
- //
71672
- //
71673
- //
71674
- //
71675
-
71676
-
71677
- /* harmony default export */ var simplicityTop_menu_listvue_type_script_lang_js_ = ({
71678
- name: 'MenuList',
71679
- components: {},
71680
- props: {
71681
- active: String,
71682
- menuIcon: String,
71683
- color: [String, Array],
71684
- backgroundColor: [String, Array],
71685
- data: Array,
71686
- fold: Boolean,
71687
- width: Number,
71688
- popover: Boolean,
71689
- parent: Object
71690
- },
71691
- data: function data() {
71692
- return {
71693
- defaultActive: this.active,
71694
- show: false,
71695
- height: document.body.offsetHeight - 44
71696
- };
71697
- },
71698
-
71699
- computed: {},
71700
- watch: {
71701
- popover: function popover() {
71702
- if (this.$el.offsetHeight > this.height) {
71703
- this.$el.style.height = this.height + 'px';
71704
- } else {
71705
- this.$el.style.height = '';
71706
- }
71707
- }
71708
- },
71709
- created: function created() {},
71710
- mounted: function mounted() {},
71711
-
71712
- methods: {
71713
- setStyle: function setStyle(num) {
71714
- var obj = {};
71715
- if (this.color) {
71716
- obj.color = this.color;
71717
- if (Array.isArray(this.color)) {
71718
- obj.color = this.color[num % this.color.length];
71719
- } else {
71720
- obj.color = this.color;
71721
- }
71722
- }
71723
- if (this.backgroundColor) {
71724
- if (Array.isArray(this.backgroundColor)) {
71725
- obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
71726
- } else {
71727
- obj.backgroundColor = this.backgroundColor;
71728
- }
71729
- }
71730
- return obj;
71731
- },
71732
- handleClick: function handleClick(res) {
71733
- this.defaultActive = res.id;
71734
- if (res.url) {
71735
- if (res.urlopenmode == 1) {
71736
- utils_util.win.open(res.url);
71737
- return;
71738
- } else if (res.urlopenmode == 2) {
71739
- utils_util.win.open(res.url, '_self');
71740
- return;
71741
- }
71742
- this.$emit('command', res);
71743
- }
71744
- },
71745
- handleEnter: function handleEnter(res) {
71746
- this.$emit('menter', res);
71747
- },
71748
- handleLeave: function handleLeave(res) {
71749
- this.$emit('mleave', res);
71750
- },
71751
- handleOut: function handleOut(res) {
71752
- this.$emit('mout', res);
71753
- }
71754
- }
71755
- });
71756
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/menu-list.vue?vue&type=script&lang=js&
71757
- /* harmony default export */ var src_simplicityTop_menu_listvue_type_script_lang_js_ = (simplicityTop_menu_listvue_type_script_lang_js_);
71758
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/menu-list.vue
71759
-
71760
-
71761
-
71762
-
71763
-
71764
- /* normalize component */
71765
-
71766
- var simplicityTop_menu_list_component = normalizeComponent(
71767
- src_simplicityTop_menu_listvue_type_script_lang_js_,
71768
- menu_listvue_type_template_id_29e56eef_scoped_true_render,
71769
- menu_listvue_type_template_id_29e56eef_scoped_true_staticRenderFns,
71770
- false,
71771
- null,
71772
- "29e56eef",
71773
- null
71774
-
71775
- )
71776
-
71777
- /* harmony default export */ var simplicityTop_menu_list = (simplicityTop_menu_list_component.exports);
71778
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/sub-menu.vue?vue&type=script&lang=js&
71779
- //
71780
- //
71781
- //
71782
- //
71783
- //
71784
- //
71785
- //
71786
- //
71787
- //
71788
- //
71789
- //
71790
- //
71791
- //
71792
- //
71793
- //
71794
- //
71795
- //
71796
- //
71797
- //
71798
- //
71799
- //
71800
- //
71801
- //
71802
- //
71803
- //
71804
- //
71805
- //
71806
- //
71807
- //
71808
- //
71809
- //
71810
- //
71811
- //
71812
- //
71813
- //
71814
- //
71815
- //
71816
- //
71817
- //
71818
- //
71819
- //
71820
- //
71821
- //
71822
- //
71823
- //
71824
- //
71825
- //
71826
- //
71827
- //
71828
- //
71829
- //
71830
- //
71831
- //
71832
- //
71833
- //
71834
- //
71835
- //
71836
- //
71837
- //
71838
- //
71839
- //
71840
- //
71841
- //
71842
- //
71843
- //
71844
- //
71845
- //
71846
- //
71847
- //
71848
- //
71849
- //
71850
- //
71851
- //
71852
- //
71853
- //
71854
- //
71855
- //
71856
- //
71857
- //
71858
- //
71859
- //
71860
- //
71861
- //
71862
- //
71863
- //
71864
- //
71865
- //
71866
- //
71867
- //
71868
- //
71869
- //
71870
- //
71871
- //
71872
- //
71873
- //
71874
- //
71875
- //
71876
- //
71877
- //
71878
- //
71879
- //
71880
- //
71881
- //
71882
- //
71883
- //
71884
- //
71885
- //
71886
- //
71887
- //
71888
- //
71889
- //
71890
- //
71891
- //
71892
- //
71893
- //
71894
- //
71895
- //
71896
- //
71897
- //
71898
- //
71899
- //
71900
- //
71901
- //
71902
-
71903
-
71904
- /* harmony default export */ var simplicityTop_sub_menuvue_type_script_lang_js_ = ({
71905
- name: 'SubMenu',
71906
- components: { MenuList: simplicityTop_menu_list },
71907
- props: {
71908
- mode: String,
71909
- collapse: Boolean,
71910
- title: String,
71911
- closed: Boolean,
71912
- color: {
71913
- type: [String, Array],
71914
- default: '#fff'
71915
- },
71916
- backgroundColor: {
71917
- type: [String, Array],
71918
- default: function _default() {
71919
- return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
71920
- }
71921
- },
71922
- size: {
71923
- type: Number,
71924
- default: 220
71925
- },
71926
- visible: Boolean,
71927
- text: String,
71928
- menuIcon: String,
71929
- children: {
71930
- type: Array,
71931
- default: function _default() {
71932
- return [];
71933
- }
71934
- },
71935
- fourthTabs: {
71936
- type: Array,
71937
- default: function _default() {
71938
- return [];
71939
- }
71940
- }
71941
- },
71942
- data: function data() {
71943
- return {
71944
- fold: this.closed,
71945
- width: this.size,
71946
- subMenus: [],
71947
- isEnter: false,
71948
- timer: null,
71949
- actives: []
71950
- };
71951
- },
71952
-
71953
- computed: {
71954
- menus: function menus() {
71955
- return [].concat(this.children, this.fourthTabs);
71956
- },
71957
-
71958
- show: {
71959
- get: function get() {
71960
- return this.visible;
71961
- },
71962
- set: function set(val) {
71963
- this.$emit('update:visible', val);
71964
- return val;
71965
- }
71966
- }
71967
- },
71968
- watch: {
71969
- closed: function closed(val) {
71970
- this.fold = val;
71971
- if (val) {
71972
- this.width = 48;
71973
- } else {
71974
- this.width = this.size;
71975
- }
71976
- },
71977
- visible: function visible(val) {
71978
- val === false && (this.actives = []);
71979
- }
71980
- },
71981
- created: function created() {},
71982
- mounted: function mounted() {},
71983
-
71984
- methods: {
71985
- handleFold: function handleFold(res) {
71986
- this.fold = res;
71987
- if (res) {
71988
- this.width = 48;
71989
- } else {
71990
- this.width = this.size;
71991
- }
71992
- this.$emit('update:closed', res);
71993
- },
71994
- handleCommand: function handleCommand(res) {
71995
- this.$emit('command', res);
71996
- },
71997
- handleSelect: function handleSelect(res) {
71998
- this.$emit('command', res.node);
71999
- },
72000
- getData: function getData(res, n, is) {
72001
- var _this = this;
72002
-
72003
- this.isEnter = is;
72004
- if (is) {
72005
- this.actives.splice(n);
72006
- if (this.actives[n]) {
72007
- this.actives[n] = res.id;
72008
- } else {
72009
- this.actives.push(res.id);
72010
- }
72011
- this.subMenus.splice(n);
72012
- var children = res.children,
72013
- fourthTabs = res.fourthTabs;
72014
-
72015
- if (children && children.length || fourthTabs && fourthTabs.length) {
72016
- this.subMenus = this.subMenus.concat(res);
72017
- }
72018
- } else {
72019
- if (n == 0) {
72020
- clearTimeout(this.timer);
72021
- this.timer = setTimeout(function () {
72022
- if (res && !_this.isEnter) {
72023
- _this.subMenus = [];
72024
- _this.actives = [];
72025
- }
72026
- }, 300);
72027
- }
72028
- }
72029
- },
72030
- handleHover: function handleHover(res) {
72031
- this.isEnter = res;
72032
- //if(this)
72033
- },
72034
- clearSubmenu: function clearSubmenu() {
72035
- this.$refs.menus.clearActive();
72036
- this.subMenus = [];
72037
- },
72038
- handleLeave: function handleLeave() {
72039
- this.subMenus = [];
72040
- this.actives = [];
72041
- },
72042
- handleEnter: function handleEnter() {
72043
- this.isEnter = true;
72044
- }
72045
- }
72046
- });
72047
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/sub-menu.vue?vue&type=script&lang=js&
72048
- /* harmony default export */ var src_simplicityTop_sub_menuvue_type_script_lang_js_ = (simplicityTop_sub_menuvue_type_script_lang_js_);
72049
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/sub-menu.vue
72050
-
72051
-
72052
-
72053
-
72054
-
72055
- /* normalize component */
72056
-
72057
- var simplicityTop_sub_menu_component = normalizeComponent(
72058
- src_simplicityTop_sub_menuvue_type_script_lang_js_,
72059
- sub_menuvue_type_template_id_551bd2e0_scoped_true_render,
72060
- sub_menuvue_type_template_id_551bd2e0_scoped_true_staticRenderFns,
72061
- false,
72062
- null,
72063
- "551bd2e0",
72064
- null
72065
-
72066
- )
72067
-
72068
- /* harmony default export */ var simplicityTop_sub_menu = (simplicityTop_sub_menu_component.exports);
72069
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/apps.vue?vue&type=template&id=08547d6a&scoped=true&
72070
- var appsvue_type_template_id_08547d6a_scoped_true_render = function () {
72071
- var this$1 = this
72072
- var _vm = this
72073
- var _h = _vm.$createElement
72074
- var _c = _vm._self._c || _h
72075
- return _c(
72076
- "el-drawer",
72077
- {
72078
- staticClass: "es-simplicity-apps",
72079
- attrs: {
72080
- direction: "ltr",
72081
- "modal-class": "es-simplicity-apps-modal",
72082
- size: "90%",
72083
- "modal-append-to-body": false,
72084
- "with-header": false,
72085
- visible: _vm.show,
72086
- },
72087
- on: {
72088
- "update:visible": function ($event) {
72089
- _vm.show = $event
72090
- },
72091
- },
72092
- },
72093
- [
72094
- _c("div", { staticClass: "es-simplicity_apps" }, [
72095
- _c(
72096
- "div",
72097
- { staticClass: "es-simplicity_apps-all" },
72098
- [
72099
- _c(
72100
- "div",
72101
- { staticClass: "es-simplicity_apps-title" },
72102
- [
72103
- _vm._v("\n 所有业务系统\n "),
72104
- _c("el-input", {
72105
- staticClass: "es-simplicity_apps-search",
72106
- attrs: {
72107
- size: "medium",
72108
- placeholder: "请输入关键字",
72109
- "prefix-icon": "el-icon-search",
72110
- },
72111
- model: {
72112
- value: _vm.value,
72113
- callback: function ($$v) {
72114
- _vm.value = $$v
72115
- },
72116
- expression: "value",
72117
- },
72118
- }),
72119
- ],
72120
- 1
72121
- ),
72122
- _c(
72123
- "div",
72124
- {
72125
- staticClass: "es-simplicity_apps-box",
72126
- on: { mousewheel: _vm.handleWheel },
72127
- },
72128
- [
72129
- _c(
72130
- "ul",
72131
- { staticClass: "es-simplicity_apps-list" },
72132
- _vm._l(_vm._applications, function (item) {
72133
- return _c(
72134
- "li",
72135
- {
72136
- key: item.id,
72137
- staticClass: "es-simplicity_apps-list-item",
72138
- },
72139
- [
72140
- _c(
72141
- "div",
72142
- {
72143
- staticClass: "es-simplicity_apps-list-content",
72144
- class: {
72145
- "es-simplicity_apps-disabled": !item.permission,
72146
- },
72147
- on: {
72148
- click: function ($event) {
72149
- _vm.handleClick(item)
72150
- },
72151
- },
72152
- },
72153
- [
72154
- _c(
72155
- "el-badge",
72156
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
72157
- [
72158
- _c("es-icon", {
72159
- staticClass: "es-simplicity_apps-icon",
72160
- attrs: {
72161
- contents:
72162
- item.icons || item.icon || _vm.menuIcon,
72163
- },
72164
- }),
72165
- ],
72166
- 1
72167
- ),
72168
- _c(
72169
- "div",
72170
- { staticClass: "es-simplicity_apps-text" },
72171
- [
72172
- _vm._v(
72173
- "\n " +
72174
- _vm._s(item.text || item.name) +
72175
- "\n "
72176
- ),
72177
- ]
72178
- ),
72179
- _c(
72180
- "div",
72181
- { staticClass: "es-simplicity_apps-hover" },
72182
- [
72183
- _c("es-icon", {
72184
- staticClass: "es-simplicity_apps-icon",
72185
- attrs: {
72186
- contents: item.permission
72187
- ? "es-icon-solid-you"
72188
- : "es-icon-mima",
72189
- },
72190
- }),
72191
- _c(
72192
- "div",
72193
- { staticClass: "es-simplicity_apps-text" },
72194
- [
72195
- _vm._v(
72196
- "\n " +
72197
- _vm._s(
72198
- item.permission
72199
- ? "进入系统"
72200
- : "暂无权限"
72201
- ) +
72202
- "\n "
72203
- ),
72204
- ]
72205
- ),
72206
- ],
72207
- 1
72208
- ),
72209
- ],
72210
- 1
72211
- ),
72212
- ]
72213
- )
72214
- }),
72215
- 0
72216
- ),
72217
- ]
72218
- ),
72219
- _c("el-pagination", {
72220
- staticClass: "es-simplicity_apps-pagination",
72221
- attrs: {
72222
- background: "",
72223
- layout: "total,prev, pager, next",
72224
- "total-text": "共 {total} 个业务系统",
72225
- "page-size": _vm.appSize,
72226
- total: _vm.apps.length,
72227
- "current-page": _vm.appNum,
72228
- },
72229
- on: {
72230
- "update:currentPage": function ($event) {
72231
- _vm.appNum = $event
72232
- },
72233
- "current-change": function (res) {
72234
- this$1.handleChange(res, 0)
72235
- },
72236
- },
72237
- }),
72238
- ],
72239
- 1
72240
- ),
72241
- _c("div", { staticClass: "es-simplicity_apps-other" }, [
72242
- _c(
72243
- "div",
72244
- { staticClass: "es-simplicity_apps-business" },
72245
- [
72246
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
72247
- _vm._v("专项业务系统"),
72248
- ]),
72249
- _c(
72250
- "ul",
72251
- { staticClass: "es-simplicity_apps-list" },
72252
- _vm._l(_vm._business, function (item, index) {
72253
- return _c(
72254
- "li",
72255
- {
72256
- key: item.id,
72257
- staticClass: "es-simplicity_apps-list-item",
72258
- },
72259
- [
72260
- _c(
72261
- "div",
72262
- {
72263
- staticClass: "es-simplicity_apps-list-content",
72264
- class: {
72265
- "es-simplicity_apps-disabled": !item.permission,
72266
- },
72267
- on: {
72268
- click: function ($event) {
72269
- _vm.handleClick(item)
72270
- },
72271
- },
72272
- },
72273
- [
72274
- _c("es-icon", {
72275
- staticClass: "es-simplicity_app-icon",
72276
- style: _vm.setStyle(index),
72277
- attrs: {
72278
- contents: item.icons || item.icon || _vm.menuIcon,
72279
- },
72280
- }),
72281
- _c(
72282
- "el-badge",
72283
- _vm._b(
72284
- { staticClass: "es-simplicity_apps-texts" },
72285
- "el-badge",
72286
- _vm.getBadge(item),
72287
- false
72288
- ),
72289
- [
72290
- _c(
72291
- "div",
72292
- { staticClass: "es-simplicity_apps-text" },
72293
- [
72294
- _vm._v(
72295
- "\n " +
72296
- _vm._s(item.text || item.name) +
72297
- "\n "
72298
- ),
72299
- ]
72300
- ),
72301
- ]
72302
- ),
72303
- _c(
72304
- "div",
72305
- { staticClass: "es-simplicity_apps-hover" },
72306
- [
72307
- _c("es-icon", {
72308
- staticClass: "es-simplicity_apps-icon",
72309
- attrs: {
72310
- contents: item.permission
72311
- ? "es-icon-solid-you"
72312
- : "es-icon-mima",
72313
- },
72314
- }),
72315
- _c(
72316
- "div",
72317
- { staticClass: "es-simplicity_apps-text" },
72318
- [
72319
- _vm._v(
72320
- "\n " +
72321
- _vm._s(
72322
- item.permission
72323
- ? "进入系统"
72324
- : "暂无权限"
72325
- ) +
72326
- "\n "
72327
- ),
72328
- ]
72329
- ),
72330
- ],
72331
- 1
72332
- ),
72333
- ],
72334
- 1
72335
- ),
72336
- ]
72337
- )
72338
- }),
72339
- 0
72340
- ),
72341
- _c("el-pagination", {
72342
- staticClass: "es-simplicity_apps-pagination",
72343
- attrs: {
72344
- background: "",
72345
- layout: "total,prev, pager, next",
72346
- "total-text": "共 {total} 专项业务系统",
72347
- "page-size": _vm.bsSize,
72348
- total: _vm.business.length,
72349
- },
72350
- on: {
72351
- "current-change": function (res) {
72352
- this$1.handleChange(res, 1)
72353
- },
72354
- },
72355
- }),
72356
- ],
72357
- 1
72358
- ),
72359
- _c(
72360
- "div",
72361
- { staticClass: "es-simplicity_apps-systems" },
72362
- [
72363
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
72364
- _vm._v("系统设置"),
72365
- ]),
72366
- _c(
72367
- "ul",
72368
- { staticClass: "es-simplicity_apps-list" },
72369
- _vm._l(_vm._systems, function (item, index) {
72370
- return _c(
72371
- "li",
72372
- {
72373
- key: item.id,
72374
- staticClass: "es-simplicity_apps-list-item",
72375
- },
72376
- [
72377
- _c(
72378
- "div",
72379
- {
72380
- staticClass: "es-simplicity_apps-list-content",
72381
- class: {
72382
- "es-simplicity_apps-disabled": !item.permission,
72383
- },
72384
- on: {
72385
- click: function ($event) {
72386
- _vm.handleClick(item)
72387
- },
72388
- },
72389
- },
72390
- [
72391
- _c("es-icon", {
72392
- staticClass: "es-simplicity_app-icon",
72393
- style: _vm.setStyle(index),
72394
- attrs: {
72395
- contents: item.icons || item.icon || _vm.menuIcon,
72396
- },
72397
- }),
72398
- _c(
72399
- "el-badge",
72400
- _vm._b(
72401
- { staticClass: "es-simplicity_apps-texts" },
72402
- "el-badge",
72403
- _vm.getBadge(item),
72404
- false
72405
- ),
72406
- [
72407
- _c(
72408
- "div",
72409
- { staticClass: "es-simplicity_apps-text" },
72410
- [
72411
- _vm._v(
72412
- "\n " +
72413
- _vm._s(item.text || item.name) +
72414
- "\n "
72415
- ),
72416
- ]
72417
- ),
72418
- ]
72419
- ),
72420
- _c(
72421
- "div",
72422
- { staticClass: "es-simplicity_apps-hover" },
72423
- [
72424
- _c("es-icon", {
72425
- staticClass: "es-simplicity_apps-icon",
72426
- attrs: {
72427
- contents: item.permission
72428
- ? "es-icon-solid-you"
72429
- : "es-icon-mima",
72430
- },
72431
- }),
72432
- _c(
72433
- "div",
72434
- { staticClass: "es-simplicity_apps-text" },
72435
- [
72436
- _vm._v(
72437
- "\n " +
72438
- _vm._s(
72439
- item.permission
72440
- ? "进入系统"
72441
- : "暂无权限"
72442
- ) +
72443
- "\n "
72444
- ),
72445
- ]
72446
- ),
72447
- ],
72448
- 1
72449
- ),
72450
- ],
72451
- 1
72452
- ),
72453
- ]
72454
- )
72455
- }),
72456
- 0
72457
- ),
72458
- _c("el-pagination", {
72459
- staticClass: "es-simplicity_apps-pagination",
72460
- attrs: {
72461
- background: "",
72462
- layout: "total,prev, pager, next",
72463
- "total-text": "共 {total} 系统设置",
72464
- "hide-on-single-page": "",
72465
- "page-size": _vm.sysSize,
72466
- total: _vm.systems.length,
72467
- },
72468
- on: {
72469
- "current-change": function (res) {
72470
- this$1.handleChange(res, 2)
72471
- },
72472
- },
72473
- }),
72474
- ],
72475
- 1
72476
- ),
72477
- ]),
72478
- ]),
72479
- ]
72480
- )
72481
- }
72482
- var appsvue_type_template_id_08547d6a_scoped_true_staticRenderFns = []
72483
- appsvue_type_template_id_08547d6a_scoped_true_render._withStripped = true
72484
-
72485
-
72486
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/apps.vue?vue&type=template&id=08547d6a&scoped=true&
72487
-
72488
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/apps.vue?vue&type=script&lang=js&
72489
- //
72490
- //
72491
- //
72492
- //
72493
- //
72494
- //
72495
- //
72496
- //
72497
- //
72498
- //
72499
- //
72500
- //
72501
- //
72502
- //
72503
- //
72504
- //
72505
- //
72506
- //
72507
- //
72508
- //
72509
- //
72510
- //
72511
- //
72512
- //
72513
- //
72514
- //
72515
- //
72516
- //
72517
- //
72518
- //
72519
- //
72520
- //
72521
- //
72522
- //
72523
- //
72524
- //
72525
- //
72526
- //
72527
- //
72528
- //
72529
- //
72530
- //
72531
- //
72532
- //
72533
- //
72534
- //
72535
- //
72536
- //
72537
- //
72538
- //
72539
- //
72540
- //
72541
- //
72542
- //
72543
- //
72544
- //
72545
- //
72546
- //
72547
- //
72548
- //
72549
- //
72550
- //
72551
- //
72552
- //
72553
- //
72554
- //
72555
- //
72556
- //
72557
- //
72558
- //
72559
- //
72560
- //
72561
- //
72562
- //
72563
- //
72564
- //
72565
- //
72566
- //
72567
- //
72568
- //
72569
- //
72570
- //
72571
- //
72572
- //
72573
- //
72574
- //
72575
- //
72576
- //
72577
- //
72578
- //
72579
- //
72580
- //
72581
- //
72582
- //
72583
- //
72584
- //
72585
- //
72586
- //
72587
- //
72588
- //
72589
- //
72590
- //
72591
- //
72592
- //
72593
- //
72594
- //
72595
- //
72596
- //
72597
- //
72598
- //
72599
- //
72600
- //
72601
- //
72602
- //
72603
- //
72604
- //
72605
- //
72606
- //
72607
- //
72608
- //
72609
- //
72610
- //
72611
- //
72612
- //
72613
- //
72614
- //
72615
- //
72616
- //
72617
- //
72618
- //
72619
- //
72620
- //
72621
- //
72622
- //
72623
- //
72624
- //
72625
- //
72626
- //
72627
- //
72628
- //
72629
- //
72630
- //
72631
- //
72632
- //
72633
- //
72634
- //
72635
- //
72636
- //
72637
- //
72638
- //
72639
- //
72640
- //
72641
- //
72642
- //
72643
- //
72644
- //
72645
- //
72646
- //
72647
- //
72648
- //
72649
- //
72650
- //
72651
- //
72652
- //
72653
- //
72654
- //
72655
- //
72656
- //
72657
- //
72658
- //
72659
- //
72660
- //
72661
- //
72662
- //
72663
- //
72664
- //
72665
- //
72666
- //
72667
- //
72668
- //
72669
- //
72670
- //
72671
- //
72672
- //
72673
- //
72674
- //
72675
- //
72676
- //
72677
- //
72678
- //
72679
- //
72680
- //
72681
-
72682
-
72683
-
72684
-
72685
- /* harmony default export */ var simplicityTop_appsvue_type_script_lang_js_ = ({
72686
- name: 'Apps',
71099
+ /* harmony default export */ var simplicityTop_handlervue_type_script_lang_js_ = ({
71100
+ name: 'Handler',
72687
71101
  components: {},
72688
71102
  props: {
72689
- user: Object,
72690
- visible: Boolean,
72691
- //菜单、应用默认图标
72692
- menuIcon: String,
72693
- color: {
72694
- type: [String, Array],
72695
- default: '#fff'
72696
- },
72697
- backgroundColor: {
72698
- type: [String, Array],
72699
- default: function _default() {
72700
- return ['#0B3978', '#2591F7', '#69C0FF', '#E34D59', '#2591F7', '#FF9C52', '#17C27B'];
72701
- }
72702
- },
72703
- applications: {
71103
+ data: {
72704
71104
  type: Array,
72705
71105
  default: function _default() {
72706
71106
  return [];
72707
71107
  }
72708
71108
  },
72709
- //业务系统
72710
- business: {
72711
- type: Array,
71109
+ nums: {
71110
+ type: Object,
72712
71111
  default: function _default() {
72713
- return [];
71112
+ return {};
72714
71113
  }
72715
71114
  },
72716
- //系统管理
72717
- systems: {
72718
- type: Array,
71115
+ showTitleType: {
71116
+ type: String,
71117
+ default: 'tooltip',
71118
+ validator: function validator(val) {
71119
+ return val === 'text' || val === 'tooltip';
71120
+ }
71121
+ },
71122
+ user: {
71123
+ type: Object,
72719
71124
  default: function _default() {
72720
- return [];
71125
+ return {};
72721
71126
  }
72722
71127
  }
72723
71128
  },
72724
71129
  data: function data() {
72725
71130
  return {
72726
- value: '',
72727
- apps: [],
72728
- appSize: 20,
72729
- appNum: 1,
72730
- bsSize: 8,
72731
- bsNum: 1,
72732
- sysSize: 2,
72733
- sysNum: 1
71131
+ time: '',
71132
+ date: '',
71133
+ timer: null,
71134
+ handlers: [{
71135
+ type: 'index',
71136
+ icon: 'es-icon-zhuye',
71137
+ text: '首页'
71138
+ }, {
71139
+ type: 'org'
71140
+ }, {
71141
+ type: 'online'
71142
+ }, {
71143
+ type: 'userinfo',
71144
+ text: '个人资料',
71145
+ icon: 'es-icon-yonghu'
71146
+ }, {
71147
+ type: 'notice',
71148
+ icon: 'es-icon-xiaoxi',
71149
+ text: '消息'
71150
+ }, {
71151
+ type: 'set',
71152
+ icon: 'es-icon-shezhi',
71153
+ text: '设置'
71154
+ }, {
71155
+ type: 'quit',
71156
+ icon: 'es-icon-tuichu',
71157
+ text: '退出'
71158
+ }]
72734
71159
  };
72735
71160
  },
72736
71161
 
72737
71162
  computed: {
72738
- show: {
72739
- get: function get() {
72740
- return this.visible;
72741
- },
72742
- set: function set(val) {
72743
- this.$emit('update:visible', val);
72744
- return val;
72745
- }
72746
- },
72747
- _applications: function _applications() {
72748
- var _this = this;
72749
-
72750
- return this.apps.filter(function (item, index) {
72751
- return index > (_this.appNum - 1) * _this.appSize - 1 && index < _this.appNum * _this.appSize;
72752
- });
72753
- },
72754
- _business: function _business() {
72755
- var _this2 = this;
72756
-
72757
- return this.business.filter(function (item, index) {
72758
- return index > (_this2.bsNum - 1) * _this2.bsSize - 1 && index < _this2.bsNum * _this2.bsSize;
72759
- });
72760
- },
72761
- _systems: function _systems() {
72762
- var _this3 = this;
72763
-
72764
- return this.systems.filter(function (item, index) {
72765
- return index > (_this3.sysNum - 1) * _this3.sysSize - 1 && index < _this3.sysNum * _this3.sysSize;
72766
- });
71163
+ isClick: function isClick() {
71164
+ var useCaseCodes = utils_util.getStorage('useCaseCodes');
71165
+ return useCaseCodes && useCaseCodes.includes('sys_user_onlineList');
72767
71166
  }
72768
71167
  },
72769
71168
  watch: {
72770
- applications: {
72771
- deep: true,
72772
- handler: function handler() {
72773
- this.getApps();
72774
- }
72775
- },
72776
- value: function value() {
72777
- this.getApps();
72778
- }
71169
+ data: (simplicityTop_handlervue_type_script_lang_js_data = {
71170
+ handler: 'deep',
71171
+ immediate: true
71172
+ }, simplicityTop_handlervue_type_script_lang_js_data['handler'] = function handler(newVal, oldVal) {}, simplicityTop_handlervue_type_script_lang_js_data)
72779
71173
  },
72780
- beforeCreate: function beforeCreate() {
72781
- var _this4 = this;
72782
-
72783
- this.getApps = Object(external_throttle_debounce_["debounce"])(500, function () {
72784
- _this4.getApp();
72785
- });
71174
+ created: function created() {
71175
+ //this.time = util.timeCycle() + '好!';
71176
+ this.date = utils_util.formatDate('', 'yyyy年M月d日');
72786
71177
  },
72787
- created: function created() {},
72788
71178
  mounted: function mounted() {
72789
- this.getApps();
71179
+ this.getTime();
72790
71180
  },
72791
71181
 
72792
71182
  methods: {
72793
- getApp: function getApp() {
72794
- var _this5 = this;
71183
+ //切换职务
71184
+ handleUserSelect: function handleUserSelect(res) {
71185
+ var _this = this;
72795
71186
 
72796
- this.apps = this.value ? this.applications.filter(function (item) {
72797
- return (item.name || item.text).indexOf(_this5.value) > -1;
72798
- }) : this.applications;
72799
- },
72800
- setStyle: function setStyle(num) {
72801
- var obj = {};
72802
- if (this.color) {
72803
- obj.color = this.color;
72804
- if (Array.isArray(this.color)) {
72805
- obj.color = this.color[num % this.color.length];
72806
- } else {
72807
- obj.color = this.color;
72808
- }
72809
- }
72810
- if (this.backgroundColor) {
72811
- if (Array.isArray(this.backgroundColor)) {
72812
- obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
72813
- } else {
72814
- obj.backgroundColor = this.backgroundColor;
72815
- }
71187
+ if (this.user.identityId !== res.id) {
71188
+ utils_util.ajax({
71189
+ method: 'post',
71190
+ url: switchUserTo,
71191
+ data: { userId: res.value }
71192
+ }).then(function (res) {
71193
+ if (res.rCode == 0) {
71194
+ _this.$emit('close');
71195
+ utils_util.setStorage({
71196
+ type: _this.storage,
71197
+ key: 'userId',
71198
+ value: res.value
71199
+ });
71200
+ utils_util.removeStorage(['mainConfig', 'jump']);
71201
+ _this.$message({
71202
+ message: res.msg,
71203
+ type: 'success',
71204
+ duration: 500,
71205
+ onClose: function onClose() {
71206
+ if (utils_util.win.location.href.indexOf('#/main') > -1 || utils_util.win.location.href.indexOf('/main.html') > -1) {
71207
+ location.reload();
71208
+ } else {
71209
+ _this.$router.replace('/main');
71210
+ }
71211
+ }
71212
+ });
71213
+ } else {
71214
+ _this.$message({
71215
+ message: res.msg || '系统错误,请联系管理员!',
71216
+ type: 'error'
71217
+ });
71218
+ }
71219
+ }).catch(function (err) {
71220
+ if (err.message && err.message !== 'canceled') {
71221
+ _this.$message.error(err.message);
71222
+ }
71223
+ });
72816
71224
  }
72817
- return obj;
72818
- },
72819
- handleChange: function handleChange(res, index) {
72820
- var name = ['appNum', 'bsNum', 'sysNum'];
72821
- this[name[index]] = res;
72822
71225
  },
72823
- handleWheel: function handleWheel(e) {
72824
- var direction = e.deltaY > 0 ? 'down' : 'up'; //deltaY为正则滚轮向下,为负滚轮向上
72825
- var total = Math.ceil(this.apps.length / this.appSize);
72826
- if (direction == 'up' && this.appNum > 1) {
72827
- this.appNum -= 1;
72828
- }
72829
- if (direction == 'down' && this.appNum < total) {
72830
- this.appNum += 1;
72831
- }
71226
+ getTime: function getTime() {
71227
+ var _this2 = this;
71228
+
71229
+ this.timer && clearInterval(this.timer);
71230
+ this.timer = setInterval(function () {
71231
+ _this2.time = utils_util.formatDate('', 'HH:mm:ss');
71232
+ });
72832
71233
  },
72833
71234
  handleClick: function handleClick(res) {
72834
- utils_util.ajax({
72835
- url: recordUserApp,
72836
- params: {
72837
- userId: this.user.userId,
72838
- appId: res.id
72839
- }
72840
- }).then(function () {}).catch(function () {});
72841
71235
  this.$emit('click', res);
72842
- },
72843
-
72844
- /**
72845
- * @desc:获取气泡提醒
72846
- * @author huangbo
72847
- * @date 2024年9月7日
72848
- **/
72849
- getBadge: function getBadge(res) {
72850
- var num = res.tips || 0;
72851
- return num === true ? {
72852
- isDot: true
72853
- //hidden: item.tips
72854
- } : {
72855
- value: num,
72856
- max: 99,
72857
- hidden: !num
72858
- };
72859
71236
  }
71237
+ },
71238
+ beforeDestroy: function beforeDestroy() {
71239
+ clearInterval(this.timer);
72860
71240
  }
72861
71241
  });
72862
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/apps.vue?vue&type=script&lang=js&
72863
- /* harmony default export */ var src_simplicityTop_appsvue_type_script_lang_js_ = (simplicityTop_appsvue_type_script_lang_js_);
72864
- // CONCATENATED MODULE: ./packages/main/src/simplicityTop/apps.vue
71242
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue?vue&type=script&lang=js&
71243
+ /* harmony default export */ var src_simplicityTop_handlervue_type_script_lang_js_ = (simplicityTop_handlervue_type_script_lang_js_);
71244
+ // CONCATENATED MODULE: ./packages/main/src/simplicityTop/handler.vue
72865
71245
 
72866
71246
 
72867
71247
 
@@ -72869,18 +71249,18 @@ appsvue_type_template_id_08547d6a_scoped_true_render._withStripped = true
72869
71249
 
72870
71250
  /* normalize component */
72871
71251
 
72872
- var simplicityTop_apps_component = normalizeComponent(
72873
- src_simplicityTop_appsvue_type_script_lang_js_,
72874
- appsvue_type_template_id_08547d6a_scoped_true_render,
72875
- appsvue_type_template_id_08547d6a_scoped_true_staticRenderFns,
71252
+ var simplicityTop_handler_component = normalizeComponent(
71253
+ src_simplicityTop_handlervue_type_script_lang_js_,
71254
+ handlervue_type_template_id_6434fb72_scoped_true_render,
71255
+ handlervue_type_template_id_6434fb72_scoped_true_staticRenderFns,
72876
71256
  false,
72877
71257
  null,
72878
- "08547d6a",
71258
+ "6434fb72",
72879
71259
  null
72880
71260
 
72881
71261
  )
72882
71262
 
72883
- /* harmony default export */ var simplicityTop_apps = (simplicityTop_apps_component.exports);
71263
+ /* harmony default export */ var simplicityTop_handler = (simplicityTop_handler_component.exports);
72884
71264
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/user.vue?vue&type=template&id=22bc2a9d&scoped=true&
72885
71265
  var uservue_type_template_id_22bc2a9d_scoped_true_render = function () {
72886
71266
  var _vm = this
@@ -74655,8 +73035,12 @@ var simplicityTop_router_page_component = normalizeComponent(
74655
73035
 
74656
73036
  /* harmony default export */ var simplicityTop_router_page = (simplicityTop_router_page_component.exports);
74657
73037
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicityTop/index.vue?vue&type=script&lang=js&
73038
+
73039
+
74658
73040
  var simplicityTopvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
74659
73041
 
73042
+ function simplicityTopvue_type_script_lang_js_asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
73043
+
74660
73044
  //
74661
73045
  //
74662
73046
  //
@@ -74949,14 +73333,11 @@ var simplicityTopvue_type_script_lang_js_extends = Object.assign || function (ta
74949
73333
  //
74950
73334
  //
74951
73335
  //
74952
- //
74953
- //
74954
- //
74955
-
74956
-
74957
73336
 
74958
73337
 
74959
73338
 
73339
+ // import subMenu from './sub-menu.vue';
73340
+ // import apps from './apps.vue';
74960
73341
 
74961
73342
 
74962
73343
 
@@ -74969,55 +73350,60 @@ var simplicityTopvue_type_script_lang_js_extends = Object.assign || function (ta
74969
73350
 
74970
73351
  var simplicityTopvue_type_script_lang_js_isIE = /MSIE|Trident/.test(navigator.userAgent);
74971
73352
  var simplicityTopvue_type_script_lang_js_systemMode = utils_util.win.systemMode || 'default';
74972
-
74973
- var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that) {
74974
- var tab = tabs[index];
74975
- if (tab.method == 'iframe') {
74976
- tabs[index].url = utils_util.handlerUrl(tab.url);
74977
- }
74978
- if (tab.method === 'wujie' && tab.appCode) {
74979
- var url = tab.url;
74980
- tab.url = '';
74981
- that.$nextTick(function () {
74982
- tab.url = url;
74983
- });
74984
- }
74985
- if (tab.method === 'router') {
74986
- that.$set(tabs[index], 'keys', utils_util.uuid());
74987
- }
74988
- return tabs;
74989
- }, function (tabs, index, that) {
74990
- var i = utils_util.indexOfObj(tabs, that.activeName, 'id');
74991
- if (tabs.length == 1) {
74992
- that.activeName = '';
74993
- } else if (i == index) {
74994
- if (index < tabs.length - 1) {
74995
- that.activeName = tabs[index + 1].id;
74996
- } else {
74997
- that.activeName = tabs[index - 1].id;
74998
- }
74999
- }
75000
- tabs.splice(index, 1);
75001
- return tabs;
75002
- }, function (tabs, index, that) {
75003
- var tab = tabs.slice(index, index + 1);
75004
- that.activeName = tab[0].id;
75005
- return tab;
75006
- }, function (tabs, index, that) {
75007
- var i = utils_util.indexOfObj(tabs, that.activeName, 'id');
75008
- if (i < index) {
75009
- that.activeName = tabs[index].id;
75010
- }
75011
- tabs.splice(0, index);
75012
- return tabs;
75013
- }, function (tabs, index, that) {
75014
- var i = utils_util.indexOfObj(tabs, that.activeName, 'id');
75015
- if (i > index) {
75016
- that.activeName = tabs[index].id;
75017
- }
75018
- tabs.splice(index + 1, tabs.length - index);
75019
- return tabs;
75020
- }];
73353
+ // let events = [
73354
+ // (tabs, index, that) => {
73355
+ // let tab = tabs[index];
73356
+ // if (tab.method == 'iframe') {
73357
+ // tabs[index].url = util.handlerUrl(tab.url);
73358
+ // }
73359
+ // if (tab.method === 'wujie' && tab.appCode) {
73360
+ // const url = tab.url;
73361
+ // tab.url = '';
73362
+ // that.$nextTick(() => {
73363
+ // tab.url = url;
73364
+ // });
73365
+ // }
73366
+ // if (tab.method === 'router') {
73367
+ // that.$set(tabs[index], 'keys', util.uuid());
73368
+ // }
73369
+ // return tabs;
73370
+ // },
73371
+ // (tabs, index, that) => {
73372
+ // let i = util.indexOfObj(tabs, that.activeName, 'id');
73373
+ // if (tabs.length == 1) {
73374
+ // that.activeName = '';
73375
+ // } else if (i == index) {
73376
+ // if (index < tabs.length - 1) {
73377
+ // that.activeName = tabs[index + 1].id;
73378
+ // } else {
73379
+ // that.activeName = tabs[index - 1].id;
73380
+ // }
73381
+ // }
73382
+ // tabs.splice(index, 1);
73383
+ // return tabs;
73384
+ // },
73385
+ // (tabs, index, that) => {
73386
+ // let tab = tabs.slice(index, index + 1);
73387
+ // that.activeName = tab[0].id;
73388
+ // return tab;
73389
+ // },
73390
+ // (tabs, index, that) => {
73391
+ // let i = util.indexOfObj(tabs, that.activeName, 'id');
73392
+ // if (i < index) {
73393
+ // that.activeName = tabs[index].id;
73394
+ // }
73395
+ // tabs.splice(0, index);
73396
+ // return tabs;
73397
+ // },
73398
+ // (tabs, index, that) => {
73399
+ // let i = util.indexOfObj(tabs, that.activeName, 'id');
73400
+ // if (i > index) {
73401
+ // that.activeName = tabs[index].id;
73402
+ // }
73403
+ // tabs.splice(index + 1, tabs.length - index);
73404
+ // return tabs;
73405
+ // }
73406
+ // ];
75021
73407
  /* harmony default export */ var simplicityTopvue_type_script_lang_js_ = ({
75022
73408
  name: 'SimplicityTop',
75023
73409
  provide: function provide() {
@@ -75031,8 +73417,8 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75031
73417
  components: {
75032
73418
  avatar: simplicityTop_avatar,
75033
73419
  handler: simplicityTop_handler,
75034
- subMenu: simplicityTop_sub_menu,
75035
- apps: simplicityTop_apps,
73420
+ // subMenu,
73421
+ // apps,
75036
73422
  user: simplicityTop_user,
75037
73423
  message: simplicityTop_message,
75038
73424
  notice: simplicityTop_notice,
@@ -75233,43 +73619,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75233
73619
  currentPage: {
75234
73620
  method: ''
75235
73621
  },
75236
- userCommonMenuList: [{
75237
- id: '712207aec84a426c842c86f34c7293c2',
75238
- menutype: 1,
75239
- text: '新建公文',
75240
- menuurl: '/archives-ui/webpack/index.html#/dispatch/add',
75241
- systemurl: null,
75242
- icons: '',
75243
- sort: 4,
75244
- appCode: 'dispatch_org',
75245
- urlopenmode: 0,
75246
- defaultMenu: 1,
75247
- pid: 'cc529d06f2fe4c9aa5956e7f540b8cd2'
75248
- }, {
75249
- id: '00c9e4e6e9974a789dbf2d99620c1773',
75250
- menutype: 1,
75251
- text: '资料发送',
75252
- menuurl: '/oa/sharefiles/send/listYb.dhtml',
75253
- systemurl: null,
75254
- icons: '',
75255
- sort: 5,
75256
- appCode: 'sharefilesSend',
75257
- urlopenmode: 0,
75258
- defaultMenu: 1,
75259
- pid: 'd648a3e7ae16458a823fdbe911e4d76e'
75260
- }, {
75261
- id: '7588320f81dd49d09fd8832037b1c57a',
75262
- menutype: 0,
75263
- text: '收文补录',
75264
- menuurl: '/archives-ui/webpack/index.html#/receipt/add',
75265
- systemurl: null,
75266
- icons: '',
75267
- sort: 1,
75268
- appCode: 'receiptAdd',
75269
- urlopenmode: 0,
75270
- defaultMenu: 0,
75271
- pid: 'ec4a6e89b1b346a4a2e8f4245e315da3'
75272
- }],
73622
+ userCommonMenuList: [],
75273
73623
  //是否显示头像
75274
73624
  showAvatar: this.avatar,
75275
73625
  // 问候语
@@ -75665,12 +74015,12 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75665
74015
  deep: true,
75666
74016
  handler: function handler() {
75667
74017
  // console.log('menuTips', this.menuTips);
75668
-
75669
- this.setTips(this.userApps);
75670
- this.setTips(this.applications);
75671
- this.setTips(this.business);
75672
- this.setTips(this.systems);
75673
- this.setTips(this.menus);
74018
+ // this.setTips(this.userApps);
74019
+ // this.setTips(this.applications);
74020
+ // this.setTips(this.business);
74021
+ // this.setTips(this.systems);
74022
+ // this.setTips(this.menus);
74023
+ this.getNums();
75674
74024
  }
75675
74025
  },
75676
74026
  scene: function scene(val) {
@@ -75683,15 +74033,25 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75683
74033
  this.doorIndex = sessionStorage.getItem('doorIndex');
75684
74034
  },
75685
74035
  mounted: function mounted() {
75686
- console.log(this.menuUrl, this.topLogo, this.hides, this.showSimplicityTop, 'this.menuUrl');
75687
-
75688
74036
  // this.handleListener();
75689
- this.getNums();
75690
74037
  window.top.jumpMenu = window.top.jumpTopMenu = this.handleSelect;
75691
74038
  this.queryChildMenuData();
75692
74039
  },
75693
74040
 
75694
74041
  methods: {
74042
+ remindSelect: function remindSelect(menu) {
74043
+ var fourthTabs = [];
74044
+ if (menu.children && menu.children.length > 0) {
74045
+ fourthTabs = [].concat(menu.children);
74046
+ } else {
74047
+ fourthTabs = [].concat(menu);
74048
+ }
74049
+ this.fourthTabs = [].concat(fourthTabs);
74050
+ this.tabActiveName = fourthTabs[0].id;
74051
+ this.appCodes = this.fourthTabs[0].appCode;
74052
+ this.currentPage = this.setIframeType(this.fourthTabs[0]);
74053
+ },
74054
+
75695
74055
  /**
75696
74056
  * queryChildMenu: 查询左侧我的提醒和我的快捷菜单
75697
74057
  */
@@ -75703,11 +74063,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75703
74063
  method: 'get'
75704
74064
  }).then(function (res) {
75705
74065
  if (res.rCode === 0) {
75706
- console.log(res.results, 'res.results');
75707
74066
  var tree = _this2.flatToNestedTree(res.results);
75708
- console.log(tree, 'tree');
75709
- _this2.myRemindMenu = tree[0];
75710
- _this2.myShortcut = tree[1];
74067
+ _this2.myRemindMenu = [].concat(tree[0].children);
74068
+ _this2.myShortcut = [].concat(tree[1].children);
74069
+ _this2.getNums();
75711
74070
  }
75712
74071
  });
75713
74072
  },
@@ -75758,9 +74117,8 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75758
74117
  var _this3 = this;
75759
74118
 
75760
74119
  var index = res.index;
75761
- this.currentPage = simplicityTopvue_type_script_lang_js_extends({}, this.fourthTabs[index]);
74120
+ this.currentPage = {};
75762
74121
  this.appCodes = this.fourthTabs[index].appCode;
75763
- console.log(this.currentPage, 'this.currentPage');
75764
74122
 
75765
74123
  // console.log(this.fourthTabs[index], 'this.fourthTabs[index]');
75766
74124
  // 增加阻塞 重载页面
@@ -75773,17 +74131,45 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75773
74131
  getNums: function getNums() {
75774
74132
  var _this4 = this;
75775
74133
 
75776
- this.getIndexCount();
75777
- this.getUserTipsInstanceNum(0);
75778
- this.getUserTipsInstanceNum(1);
75779
- this.getShareFilesReceiveCountNew();
75780
- this.getVoteMeetingNum();
75781
- this.reladding = true;
75782
- if (this.reladding) {
75783
- setTimeout(function () {
75784
- _this4.reladding = false;
75785
- }, 1000);
75786
- }
74134
+ return simplicityTopvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
74135
+ return regenerator_default.a.wrap(function _callee$(_context) {
74136
+ while (1) {
74137
+ switch (_context.prev = _context.next) {
74138
+ case 0:
74139
+ _context.next = 2;
74140
+ return _this4.getIndexCount();
74141
+
74142
+ case 2:
74143
+ _context.next = 4;
74144
+ return _this4.getUserTipsInstanceNum(0);
74145
+
74146
+ case 4:
74147
+ _context.next = 6;
74148
+ return _this4.getUserTipsInstanceNum(1);
74149
+
74150
+ case 6:
74151
+ _context.next = 8;
74152
+ return _this4.getShareFilesReceiveCountNew();
74153
+
74154
+ case 8:
74155
+ _context.next = 10;
74156
+ return _this4.getVoteMeetingNum();
74157
+
74158
+ case 10:
74159
+ _this4.reladding = true;
74160
+ if (_this4.reladding) {
74161
+ setTimeout(function () {
74162
+ _this4.reladding = false;
74163
+ }, 1000);
74164
+ }
74165
+
74166
+ case 12:
74167
+ case 'end':
74168
+ return _context.stop();
74169
+ }
74170
+ }
74171
+ }, _callee, _this4);
74172
+ }))();
75787
74173
  },
75788
74174
 
75789
74175
  /**
@@ -75801,7 +74187,13 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75801
74187
  method: 'get'
75802
74188
  }).then(function (res) {
75803
74189
  if (res.rCode === 0) {
75804
- _this5.myRemind[5].num = res.results > 99 ? '99+' : res.results;
74190
+ var myRemindMenu = [].concat(_this5.myRemindMenu);
74191
+ myRemindMenu.forEach(function (item) {
74192
+ if (item.appCode === 'conference_meeting') {
74193
+ item.num = res.results > 99 ? '99+' : res.results;
74194
+ }
74195
+ });
74196
+ _this5.myRemindMenu = [].concat(myRemindMenu);
75805
74197
  }
75806
74198
  });
75807
74199
  },
@@ -75820,7 +74212,13 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75820
74212
  method: 'get'
75821
74213
  }).then(function (res) {
75822
74214
  if (res.rCode === 0) {
75823
- _this6.myRemind[4].num = res.results > 99 ? '99+' : res.results;
74215
+ var myRemindMenu = [].concat(_this6.myRemindMenu);
74216
+ myRemindMenu.forEach(function (item) {
74217
+ if (item.appCode === 'favoriteCount') {
74218
+ item.num = res.results > 99 ? '99+' : res.results;
74219
+ }
74220
+ });
74221
+ _this6.myRemindMenu = [].concat(myRemindMenu);
75824
74222
  }
75825
74223
  });
75826
74224
  },
@@ -75841,11 +74239,14 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75841
74239
  method: 'get'
75842
74240
  }).then(function (res) {
75843
74241
  if (res.rCode === 0) {
75844
- if (type) {
75845
- _this7.myRemind[3].num = res.results > 99 ? '99+' : res.results;
75846
- } else {
75847
- _this7.myRemind[2].num = res.results > 99 ? '99+' : res.results;
75848
- }
74242
+ var appCode = type ? 'wdtxjqgw' : 'wdtxgwqssignList';
74243
+ var myRemindMenu = [].concat(_this7.myRemindMenu);
74244
+ myRemindMenu.forEach(function (item) {
74245
+ if (item.appCode === appCode) {
74246
+ item.num = res.results > 99 ? '99+' : res.results;
74247
+ }
74248
+ });
74249
+ _this7.myRemindMenu = [].concat(myRemindMenu);
75849
74250
  } else {
75850
74251
  console.error('查询待签收/据签收任务数量失败', res);
75851
74252
  }
@@ -75866,10 +74267,15 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
75866
74267
  method: 'get'
75867
74268
  }).then(function (res) {
75868
74269
  if (res.rCode === 0) {
74270
+ // 待办
75869
74271
  var makePendingCount = res.results.makePendingCount || 0;
75870
- var pendedCount = res.results.pendedCount || 0;
75871
- _this8.myRemind[0].num = makePendingCount > 99 ? '99+' : makePendingCount;
75872
- _this8.myRemind[1].num = pendedCount > 99 ? '99+' : pendedCount;
74272
+ var myRemindMenu = [].concat(_this8.myRemindMenu);
74273
+ myRemindMenu.forEach(function (item) {
74274
+ if (item.appCode === 'makePendingCount') {
74275
+ item.num = makePendingCount > 99 ? '99+' : makePendingCount;
74276
+ }
74277
+ });
74278
+ _this8.myRemindMenu = [].concat(myRemindMenu);
75873
74279
  } else {
75874
74280
  console.error('查询待办任务数量失败', res);
75875
74281
  }
@@ -76518,6 +74924,9 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76518
74924
  _this14.$refs.message.getMsg(true);
76519
74925
  }
76520
74926
  }
74927
+ if (i === 'menuTipsMap') {
74928
+ _this14.getNums();
74929
+ }
76521
74930
  if (i === 'menuTipsMap' && data[i] !== null) {
76522
74931
  _this14.menuTips = data[i];
76523
74932
  }
@@ -76566,114 +74975,6 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76566
74975
  this.newApps.splice(index, 1);
76567
74976
  },
76568
74977
 
76569
- /**
76570
- * @desc:储存更多应用菜单点击
76571
- * @author huangbo
76572
- * @date 2024年9月7日
76573
- **/
76574
- handlerClickApps: function handlerClickApps(res) {
76575
- if (res.permission === false) {
76576
- return false;
76577
- }
76578
- var i = utils_util.indexOfObj(this.newApps, res, 'id');
76579
- if (i == -1) {
76580
- this.newApps.push(res);
76581
- }
76582
- this.handlerClickApp(res);
76583
- },
76584
-
76585
- /**
76586
- * @desc:侧边应用菜单点击
76587
- * @author huangbo
76588
- * @date 2024年9月7日
76589
- **/
76590
- handlerClickApp: function handlerClickApp(res) {
76591
- this.showMsg = false;
76592
- this.showSet = false;
76593
- this.fold = false;
76594
- this.showApps = false;
76595
- this.drawer.visible = false;
76596
- if (res) {
76597
- if (res.permission === false) {
76598
- return false;
76599
- }
76600
- if (res.children && res.children.length || res.fourthTabs && res.fourthTabs.length) {
76601
- this.subMenus = res;
76602
- this.showMenu = true;
76603
- } else {
76604
- this.subMenus = null;
76605
- this.showMenu = false;
76606
- }
76607
- var set = true;
76608
- if (res.url) {
76609
- if (res.urlopenmode == 1 || res.openModel == 1) {
76610
- set = false;
76611
- utils_util.win.open(res.url);
76612
- } else if (res.urlopenmode == 2 || res.openModel == 2) {
76613
- set = false;
76614
- utils_util.win.open(res.url, '_self');
76615
- } else {
76616
- var i = utils_util.indexOfObj(this.tabs, res, 'id');
76617
- this.activeName = res.id;
76618
- if (i == -1) {
76619
- var obj = res.code ? this.getMenu(this.menus, res.code, 'appCode') : null;
76620
- if (obj) {
76621
- obj = JSON.parse(JSON.stringify(obj));
76622
- var n = utils_util.indexOfObj(this.tabs, obj, 'id');
76623
- if (n == -1) {
76624
- var tab = this.setIframeType(obj);
76625
- this.tabs.push(tab);
76626
- this.activeName = tab.id;
76627
- } else {
76628
- if (obj.method == 'iframe') {
76629
- obj.url = utils_util.handlerUrl(obj.url);
76630
- }
76631
- }
76632
- } else {
76633
- var _tab = this.setIframeType(res);
76634
- this.tabs.push(_tab);
76635
- this.activeName = _tab.id;
76636
- }
76637
- } else {
76638
- if (res.method == 'iframe') {
76639
- res.url = utils_util.handlerUrl(res.url);
76640
- }
76641
- }
76642
- }
76643
- }
76644
- if (set && res.code) {
76645
- var subMenus = this.getMenu(this.menus, res.code, 'appCode');
76646
- if (!subMenus && !res.url) {
76647
- this.$alert('没有关联菜单,请联系管理员!', '提示', {
76648
- confirmButtonText: '确定',
76649
- type: 'warning'
76650
- }).catch(function () {});
76651
- } else {
76652
- this.title = res.text || res.name;
76653
- this.subMenus = subMenus ? subMenus : null;
76654
- this.showMenu = subMenus ? subMenus.children && subMenus.children.length > 0 || subMenus.fourthTabs && subMenus.fourthTabs.length > 0 : false;
76655
- this.showApps = false;
76656
- if (subMenus && subMenus.url) {
76657
- subMenus = JSON.parse(JSON.stringify(subMenus));
76658
- var _i = utils_util.indexOfObj(this.tabs, subMenus, 'id');
76659
- this.activeName = subMenus.id;
76660
- if (_i == -1) {
76661
- var _tab2 = this.setIframeType(subMenus);
76662
- this.tabs.push(_tab2);
76663
- } else {
76664
- if (subMenus.method == 'iframe') {
76665
- this.tabs[_i].url = utils_util.handlerUrl(subMenus.url);
76666
- }
76667
- }
76668
- }
76669
- }
76670
- }
76671
- this.active = res.id;
76672
- } else {
76673
- this.showApps = !this.showApps;
76674
- }
76675
- },
76676
-
76677
74978
  /**
76678
74979
  * @desc:显示Drawer界面
76679
74980
  * @author huangbo
@@ -76812,7 +75113,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76812
75113
  **/
76813
75114
  handleTabsEvents: function handleTabsEvents(num) {
76814
75115
  if (this.pane !== null) {
76815
- this.tabs = simplicityTopvue_type_script_lang_js_events[num](this.tabs, this.pane, this);
75116
+ this.tabs = events[num](this.tabs, this.pane, this);
76816
75117
  }
76817
75118
  this.showTabsHandler = false;
76818
75119
  window.removeEventListener('click', this.closeTabsEvents);
@@ -76956,10 +75257,10 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
76956
75257
  break;
76957
75258
  }
76958
75259
  if (_this15.singleLogout) {
76959
- for (var _i2 = 0; _i2 < _this15.singleLogout.length; _i2++) {
75260
+ for (var _i = 0; _i < _this15.singleLogout.length; _i++) {
76960
75261
  var iframe = document.createElement('iframe');
76961
75262
  iframe.style.display = 'none';
76962
- iframe.src = _this15.singleLogout[_i2];
75263
+ iframe.src = _this15.singleLogout[_i];
76963
75264
  document.body.appendChild(iframe);
76964
75265
  }
76965
75266
  }
@@ -77038,6 +75339,7 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77038
75339
  handleLayout: function handleLayout(res, active) {
77039
75340
  if (active) {
77040
75341
  localStorage.setItem('layout', active);
75342
+ localStorage.setItem('layoutType', active);
77041
75343
  }
77042
75344
  this.$emit('chang-layout', res, active);
77043
75345
  },
@@ -77094,19 +75396,19 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77094
75396
  } else if (node.urlopenmode == 2 || node.openModel == 2) {
77095
75397
  utils_util.win.open(node.url || node.menuurl, '_self');
77096
75398
  } else {
77097
- var _apps = node;
75399
+ var apps = node;
77098
75400
  var param = params;
77099
75401
  var reload = true;
77100
75402
  if (typeof res === 'string') {
77101
- _apps = res.split(',');
75403
+ apps = res.split(',');
77102
75404
  } else if (utils_util.isObject(node)) {
77103
75405
  var appCode = node.appCode || node.menuCode;
77104
- _apps = Array.isArray(appCode) ? appCode : appCode.split(',');
75406
+ apps = Array.isArray(appCode) ? appCode : appCode.split(',');
77105
75407
  node.param && (param = simplicityTopvue_type_script_lang_js_extends({}, node.param, params));
77106
75408
  reload = Object.prototype.hasOwnProperty.call(node, 'reload') ? node.reload : true;
77107
75409
  }
77108
75410
 
77109
- var _findMenuById = this.findMenuById(_apps[_apps.length - 1]),
75411
+ var _findMenuById = this.findMenuById(apps[apps.length - 1]),
77110
75412
  currentPage = _findMenuById.currentPage,
77111
75413
  fourthTabs = _findMenuById.fourthTabs;
77112
75414
 
@@ -77145,16 +75447,16 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77145
75447
  var transformedMenus = this.menus;
77146
75448
  // 递归查找函数
77147
75449
  function searchMenu(menuList) {
77148
- for (var _iterator = menuList, _isArray = Array.isArray(_iterator), _i3 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
75450
+ for (var _iterator = menuList, _isArray = Array.isArray(_iterator), _i2 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
77149
75451
  var _ref;
77150
75452
 
77151
75453
  if (_isArray) {
77152
- if (_i3 >= _iterator.length) break;
77153
- _ref = _iterator[_i3++];
75454
+ if (_i2 >= _iterator.length) break;
75455
+ _ref = _iterator[_i2++];
77154
75456
  } else {
77155
- _i3 = _iterator.next();
77156
- if (_i3.done) break;
77157
- _ref = _i3.value;
75457
+ _i2 = _iterator.next();
75458
+ if (_i2.done) break;
75459
+ _ref = _i2.value;
77158
75460
  }
77159
75461
 
77160
75462
  var menu = _ref;
@@ -77168,16 +75470,16 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77168
75470
 
77169
75471
  // 检查是否为二级菜单
77170
75472
  if (menu.children) {
77171
- for (var _iterator2 = menu.children, _isArray2 = Array.isArray(_iterator2), _i4 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
75473
+ for (var _iterator2 = menu.children, _isArray2 = Array.isArray(_iterator2), _i3 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
77172
75474
  var _ref2;
77173
75475
 
77174
75476
  if (_isArray2) {
77175
- if (_i4 >= _iterator2.length) break;
77176
- _ref2 = _iterator2[_i4++];
75477
+ if (_i3 >= _iterator2.length) break;
75478
+ _ref2 = _iterator2[_i3++];
77177
75479
  } else {
77178
- _i4 = _iterator2.next();
77179
- if (_i4.done) break;
77180
- _ref2 = _i4.value;
75480
+ _i3 = _iterator2.next();
75481
+ if (_i3.done) break;
75482
+ _ref2 = _i3.value;
77181
75483
  }
77182
75484
 
77183
75485
  var level2Menu = _ref2;
@@ -77242,18 +75544,18 @@ var simplicityTopvue_type_script_lang_js_events = [function (tabs, index, that)
77242
75544
 
77243
75545
  var simplicityTop_component = normalizeComponent(
77244
75546
  src_simplicityTopvue_type_script_lang_js_,
77245
- simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_render,
77246
- simplicityTopvue_type_template_id_4a8a8fcc_scoped_true_staticRenderFns,
75547
+ simplicityTopvue_type_template_id_06dd3ec1_scoped_true_render,
75548
+ simplicityTopvue_type_template_id_06dd3ec1_scoped_true_staticRenderFns,
77247
75549
  false,
77248
75550
  null,
77249
- "4a8a8fcc",
75551
+ "06dd3ec1",
77250
75552
  null
77251
75553
 
77252
75554
  )
77253
75555
 
77254
75556
  /* harmony default export */ var simplicityTop = (simplicityTop_component.exports);
77255
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=0eafbe04&
77256
- var defaultvue_type_template_id_0eafbe04_render = function () {
75557
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=0c452dea&
75558
+ var defaultvue_type_template_id_0c452dea_render = function () {
77257
75559
  var _vm = this
77258
75560
  var _h = _vm.$createElement
77259
75561
  var _c = _vm._self._c || _h
@@ -77804,11 +76106,11 @@ var defaultvue_type_template_id_0eafbe04_render = function () {
77804
76106
  1
77805
76107
  )
77806
76108
  }
77807
- var defaultvue_type_template_id_0eafbe04_staticRenderFns = []
77808
- defaultvue_type_template_id_0eafbe04_render._withStripped = true
76109
+ var defaultvue_type_template_id_0c452dea_staticRenderFns = []
76110
+ defaultvue_type_template_id_0c452dea_render._withStripped = true
77809
76111
 
77810
76112
 
77811
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0eafbe04&
76113
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=0c452dea&
77812
76114
 
77813
76115
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=4160a4c1&
77814
76116
  var userinfovue_type_template_id_4160a4c1_render = function () {
@@ -81033,6 +79335,7 @@ var log = utils_util.getParams('console');
81033
79335
  }
81034
79336
  this.layout = res;
81035
79337
  localStorage.setItem('layout', res);
79338
+ localStorage.setItem('layoutType', res);
81036
79339
  switch (res) {
81037
79340
  case 'topnav':
81038
79341
  this.navs = this.menus;
@@ -81249,8 +79552,8 @@ var log = utils_util.getParams('console');
81249
79552
 
81250
79553
  var default_component = normalizeComponent(
81251
79554
  src_defaultvue_type_script_lang_js_,
81252
- defaultvue_type_template_id_0eafbe04_render,
81253
- defaultvue_type_template_id_0eafbe04_staticRenderFns,
79555
+ defaultvue_type_template_id_0c452dea_render,
79556
+ defaultvue_type_template_id_0c452dea_staticRenderFns,
81254
79557
  false,
81255
79558
  null,
81256
79559
  null,
@@ -102594,7 +100897,7 @@ if (typeof window !== 'undefined' && window.Vue) {
102594
100897
  }
102595
100898
 
102596
100899
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
102597
- version: '0.7.72',
100900
+ version: '0.7.74',
102598
100901
  install: install,
102599
100902
  Button: packages_button,
102600
100903
  ButtonGroup: button_group,