eoss-ui 0.5.81-beta4 → 0.5.81-beta5

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 (33) hide show
  1. package/lib/eoss-ui.common.js +1614 -1134
  2. package/lib/index.js +1 -1
  3. package/lib/main.js +1541 -1118
  4. package/lib/selector-panel.js +64 -11
  5. package/lib/selector.js +8 -4
  6. package/lib/theme-chalk/index.css +1 -1
  7. package/lib/theme-chalk/main.css +1 -1
  8. package/lib/theme-chalk/selector-panel.css +1 -1
  9. package/lib/theme-chalk/simplicity.css +1 -1
  10. package/package.json +1 -1
  11. package/packages/main/src/default/index.vue +1 -1
  12. package/packages/main/src/main.vue +12 -16
  13. package/packages/main/src/simplicity/apps.vue +176 -145
  14. package/packages/main/src/simplicity/index.vue +120 -190
  15. package/packages/main/src/simplicity/menu-list.vue +96 -26
  16. package/packages/main/src/simplicity/message.vue +35 -25
  17. package/packages/main/src/simplicity/notice.vue +72 -39
  18. package/packages/main/src/simplicity/router-page.vue +53 -0
  19. package/packages/main/src/simplicity/settings.vue +1 -1
  20. package/packages/main/src/simplicity/sub-menu.vue +67 -68
  21. package/packages/main/src/simplicity/user.vue +4 -4
  22. package/packages/main/src/simplicity/userinfo.vue +1 -0
  23. package/packages/selector/src/main.vue +6 -2
  24. package/packages/selector-panel/src/main.vue +21 -2
  25. package/packages/selector-panel/src/selection.vue +6 -0
  26. package/packages/theme-chalk/lib/index.css +1 -1
  27. package/packages/theme-chalk/lib/main.css +1 -1
  28. package/packages/theme-chalk/lib/selector-panel.css +1 -1
  29. package/packages/theme-chalk/lib/simplicity.css +1 -1
  30. package/packages/theme-chalk/src/common/var.scss +2 -0
  31. package/packages/theme-chalk/src/selector-panel.scss +2 -1
  32. package/packages/theme-chalk/src/simplicity.scss +191 -5
  33. package/src/index.js +1 -1
@@ -50945,8 +50945,8 @@ login_src_main.install = function (Vue) {
50945
50945
  };
50946
50946
 
50947
50947
  /* harmony default export */ var login = (login_src_main);
50948
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=0794c41f&
50949
- var mainvue_type_template_id_0794c41f_render = function () {
50948
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=a0d885fc&
50949
+ var mainvue_type_template_id_a0d885fc_render = function () {
50950
50950
  var _vm = this
50951
50951
  var _h = _vm.$createElement
50952
50952
  var _c = _vm._self._c || _h
@@ -50956,11 +50956,11 @@ var mainvue_type_template_id_0794c41f_render = function () {
50956
50956
  [
50957
50957
  _vm.type == "simplicity"
50958
50958
  ? _c(
50959
- "es-main-simplicity",
50959
+ "simplicity",
50960
50960
  _vm._g(
50961
50961
  _vm._b(
50962
50962
  { ref: "main", attrs: { appCode: _vm.appCode } },
50963
- "es-main-simplicity",
50963
+ "simplicity",
50964
50964
  _vm.$attrs,
50965
50965
  false
50966
50966
  ),
@@ -50968,9 +50968,9 @@ var mainvue_type_template_id_0794c41f_render = function () {
50968
50968
  )
50969
50969
  )
50970
50970
  : _c(
50971
- "es-main-default",
50971
+ "main",
50972
50972
  _vm._g(
50973
- _vm._b({ ref: "main" }, "es-main-default", _vm.$attrs, false),
50973
+ _vm._b({ ref: "main" }, "main", _vm.$attrs, false),
50974
50974
  _vm.$listeners
50975
50975
  )
50976
50976
  ),
@@ -50978,14 +50978,14 @@ var mainvue_type_template_id_0794c41f_render = function () {
50978
50978
  1
50979
50979
  )
50980
50980
  }
50981
- var mainvue_type_template_id_0794c41f_staticRenderFns = []
50982
- mainvue_type_template_id_0794c41f_render._withStripped = true
50981
+ var mainvue_type_template_id_a0d885fc_staticRenderFns = []
50982
+ mainvue_type_template_id_a0d885fc_render._withStripped = true
50983
50983
 
50984
50984
 
50985
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=0794c41f&
50985
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a0d885fc&
50986
50986
 
50987
- // 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=110cff37&scoped=true&
50988
- var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
50987
+ // 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=672540fb&scoped=true&
50988
+ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
50989
50989
  var _vm = this
50990
50990
  var _h = _vm.$createElement
50991
50991
  var _c = _vm._self._c || _h
@@ -51167,77 +51167,51 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
51167
51167
  { staticClass: "es-simplicity-main" },
51168
51168
  [
51169
51169
  _c(
51170
- "el-drawer",
51171
- {
51172
- staticClass: "es-simplicity-subMenus",
51173
- attrs: {
51174
- direction: "ltr",
51175
- "modal-class": "es-simplicity-apps-modal",
51176
- size: _vm.width + "px",
51177
- "modal-append-to-body": false,
51178
- "with-header": false,
51179
- visible: _vm.showMenu,
51180
- },
51181
- on: {
51182
- "update:visible": function ($event) {
51183
- _vm.showMenu = $event
51170
+ "sub-menu",
51171
+ _vm._b(
51172
+ {
51173
+ ref: "subMenus",
51174
+ attrs: {
51175
+ visible: _vm.showMenu,
51176
+ fold: _vm.fold,
51177
+ size: _vm.menuWidth,
51178
+ title: _vm.title,
51179
+ color: _vm.menuColor,
51180
+ backgroundColor: _vm.menuBackgroundColor,
51181
+ "menu-icon": _vm.menuIcon,
51184
51182
  },
51185
- },
51186
- },
51187
- [
51188
- _c(
51189
- "sub-menu",
51190
- _vm._b(
51191
- {
51192
- ref: "subMenus",
51193
- attrs: {
51194
- color: _vm.menuColor,
51195
- backgroundColor: _vm.menuBackgroundColor,
51196
- "menu-icon": _vm.menuIcon,
51197
- },
51198
- on: { command: _vm.handlerClickMenu },
51183
+ on: {
51184
+ "update:visible": function ($event) {
51185
+ _vm.showMenu = $event
51199
51186
  },
51200
- "sub-menu",
51201
- _vm.subMenus,
51202
- false
51203
- )
51204
- ),
51205
- ],
51206
- 1
51207
- ),
51208
- _c(
51209
- "el-drawer",
51210
- {
51211
- staticClass: "es-simplicity-apps",
51212
- attrs: {
51213
- direction: "ltr",
51214
- "modal-class": "es-simplicity-apps-modal",
51215
- size: "90%",
51216
- "modal-append-to-body": false,
51217
- "with-header": false,
51218
- visible: _vm.showApps,
51219
- },
51220
- on: {
51221
- "update:visible": function ($event) {
51222
- _vm.showApps = $event
51187
+ "update:fold": function ($event) {
51188
+ _vm.fold = $event
51189
+ },
51190
+ command: _vm.handlerClickMenu,
51223
51191
  },
51224
51192
  },
51225
- },
51226
- [
51227
- _c("apps", {
51228
- attrs: {
51229
- "menu-icon": _vm.menuIcon,
51230
- color: _vm.appColor,
51231
- backgroundColor: _vm.appBackgroundColor,
51232
- applications: _vm.applications,
51233
- business: _vm.business,
51234
- systems: _vm.systems,
51235
- },
51236
- on: { click: _vm.handlerClickApp },
51237
- }),
51238
- ],
51239
- 1
51193
+ "sub-menu",
51194
+ _vm.subMenus,
51195
+ false
51196
+ )
51240
51197
  ),
51198
+ _c("apps", {
51199
+ attrs: {
51200
+ visible: _vm.showApps,
51201
+ "menu-icon": _vm.menuIcon,
51202
+ color: _vm.appColor,
51203
+ backgroundColor: _vm.appBackgroundColor,
51204
+ applications: _vm.applications,
51205
+ business: _vm.business,
51206
+ systems: _vm.systems,
51207
+ },
51208
+ on: {
51209
+ "update:visible": function ($event) {
51210
+ _vm.showApps = $event
51211
+ },
51212
+ click: _vm.handlerClickApp,
51213
+ },
51214
+ }),
51241
51215
  _c(
51242
51216
  "el-drawer",
51243
51217
  {
@@ -51308,9 +51282,10 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
51308
51282
  "div",
51309
51283
  {
51310
51284
  staticClass: "es-simplicity-tabs-handler-item",
51285
+ class: { "is-disabled": _vm.isDisabled.refresh },
51311
51286
  on: {
51312
51287
  click: function ($event) {
51313
- _vm.handleTabsEvents(0)
51288
+ _vm.isDisabled.refresh ? "" : _vm.handleTabsEvents(0)
51314
51289
  },
51315
51290
  },
51316
51291
  },
@@ -51376,6 +51351,7 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
51376
51351
  "el-tabs",
51377
51352
  {
51378
51353
  staticClass: "es-simplicity-iframe",
51354
+ class: { "is-open": _vm.showMenu, "is-fold": _vm.fold },
51379
51355
  attrs: { closable: "", "hide-bar": "" },
51380
51356
  on: {
51381
51357
  "tab-remove": _vm.handleRemove,
@@ -51415,23 +51391,6 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
51415
51391
  false
51416
51392
  )
51417
51393
  ),
51418
- _c(
51419
- "div",
51420
- {
51421
- directives: [
51422
- {
51423
- name: "show",
51424
- rawName: "v-show",
51425
- value: !_vm.showMenu && _vm.subMenus,
51426
- expression: "!showMenu && subMenus",
51427
- },
51428
- ],
51429
- ref: "box",
51430
- staticClass: "es-simplicity-unfold",
51431
- on: { click: _vm.handleShowMenus },
51432
- },
51433
- [_c("i", { ref: "area", staticClass: "el-icon-s-unfold" })]
51434
- ),
51435
51394
  _vm._l(_vm.tabs, function (item) {
51436
51395
  return _c(
51437
51396
  "el-tab-pane",
@@ -51467,7 +51426,22 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
51467
51426
  }),
51468
51427
  ]
51469
51428
  : item.method === "router" && item.refresh
51470
- ? [_c("router-view", { attrs: { name: item.appCode } })]
51429
+ ? [
51430
+ _c(
51431
+ "router-page",
51432
+ _vm._b(
51433
+ {
51434
+ attrs: {
51435
+ show: _vm.activeName == item.id,
51436
+ query: _vm.$parent.params,
51437
+ },
51438
+ },
51439
+ "router-page",
51440
+ item,
51441
+ false
51442
+ )
51443
+ ),
51444
+ ]
51471
51445
  : _vm._e(),
51472
51446
  ],
51473
51447
  2
@@ -51553,11 +51527,11 @@ var simplicityvue_type_template_id_110cff37_scoped_true_render = function () {
51553
51527
  ),
51554
51528
  ])
51555
51529
  }
51556
- var simplicityvue_type_template_id_110cff37_scoped_true_staticRenderFns = []
51557
- simplicityvue_type_template_id_110cff37_scoped_true_render._withStripped = true
51530
+ var simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns = []
51531
+ simplicityvue_type_template_id_672540fb_scoped_true_render._withStripped = true
51558
51532
 
51559
51533
 
51560
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=110cff37&scoped=true&
51534
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=672540fb&scoped=true&
51561
51535
 
51562
51536
  // 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=2597c13a&scoped=true&
51563
51537
  var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
@@ -51969,219 +51943,383 @@ var handler_component = normalizeComponent(
51969
51943
  )
51970
51944
 
51971
51945
  /* harmony default export */ var simplicity_handler = (handler_component.exports);
51972
- // 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/sub-menu.vue?vue&type=template&id=6815a634&scoped=true&
51973
- var sub_menuvue_type_template_id_6815a634_scoped_true_render = function () {
51946
+ // 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/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
51947
+ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
51974
51948
  var _vm = this
51975
51949
  var _h = _vm.$createElement
51976
51950
  var _c = _vm._self._c || _h
51977
51951
  return _c(
51978
- "div",
51979
- { staticClass: "es-simplicity-menus" },
51952
+ "el-drawer",
51953
+ {
51954
+ staticClass: "es-simplicity-subMenus",
51955
+ attrs: {
51956
+ direction: "ltr",
51957
+ "modal-class": "es-simplicity-apps-modal",
51958
+ size: "auto",
51959
+ "modal-append-to-body": false,
51960
+ "close-on-press-escape": false,
51961
+ modal: false,
51962
+ "with-header": false,
51963
+ wrapperClosable: false,
51964
+ visible: _vm.show,
51965
+ },
51966
+ on: {
51967
+ "update:visible": function ($event) {
51968
+ _vm.show = $event
51969
+ },
51970
+ },
51971
+ },
51980
51972
  [
51981
- _c(
51982
- "div",
51983
- { staticClass: "es-simplicity-menus-box" },
51984
- [
51985
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
51986
- _vm._v(_vm._s(_vm.text)),
51987
- ]),
51988
- _c("menu-list", {
51989
- ref: "menus",
51990
- attrs: {
51991
- data: _vm.menus,
51992
- menuIcon: _vm.menuIcon,
51993
- color: _vm.color,
51994
- backgroundColor: _vm.backgroundColor,
51995
- },
51996
- on: { command: _vm.handleCommand },
51997
- }),
51998
- ],
51999
- 1
52000
- ),
52001
- _vm._l(_vm.subMenus, function (item, index) {
52002
- return _vm.subMenus.length
52003
- ? _c(
52004
- "div",
52005
- { key: item.id, staticClass: "es-simplicity-menus-box" },
52006
- [
52007
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
52008
- _vm._v(_vm._s(item.text || item.name)),
52009
- ]),
52010
- _c("menu-list", {
52011
- attrs: {
52012
- index: index,
52013
- data: item.data,
52014
- menuIcon: _vm.menuIcon,
51973
+ _c("div", { staticClass: "es-simplicity-menus" }, [
51974
+ _c(
51975
+ "div",
51976
+ {
51977
+ staticClass: "es-simplicity-menus-box",
51978
+ style: { width: _vm.width + "px" },
51979
+ },
51980
+ [
51981
+ _c("div", { staticClass: "es-simplicity-menus-title" }, [
51982
+ !_vm.fold
51983
+ ? _c(
51984
+ "span",
51985
+ { staticClass: "es-simplicity-menus-title-text" },
51986
+ [_vm._v(_vm._s(_vm.title || _vm.text))]
51987
+ )
51988
+ : _vm._e(),
51989
+ _c("i", {
51990
+ directives: [
51991
+ {
51992
+ name: "show",
51993
+ rawName: "v-show",
51994
+ value: !_vm.fold,
51995
+ expression: "!fold",
52015
51996
  },
52016
- on: { command: _vm.handleCommand },
52017
- }),
52018
- ],
52019
- 1
52020
- )
52021
- : _vm._e()
52022
- }),
52023
- ],
52024
- 2
51997
+ ],
51998
+ staticClass:
51999
+ "es-icon-shouqicaidan es-simplicity-menus-title-icon",
52000
+ on: {
52001
+ click: function ($event) {
52002
+ _vm.handleFold(true)
52003
+ },
52004
+ },
52005
+ }),
52006
+ _c("i", {
52007
+ directives: [
52008
+ {
52009
+ name: "show",
52010
+ rawName: "v-show",
52011
+ value: _vm.fold,
52012
+ expression: "fold",
52013
+ },
52014
+ ],
52015
+ staticClass:
52016
+ "es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
52017
+ on: {
52018
+ click: function ($event) {
52019
+ _vm.handleFold(false)
52020
+ },
52021
+ },
52022
+ }),
52023
+ ]),
52024
+ _c("menu-list", {
52025
+ ref: "menus",
52026
+ attrs: {
52027
+ data: _vm.menus,
52028
+ menuIcon: _vm.menuIcon,
52029
+ color: _vm.color,
52030
+ backgroundColor: _vm.backgroundColor,
52031
+ fold: _vm.fold,
52032
+ width: _vm.size,
52033
+ },
52034
+ on: { command: _vm.handleCommand },
52035
+ }),
52036
+ ],
52037
+ 1
52038
+ ),
52039
+ ]),
52040
+ ]
52025
52041
  )
52026
52042
  }
52027
- var sub_menuvue_type_template_id_6815a634_scoped_true_staticRenderFns = []
52028
- sub_menuvue_type_template_id_6815a634_scoped_true_render._withStripped = true
52043
+ var sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns = []
52044
+ sub_menuvue_type_template_id_e591bf96_scoped_true_render._withStripped = true
52029
52045
 
52030
52046
 
52031
- // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=6815a634&scoped=true&
52047
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
52032
52048
 
52033
- // 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/menu-list.vue?vue&type=template&id=4dbeba7e&scoped=true&
52034
- var menu_listvue_type_template_id_4dbeba7e_scoped_true_render = function () {
52049
+ // 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/menu-list.vue?vue&type=template&id=118643de&scoped=true&
52050
+ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
52035
52051
  var _vm = this
52036
52052
  var _h = _vm.$createElement
52037
52053
  var _c = _vm._self._c || _h
52038
52054
  return _c(
52039
52055
  "el-scrollbar",
52040
- _vm._l(_vm.data, function (item, index) {
52041
- return _c(
52042
- "div",
52043
- {
52044
- key: item.id,
52045
- staticClass: "es-simplicity-menus-item",
52046
- class: { "is-active": _vm.active === item.id },
52047
- on: {
52048
- click: function ($event) {
52049
- _vm.handleClick(item)
52050
- },
52051
- },
52052
- },
52053
- [
52054
- _c("es-icon", {
52055
- staticClass: "es-simplicity_apps-icon",
52056
- style: _vm.setStyle(index),
52057
- attrs: { contents: item.icons || item.icon || _vm.menuIcon },
52058
- }),
52059
- item.tips
52060
- ? _c("div", { staticClass: "es-simplicity-menus-tips" }, [
52061
- _vm._v(
52062
- "\n " +
52063
- _vm._s(item.tips > 99 ? "99+" : item.tips) +
52064
- "\n "
52065
- ),
52066
- ])
52067
- : _vm._e(),
52068
- _c("div", { staticClass: "es-simplicity_apps-text" }, [
52069
- _vm._v("\n " + _vm._s(item.text || item.name) + "\n "),
52070
- ]),
52071
- ],
52072
- 1
52073
- )
52074
- }),
52075
- 0
52076
- )
52077
- }
52078
- var menu_listvue_type_template_id_4dbeba7e_scoped_true_staticRenderFns = []
52079
- menu_listvue_type_template_id_4dbeba7e_scoped_true_render._withStripped = true
52080
-
52081
-
52082
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=4dbeba7e&scoped=true&
52083
-
52084
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
52085
- //
52086
- //
52087
- //
52088
- //
52089
- //
52090
- //
52091
- //
52092
- //
52093
- //
52094
- //
52095
- //
52096
- //
52097
- //
52098
- //
52099
- //
52100
- //
52101
- //
52102
- //
52103
- //
52104
- //
52105
- //
52106
- //
52107
- //
52108
- //
52109
-
52110
- /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
52111
- name: 'MenuList',
52112
- components: {},
52113
- props: {
52114
- index: [Number, String],
52115
- menuIcon: String,
52116
- color: [String, Array],
52117
- backgroundColor: [String, Array],
52118
- data: Array
52119
- },
52120
- data: function data() {
52121
- return {
52122
- active: ''
52123
- };
52124
- },
52125
-
52126
- computed: {},
52127
- watch: {},
52128
- created: function created() {},
52129
- mounted: function mounted() {},
52130
-
52131
- methods: {
52132
- setStyle: function setStyle(num) {
52133
- var obj = {};
52134
- if (this.color) {
52135
- obj.color = this.color;
52136
- if (Array.isArray(this.color)) {
52137
- obj.color = this.color[num % this.color.length];
52138
- } else {
52139
- obj.color = this.color;
52140
- }
52141
- }
52142
- if (this.backgroundColor) {
52143
- if (Array.isArray(this.backgroundColor)) {
52144
- obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
52145
- } else {
52146
- obj.backgroundColor = this.backgroundColor;
52147
- }
52148
- }
52149
- return obj;
52150
- },
52151
- handleClick: function handleClick(res) {
52152
- this.active = res.id;
52153
- this.$emit('command', res, this.index !== undefined ? this.index + 1 : this.index);
52154
- },
52155
- clearActive: function clearActive() {
52156
- this.active = '';
52157
- }
52158
- }
52159
- });
52160
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
52161
- /* harmony default export */ var simplicity_menu_listvue_type_script_lang_js_ = (menu_listvue_type_script_lang_js_);
52162
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue
52163
-
52164
-
52165
-
52166
-
52167
-
52168
- /* normalize component */
52056
+ { class: { "is-fold": _vm.fold } },
52057
+ [
52058
+ _vm._l(_vm.data, function (item, index) {
52059
+ return [
52060
+ (item.children && item.children.length) ||
52061
+ (item.fourthTabs, item.fourthTabs.length)
52062
+ ? _c(
52063
+ "el-popover",
52064
+ {
52065
+ attrs: {
52066
+ placement: "right",
52067
+ trigger: "hover",
52068
+ "popper-class": "es-simplicity-menus-sub",
52069
+ width: _vm.width,
52070
+ },
52071
+ },
52072
+ [
52073
+ _c("menu-list", {
52074
+ ref: "menus",
52075
+ refInFor: true,
52076
+ attrs: {
52077
+ data: (item.children || []).concat(item.fourthTabs || []),
52078
+ menuIcon: _vm.menuIcon,
52079
+ color: _vm.color,
52080
+ backgroundColor: _vm.backgroundColor,
52081
+ width: _vm.width,
52082
+ },
52083
+ on: { command: _vm.handleClick },
52084
+ }),
52085
+ _c(
52086
+ "div",
52087
+ {
52088
+ key: item.id,
52089
+ staticClass: "es-simplicity-menus-item",
52090
+ class: {
52091
+ "is-active": _vm.active === item.id,
52092
+ "is-fold": _vm.fold,
52093
+ },
52094
+ attrs: {
52095
+ slot: "reference",
52096
+ title: _vm.fold ? item.text || item.name : "",
52097
+ },
52098
+ slot: "reference",
52099
+ },
52100
+ [
52101
+ _vm.fold
52102
+ ? [
52103
+ _c(
52104
+ "el-badge",
52105
+ { attrs: { "is-dot": "", hidden: !item.tips } },
52106
+ [
52107
+ _c("es-icon", {
52108
+ staticClass: "es-simplicity_apps-icon",
52109
+ style: _vm.setStyle(index),
52110
+ attrs: {
52111
+ contents:
52112
+ item.icons || item.icon || _vm.menuIcon,
52113
+ },
52114
+ }),
52115
+ ],
52116
+ 1
52117
+ ),
52118
+ ]
52119
+ : [
52120
+ _c("es-icon", {
52121
+ staticClass: "es-simplicity_apps-icon",
52122
+ style: _vm.setStyle(index),
52123
+ attrs: {
52124
+ contents:
52125
+ item.icons || item.icon || _vm.menuIcon,
52126
+ },
52127
+ }),
52128
+ item.tips
52129
+ ? _c(
52130
+ "div",
52131
+ { staticClass: "es-simplicity-menus-tips" },
52132
+ [
52133
+ _vm._v(
52134
+ "\n " +
52135
+ _vm._s(
52136
+ item.tips > 99 ? "99+" : item.tips
52137
+ ) +
52138
+ "\n "
52139
+ ),
52140
+ ]
52141
+ )
52142
+ : _vm._e(),
52143
+ ],
52144
+ _c(
52145
+ "div",
52146
+ {
52147
+ directives: [
52148
+ {
52149
+ name: "show",
52150
+ rawName: "v-show",
52151
+ value: !_vm.fold,
52152
+ expression: "!fold",
52153
+ },
52154
+ ],
52155
+ staticClass: "es-simplicity_apps-text",
52156
+ },
52157
+ [
52158
+ _vm._v(
52159
+ "\n " +
52160
+ _vm._s(item.text || item.name) +
52161
+ "\n "
52162
+ ),
52163
+ ]
52164
+ ),
52165
+ ],
52166
+ 2
52167
+ ),
52168
+ ],
52169
+ 1
52170
+ )
52171
+ : _c(
52172
+ "div",
52173
+ {
52174
+ key: item.id,
52175
+ staticClass: "es-simplicity-menus-item",
52176
+ class: {
52177
+ "is-active": _vm.active === item.id,
52178
+ "is-fold": _vm.fold,
52179
+ },
52180
+ attrs: { title: _vm.fold ? item.text || item.name : "" },
52181
+ on: {
52182
+ click: function ($event) {
52183
+ _vm.handleClick(item)
52184
+ },
52185
+ },
52186
+ },
52187
+ [
52188
+ _vm.fold
52189
+ ? [
52190
+ _c(
52191
+ "el-badge",
52192
+ { attrs: { "is-dot": "", hidden: !item.tips } },
52193
+ [
52194
+ _c("es-icon", {
52195
+ staticClass: "es-simplicity_apps-icon",
52196
+ style: _vm.setStyle(index),
52197
+ attrs: {
52198
+ contents:
52199
+ item.icons || item.icon || _vm.menuIcon,
52200
+ },
52201
+ }),
52202
+ ],
52203
+ 1
52204
+ ),
52205
+ ]
52206
+ : [
52207
+ _c("es-icon", {
52208
+ staticClass: "es-simplicity_apps-icon",
52209
+ style: _vm.setStyle(index),
52210
+ attrs: {
52211
+ contents: item.icons || item.icon || _vm.menuIcon,
52212
+ },
52213
+ }),
52214
+ item.tips
52215
+ ? _c(
52216
+ "div",
52217
+ { staticClass: "es-simplicity-menus-tips" },
52218
+ [
52219
+ _vm._v(
52220
+ "\n " +
52221
+ _vm._s(item.tips > 99 ? "99+" : item.tips) +
52222
+ "\n "
52223
+ ),
52224
+ ]
52225
+ )
52226
+ : _vm._e(),
52227
+ ],
52228
+ _c(
52229
+ "div",
52230
+ {
52231
+ directives: [
52232
+ {
52233
+ name: "show",
52234
+ rawName: "v-show",
52235
+ value: !_vm.fold,
52236
+ expression: "!fold",
52237
+ },
52238
+ ],
52239
+ staticClass: "es-simplicity_apps-text",
52240
+ },
52241
+ [
52242
+ _vm._v(
52243
+ "\n " +
52244
+ _vm._s(item.text || item.name) +
52245
+ "\n "
52246
+ ),
52247
+ ]
52248
+ ),
52249
+ ],
52250
+ 2
52251
+ ),
52252
+ ]
52253
+ }),
52254
+ ],
52255
+ 2
52256
+ )
52257
+ }
52258
+ var menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns = []
52259
+ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
52169
52260
 
52170
- var menu_list_component = normalizeComponent(
52171
- simplicity_menu_listvue_type_script_lang_js_,
52172
- menu_listvue_type_template_id_4dbeba7e_scoped_true_render,
52173
- menu_listvue_type_template_id_4dbeba7e_scoped_true_staticRenderFns,
52174
- false,
52175
- null,
52176
- "4dbeba7e",
52177
- null
52178
-
52179
- )
52180
52261
 
52181
- /* harmony default export */ var menu_list = (menu_list_component.exports);
52182
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=script&lang=js&
52183
- var sub_menuvue_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; };
52262
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=118643de&scoped=true&
52184
52263
 
52264
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
52265
+ //
52266
+ //
52267
+ //
52268
+ //
52269
+ //
52270
+ //
52271
+ //
52272
+ //
52273
+ //
52274
+ //
52275
+ //
52276
+ //
52277
+ //
52278
+ //
52279
+ //
52280
+ //
52281
+ //
52282
+ //
52283
+ //
52284
+ //
52285
+ //
52286
+ //
52287
+ //
52288
+ //
52289
+ //
52290
+ //
52291
+ //
52292
+ //
52293
+ //
52294
+ //
52295
+ //
52296
+ //
52297
+ //
52298
+ //
52299
+ //
52300
+ //
52301
+ //
52302
+ //
52303
+ //
52304
+ //
52305
+ //
52306
+ //
52307
+ //
52308
+ //
52309
+ //
52310
+ //
52311
+ //
52312
+ //
52313
+ //
52314
+ //
52315
+ //
52316
+ //
52317
+ //
52318
+ //
52319
+ //
52320
+ //
52321
+ //
52322
+ //
52185
52323
  //
52186
52324
  //
52187
52325
  //
@@ -52213,91 +52351,211 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
52213
52351
  //
52214
52352
  //
52215
52353
 
52216
-
52217
- /* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
52218
- name: 'SubMenu',
52219
- components: { MenuList: menu_list },
52354
+ /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
52355
+ name: 'MenuList',
52356
+ components: {},
52220
52357
  props: {
52221
- color: {
52222
- type: [String, Array],
52223
- default: '#fff'
52224
- },
52225
- backgroundColor: {
52226
- type: [String, Array],
52227
- default: function _default() {
52228
- return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
52229
- }
52230
- },
52231
- text: String,
52232
52358
  menuIcon: String,
52233
- children: {
52234
- type: Array,
52235
- default: function _default() {
52236
- return [];
52237
- }
52238
- },
52239
- fourthTabs: {
52240
- type: Array,
52241
- default: function _default() {
52242
- return [];
52243
- }
52244
- }
52359
+ color: [String, Array],
52360
+ backgroundColor: [String, Array],
52361
+ data: Array,
52362
+ fold: Boolean,
52363
+ width: Number
52245
52364
  },
52246
52365
  data: function data() {
52247
52366
  return {
52248
- active: '',
52249
- subMenus: []
52367
+ active: ''
52250
52368
  };
52251
52369
  },
52252
52370
 
52253
- computed: {
52254
- menus: function menus() {
52255
- return [].concat(this.children, this.fourthTabs);
52256
- }
52257
- },
52371
+ computed: {},
52258
52372
  watch: {},
52259
52373
  created: function created() {},
52260
52374
  mounted: function mounted() {},
52261
52375
 
52262
52376
  methods: {
52263
- handleCommand: function handleCommand(res, num) {
52264
- if (res.url) {
52265
- if (res.urlopenmode == 1) {
52266
- util.win.open(res.url);
52267
- } else if (res.urlopenmode == 2) {
52268
- util.win.location.href = res.url;
52377
+ setStyle: function setStyle(num) {
52378
+ var obj = {};
52379
+ if (this.color) {
52380
+ obj.color = this.color;
52381
+ if (Array.isArray(this.color)) {
52382
+ obj.color = this.color[num % this.color.length];
52269
52383
  } else {
52270
- this.$emit('command', res);
52384
+ obj.color = this.color;
52271
52385
  }
52272
52386
  }
52273
- var data = [].concat(res.children || [], res.fourthTabs || []);
52274
- if (data.length) {
52275
- if (num === undefined) {
52276
- this.subMenus = [sub_menuvue_type_script_lang_js_extends({}, res, { data: data })];
52387
+ if (this.backgroundColor) {
52388
+ if (Array.isArray(this.backgroundColor)) {
52389
+ obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
52277
52390
  } else {
52278
- var item = this.subMenus[num];
52279
- if (item) {
52280
- if (item.id !== res.id) {
52281
- this.subMenus.splice(parseInt(num, 10), this.subMenus.length - 1, sub_menuvue_type_script_lang_js_extends({}, res, {
52282
- data: data
52283
- }));
52284
- }
52285
- } else {
52286
- this.subMenus.push(sub_menuvue_type_script_lang_js_extends({}, res, {
52287
- data: data
52288
- }));
52289
- }
52391
+ obj.backgroundColor = this.backgroundColor;
52290
52392
  }
52291
- this.$emit('command', num === undefined ? 2 : 2 + parseInt(num, 10));
52292
- } else {
52293
- if (num === undefined) {
52294
- this.$emit('command', 1);
52295
- this.subMenus = [];
52296
- } else {
52297
- this.subMenus.splice(parseInt(num, 10));
52298
- this.$emit('command', 1 + parseInt(num, 10));
52393
+ }
52394
+ return obj;
52395
+ },
52396
+ handleClick: function handleClick(res) {
52397
+ this.active = res.id;
52398
+ if (res.url) {
52399
+ if (res.urlopenmode == 1) {
52400
+ util.win.open(res.url);
52401
+ return;
52402
+ } else if (res.urlopenmode == 2) {
52403
+ util.win.location.href = res.url;
52404
+ return;
52299
52405
  }
52300
52406
  }
52407
+ this.$emit('command', res);
52408
+ },
52409
+ clearActive: function clearActive() {
52410
+ this.active = '';
52411
+ }
52412
+ }
52413
+ });
52414
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
52415
+ /* harmony default export */ var simplicity_menu_listvue_type_script_lang_js_ = (menu_listvue_type_script_lang_js_);
52416
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue
52417
+
52418
+
52419
+
52420
+
52421
+
52422
+ /* normalize component */
52423
+
52424
+ var menu_list_component = normalizeComponent(
52425
+ simplicity_menu_listvue_type_script_lang_js_,
52426
+ menu_listvue_type_template_id_118643de_scoped_true_render,
52427
+ menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns,
52428
+ false,
52429
+ null,
52430
+ "118643de",
52431
+ null
52432
+
52433
+ )
52434
+
52435
+ /* harmony default export */ var menu_list = (menu_list_component.exports);
52436
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=script&lang=js&
52437
+ //
52438
+ //
52439
+ //
52440
+ //
52441
+ //
52442
+ //
52443
+ //
52444
+ //
52445
+ //
52446
+ //
52447
+ //
52448
+ //
52449
+ //
52450
+ //
52451
+ //
52452
+ //
52453
+ //
52454
+ //
52455
+ //
52456
+ //
52457
+ //
52458
+ //
52459
+ //
52460
+ //
52461
+ //
52462
+ //
52463
+ //
52464
+ //
52465
+ //
52466
+ //
52467
+ //
52468
+ //
52469
+ //
52470
+ //
52471
+ //
52472
+ //
52473
+ //
52474
+ //
52475
+ //
52476
+ //
52477
+ //
52478
+ //
52479
+ //
52480
+ //
52481
+ //
52482
+
52483
+
52484
+ /* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
52485
+ name: 'SubMenu',
52486
+ components: { MenuList: menu_list },
52487
+ props: {
52488
+ title: String,
52489
+ color: {
52490
+ type: [String, Array],
52491
+ default: '#fff'
52492
+ },
52493
+ backgroundColor: {
52494
+ type: [String, Array],
52495
+ default: function _default() {
52496
+ return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
52497
+ }
52498
+ },
52499
+ size: {
52500
+ type: Number,
52501
+ default: 220
52502
+ },
52503
+ visible: Boolean,
52504
+ text: String,
52505
+ menuIcon: String,
52506
+ children: {
52507
+ type: Array,
52508
+ default: function _default() {
52509
+ return [];
52510
+ }
52511
+ },
52512
+ fourthTabs: {
52513
+ type: Array,
52514
+ default: function _default() {
52515
+ return [];
52516
+ }
52517
+ }
52518
+ },
52519
+ data: function data() {
52520
+ return {
52521
+ fold: false,
52522
+ width: this.size,
52523
+ active: '',
52524
+ subMenus: []
52525
+ };
52526
+ },
52527
+
52528
+ computed: {
52529
+ menus: function menus() {
52530
+ return [].concat(this.children, this.fourthTabs);
52531
+ },
52532
+
52533
+ show: {
52534
+ get: function get() {
52535
+ return this.visible;
52536
+ },
52537
+ set: function set(val) {
52538
+ this.$emit('update:visible', val);
52539
+ return val;
52540
+ }
52541
+ }
52542
+ },
52543
+ watch: {},
52544
+ created: function created() {},
52545
+ mounted: function mounted() {},
52546
+
52547
+ methods: {
52548
+ handleFold: function handleFold(res) {
52549
+ this.fold = res;
52550
+ if (res) {
52551
+ this.width = 48;
52552
+ } else {
52553
+ this.width = this.size;
52554
+ }
52555
+ this.$emit('update:fold', res);
52556
+ },
52557
+ handleCommand: function handleCommand(res) {
52558
+ this.$emit('command', res);
52301
52559
  },
52302
52560
  clearSubmenu: function clearSubmenu() {
52303
52561
  this.$refs.menus.clearActive();
@@ -52317,372 +52575,424 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
52317
52575
 
52318
52576
  var sub_menu_component = normalizeComponent(
52319
52577
  simplicity_sub_menuvue_type_script_lang_js_,
52320
- sub_menuvue_type_template_id_6815a634_scoped_true_render,
52321
- sub_menuvue_type_template_id_6815a634_scoped_true_staticRenderFns,
52578
+ sub_menuvue_type_template_id_e591bf96_scoped_true_render,
52579
+ sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns,
52322
52580
  false,
52323
52581
  null,
52324
- "6815a634",
52582
+ "e591bf96",
52325
52583
  null
52326
52584
 
52327
52585
  )
52328
52586
 
52329
52587
  /* harmony default export */ var sub_menu = (sub_menu_component.exports);
52330
- // 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/apps.vue?vue&type=template&id=7d8f0af0&scoped=true&
52331
- var appsvue_type_template_id_7d8f0af0_scoped_true_render = function () {
52588
+ // 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/apps.vue?vue&type=template&id=62050c35&scoped=true&
52589
+ var appsvue_type_template_id_62050c35_scoped_true_render = function () {
52332
52590
  var this$1 = this
52333
52591
  var _vm = this
52334
52592
  var _h = _vm.$createElement
52335
52593
  var _c = _vm._self._c || _h
52336
- return _c("div", { staticClass: "es-simplicity_apps" }, [
52337
- _c(
52338
- "div",
52339
- { staticClass: "es-simplicity_apps-all" },
52340
- [
52594
+ return _c(
52595
+ "el-drawer",
52596
+ {
52597
+ staticClass: "es-simplicity-apps",
52598
+ attrs: {
52599
+ direction: "ltr",
52600
+ "modal-class": "es-simplicity-apps-modal",
52601
+ size: "90%",
52602
+ "modal-append-to-body": false,
52603
+ "with-header": false,
52604
+ visible: _vm.show,
52605
+ },
52606
+ on: {
52607
+ "update:visible": function ($event) {
52608
+ _vm.show = $event
52609
+ },
52610
+ },
52611
+ },
52612
+ [
52613
+ _c("div", { staticClass: "es-simplicity_apps" }, [
52341
52614
  _c(
52342
52615
  "div",
52343
- { staticClass: "es-simplicity_apps-title" },
52616
+ { staticClass: "es-simplicity_apps-all" },
52344
52617
  [
52345
- _vm._v("\n 所有业务系统\n "),
52346
- _c("el-input", {
52347
- staticClass: "es-simplicity_apps-search",
52348
- attrs: {
52349
- size: "medium",
52350
- placeholder: "请输入关键字",
52351
- "prefix-icon": "el-icon-search",
52352
- },
52353
- model: {
52354
- value: _vm.value,
52355
- callback: function ($$v) {
52356
- _vm.value = $$v
52357
- },
52358
- expression: "value",
52618
+ _c(
52619
+ "div",
52620
+ { staticClass: "es-simplicity_apps-title" },
52621
+ [
52622
+ _vm._v("\n 所有业务系统\n "),
52623
+ _c("el-input", {
52624
+ staticClass: "es-simplicity_apps-search",
52625
+ attrs: {
52626
+ size: "medium",
52627
+ placeholder: "请输入关键字",
52628
+ "prefix-icon": "el-icon-search",
52629
+ },
52630
+ model: {
52631
+ value: _vm.value,
52632
+ callback: function ($$v) {
52633
+ _vm.value = $$v
52634
+ },
52635
+ expression: "value",
52636
+ },
52637
+ }),
52638
+ ],
52639
+ 1
52640
+ ),
52641
+ _c(
52642
+ "div",
52643
+ {
52644
+ staticClass: "es-simplicity_apps-box",
52645
+ on: { mousewheel: _vm.handleWheel },
52359
52646
  },
52360
- }),
52361
- ],
52362
- 1
52363
- ),
52364
- _c("div", { staticClass: "es-simplicity_apps-box" }, [
52365
- _c(
52366
- "ul",
52367
- { staticClass: "es-simplicity_apps-list" },
52368
- _vm._l(_vm._applications, function (item) {
52369
- return _c(
52370
- "li",
52371
- { key: item.id, staticClass: "es-simplicity_apps-list-item" },
52372
- [
52373
- _c(
52374
- "div",
52375
- {
52376
- staticClass: "es-simplicity_apps-list-content",
52377
- class: {
52378
- "es-simplicity_apps-disabled": !item.permission,
52379
- },
52380
- on: {
52381
- click: function ($event) {
52382
- _vm.handleClick(item)
52383
- },
52647
+ [
52648
+ _c(
52649
+ "ul",
52650
+ { staticClass: "es-simplicity_apps-list" },
52651
+ _vm._l(_vm._applications, function (item) {
52652
+ return _c(
52653
+ "li",
52654
+ {
52655
+ key: item.id,
52656
+ staticClass: "es-simplicity_apps-list-item",
52384
52657
  },
52385
- },
52386
- [
52387
- _c(
52388
- "el-badge",
52389
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
52390
- [
52391
- _c("es-icon", {
52392
- staticClass: "es-simplicity_apps-icon",
52393
- attrs: {
52394
- contents: item.icons || item.icon || _vm.menuIcon,
52658
+ [
52659
+ _c(
52660
+ "div",
52661
+ {
52662
+ staticClass: "es-simplicity_apps-list-content",
52663
+ class: {
52664
+ "es-simplicity_apps-disabled": !item.permission,
52395
52665
  },
52396
- }),
52397
- ],
52398
- 1
52399
- ),
52400
- _c("div", { staticClass: "es-simplicity_apps-text" }, [
52401
- _vm._v(
52402
- "\n " +
52403
- _vm._s(item.text || item.name) +
52404
- "\n "
52405
- ),
52406
- ]),
52407
- _c(
52408
- "div",
52409
- { staticClass: "es-simplicity_apps-hover" },
52410
- [
52411
- _c("es-icon", {
52412
- staticClass: "es-simplicity_apps-icon",
52413
- attrs: {
52414
- contents: item.permission
52415
- ? "es-icon-jiantou-next"
52416
- : "es-icon-mm",
52666
+ on: {
52667
+ click: function ($event) {
52668
+ _vm.handleClick(item)
52669
+ },
52417
52670
  },
52418
- }),
52419
- _c(
52420
- "div",
52421
- { staticClass: "es-simplicity_apps-text" },
52422
- [
52423
- _vm._v(
52424
- "\n " +
52425
- _vm._s(
52426
- item.permission ? "进入系统" : "暂无权限"
52427
- ) +
52428
- "\n "
52429
- ),
52430
- ]
52431
- ),
52432
- ],
52433
- 1
52434
- ),
52435
- ],
52436
- 1
52437
- ),
52438
- ]
52439
- )
52671
+ },
52672
+ [
52673
+ _c(
52674
+ "el-badge",
52675
+ _vm._b({}, "el-badge", _vm.getBadge(item), false),
52676
+ [
52677
+ _c("es-icon", {
52678
+ staticClass: "es-simplicity_apps-icon",
52679
+ attrs: {
52680
+ contents:
52681
+ item.icons || item.icon || _vm.menuIcon,
52682
+ },
52683
+ }),
52684
+ ],
52685
+ 1
52686
+ ),
52687
+ _c(
52688
+ "div",
52689
+ { staticClass: "es-simplicity_apps-text" },
52690
+ [
52691
+ _vm._v(
52692
+ "\n " +
52693
+ _vm._s(item.text || item.name) +
52694
+ "\n "
52695
+ ),
52696
+ ]
52697
+ ),
52698
+ _c(
52699
+ "div",
52700
+ { staticClass: "es-simplicity_apps-hover" },
52701
+ [
52702
+ _c("es-icon", {
52703
+ staticClass: "es-simplicity_apps-icon",
52704
+ attrs: {
52705
+ contents: item.permission
52706
+ ? "es-icon-jiantou-next"
52707
+ : "es-icon-mm",
52708
+ },
52709
+ }),
52710
+ _c(
52711
+ "div",
52712
+ { staticClass: "es-simplicity_apps-text" },
52713
+ [
52714
+ _vm._v(
52715
+ "\n " +
52716
+ _vm._s(
52717
+ item.permission
52718
+ ? "进入系统"
52719
+ : "暂无权限"
52720
+ ) +
52721
+ "\n "
52722
+ ),
52723
+ ]
52724
+ ),
52725
+ ],
52726
+ 1
52727
+ ),
52728
+ ],
52729
+ 1
52730
+ ),
52731
+ ]
52732
+ )
52733
+ }),
52734
+ 0
52735
+ ),
52736
+ ]
52737
+ ),
52738
+ _c("el-pagination", {
52739
+ staticClass: "es-simplicity_apps-pagination",
52740
+ attrs: {
52741
+ background: "",
52742
+ layout: "total,prev, pager, next",
52743
+ "total-text": "共 {total} 个业务系统",
52744
+ "page-size": _vm.appSize,
52745
+ total: _vm.apps.length,
52746
+ "current-page": _vm.appNum,
52747
+ },
52748
+ on: {
52749
+ "update:currentPage": function ($event) {
52750
+ _vm.appNum = $event
52751
+ },
52752
+ "current-change": function (res) {
52753
+ this$1.handleChange(res, 0)
52754
+ },
52755
+ },
52440
52756
  }),
52441
- 0
52442
- ),
52443
- ]),
52444
- _c("el-pagination", {
52445
- staticClass: "es-simplicity_apps-pagination",
52446
- attrs: {
52447
- background: "",
52448
- layout: "total,prev, pager, next",
52449
- "total-text": "共 {total} 个业务系统",
52450
- "page-size": _vm.appSize,
52451
- total: _vm.apps.length,
52452
- },
52453
- on: {
52454
- "current-change": function (res) {
52455
- this$1.handleChange(res, 0)
52456
- },
52457
- },
52458
- }),
52459
- ],
52460
- 1
52461
- ),
52462
- _c("div", { staticClass: "es-simplicity_apps-other" }, [
52463
- _c(
52464
- "div",
52465
- { staticClass: "es-simplicity_apps-business" },
52466
- [
52467
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
52468
- _vm._v("专项业务系统"),
52469
- ]),
52757
+ ],
52758
+ 1
52759
+ ),
52760
+ _c("div", { staticClass: "es-simplicity_apps-other" }, [
52470
52761
  _c(
52471
- "ul",
52472
- { staticClass: "es-simplicity_apps-list" },
52473
- _vm._l(_vm._business, function (item, index) {
52474
- return _c(
52475
- "li",
52476
- { key: item.id, staticClass: "es-simplicity_apps-list-item" },
52477
- [
52478
- _c(
52479
- "div",
52762
+ "div",
52763
+ { staticClass: "es-simplicity_apps-business" },
52764
+ [
52765
+ _c("div", { staticClass: "es-simplicity_apps-title" }, [
52766
+ _vm._v("专项业务系统"),
52767
+ ]),
52768
+ _c(
52769
+ "ul",
52770
+ { staticClass: "es-simplicity_apps-list" },
52771
+ _vm._l(_vm._business, function (item, index) {
52772
+ return _c(
52773
+ "li",
52480
52774
  {
52481
- staticClass: "es-simplicity_apps-list-content",
52482
- class: {
52483
- "es-simplicity_apps-disabled": !item.permission,
52484
- },
52485
- on: {
52486
- click: function ($event) {
52487
- _vm.handleClick(item)
52488
- },
52489
- },
52775
+ key: item.id,
52776
+ staticClass: "es-simplicity_apps-list-item",
52490
52777
  },
52491
52778
  [
52492
- _c("es-icon", {
52493
- staticClass: "es-simplicity_app-icon",
52494
- style: _vm.setStyle(index),
52495
- attrs: {
52496
- contents: item.icons || item.icon || _vm.menuIcon,
52497
- },
52498
- }),
52499
- _c(
52500
- "el-badge",
52501
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
52502
- [
52503
- _c(
52504
- "div",
52505
- { staticClass: "es-simplicity_apps-text" },
52506
- [
52507
- _vm._v(
52508
- "\n " +
52509
- _vm._s(item.text || item.name) +
52510
- "\n "
52511
- ),
52512
- ]
52513
- ),
52514
- ]
52515
- ),
52516
52779
  _c(
52517
52780
  "div",
52518
- { staticClass: "es-simplicity_apps-hover" },
52781
+ {
52782
+ staticClass: "es-simplicity_apps-list-content",
52783
+ class: {
52784
+ "es-simplicity_apps-disabled": !item.permission,
52785
+ },
52786
+ on: {
52787
+ click: function ($event) {
52788
+ _vm.handleClick(item)
52789
+ },
52790
+ },
52791
+ },
52519
52792
  [
52520
52793
  _c("es-icon", {
52521
- staticClass: "es-simplicity_apps-icon",
52794
+ staticClass: "es-simplicity_app-icon",
52795
+ style: _vm.setStyle(index),
52522
52796
  attrs: {
52523
- contents: item.permission
52524
- ? "es-icon-jiantou-next"
52525
- : "es-icon-mm",
52797
+ contents: item.icons || item.icon || _vm.menuIcon,
52526
52798
  },
52527
52799
  }),
52528
52800
  _c(
52529
- "div",
52530
- { staticClass: "es-simplicity_apps-text" },
52801
+ "el-badge",
52802
+ _vm._b({}, "el-badge", _vm.getBadge(item), false),
52531
52803
  [
52532
- _vm._v(
52533
- "\n " +
52534
- _vm._s(
52535
- item.permission ? "进入系统" : "暂无权限"
52536
- ) +
52537
- "\n "
52804
+ _c(
52805
+ "div",
52806
+ { staticClass: "es-simplicity_apps-text" },
52807
+ [
52808
+ _vm._v(
52809
+ "\n " +
52810
+ _vm._s(item.text || item.name) +
52811
+ "\n "
52812
+ ),
52813
+ ]
52538
52814
  ),
52539
52815
  ]
52540
52816
  ),
52817
+ _c(
52818
+ "div",
52819
+ { staticClass: "es-simplicity_apps-hover" },
52820
+ [
52821
+ _c("es-icon", {
52822
+ staticClass: "es-simplicity_apps-icon",
52823
+ attrs: {
52824
+ contents: item.permission
52825
+ ? "es-icon-jiantou-next"
52826
+ : "es-icon-mm",
52827
+ },
52828
+ }),
52829
+ _c(
52830
+ "div",
52831
+ { staticClass: "es-simplicity_apps-text" },
52832
+ [
52833
+ _vm._v(
52834
+ "\n " +
52835
+ _vm._s(
52836
+ item.permission
52837
+ ? "进入系统"
52838
+ : "暂无权限"
52839
+ ) +
52840
+ "\n "
52841
+ ),
52842
+ ]
52843
+ ),
52844
+ ],
52845
+ 1
52846
+ ),
52541
52847
  ],
52542
52848
  1
52543
52849
  ),
52544
- ],
52545
- 1
52546
- ),
52547
- ]
52548
- )
52549
- }),
52550
- 0
52850
+ ]
52851
+ )
52852
+ }),
52853
+ 0
52854
+ ),
52855
+ _c("el-pagination", {
52856
+ staticClass: "es-simplicity_apps-pagination",
52857
+ attrs: {
52858
+ background: "",
52859
+ layout: "total,prev, pager, next",
52860
+ "total-text": "共 {total} 专项业务系统",
52861
+ "page-size": _vm.appSize,
52862
+ total: _vm.business.length,
52863
+ },
52864
+ on: {
52865
+ "current-change": function (res) {
52866
+ this$1.handleChange(res, 1)
52867
+ },
52868
+ },
52869
+ }),
52870
+ ],
52871
+ 1
52551
52872
  ),
52552
- _c("el-pagination", {
52553
- staticClass: "es-simplicity_apps-pagination",
52554
- attrs: {
52555
- background: "",
52556
- layout: "total,prev, pager, next",
52557
- "total-text": "共 {total} 专项业务系统",
52558
- "page-size": _vm.appSize,
52559
- total: _vm.business.length,
52560
- },
52561
- on: {
52562
- "current-change": function (res) {
52563
- this$1.handleChange(res, 1)
52564
- },
52565
- },
52566
- }),
52567
- ],
52568
- 1
52569
- ),
52570
- _c(
52571
- "div",
52572
- { staticClass: "es-simplicity_apps-systems" },
52573
- [
52574
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
52575
- _vm._v("系统设置"),
52576
- ]),
52577
52873
  _c(
52578
- "ul",
52579
- { staticClass: "es-simplicity_apps-list" },
52580
- _vm._l(_vm._systems, function (item, index) {
52581
- return _c(
52582
- "li",
52583
- { key: item.id, staticClass: "es-simplicity_apps-list-item" },
52584
- [
52585
- _c(
52586
- "div",
52874
+ "div",
52875
+ { staticClass: "es-simplicity_apps-systems" },
52876
+ [
52877
+ _c("div", { staticClass: "es-simplicity_apps-title" }, [
52878
+ _vm._v("系统设置"),
52879
+ ]),
52880
+ _c(
52881
+ "ul",
52882
+ { staticClass: "es-simplicity_apps-list" },
52883
+ _vm._l(_vm._systems, function (item, index) {
52884
+ return _c(
52885
+ "li",
52587
52886
  {
52588
- staticClass: "es-simplicity_apps-list-content",
52589
- class: {
52590
- "es-simplicity_apps-disabled": !item.permission,
52591
- },
52592
- on: {
52593
- click: function ($event) {
52594
- _vm.handleClick(item)
52595
- },
52596
- },
52887
+ key: item.id,
52888
+ staticClass: "es-simplicity_apps-list-item",
52597
52889
  },
52598
52890
  [
52599
- _c("es-icon", {
52600
- staticClass: "es-simplicity_app-icon",
52601
- style: _vm.setStyle(index),
52602
- attrs: {
52603
- contents: item.icons || item.icon || _vm.menuIcon,
52604
- },
52605
- }),
52606
- _c(
52607
- "el-badge",
52608
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
52609
- [
52610
- _c(
52611
- "div",
52612
- { staticClass: "es-simplicity_apps-text" },
52613
- [
52614
- _vm._v(
52615
- "\n " +
52616
- _vm._s(item.text || item.name) +
52617
- "\n "
52618
- ),
52619
- ]
52620
- ),
52621
- ]
52622
- ),
52623
52891
  _c(
52624
52892
  "div",
52625
- { staticClass: "es-simplicity_apps-hover" },
52893
+ {
52894
+ staticClass: "es-simplicity_apps-list-content",
52895
+ class: {
52896
+ "es-simplicity_apps-disabled": !item.permission,
52897
+ },
52898
+ on: {
52899
+ click: function ($event) {
52900
+ _vm.handleClick(item)
52901
+ },
52902
+ },
52903
+ },
52626
52904
  [
52627
52905
  _c("es-icon", {
52628
- staticClass: "es-simplicity_apps-icon",
52906
+ staticClass: "es-simplicity_app-icon",
52907
+ style: _vm.setStyle(index),
52629
52908
  attrs: {
52630
- contents: item.permission
52631
- ? "es-icon-jiantou-next"
52632
- : "es-icon-mm",
52909
+ contents: item.icons || item.icon || _vm.menuIcon,
52633
52910
  },
52634
52911
  }),
52635
52912
  _c(
52636
- "div",
52637
- { staticClass: "es-simplicity_apps-text" },
52913
+ "el-badge",
52914
+ _vm._b({}, "el-badge", _vm.getBadge(item), false),
52638
52915
  [
52639
- _vm._v(
52640
- "\n " +
52641
- _vm._s(
52642
- item.permission ? "进入系统" : "暂无权限"
52643
- ) +
52644
- "\n "
52916
+ _c(
52917
+ "div",
52918
+ { staticClass: "es-simplicity_apps-text" },
52919
+ [
52920
+ _vm._v(
52921
+ "\n " +
52922
+ _vm._s(item.text || item.name) +
52923
+ "\n "
52924
+ ),
52925
+ ]
52645
52926
  ),
52646
52927
  ]
52647
52928
  ),
52929
+ _c(
52930
+ "div",
52931
+ { staticClass: "es-simplicity_apps-hover" },
52932
+ [
52933
+ _c("es-icon", {
52934
+ staticClass: "es-simplicity_apps-icon",
52935
+ attrs: {
52936
+ contents: item.permission
52937
+ ? "es-icon-jiantou-next"
52938
+ : "es-icon-mm",
52939
+ },
52940
+ }),
52941
+ _c(
52942
+ "div",
52943
+ { staticClass: "es-simplicity_apps-text" },
52944
+ [
52945
+ _vm._v(
52946
+ "\n " +
52947
+ _vm._s(
52948
+ item.permission
52949
+ ? "进入系统"
52950
+ : "暂无权限"
52951
+ ) +
52952
+ "\n "
52953
+ ),
52954
+ ]
52955
+ ),
52956
+ ],
52957
+ 1
52958
+ ),
52648
52959
  ],
52649
52960
  1
52650
52961
  ),
52651
- ],
52652
- 1
52653
- ),
52654
- ]
52655
- )
52656
- }),
52657
- 0
52962
+ ]
52963
+ )
52964
+ }),
52965
+ 0
52966
+ ),
52967
+ _c("el-pagination", {
52968
+ staticClass: "es-simplicity_apps-pagination",
52969
+ attrs: {
52970
+ background: "",
52971
+ layout: "total,prev, pager, next",
52972
+ "total-text": "共 {total} 系统设置",
52973
+ "hide-on-single-page": "",
52974
+ "page-size": _vm.appSize,
52975
+ total: _vm.business.length,
52976
+ },
52977
+ on: {
52978
+ "current-change": function (res) {
52979
+ this$1.handleChange(res, 2)
52980
+ },
52981
+ },
52982
+ }),
52983
+ ],
52984
+ 1
52658
52985
  ),
52659
- _c("el-pagination", {
52660
- staticClass: "es-simplicity_apps-pagination",
52661
- attrs: {
52662
- background: "",
52663
- layout: "total,prev, pager, next",
52664
- "total-text": "共 {total} 系统设置",
52665
- "hide-on-single-page": "",
52666
- "page-size": _vm.appSize,
52667
- total: _vm.business.length,
52668
- },
52669
- on: {
52670
- "current-change": function (res) {
52671
- this$1.handleChange(res, 2)
52672
- },
52673
- },
52674
- }),
52675
- ],
52676
- 1
52677
- ),
52678
- ]),
52679
- ])
52986
+ ]),
52987
+ ]),
52988
+ ]
52989
+ )
52680
52990
  }
52681
- var appsvue_type_template_id_7d8f0af0_scoped_true_staticRenderFns = []
52682
- appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52991
+ var appsvue_type_template_id_62050c35_scoped_true_staticRenderFns = []
52992
+ appsvue_type_template_id_62050c35_scoped_true_render._withStripped = true
52683
52993
 
52684
52994
 
52685
- // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=7d8f0af0&scoped=true&
52995
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/apps.vue?vue&type=template&id=62050c35&scoped=true&
52686
52996
 
52687
52997
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/apps.vue?vue&type=script&lang=js&
52688
52998
  //
@@ -52860,12 +53170,24 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52860
53170
  //
52861
53171
  //
52862
53172
  //
53173
+ //
53174
+ //
53175
+ //
53176
+ //
53177
+ //
53178
+ //
53179
+ //
53180
+ //
53181
+ //
53182
+ //
53183
+ //
52863
53184
 
52864
53185
 
52865
53186
  /* harmony default export */ var appsvue_type_script_lang_js_ = ({
52866
53187
  name: 'Apps',
52867
53188
  components: {},
52868
53189
  props: {
53190
+ visible: Boolean,
52869
53191
  //菜单、应用默认图标
52870
53192
  menuIcon: String,
52871
53193
  color: {
@@ -52913,6 +53235,15 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52913
53235
  },
52914
53236
 
52915
53237
  computed: {
53238
+ show: {
53239
+ get: function get() {
53240
+ return this.visible;
53241
+ },
53242
+ set: function set(val) {
53243
+ this.$emit('update:visible', val);
53244
+ return val;
53245
+ }
53246
+ },
52916
53247
  _applications: function _applications() {
52917
53248
  var _this = this;
52918
53249
 
@@ -52989,6 +53320,16 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52989
53320
  var name = ['appNum', 'bsNum', 'sysNum'];
52990
53321
  this[name[index]] = res;
52991
53322
  },
53323
+ handleWheel: function handleWheel(e) {
53324
+ var direction = e.deltaY > 0 ? 'down' : 'up'; //deltaY为正则滚轮向下,为负滚轮向上
53325
+ var total = Math.ceil(this.apps.length / this.appSize);
53326
+ if (direction == 'up' && this.appNum > 1) {
53327
+ this.appNum -= 1;
53328
+ }
53329
+ if (direction == 'down' && this.appNum < total) {
53330
+ this.appNum += 1;
53331
+ }
53332
+ },
52992
53333
  handleClick: function handleClick(res) {
52993
53334
  this.$emit('click', res);
52994
53335
  },
@@ -53023,18 +53364,18 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
53023
53364
 
53024
53365
  var apps_component = normalizeComponent(
53025
53366
  simplicity_appsvue_type_script_lang_js_,
53026
- appsvue_type_template_id_7d8f0af0_scoped_true_render,
53027
- appsvue_type_template_id_7d8f0af0_scoped_true_staticRenderFns,
53367
+ appsvue_type_template_id_62050c35_scoped_true_render,
53368
+ appsvue_type_template_id_62050c35_scoped_true_staticRenderFns,
53028
53369
  false,
53029
53370
  null,
53030
- "7d8f0af0",
53371
+ "62050c35",
53031
53372
  null
53032
53373
 
53033
53374
  )
53034
53375
 
53035
53376
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
53036
- // 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/user.vue?vue&type=template&id=6366508b&scoped=true&
53037
- var uservue_type_template_id_6366508b_scoped_true_render = function () {
53377
+ // 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/user.vue?vue&type=template&id=4f9acb61&scoped=true&
53378
+ var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
53038
53379
  var _vm = this
53039
53380
  var _h = _vm.$createElement
53040
53381
  var _c = _vm._self._c || _h
@@ -53178,7 +53519,7 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
53178
53519
  },
53179
53520
  [
53180
53521
  _vm.visible
53181
- ? _c("userinfo", {
53522
+ ? _c("user-info", {
53182
53523
  attrs: { contents: _vm.contents, value: _vm.userInfo },
53183
53524
  })
53184
53525
  : _vm._e(),
@@ -53189,14 +53530,14 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
53189
53530
  1
53190
53531
  )
53191
53532
  }
53192
- var uservue_type_template_id_6366508b_scoped_true_staticRenderFns = []
53193
- uservue_type_template_id_6366508b_scoped_true_render._withStripped = true
53533
+ var uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns = []
53534
+ uservue_type_template_id_4f9acb61_scoped_true_render._withStripped = true
53194
53535
 
53195
53536
 
53196
- // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=6366508b&scoped=true&
53537
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=4f9acb61&scoped=true&
53197
53538
 
53198
- // 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/userinfo.vue?vue&type=template&id=55233cdc&
53199
- var userinfovue_type_template_id_55233cdc_render = function () {
53539
+ // 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/userinfo.vue?vue&type=template&id=0dbd4cc6&
53540
+ var userinfovue_type_template_id_0dbd4cc6_render = function () {
53200
53541
  var _vm = this
53201
53542
  var _h = _vm.$createElement
53202
53543
  var _c = _vm._self._c || _h
@@ -53212,11 +53553,11 @@ var userinfovue_type_template_id_55233cdc_render = function () {
53212
53553
  2
53213
53554
  )
53214
53555
  }
53215
- var userinfovue_type_template_id_55233cdc_staticRenderFns = []
53216
- userinfovue_type_template_id_55233cdc_render._withStripped = true
53556
+ var userinfovue_type_template_id_0dbd4cc6_staticRenderFns = []
53557
+ userinfovue_type_template_id_0dbd4cc6_render._withStripped = true
53217
53558
 
53218
53559
 
53219
- // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=55233cdc&
53560
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=0dbd4cc6&
53220
53561
 
53221
53562
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
53222
53563
  //
@@ -53237,6 +53578,7 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
53237
53578
 
53238
53579
 
53239
53580
  /* harmony default export */ var userinfovue_type_script_lang_js_ = ({
53581
+ name: 'UserInfo',
53240
53582
  props: {
53241
53583
  showNotify: {
53242
53584
  type: Boolean,
@@ -53473,8 +53815,8 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
53473
53815
 
53474
53816
  var userinfo_component = normalizeComponent(
53475
53817
  simplicity_userinfovue_type_script_lang_js_,
53476
- userinfovue_type_template_id_55233cdc_render,
53477
- userinfovue_type_template_id_55233cdc_staticRenderFns,
53818
+ userinfovue_type_template_id_0dbd4cc6_render,
53819
+ userinfovue_type_template_id_0dbd4cc6_staticRenderFns,
53478
53820
  false,
53479
53821
  null,
53480
53822
  null,
@@ -53558,7 +53900,7 @@ var userinfo_component = normalizeComponent(
53558
53900
 
53559
53901
  /* harmony default export */ var uservue_type_script_lang_js_ = ({
53560
53902
  name: 'User',
53561
- components: { avatar: avatar, userinfo: userinfo },
53903
+ components: { avatar: avatar, userInfo: userinfo },
53562
53904
  props: {
53563
53905
  notify: String,
53564
53906
  notifyList: Array,
@@ -53733,32 +54075,32 @@ var userinfo_component = normalizeComponent(
53733
54075
 
53734
54076
  var user_component = normalizeComponent(
53735
54077
  simplicity_uservue_type_script_lang_js_,
53736
- uservue_type_template_id_6366508b_scoped_true_render,
53737
- uservue_type_template_id_6366508b_scoped_true_staticRenderFns,
54078
+ uservue_type_template_id_4f9acb61_scoped_true_render,
54079
+ uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns,
53738
54080
  false,
53739
54081
  null,
53740
- "6366508b",
54082
+ "4f9acb61",
53741
54083
  null
53742
54084
 
53743
54085
  )
53744
54086
 
53745
54087
  /* harmony default export */ var simplicity_user = (user_component.exports);
53746
- // 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/message.vue?vue&type=template&id=4239f1c5&
53747
- var messagevue_type_template_id_4239f1c5_render = function () {
54088
+ // 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/message.vue?vue&type=template&id=0ee7ab90&
54089
+ var messagevue_type_template_id_0ee7ab90_render = function () {
53748
54090
  var _vm = this
53749
54091
  var _h = _vm.$createElement
53750
54092
  var _c = _vm._self._c || _h
53751
54093
  return _c(
53752
54094
  "el-drawer",
53753
54095
  {
53754
- staticClass: "es-msgs-box",
54096
+ staticClass: "es-simplicity-message",
53755
54097
  attrs: {
53756
- "custom-class": "es-msgs-main",
54098
+ "modal-class": "es-simplicity-message-modal",
53757
54099
  direction: "rtl",
53758
- size: "200px",
53759
- modal: false,
54100
+ size: "648px",
53760
54101
  withHeader: false,
53761
54102
  visible: _vm.show,
54103
+ "modal-append-to-body": false,
53762
54104
  },
53763
54105
  on: {
53764
54106
  "update:visible": function ($event) {
@@ -53767,18 +54109,23 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53767
54109
  },
53768
54110
  },
53769
54111
  [
53770
- _c("div", { staticClass: "es-msg-header" }, [
53771
- _c("span", { staticClass: "es-msg-title" }, [_vm._v("消息提示")]),
54112
+ _c("div", { staticClass: "es-simplicity-message-header" }, [
54113
+ _c("span", { staticClass: "es-simplicity-message-title" }, [
54114
+ _vm._v("消息提示"),
54115
+ ]),
53772
54116
  _c(
53773
54117
  "span",
53774
- { staticClass: "es-overlook", on: { click: _vm.handleIgnoreAll } },
54118
+ {
54119
+ staticClass: "es-simplicity-message-overlook",
54120
+ on: { click: _vm.handleIgnoreAll },
54121
+ },
53775
54122
  [_vm._v("全部忽略")]
53776
54123
  ),
53777
54124
  ]),
53778
- _c("div", { staticClass: "es-msg-lists-box" }, [
54125
+ _c("div", { staticClass: "es-simplicity-message-lists-box" }, [
53779
54126
  _c(
53780
54127
  "div",
53781
- { staticClass: "es-msg-lists" },
54128
+ { staticClass: "es-simplicity-message-lists" },
53782
54129
  [
53783
54130
  _c("el-scrollbar", { staticClass: "es-scrollbar" }, [
53784
54131
  _c(
@@ -53797,25 +54144,35 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53797
54144
  [
53798
54145
  _vm._l(_vm.msgs, function (item, index) {
53799
54146
  return _c(
53800
- "el-card",
53801
- { key: item.id, staticClass: "es-msg-item" },
54147
+ "div",
54148
+ {
54149
+ key: item.id,
54150
+ staticClass: "es-simplicity-message-item",
54151
+ },
53802
54152
  [
53803
- _c("i", {
53804
- staticClass: "el-icon-circle-close",
53805
- attrs: { title: "忽略" },
53806
- on: {
53807
- click: function ($event) {
53808
- _vm.handleIgnore(item, index)
53809
- },
53810
- },
53811
- }),
53812
- _c("div", { staticClass: "es-msg-item-title" }, [
53813
- _vm._v(_vm._s(item.title)),
53814
- ]),
54153
+ _c(
54154
+ "div",
54155
+ { staticClass: "es-simplicity-message-item-title" },
54156
+ [
54157
+ _vm._v(
54158
+ "\n " +
54159
+ _vm._s(item.title) +
54160
+ "\n "
54161
+ ),
54162
+ ]
54163
+ ),
53815
54164
  _c("div", [
53816
- _c("span", { staticClass: "es-msg-item-time" }, [
53817
- _vm._v(_vm._s(item.time)),
53818
- ]),
54165
+ _c(
54166
+ "span",
54167
+ { staticClass: "es-simplicity-message-item-time" },
54168
+ [
54169
+ _vm._v(
54170
+ "\n " +
54171
+ _vm._s(item.time) +
54172
+ "\n "
54173
+ ),
54174
+ ]
54175
+ ),
53819
54176
  _c(
53820
54177
  "span",
53821
54178
  {
@@ -53827,27 +54184,39 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53827
54184
  expression: "item.handlerUrl",
53828
54185
  },
53829
54186
  ],
53830
- staticClass: "es-overlook",
54187
+ staticClass: "es-simplicity-message-handler",
53831
54188
  on: {
53832
54189
  click: function ($event) {
53833
54190
  _vm.handleMessage(item, index)
53834
54191
  },
53835
54192
  },
53836
54193
  },
53837
- [_vm._v("处理")]
54194
+ [_vm._v("\n 处理\n ")]
54195
+ ),
54196
+ _c(
54197
+ "span",
54198
+ {
54199
+ staticClass: "es-simplicity-message-overlook",
54200
+ on: {
54201
+ click: function ($event) {
54202
+ _vm.handleIgnore(item, index)
54203
+ },
54204
+ },
54205
+ },
54206
+ [_vm._v("\n 忽略\n ")]
53838
54207
  ),
53839
54208
  ]),
53840
54209
  ]
53841
54210
  )
53842
54211
  }),
53843
54212
  _vm.loading
53844
- ? _c("p", { staticClass: "es-msg-tips" }, [
54213
+ ? _c("p", { staticClass: "es-simplicity-message-tips" }, [
53845
54214
  _vm._v("加载中..."),
53846
54215
  ])
53847
54216
  : _vm._e(),
53848
54217
  _vm.noMore && _vm.count > 0
53849
- ? _c("p", { staticClass: "es-msg-tips" }, [
53850
- _vm._v("没有更多了"),
54218
+ ? _c("p", { staticClass: "es-simplicity-message-tips" }, [
54219
+ _vm._v("\n 没有更多了\n "),
53851
54220
  ])
53852
54221
  : _vm._e(),
53853
54222
  ],
@@ -53858,8 +54227,8 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53858
54227
  1
53859
54228
  ),
53860
54229
  ]),
53861
- _c("div", { staticClass: "es-msg-total" }, [
53862
- _vm._v("当前共有" + _vm._s(_vm.count) + "条消息记录"),
54230
+ _c("div", { staticClass: "es-simplicity-message-total" }, [
54231
+ _vm._v("共有 " + _vm._s(_vm.count) + " 条消息记录"),
53863
54232
  ]),
53864
54233
  _c("es-dialog", {
53865
54234
  attrs: {
@@ -53881,11 +54250,11 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53881
54250
  1
53882
54251
  )
53883
54252
  }
53884
- var messagevue_type_template_id_4239f1c5_staticRenderFns = []
53885
- messagevue_type_template_id_4239f1c5_render._withStripped = true
54253
+ var messagevue_type_template_id_0ee7ab90_staticRenderFns = []
54254
+ messagevue_type_template_id_0ee7ab90_render._withStripped = true
53886
54255
 
53887
54256
 
53888
- // CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=4239f1c5&
54257
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/message.vue?vue&type=template&id=0ee7ab90&
53889
54258
 
53890
54259
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/message.vue?vue&type=script&lang=js&
53891
54260
  //
@@ -53945,11 +54314,21 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
53945
54314
  //
53946
54315
  //
53947
54316
  //
54317
+ //
54318
+ //
54319
+ //
54320
+ //
54321
+ //
54322
+ //
54323
+ //
54324
+ //
54325
+ //
54326
+ //
53948
54327
 
53949
54328
 
53950
54329
 
53951
54330
  /* harmony default export */ var messagevue_type_script_lang_js_ = ({
53952
- name: 'message',
54331
+ name: 'Message',
53953
54332
  provide: function provide() {
53954
54333
  return {
53955
54334
  deleteMessage: this.handleRemove
@@ -54135,8 +54514,8 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
54135
54514
 
54136
54515
  var message_component = normalizeComponent(
54137
54516
  simplicity_messagevue_type_script_lang_js_,
54138
- messagevue_type_template_id_4239f1c5_render,
54139
- messagevue_type_template_id_4239f1c5_staticRenderFns,
54517
+ messagevue_type_template_id_0ee7ab90_render,
54518
+ messagevue_type_template_id_0ee7ab90_staticRenderFns,
54140
54519
  false,
54141
54520
  null,
54142
54521
  null,
@@ -54145,8 +54524,8 @@ var message_component = normalizeComponent(
54145
54524
  )
54146
54525
 
54147
54526
  /* harmony default export */ var simplicity_message = (message_component.exports);
54148
- // 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/notice.vue?vue&type=template&id=31787a15&
54149
- var noticevue_type_template_id_31787a15_render = function () {
54527
+ // 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/notice.vue?vue&type=template&id=1c74f5bb&
54528
+ var noticevue_type_template_id_1c74f5bb_render = function () {
54150
54529
  var _vm = this
54151
54530
  var _h = _vm.$createElement
54152
54531
  var _c = _vm._self._c || _h
@@ -54168,11 +54547,12 @@ var noticevue_type_template_id_31787a15_render = function () {
54168
54547
  {
54169
54548
  name: "show",
54170
54549
  rawName: "v-show",
54171
- value: _vm.data.length,
54172
- expression: "data.length",
54550
+ value: _vm.msgs.length,
54551
+ expression: "msgs.length",
54173
54552
  },
54174
54553
  ],
54175
- staticClass: "es-notice-box",
54554
+ staticClass: "es-simplicity-notice-box",
54555
+ class: { "es-in": _vm.msgs.length },
54176
54556
  on: {
54177
54557
  mouseover: function ($event) {
54178
54558
  _vm.handleMouse(true)
@@ -54183,85 +54563,93 @@ var noticevue_type_template_id_31787a15_render = function () {
54183
54563
  },
54184
54564
  },
54185
54565
  [
54566
+ _c("div", { staticClass: "es-simplicity-notice-header" }, [
54567
+ _c("span", { staticClass: "es-notice-title" }, [
54568
+ _vm._v("通知消息"),
54569
+ ]),
54570
+ ]),
54186
54571
  _c(
54187
- "div",
54188
- { staticClass: "es-msgs-box", class: { "es-in": _vm.data.length } },
54189
- [
54190
- _c("div", { staticClass: "es-msg-header" }, [
54191
- _c("span", { staticClass: "es-notice-title" }, [
54192
- _vm._v("通知消息"),
54193
- ]),
54194
- ]),
54195
- _c("div", { staticClass: "es-msg-lists-box" }, [
54196
- _c(
54197
- "div",
54198
- { staticClass: "es-msg-lists" },
54199
- [
54200
- _c(
54201
- "el-scrollbar",
54202
- { staticClass: "es-scrollbar" },
54203
- _vm._l(_vm.data, function (item, index) {
54204
- return _c(
54205
- "el-card",
54206
- { key: item.id, staticClass: "es-msg-item" },
54207
- [
54208
- _c("div", { staticClass: "es-msg-item-title" }, [
54209
- _vm._v(_vm._s(item.title)),
54210
- ]),
54211
- _c("div", [
54212
- _c("span", { staticClass: "es-msg-item-time" }, [
54213
- _vm._v(_vm._s(item.time)),
54214
- ]),
54215
- _c(
54216
- "span",
54217
- {
54218
- directives: [
54219
- {
54220
- name: "show",
54221
- rawName: "v-show",
54222
- value: item.handlerUrl,
54223
- expression: "item.handlerUrl",
54224
- },
54225
- ],
54226
- staticClass: "es-overlook",
54227
- on: {
54228
- click: function ($event) {
54229
- _vm.handleMessage(item, index)
54230
- },
54231
- },
54232
- },
54233
- [_vm._v("处理")]
54234
- ),
54235
- ]),
54236
- ]
54237
- )
54238
- }),
54239
- 1
54240
- ),
54241
- ],
54242
- 1
54243
- ),
54244
- ]),
54245
- _c(
54572
+ "el-scrollbar",
54573
+ {
54574
+ staticClass:
54575
+ "es-simplicity-notice-lists es-simplicity-message-lists",
54576
+ },
54577
+ _vm._l(_vm.msgs, function (item, index) {
54578
+ return _c(
54246
54579
  "div",
54247
- {
54248
- staticClass: "es-notice-footer",
54249
- staticStyle: {
54250
- display: "flex",
54251
- "justify-content": "space-between",
54252
- },
54253
- },
54580
+ { key: item.id, staticClass: "es-simplicity-message-item" },
54254
54581
  [
54255
- _c("span", { on: { click: _vm.handleIgnoreAll } }, [
54256
- _vm._v("忽略全部"),
54257
- ]),
54258
- _c("span", { on: { click: _vm.afterEnter } }, [
54259
- _vm._v("我知道了"),
54582
+ _c(
54583
+ "div",
54584
+ { staticClass: "es-simplicity-message-item-title" },
54585
+ [_vm._v("\n " + _vm._s(item.title) + "\n ")]
54586
+ ),
54587
+ _c("div", [
54588
+ _c(
54589
+ "span",
54590
+ { staticClass: "es-simplicity-message-item-time" },
54591
+ [
54592
+ _vm._v(
54593
+ "\n " + _vm._s(item.time) + "\n "
54594
+ ),
54595
+ ]
54596
+ ),
54597
+ _c(
54598
+ "span",
54599
+ {
54600
+ directives: [
54601
+ {
54602
+ name: "show",
54603
+ rawName: "v-show",
54604
+ value: item.handlerUrl,
54605
+ expression: "item.handlerUrl",
54606
+ },
54607
+ ],
54608
+ staticClass: "es-simplicity-message-handler",
54609
+ on: {
54610
+ click: function ($event) {
54611
+ _vm.handleMessage(item, index)
54612
+ },
54613
+ },
54614
+ },
54615
+ [_vm._v("\n 处理\n ")]
54616
+ ),
54617
+ _c(
54618
+ "span",
54619
+ {
54620
+ staticClass: "es-simplicity-message-overlook",
54621
+ on: {
54622
+ click: function ($event) {
54623
+ _vm.handleIgnore(item, index)
54624
+ },
54625
+ },
54626
+ },
54627
+ [_vm._v("\n 忽略\n ")]
54628
+ ),
54260
54629
  ]),
54261
54630
  ]
54262
- ),
54263
- ]
54631
+ )
54632
+ }),
54633
+ 0
54264
54634
  ),
54635
+ _c("div", { staticClass: "es-notice-footer" }, [
54636
+ _c(
54637
+ "span",
54638
+ {
54639
+ staticClass: "es-simplicity-message-overlook",
54640
+ on: { click: _vm.handleIgnoreAll },
54641
+ },
54642
+ [_vm._v("忽略全部")]
54643
+ ),
54644
+ _c(
54645
+ "span",
54646
+ {
54647
+ staticClass: "es-simplicity-message-handler",
54648
+ on: { click: _vm.afterEnter },
54649
+ },
54650
+ [_vm._v("我知道了")]
54651
+ ),
54652
+ ]),
54265
54653
  _c("es-dialog", {
54266
54654
  attrs: {
54267
54655
  title: "处理",
@@ -54284,11 +54672,11 @@ var noticevue_type_template_id_31787a15_render = function () {
54284
54672
  ]
54285
54673
  )
54286
54674
  }
54287
- var noticevue_type_template_id_31787a15_staticRenderFns = []
54288
- noticevue_type_template_id_31787a15_render._withStripped = true
54675
+ var noticevue_type_template_id_1c74f5bb_staticRenderFns = []
54676
+ noticevue_type_template_id_1c74f5bb_render._withStripped = true
54289
54677
 
54290
54678
 
54291
- // CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=31787a15&
54679
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/notice.vue?vue&type=template&id=1c74f5bb&
54292
54680
 
54293
54681
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/notice.vue?vue&type=script&lang=js&
54294
54682
  //
@@ -54345,11 +54733,20 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54345
54733
  //
54346
54734
  //
54347
54735
  //
54736
+ //
54737
+ //
54738
+ //
54739
+ //
54740
+ //
54741
+ //
54742
+ //
54743
+ //
54744
+ //
54348
54745
 
54349
54746
 
54350
54747
 
54351
54748
  /* harmony default export */ var noticevue_type_script_lang_js_ = ({
54352
- name: 'notice',
54749
+ name: 'Notice',
54353
54750
  provide: function provide() {
54354
54751
  return {
54355
54752
  deleteNotice: this.handleRemove
@@ -54367,12 +54764,19 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54367
54764
  }
54368
54765
  },
54369
54766
  computed: {},
54767
+ watch: {
54768
+ data: {
54769
+ immediate: true,
54770
+ deep: true,
54771
+ handler: function handler(val) {
54772
+ this.msgs = val;
54773
+ }
54774
+ }
54775
+ },
54370
54776
  data: function data() {
54371
54777
  return {
54372
54778
  //加载数据
54373
54779
  loading: false,
54374
- //消息页码
54375
- pageNum: 1,
54376
54780
  //消息数据,
54377
54781
  msgs: [],
54378
54782
  //即时消息
@@ -54394,20 +54798,38 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54394
54798
  this.$emit('opened', flag);
54395
54799
  },
54396
54800
 
54801
+ //忽略
54802
+ handleIgnore: function handleIgnore(res, i) {
54803
+ var _this = this;
54804
+
54805
+ utils_util["a" /* default */].ajax({
54806
+ url: api["W" /* ignoreSysMsg */],
54807
+ params: {
54808
+ id: res.id
54809
+ }
54810
+ }).then(function (res) {
54811
+ if (res.rCode == 0) {
54812
+ _this.msgs.splice(i, 1);
54813
+ } else {
54814
+ var msg = res.msg || '系统错误,请联系管理员!';
54815
+ _this.$message.error(msg);
54816
+ }
54817
+ });
54818
+ },
54819
+
54397
54820
  //全部忽略
54398
54821
  handleIgnoreAll: function handleIgnoreAll() {
54399
- var _this = this;
54822
+ var _this2 = this;
54400
54823
 
54401
54824
  utils_util["a" /* default */].ajax({
54402
54825
  url: api["V" /* ignoreAllSysMsg */]
54403
54826
  }).then(function (res) {
54404
- _this.count = 0;
54405
- _this.msgs = [];
54406
- _this.$emit('ignore', { type: 'ignore', value: 'all' });
54407
- _this.$emit('opened', false);
54827
+ _this2.msgs = [];
54828
+ _this2.$emit('ignore', { type: 'ignore', value: 'all' });
54829
+ _this2.$emit('opened', false);
54408
54830
  }).catch(function (err) {
54409
54831
  if (err.message && err.message !== 'canceled') {
54410
- _this.$message.error(err.message);
54832
+ _this2.$message.error(err.message);
54411
54833
  }
54412
54834
  });
54413
54835
  },
@@ -54450,8 +54872,8 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54450
54872
 
54451
54873
  var notice_component = normalizeComponent(
54452
54874
  simplicity_noticevue_type_script_lang_js_,
54453
- noticevue_type_template_id_31787a15_render,
54454
- noticevue_type_template_id_31787a15_staticRenderFns,
54875
+ noticevue_type_template_id_1c74f5bb_render,
54876
+ noticevue_type_template_id_1c74f5bb_staticRenderFns,
54455
54877
  false,
54456
54878
  null,
54457
54879
  null,
@@ -54460,8 +54882,8 @@ var notice_component = normalizeComponent(
54460
54882
  )
54461
54883
 
54462
54884
  /* harmony default export */ var notice = (notice_component.exports);
54463
- // 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/settings.vue?vue&type=template&id=8d47a100&
54464
- var settingsvue_type_template_id_8d47a100_render = function () {
54885
+ // 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/settings.vue?vue&type=template&id=48437ba0&
54886
+ var settingsvue_type_template_id_48437ba0_render = function () {
54465
54887
  var _vm = this
54466
54888
  var _h = _vm.$createElement
54467
54889
  var _c = _vm._self._c || _h
@@ -54542,11 +54964,11 @@ var settingsvue_type_template_id_8d47a100_render = function () {
54542
54964
  ]
54543
54965
  )
54544
54966
  }
54545
- var settingsvue_type_template_id_8d47a100_staticRenderFns = []
54546
- settingsvue_type_template_id_8d47a100_render._withStripped = true
54967
+ var settingsvue_type_template_id_48437ba0_staticRenderFns = []
54968
+ settingsvue_type_template_id_48437ba0_render._withStripped = true
54547
54969
 
54548
54970
 
54549
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=8d47a100&
54971
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=48437ba0&
54550
54972
 
54551
54973
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
54552
54974
  //
@@ -54589,7 +55011,7 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
54589
55011
 
54590
55012
 
54591
55013
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
54592
- name: 'message',
55014
+ name: 'Message',
54593
55015
  props: {
54594
55016
  visible: Boolean,
54595
55017
  //主题颜色选择颜色集合
@@ -54678,8 +55100,8 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
54678
55100
 
54679
55101
  var settings_component = normalizeComponent(
54680
55102
  simplicity_settingsvue_type_script_lang_js_,
54681
- settingsvue_type_template_id_8d47a100_render,
54682
- settingsvue_type_template_id_8d47a100_staticRenderFns,
55103
+ settingsvue_type_template_id_48437ba0_render,
55104
+ settingsvue_type_template_id_48437ba0_staticRenderFns,
54683
55105
  false,
54684
55106
  null,
54685
55107
  null,
@@ -54688,10 +55110,25 @@ var settings_component = normalizeComponent(
54688
55110
  )
54689
55111
 
54690
55112
  /* harmony default export */ var settings = (settings_component.exports);
54691
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=script&lang=js&
54692
- var simplicityvue_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; };
55113
+ // 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/router-page.vue?vue&type=template&id=ec0c2718&scoped=true&
55114
+ var router_pagevue_type_template_id_ec0c2718_scoped_true_render = function () {
55115
+ var _vm = this
55116
+ var _h = _vm.$createElement
55117
+ var _c = _vm._self._c || _h
55118
+ return _c(
55119
+ "keep-alive",
55120
+ [_c("router-view", { attrs: { name: _vm.appCode } })],
55121
+ 1
55122
+ )
55123
+ }
55124
+ var router_pagevue_type_template_id_ec0c2718_scoped_true_staticRenderFns = []
55125
+ router_pagevue_type_template_id_ec0c2718_scoped_true_render._withStripped = true
54693
55126
 
54694
- var simplicityvue_type_script_lang_js_this = undefined;
55127
+
55128
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=template&id=ec0c2718&scoped=true&
55129
+
55130
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/router-page.vue?vue&type=script&lang=js&
55131
+ var router_pagevue_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; };
54695
55132
 
54696
55133
  //
54697
55134
  //
@@ -54699,6 +55136,77 @@ var simplicityvue_type_script_lang_js_this = undefined;
54699
55136
  //
54700
55137
  //
54701
55138
  //
55139
+
55140
+
55141
+ /* harmony default export */ var router_pagevue_type_script_lang_js_ = ({
55142
+ name: 'RouterPage',
55143
+ components: {},
55144
+ props: {
55145
+ appCode: String,
55146
+ path: String,
55147
+ url: String,
55148
+ query: {
55149
+ type: Object,
55150
+ default: function _default() {
55151
+ return {};
55152
+ }
55153
+ },
55154
+ show: Boolean
55155
+ },
55156
+ data: function data() {
55157
+ return {
55158
+ params: {}
55159
+ };
55160
+ },
55161
+
55162
+ computed: {},
55163
+ watch: {
55164
+ show: function show(val) {
55165
+ if (val) {
55166
+ this.jump();
55167
+ }
55168
+ }
55169
+ },
55170
+ created: function created() {},
55171
+ mounted: function mounted() {
55172
+ this.params = utils_util["a" /* default */].getParams({ url: this.url });
55173
+ this.jump();
55174
+ },
55175
+
55176
+ methods: {
55177
+ jump: function jump() {
55178
+ this.$router.push({
55179
+ path: this.path,
55180
+ query: router_pagevue_type_script_lang_js_extends({}, this.query, this.params)
55181
+ });
55182
+ }
55183
+ }
55184
+ });
55185
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue?vue&type=script&lang=js&
55186
+ /* harmony default export */ var simplicity_router_pagevue_type_script_lang_js_ = (router_pagevue_type_script_lang_js_);
55187
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/router-page.vue
55188
+
55189
+
55190
+
55191
+
55192
+
55193
+ /* normalize component */
55194
+
55195
+ var router_page_component = normalizeComponent(
55196
+ simplicity_router_pagevue_type_script_lang_js_,
55197
+ router_pagevue_type_template_id_ec0c2718_scoped_true_render,
55198
+ router_pagevue_type_template_id_ec0c2718_scoped_true_staticRenderFns,
55199
+ false,
55200
+ null,
55201
+ "ec0c2718",
55202
+ null
55203
+
55204
+ )
55205
+
55206
+ /* harmony default export */ var router_page = (router_page_component.exports);
55207
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=script&lang=js&
55208
+ var simplicityvue_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; };
55209
+
54702
55210
  //
54703
55211
  //
54704
55212
  //
@@ -54977,17 +55485,7 @@ var simplicityvue_type_script_lang_js_this = undefined;
54977
55485
  //
54978
55486
  //
54979
55487
  //
54980
- //
54981
- //
54982
- //
54983
- //
54984
- //
54985
- //
54986
- //
54987
- //
54988
- //
54989
- //
54990
- //
55488
+
54991
55489
 
54992
55490
 
54993
55491
 
@@ -55001,14 +55499,14 @@ var simplicityvue_type_script_lang_js_this = undefined;
55001
55499
 
55002
55500
 
55003
55501
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
55004
- var events = [function (tabs, index) {
55502
+ var events = [function (tabs, index, that) {
55005
55503
  var tab = tabs[index];
55006
55504
 
55007
55505
  if (tab.method == 'iframe') {
55008
55506
  tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
55009
55507
  } else {
55010
55508
  tabs[index].refresh = false;
55011
- simplicityvue_type_script_lang_js_this.$nextTick(function () {
55509
+ that.$nextTick(function () {
55012
55510
  tabs[index].refresh = true;
55013
55511
  });
55014
55512
  }
@@ -55046,7 +55544,7 @@ var events = [function (tabs, index) {
55046
55544
  return tabs;
55047
55545
  }];
55048
55546
  /* harmony default export */ var simplicityvue_type_script_lang_js_ = ({
55049
- name: 'EsMainSimplicity',
55547
+ name: 'Simplicity',
55050
55548
  components: {
55051
55549
  avatar: avatar,
55052
55550
  handler: simplicity_handler,
@@ -55055,7 +55553,8 @@ var events = [function (tabs, index) {
55055
55553
  user: simplicity_user,
55056
55554
  message: simplicity_message,
55057
55555
  notice: notice,
55058
- settings: settings
55556
+ settings: settings,
55557
+ routerPage: router_page
55059
55558
  },
55060
55559
  props: {
55061
55560
  appCode: String,
@@ -55137,10 +55636,13 @@ var events = [function (tabs, index) {
55137
55636
  wjProps: Object,
55138
55637
  //无界微前端Attrs属性
55139
55638
  wjAttrs: Object,
55639
+ //菜单宽度
55140
55640
  menuWidth: {
55141
55641
  type: Number,
55142
55642
  default: 220
55143
- }
55643
+ },
55644
+ //路由方式
55645
+ routeType: String
55144
55646
  },
55145
55647
  data: function data() {
55146
55648
  return {
@@ -55154,12 +55656,14 @@ var events = [function (tabs, index) {
55154
55656
  userApps: [],
55155
55657
  //所有菜单
55156
55658
  menus: [],
55659
+ //菜单名称
55660
+ title: '',
55157
55661
  //子菜单
55158
55662
  subMenus: null,
55159
55663
  //展示菜单导航
55160
55664
  showMenu: false,
55161
- //展示菜单导航宽度
55162
- width: this.menuWidth,
55665
+ //折叠菜单
55666
+ fold: false,
55163
55667
  //人工智能配置
55164
55668
  aiConfig: null,
55165
55669
  //公用窗口面板配置
@@ -55288,7 +55792,7 @@ var events = [function (tabs, index) {
55288
55792
  utils_util["a" /* default */].win.refresh = this.handleRefresh;
55289
55793
  utils_util["a" /* default */].win.jumpMenu = this.jumpMenu;
55290
55794
  utils_util["a" /* default */].win.windowOpen = this.openPage;
55291
- this.move();
55795
+ this.handleListener();
55292
55796
  },
55293
55797
 
55294
55798
  methods: {
@@ -55297,13 +55801,13 @@ var events = [function (tabs, index) {
55297
55801
  * @author huangbo
55298
55802
  * @date 2024年9月7日
55299
55803
  **/
55300
- hasRouter: function hasRouter(res, url, code, parentName) {
55804
+ hasRouter: function hasRouter(res, url, code) {
55301
55805
  if (!url) {
55302
55806
  return false;
55303
55807
  }
55304
55808
  if (Array.isArray(res)) {
55305
55809
  for (var i in res) {
55306
- var path = this.hasRouter(res[i], url, code, parentName);
55810
+ var path = this.hasRouter(res[i], url, code);
55307
55811
  if (path) {
55308
55812
  return path;
55309
55813
  }
@@ -55326,7 +55830,7 @@ var events = [function (tabs, index) {
55326
55830
  return pathname;
55327
55831
  }
55328
55832
  if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
55329
- var _path2 = this.hasRouter(res.children, url, code, res.name);
55833
+ var _path2 = this.hasRouter(res.children, url, code);
55330
55834
  if (_path2) {
55331
55835
  return _path2;
55332
55836
  }
@@ -55458,7 +55962,7 @@ var events = [function (tabs, index) {
55458
55962
  * @date 2024年9月7日
55459
55963
  **/
55460
55964
  getApplications: function getApplications() {
55461
- var _this2 = this;
55965
+ var _this = this;
55462
55966
 
55463
55967
  var loading = utils_util["a" /* default */].loading('', '加载中...');
55464
55968
  utils_util["a" /* default */].ajax({
@@ -55473,29 +55977,29 @@ var events = [function (tabs, index) {
55473
55977
  app_system = _res$results.app_system,
55474
55978
  app_user = _res$results.app_user;
55475
55979
 
55476
- _this2.userApps = app_user.filter(function (item) {
55980
+ _this.userApps = app_user.filter(function (item) {
55477
55981
  return item.permission !== false;
55478
55982
  });
55479
- _this2.applications = all;
55480
- _this2.business = app_special_business_system;
55481
- _this2.systems = app_system;
55482
- _this2.setTips(_this2.userApps);
55483
- _this2.setTips(_this2.applications);
55484
- _this2.setTips(_this2.business);
55485
- _this2.setTips(_this2.systems);
55983
+ _this.applications = all;
55984
+ _this.business = app_special_business_system;
55985
+ _this.systems = app_system;
55986
+ _this.setTips(_this.userApps);
55987
+ _this.setTips(_this.applications);
55988
+ _this.setTips(_this.business);
55989
+ _this.setTips(_this.systems);
55486
55990
  } else {
55487
- _this2.$message.error('未分配应用菜单权限,请联系管理员!');
55991
+ _this.$message.error('未分配应用菜单权限,请联系管理员!');
55488
55992
  }
55489
- _this2.getMenus(loading);
55993
+ _this.getMenus(loading);
55490
55994
  } else {
55491
55995
  loading.close();
55492
55996
  var msg = res.msg || '系统错误,请联系管理员!';
55493
- _this2.$message.error(msg);
55997
+ _this.$message.error(msg);
55494
55998
  }
55495
55999
  }).catch(function (err) {
55496
56000
  loading.close();
55497
56001
  if (err.message && err.message !== 'canceled') {
55498
- _this2.$message.error(err.message);
56002
+ _this.$message.error(err.message);
55499
56003
  }
55500
56004
  });
55501
56005
  },
@@ -55506,125 +56010,124 @@ var events = [function (tabs, index) {
55506
56010
  * @date 2024年9月7日
55507
56011
  **/
55508
56012
  getMenus: function getMenus(loading) {
55509
- var _this3 = this;
56013
+ var _this2 = this;
55510
56014
 
55511
56015
  utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
55512
56016
  loading.close();
55513
56017
  if (res.rCode === 0) {
55514
56018
  if (res.results && res.results.length) {
55515
- _this3.menus = res.results;
55516
- _this3.setTips(_this3.menus);
55517
- utils_store.set('nav', _this3.menus);
55518
- console.log(12121);
55519
- if (_this3.appCode) {
55520
- var app = _this3.userApps.filter(function (item) {
55521
- return item.code === _this3.appCode;
56019
+ _this2.menus = res.results;
56020
+ _this2.setTips(_this2.menus);
56021
+ utils_store.set('nav', _this2.menus);
56022
+ if (_this2.appCode) {
56023
+ var app = _this2.userApps.filter(function (item) {
56024
+ return item.code === _this2.appCode;
55522
56025
  })[0];
55523
56026
  if (app) {
55524
- _this3.active = app.id;
56027
+ _this2.active = app.id;
55525
56028
  if (app.url) {
55526
- var _obj = _this3.getMenu(_this3.menus, app.url);
55527
- if (_obj) {
55528
- var tab = _this3.setIframeType(_obj);
55529
- _this3.tabs = [tab];
55530
- _this3.activeName = tab.id;
55531
- if (tab.method == 'router') {
55532
- var params = utils_util["a" /* default */].getParams({ url: tab.url });
55533
- _this3.$router.push({
55534
- path: tab.path,
55535
- query: params
55536
- });
55537
- }
56029
+ var obj = _this2.getMenu(_this2.menus, app.url);
56030
+ if (obj) {
56031
+ var tab = _this2.setIframeType(obj);
56032
+ _this2.tabs = [tab];
56033
+ _this2.activeName = tab.id;
56034
+ // if (tab.method == 'router') {
56035
+ // let params = util.getParams({ url: tab.url });
56036
+ // this.$router.push({
56037
+ // path: tab.path,
56038
+ // query: { ...this.$parent.params, ...params }
56039
+ // });
56040
+ // }
55538
56041
  }
55539
56042
  }
55540
56043
  }
55541
- if (_this3.tabs.length == 0) {
55542
- var subMenus = _this3.getMenu(_this3.menus, _this3.appCode, 'appCode');
56044
+ if (_this2.tabs.length == 0) {
56045
+ var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
55543
56046
  if (subMenus) {
55544
56047
  // this.subMenus = subMenus;
55545
56048
  // this.showMenu = true;
55546
- var _obj2 = _this3.getFirst(subMenus);
55547
- if (_obj2) {
55548
- var _tab = _this3.setIframeType(_obj2);
55549
- _this3.tabs = [_tab];
55550
- _this3.activeName = _tab.id;
55551
- if (_tab.method == 'router') {
55552
- var _params = utils_util["a" /* default */].getParams({ url: _tab.url });
55553
- _this3.$router.push({
55554
- path: _tab.path,
55555
- query: _params
55556
- });
55557
- }
56049
+ var _obj = _this2.getFirst(subMenus);
56050
+ if (_obj) {
56051
+ var _tab = _this2.setIframeType(_obj);
56052
+ _this2.tabs = [_tab];
56053
+ _this2.activeName = _tab.id;
56054
+ // if (tab.method == 'router') {
56055
+ // let params = util.getParams({ url: tab.url });
56056
+ // this.$router.push({
56057
+ // path: tab.path,
56058
+ // query: { ...this.$parent.params, ...params }
56059
+ // });
56060
+ // }
55558
56061
  }
55559
56062
  } else {
55560
- _this3.subMenus = null;
55561
- _this3.showMenu = false;
56063
+ _this2.subMenus = null;
56064
+ _this2.showMenu = false;
55562
56065
  }
55563
56066
  }
55564
56067
  // this.width = this.menuWidth;
55565
56068
  // this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
55566
56069
  }
55567
- if (_this3.indexUrl) {
55568
- var _obj3 = _this3.getMenu(_this3.menus, _this3.indexUrl);
55569
- if (_obj3) {
55570
- if (!_this3.appCode) {
55571
- var _tab2 = _this3.setIframeType(_obj3);
55572
- _this3.tabs = [_tab2];
55573
- _this3.activeName = _tab2.id;
55574
- if (_tab2.method == 'router') {
55575
- var _params2 = utils_util["a" /* default */].getParams({ url: _tab2.url });
55576
- _this3.$router.push({
55577
- path: _tab2.path,
55578
- query: _params2
55579
- });
55580
- }
56070
+ if (_this2.indexUrl) {
56071
+ var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
56072
+ if (_obj2) {
56073
+ if (!_this2.appCode) {
56074
+ var _tab2 = _this2.setIframeType(_obj2);
56075
+ _this2.tabs = [_tab2];
56076
+ _this2.activeName = _tab2.id;
56077
+ // if (tab.method == 'router') {
56078
+ // let params = util.getParams({ url: tab.url });
56079
+ // this.$router.push({
56080
+ // path: tab.path,
56081
+ // query: { ...this.$parent.params, ...params }
56082
+ // });
56083
+ // }
55581
56084
  }
55582
- _this3.homePage = _obj3;
56085
+ _this2.homePage = _obj2;
55583
56086
  } else {
55584
- _this3.homePage = _this3.setIframeType({
55585
- url: _this3.indexUrl,
56087
+ _this2.homePage = _this2.setIframeType({
56088
+ url: _this2.indexUrl,
55586
56089
  text: '工作台',
55587
56090
  id: '0',
55588
56091
  appCode: 'indexUrl'
55589
56092
  });
55590
- if (!_this3.appCode) {
55591
- _this3.tabs = [_this3.homePage];
55592
- _this3.activeName = '0';
55593
- if (_this3.homePage.method == 'router') {
55594
- var _params3 = utils_util["a" /* default */].getParams({ url: _this3.homePage.url });
55595
- _this3.$router.push({
55596
- path: _this3.homePage.path,
55597
- query: _params3
55598
- });
55599
- }
56093
+ if (!_this2.appCode) {
56094
+ _this2.tabs = [_this2.homePage];
56095
+ _this2.activeName = '0';
56096
+ // if (this.homePage.method == 'router') {
56097
+ // let params = util.getParams({ url: this.homePage.url });
56098
+ // this.$router.push({
56099
+ // path: this.homePage.path,
56100
+ // query: { ...this.$parent.params, ...params }
56101
+ // });
56102
+ // }
55600
56103
  }
55601
56104
  }
55602
- } else if (_this3.initApps && _this3.initApps.length && !_this3.appCode) {
55603
- var _obj4 = _this3.getMenu(_this3.menus, _this3.initApps[_this3.initApps.length - 1]);
55604
- if (_obj4) {
55605
- var _tab3 = _this3.setIframeType(_obj4);
55606
- _this3.tabs.push(_tab3);
55607
- _this3.activeName = _tab3.id;
55608
- if (_tab3.method == 'router') {
55609
- var _params4 = utils_util["a" /* default */].getParams({ url: _tab3.url });
55610
- _this3.$router.push({
55611
- path: _tab3.path,
55612
- query: _params4
55613
- });
55614
- }
56105
+ } else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
56106
+ var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
56107
+ if (_obj3) {
56108
+ var _tab3 = _this2.setIframeType(_obj3);
56109
+ _this2.tabs.push(_tab3);
56110
+ _this2.activeName = _tab3.id;
56111
+ // if (tab.method == 'router') {
56112
+ // let params = util.getParams({ url: tab.url });
56113
+ // this.$router.push({
56114
+ // path: tab.path,
56115
+ // query: { ...this.$parent.params, ...params }
56116
+ // });
56117
+ // }
55615
56118
  }
55616
56119
  }
55617
56120
  } else {
55618
- _this3.$message.error('未分配菜单权限,请联系管理员!');
56121
+ _this2.$message.error('未分配菜单权限,请联系管理员!');
55619
56122
  }
55620
56123
  } else {
55621
56124
  var msg = res.msg || '系统错误,请联系管理员!';
55622
- _this3.$message.error(msg);
56125
+ _this2.$message.error(msg);
55623
56126
  }
55624
56127
  }).catch(function (err) {
55625
56128
  loading.close();
55626
56129
  if (err.message && err.message !== 'canceled') {
55627
- _this3.$message.error(err.message);
56130
+ _this2.$message.error(err.message);
55628
56131
  }
55629
56132
  });
55630
56133
  },
@@ -55649,7 +56152,7 @@ var events = [function (tabs, index) {
55649
56152
  var routes = this.$router.options.routes;
55650
56153
  if (routes) {
55651
56154
  var path = this.hasRouter(routes, urls[0], res.appCode);
55652
- if (path) {
56155
+ if (path && this.routeType !== 'wujie') {
55653
56156
  res.method = 'router';
55654
56157
  res.path = path;
55655
56158
  } else {
@@ -55691,14 +56194,14 @@ var events = [function (tabs, index) {
55691
56194
  return item;
55692
56195
  }
55693
56196
  if (Object.prototype.hasOwnProperty.call(item, 'children') && item.children.length) {
55694
- var _obj5 = this.getMenu(item.children, res, key);
55695
- if (_obj5) {
55696
- return _obj5;
56197
+ var obj = this.getMenu(item.children, res, key);
56198
+ if (obj) {
56199
+ return obj;
55697
56200
  }
55698
56201
  } else if (Object.prototype.hasOwnProperty.call(item, 'fourthTabs') && item.fourthTabs.length) {
55699
- var _obj6 = this.getMenu(item.fourthTabs, res, key);
55700
- if (_obj6) {
55701
- return _obj6;
56202
+ var _obj4 = this.getMenu(item.fourthTabs, res, key);
56203
+ if (_obj4) {
56204
+ return _obj4;
55702
56205
  }
55703
56206
  }
55704
56207
  }
@@ -55734,11 +56237,11 @@ var events = [function (tabs, index) {
55734
56237
  * @date 2024年9月7日
55735
56238
  **/
55736
56239
  setTips: function setTips(obj) {
55737
- var _this4 = this;
56240
+ var _this3 = this;
55738
56241
 
55739
56242
  if (Array.isArray(obj)) {
55740
56243
  obj.forEach(function (item) {
55741
- _this4.setTips(item);
56244
+ _this3.setTips(item);
55742
56245
  });
55743
56246
  } else {
55744
56247
  if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
@@ -55748,7 +56251,7 @@ var events = [function (tabs, index) {
55748
56251
  var flag = 0;
55749
56252
  if (obj.children && obj.children.length) {
55750
56253
  obj.children.forEach(function (item) {
55751
- var n = _this4.setTips(item);
56254
+ var n = _this3.setTips(item);
55752
56255
  flag += n ? parseInt(n) : 0;
55753
56256
  });
55754
56257
  if (flag) {
@@ -55757,7 +56260,7 @@ var events = [function (tabs, index) {
55757
56260
  }
55758
56261
  } else if (obj.fourthTabs && obj.fourthTabs.length) {
55759
56262
  obj.fourthTabs.forEach(function (item) {
55760
- var n = _this4.setTips(item);
56263
+ var n = _this3.setTips(item);
55761
56264
  flag += n ? parseInt(n) : 0;
55762
56265
  });
55763
56266
  if (flag) {
@@ -55797,7 +56300,7 @@ var events = [function (tabs, index) {
55797
56300
  * @date 2024年9月7日
55798
56301
  **/
55799
56302
  initWebSocket: function initWebSocket() {
55800
- var _this5 = this;
56303
+ var _this4 = this;
55801
56304
 
55802
56305
  this.webSocket = utils_util["a" /* default */].socket({
55803
56306
  url: api["cc" /* wss */],
@@ -55807,32 +56310,32 @@ var events = [function (tabs, index) {
55807
56310
  for (var i in data) {
55808
56311
  if (data[i] !== null && data[i] !== undefined) {
55809
56312
  if (i === 'onlineUserNums' && data[i] > 0) {
55810
- _this5.online = data[i];
56313
+ _this4.online = data[i];
55811
56314
  }
55812
56315
  if (i === 'sysMsgNums') {
55813
- _this5.notice = data[i];
55814
- if (_this5.showMsg) {
55815
- _this5.$refs.message.getMsg(true);
56316
+ _this4.notice = data[i];
56317
+ if (_this4.showMsg) {
56318
+ _this4.$refs.message.getMsg(true);
55816
56319
  }
55817
56320
  }
55818
56321
  if (i === 'menuTipsMap') {
55819
- _this5.menuTips = data[i];
56322
+ _this4.menuTips = data[i];
55820
56323
  }
55821
56324
  if (i === 'sysMsgList') {
55822
- _this5.sysMsg = data[i];
56325
+ _this4.sysMsg = data[i];
55823
56326
  }
55824
56327
  if (i === 'extraData') {
55825
- _this5.extraData = data[i];
56328
+ _this4.extraData = data[i];
55826
56329
  }
55827
56330
  }
55828
56331
  }
55829
- if (_this5.$store) {
56332
+ if (_this4.$store) {
55830
56333
  try {
55831
- _this5.$store.commit('websocket', data);
56334
+ _this4.$store.commit('websocket', data);
55832
56335
  } catch (error) {}
55833
56336
  }
55834
- if (_this5.$eventBus) {
55835
- _this5.$eventBus.$emit('websocket', data);
56337
+ if (_this4.$eventBus) {
56338
+ _this4.$eventBus.$emit('websocket', data);
55836
56339
  }
55837
56340
  if (utils_util["a" /* default */].win.eventBus) {
55838
56341
  utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
@@ -55847,6 +56350,8 @@ var events = [function (tabs, index) {
55847
56350
  * @date 2024年9月7日
55848
56351
  **/
55849
56352
  handlerClickApp: function handlerClickApp(res) {
56353
+ this.showMsg = false;
56354
+ this.showSet = false;
55850
56355
  if (res) {
55851
56356
  if (res.permission === false) {
55852
56357
  return false;
@@ -55855,8 +56360,6 @@ var events = [function (tabs, index) {
55855
56360
  this.subMenus = res;
55856
56361
  this.showMenu = true;
55857
56362
  this.showApps = false;
55858
- this.width = this.menuWidth;
55859
- this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
55860
56363
  } else {
55861
56364
  var set = true;
55862
56365
  if (res.url) {
@@ -55871,25 +56374,16 @@ var events = [function (tabs, index) {
55871
56374
  this.activeName = res.id;
55872
56375
  if (i == -1) {
55873
56376
  var tab = this.setIframeType(res);
55874
- this.tabs.push(obj);
55875
- if (tab.method == 'router') {
55876
- var params = utils_util["a" /* default */].getParams({ url: tab.url });
55877
- this.$router.push({
55878
- path: tab.path,
55879
- query: params
55880
- });
55881
- }
56377
+ this.tabs.push(tab);
55882
56378
  }
55883
56379
  }
55884
56380
  }
55885
56381
  if (set && res.code) {
55886
56382
  var subMenus = this.getMenu(this.menus, res.code, 'appCode');
55887
- console.log(subMenus);
56383
+ this.title = res.text || res.name;
55888
56384
  this.subMenus = subMenus ? subMenus : null;
55889
56385
  this.showMenu = subMenus !== false;
55890
56386
  this.showApps = false;
55891
- this.width = this.menuWidth;
55892
- this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
55893
56387
  }
55894
56388
  }
55895
56389
  this.active = res.id;
@@ -55899,15 +56393,6 @@ var events = [function (tabs, index) {
55899
56393
  }
55900
56394
  },
55901
56395
 
55902
- /**
55903
- * @desc:显示菜单界面
55904
- * @author huangbo
55905
- * @date 2024年9月7日
55906
- **/
55907
- handleShowMenus: function handleShowMenus() {
55908
- this.showMenu = true;
55909
- },
55910
-
55911
56396
  /**
55912
56397
  * @desc:显示Drawer界面
55913
56398
  * @author huangbo
@@ -55937,24 +56422,13 @@ var events = [function (tabs, index) {
55937
56422
  * @date 2024年9月7日
55938
56423
  **/
55939
56424
  handlerClickMenu: function handlerClickMenu(res) {
55940
- if (typeof res === 'number') {
55941
- var num = this.menuWidth;
55942
- this.width = num * res;
55943
- } else {
55944
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
55945
- this.activeName = res.id;
55946
- if (i == -1) {
55947
- var tab = this.setIframeType(res);
55948
- this.tabs.push(tab);
55949
- if (tab.method == 'router') {
55950
- var params = utils_util["a" /* default */].getParams({ url: tab.url });
55951
- this.$router.push({
55952
- path: tab.path,
55953
- query: params
55954
- });
55955
- }
55956
- }
55957
- this.showMenu = false;
56425
+ this.showMsg = false;
56426
+ this.showSet = false;
56427
+ var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
56428
+ this.activeName = res.id;
56429
+ if (i == -1) {
56430
+ var tab = this.setIframeType(res);
56431
+ this.tabs.push(tab);
55958
56432
  }
55959
56433
  },
55960
56434
 
@@ -56034,6 +56508,9 @@ var events = [function (tabs, index) {
56034
56508
  if (this.tabs.length == 1) {
56035
56509
  disabled.other = true;
56036
56510
  }
56511
+ if (this.tabs[index].id != this.activeName) {
56512
+ disabled.refresh = true;
56513
+ }
56037
56514
  this.isDisabled = disabled;
56038
56515
  this.$refs.tabsHandler.$el.style.setProperty('left', e.x + 'px');
56039
56516
  this.$refs.tabsHandler.$el.style.setProperty('top', e.y + 'px');
@@ -56086,6 +56563,8 @@ var events = [function (tabs, index) {
56086
56563
  this.handleQuit();
56087
56564
  break;
56088
56565
  case 'online':
56566
+ this.showMsg = false;
56567
+ this.showSet = false;
56089
56568
  if (this.onlineUrl) {
56090
56569
  this.dialog = {
56091
56570
  title: '查看在线人员',
@@ -56096,9 +56575,11 @@ var events = [function (tabs, index) {
56096
56575
  break;
56097
56576
  case 'notice':
56098
56577
  this.showMsg = !this.showMsg;
56578
+ this.showSet = false;
56099
56579
  break;
56100
56580
  case 'set':
56101
56581
  this.showSet = !this.showSet;
56582
+ this.showMsg = false;
56102
56583
  break;
56103
56584
  case 'home':
56104
56585
  if (this.homePage.id !== this.activeName) {
@@ -56107,10 +56588,14 @@ var events = [function (tabs, index) {
56107
56588
  this.tabs.unshift(this.homePage);
56108
56589
  }
56109
56590
  this.activeName = this.homePage.id;
56591
+ this.showMsg = false;
56592
+ this.showSet = false;
56110
56593
  }
56111
56594
  break;
56112
56595
  case 'search':
56113
56596
  this.handlerSetDrawer(res);
56597
+ this.showMsg = false;
56598
+ this.showSet = false;
56114
56599
  break;
56115
56600
  case 'goView':
56116
56601
  utils_util["a" /* default */].win.open(res.path, '_blank');
@@ -56126,7 +56611,7 @@ var events = [function (tabs, index) {
56126
56611
  * @date 2024年9月7日
56127
56612
  **/
56128
56613
  handleQuit: function handleQuit() {
56129
- var _this6 = this;
56614
+ var _this5 = this;
56130
56615
 
56131
56616
  this.$confirm('确定注销吗?', '退出系统', {
56132
56617
  confirmButtonText: '确定',
@@ -56136,8 +56621,8 @@ var events = [function (tabs, index) {
56136
56621
  utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
56137
56622
  if (res.rCode == 0) {
56138
56623
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
56139
- if (_this6.onQuit && typeof _this6.onQuit === 'function') {
56140
- _this6.onQuit();
56624
+ if (_this5.onQuit && typeof _this5.onQuit === 'function') {
56625
+ _this5.onQuit();
56141
56626
  } else {
56142
56627
  try {
56143
56628
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
@@ -56175,7 +56660,7 @@ var events = [function (tabs, index) {
56175
56660
  }
56176
56661
  }).catch(function (err) {
56177
56662
  if (err.message && err.message !== 'canceled') {
56178
- _this6.$message.error(err.message);
56663
+ _this5.$message.error(err.message);
56179
56664
  }
56180
56665
  });
56181
56666
  }).catch(function (e) {});
@@ -56220,20 +56705,20 @@ var events = [function (tabs, index) {
56220
56705
  * @date 2024年9月7日
56221
56706
  **/
56222
56707
  handleOpened: function handleOpened(res) {
56223
- var _this7 = this;
56708
+ var _this6 = this;
56224
56709
 
56225
56710
  if (res === undefined) {
56226
56711
  this.sysMsg = [];
56227
56712
  } else if (res == false && this.sysMsg.length) {
56228
56713
  this.sysMsgOut = setTimeout(function () {
56229
- _this7.sysMsg = [];
56714
+ _this6.sysMsg = [];
56230
56715
  }, 3000);
56231
56716
  } else if (this.sysMsgOut) {
56232
56717
  clearTimeout(this.sysMsgOut);
56233
56718
  }
56234
56719
  },
56235
56720
  handleReLogin: function handleReLogin(res) {
56236
- var _this8 = this;
56721
+ var _this7 = this;
56237
56722
 
56238
56723
  if (res && typeof res == 'string') {
56239
56724
  res = JSON.parse(res);
@@ -56263,7 +56748,7 @@ var events = [function (tabs, index) {
56263
56748
  clearTimeout(this.timer);
56264
56749
  this.timer = setTimeout(function () {
56265
56750
  sessionStorage.setItem('remind', 1);
56266
- _this8.$confirm(msg, btn).then(function () {
56751
+ _this7.$confirm(msg, btn).then(function () {
56267
56752
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
56268
56753
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
56269
56754
  try {
@@ -56330,7 +56815,10 @@ var events = [function (tabs, index) {
56330
56815
  }
56331
56816
  },
56332
56817
  jumpMenu: function jumpMenu(res) {
56333
- var apps = res.split(',');
56818
+ var apps = res;
56819
+ if (typeof res === 'string') {
56820
+ apps = res.split(',');
56821
+ }
56334
56822
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
56335
56823
  if (obj) {
56336
56824
  var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
@@ -56339,84 +56827,23 @@ var events = [function (tabs, index) {
56339
56827
  if (i == -1) {
56340
56828
  var tab = this.setIframeType(obj);
56341
56829
  this.tabs.splice(n + 1, 0, tab);
56342
- if (tab.method == 'router') {
56343
- var params = utils_util["a" /* default */].getParams({ url: tab.url });
56344
- this.$router.push({
56345
- path: tab.path,
56346
- query: params
56347
- });
56348
- }
56349
56830
  }
56350
56831
  } else {
56351
56832
  this.$message.error('没有此菜单!');
56352
56833
  }
56353
56834
  },
56354
56835
 
56355
- //移动
56356
- move: function move() {
56357
- var _this9 = this;
56358
-
56359
- var area = this.$refs.area;
56360
- var box = this.$refs.box;
56361
- var sTime = 0,
56362
- eTime = 0;
56363
-
56364
- area.addEventListener('mousedown', function (e) {
56365
- sTime = new Date().getTime();
56366
- var downY = e.y,
56367
- downX = e.x;
56368
-
56369
- var _document$body$getBou = document.body.getBoundingClientRect(),
56370
- winH = _document$body$getBou.height,
56371
- winW = _document$body$getBou.width;
56372
- //防止拖动期间选中和复制网页文本
56373
-
56374
-
56375
- document.body.onselectstart = document.body.oncontextmenu = function () {
56376
- return false;
56377
- };
56378
- document.onmousemove = function (eve) {
56379
- var size = 40;
56380
- var moveY = eve.y,
56381
- moveX = eve.x;
56382
-
56383
- var _box$getBoundingClien = box.getBoundingClientRect(),
56384
- boxTop = _box$getBoundingClien.top,
56385
- boxLeft = _box$getBoundingClien.left;
56836
+ //监听改变菜单
56837
+ handleListener: function handleListener() {
56838
+ var _this8 = this;
56386
56839
 
56387
- boxTop += moveY - downY;
56388
- boxLeft += moveX - downX;
56389
- boxTop >= winH - size && (boxTop = winH - size);
56390
- boxTop <= -size && (boxTop = -size);
56391
- boxLeft >= winW - size && (boxLeft = winW - size);
56392
- boxLeft <= -size && (boxLeft = -size);
56393
- if (boxTop < 60) {
56394
- boxTop = 60;
56395
- }
56396
- if (boxLeft < 80) {
56397
- boxLeft = 80;
56398
- }
56399
- box.style.top = boxTop + 'px';
56400
- box.style.left = boxLeft + 'px';
56401
- downY = moveY;
56402
- downX = moveX;
56403
- };
56404
- document.onmouseup = function () {
56405
- eTime = new Date().getTime();
56406
- var isClick = eTime - sTime < 200;
56407
- if (isClick) {
56408
- var onArea = function onArea() {
56409
- _this9.subMenu = [];
56410
- area.removeEventListener('click', onArea);
56411
- };
56412
- area.addEventListener('click', onArea);
56413
- }
56414
- document.onmousemove = null;
56415
- document.body.onselectstart = document.body.oncontextmenu = function () {
56416
- return true;
56417
- };
56418
- };
56419
- });
56840
+ utils_util["a" /* default */].win.addEventListener('message', function (e) {
56841
+ var msg = e.data;
56842
+ if (msg.key == 'jump_Menu') {
56843
+ var res = msg.data1;
56844
+ _this8.jumpMenu(res);
56845
+ }
56846
+ }, false);
56420
56847
  }
56421
56848
  },
56422
56849
  beforeDestroy: function beforeDestroy() {
@@ -56439,18 +56866,18 @@ var events = [function (tabs, index) {
56439
56866
 
56440
56867
  var simplicity_component = normalizeComponent(
56441
56868
  src_simplicityvue_type_script_lang_js_,
56442
- simplicityvue_type_template_id_110cff37_scoped_true_render,
56443
- simplicityvue_type_template_id_110cff37_scoped_true_staticRenderFns,
56869
+ simplicityvue_type_template_id_672540fb_scoped_true_render,
56870
+ simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns,
56444
56871
  false,
56445
56872
  null,
56446
- "110cff37",
56873
+ "672540fb",
56447
56874
  null
56448
56875
 
56449
56876
  )
56450
56877
 
56451
56878
  /* harmony default export */ var simplicity = (simplicity_component.exports);
56452
- // 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=1527d603&
56453
- var defaultvue_type_template_id_1527d603_render = function () {
56879
+ // 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=1606367c&
56880
+ var defaultvue_type_template_id_1606367c_render = function () {
56454
56881
  var _vm = this
56455
56882
  var _h = _vm.$createElement
56456
56883
  var _c = _vm._self._c || _h
@@ -56830,11 +57257,11 @@ var defaultvue_type_template_id_1527d603_render = function () {
56830
57257
  1
56831
57258
  )
56832
57259
  }
56833
- var defaultvue_type_template_id_1527d603_staticRenderFns = []
56834
- defaultvue_type_template_id_1527d603_render._withStripped = true
57260
+ var defaultvue_type_template_id_1606367c_staticRenderFns = []
57261
+ defaultvue_type_template_id_1606367c_render._withStripped = true
56835
57262
 
56836
57263
 
56837
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=1527d603&
57264
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=1606367c&
56838
57265
 
56839
57266
  // 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=bd3da0e0&
56840
57267
  var userinfovue_type_template_id_bd3da0e0_render = function () {
@@ -58751,7 +59178,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
58751
59178
  var log = utils_util["a" /* default */].getParams('console');
58752
59179
  var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
58753
59180
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
58754
- name: 'EsMainDefault',
59181
+ name: 'Main',
58755
59182
  inheritAttrs: false,
58756
59183
  provide: function provide() {
58757
59184
  return {
@@ -60559,8 +60986,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
60559
60986
 
60560
60987
  var default_component = normalizeComponent(
60561
60988
  src_defaultvue_type_script_lang_js_,
60562
- defaultvue_type_template_id_1527d603_render,
60563
- defaultvue_type_template_id_1527d603_staticRenderFns,
60989
+ defaultvue_type_template_id_1606367c_render,
60990
+ defaultvue_type_template_id_1606367c_staticRenderFns,
60564
60991
  false,
60565
60992
  null,
60566
60993
  null,
@@ -60582,11 +61009,6 @@ var default_component = normalizeComponent(
60582
61009
  //
60583
61010
  //
60584
61011
  //
60585
- //
60586
- //
60587
- //
60588
- //
60589
- //
60590
61012
 
60591
61013
 
60592
61014
 
@@ -60601,8 +61023,8 @@ var default_component = normalizeComponent(
60601
61023
  },
60602
61024
 
60603
61025
  components: {
60604
- EsMainSimplicity: simplicity,
60605
- EsMainDefault: src_default
61026
+ Simplicity: simplicity,
61027
+ Main: src_default
60606
61028
  },
60607
61029
  props: {
60608
61030
  type: String
@@ -60611,13 +61033,14 @@ var default_component = normalizeComponent(
60611
61033
  watch: {},
60612
61034
  data: function data() {
60613
61035
  return {
60614
- appCode: ''
61036
+ appCode: '',
61037
+ params: {}
60615
61038
  };
60616
61039
  },
60617
61040
  created: function created() {
60618
- var params = utils_util["a" /* default */].getParams() || {};
60619
- this.appCode = params.appCode;
60620
- this.getConfig(params);
61041
+ this.params = utils_util["a" /* default */].getParams() || {};
61042
+ this.appCode = this.params.appCode;
61043
+ this.getConfig(this.params);
60621
61044
  },
60622
61045
  mounted: function mounted() {},
60623
61046
 
@@ -60655,8 +61078,8 @@ var default_component = normalizeComponent(
60655
61078
 
60656
61079
  var main_src_main_component = normalizeComponent(
60657
61080
  packages_main_src_mainvue_type_script_lang_js_,
60658
- mainvue_type_template_id_0794c41f_render,
60659
- mainvue_type_template_id_0794c41f_staticRenderFns,
61081
+ mainvue_type_template_id_a0d885fc_render,
61082
+ mainvue_type_template_id_a0d885fc_staticRenderFns,
60660
61083
  false,
60661
61084
  null,
60662
61085
  null,
@@ -65619,8 +66042,8 @@ select_ganged_src_main.install = function (Vue) {
65619
66042
  };
65620
66043
 
65621
66044
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
65622
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=3cff1a50&
65623
- var mainvue_type_template_id_3cff1a50_render = function () {
66045
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=46b6892e&
66046
+ var mainvue_type_template_id_46b6892e_render = function () {
65624
66047
  var _vm = this
65625
66048
  var _h = _vm.$createElement
65626
66049
  var _c = _vm._self._c || _h
@@ -65840,7 +66263,7 @@ var mainvue_type_template_id_3cff1a50_render = function () {
65840
66263
  placeholder: _vm.currentPlaceholder,
65841
66264
  size: _vm.selectorSize,
65842
66265
  disabled: _vm.selectorDisabled,
65843
- tabindex: _vm.multiple ? "-1" : null,
66266
+ tabindex: _vm.tabindex,
65844
66267
  },
65845
66268
  on: {
65846
66269
  focus: _vm.handleFocus,
@@ -65936,7 +66359,7 @@ var mainvue_type_template_id_3cff1a50_render = function () {
65936
66359
  placeholder: _vm.currentPlaceholder,
65937
66360
  size: _vm.selectorSize,
65938
66361
  disabled: _vm.selectorDisabled,
65939
- tabindex: _vm.multiple ? "-1" : null,
66362
+ tabindex: _vm.tabindex,
65940
66363
  },
65941
66364
  on: { clear: _vm.handleClear },
65942
66365
  nativeOn: {
@@ -66122,11 +66545,11 @@ var mainvue_type_template_id_3cff1a50_render = function () {
66122
66545
  )
66123
66546
  : _vm._e()
66124
66547
  }
66125
- var mainvue_type_template_id_3cff1a50_staticRenderFns = []
66126
- mainvue_type_template_id_3cff1a50_render._withStripped = true
66548
+ var mainvue_type_template_id_46b6892e_staticRenderFns = []
66549
+ mainvue_type_template_id_46b6892e_render._withStripped = true
66127
66550
 
66128
66551
 
66129
- // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=3cff1a50&
66552
+ // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=46b6892e&
66130
66553
 
66131
66554
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
66132
66555
  var clickoutside_ = __webpack_require__(17);
@@ -66431,6 +66854,10 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
66431
66854
  return ['enterprise', 'person'];
66432
66855
  }
66433
66856
  },
66857
+ tabindex: {
66858
+ type: [String, Number],
66859
+ default: -1
66860
+ },
66434
66861
  filterable: {
66435
66862
  type: Boolean,
66436
66863
  default: false
@@ -66786,8 +67213,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
66786
67213
 
66787
67214
  var selector_src_main_component = normalizeComponent(
66788
67215
  packages_selector_src_mainvue_type_script_lang_js_,
66789
- mainvue_type_template_id_3cff1a50_render,
66790
- mainvue_type_template_id_3cff1a50_staticRenderFns,
67216
+ mainvue_type_template_id_46b6892e_render,
67217
+ mainvue_type_template_id_46b6892e_staticRenderFns,
66791
67218
  false,
66792
67219
  null,
66793
67220
  null,
@@ -66804,8 +67231,8 @@ selector_src_main.install = function (Vue) {
66804
67231
  };
66805
67232
 
66806
67233
  /* harmony default export */ var selector = (selector_src_main);
66807
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=b9200bd8&
66808
- var mainvue_type_template_id_b9200bd8_render = function () {
67234
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=1709cc6f&
67235
+ var mainvue_type_template_id_1709cc6f_render = function () {
66809
67236
  var _vm = this
66810
67237
  var _h = _vm.$createElement
66811
67238
  var _c = _vm._self._c || _h
@@ -66862,6 +67289,22 @@ var mainvue_type_template_id_b9200bd8_render = function () {
66862
67289
  },
66863
67290
  },
66864
67291
  [
67292
+ _c(
67293
+ "el-form-item",
67294
+ [
67295
+ _c("es-switch", {
67296
+ attrs: { data: _vm.options },
67297
+ model: {
67298
+ value: _vm.showDisabled,
67299
+ callback: function ($$v) {
67300
+ _vm.showDisabled = $$v
67301
+ },
67302
+ expression: "showDisabled",
67303
+ },
67304
+ }),
67305
+ ],
67306
+ 1
67307
+ ),
66865
67308
  _c(
66866
67309
  "el-form-item",
66867
67310
  [
@@ -66987,6 +67430,7 @@ var mainvue_type_template_id_b9200bd8_render = function () {
66987
67430
  "label-key": _vm.labelKey,
66988
67431
  multiple: _vm.mix ? _vm.mix : _vm.multiple,
66989
67432
  max: _vm.max,
67433
+ showDisabled: _vm.showDisabled,
66990
67434
  },
66991
67435
  model: {
66992
67436
  value: _vm.checkeds,
@@ -67050,11 +67494,11 @@ var mainvue_type_template_id_b9200bd8_render = function () {
67050
67494
  1
67051
67495
  )
67052
67496
  }
67053
- var mainvue_type_template_id_b9200bd8_staticRenderFns = []
67054
- mainvue_type_template_id_b9200bd8_render._withStripped = true
67497
+ var mainvue_type_template_id_1709cc6f_staticRenderFns = []
67498
+ mainvue_type_template_id_1709cc6f_render._withStripped = true
67055
67499
 
67056
67500
 
67057
- // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=b9200bd8&
67501
+ // CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=1709cc6f&
67058
67502
 
67059
67503
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
67060
67504
  var treevue_type_template_id_24ad732a_render = function () {
@@ -67349,8 +67793,8 @@ var tree_component = normalizeComponent(
67349
67793
  )
67350
67794
 
67351
67795
  /* harmony default export */ var tree = (tree_component.exports);
67352
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=0ec05c7a&
67353
- var selectionvue_type_template_id_0ec05c7a_render = function () {
67796
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=45aba2c9&
67797
+ var selectionvue_type_template_id_45aba2c9_render = function () {
67354
67798
  var _vm = this
67355
67799
  var _h = _vm.$createElement
67356
67800
  var _c = _vm._self._c || _h
@@ -67388,6 +67832,14 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
67388
67832
  "el-radio",
67389
67833
  _vm._b(
67390
67834
  {
67835
+ directives: [
67836
+ {
67837
+ name: "show",
67838
+ rawName: "v-show",
67839
+ value: item.disabled ? _vm.showDisabled : true,
67840
+ expression: "item.disabled ? showDisabled : true",
67841
+ },
67842
+ ],
67391
67843
  key: index,
67392
67844
  class: { "es-radio-delete": _vm.genre === "delete" },
67393
67845
  attrs: {
@@ -67443,6 +67895,14 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
67443
67895
  "el-checkbox",
67444
67896
  _vm._b(
67445
67897
  {
67898
+ directives: [
67899
+ {
67900
+ name: "show",
67901
+ rawName: "v-show",
67902
+ value: item.disabled ? _vm.showDisabled : true,
67903
+ expression: "item.disabled ? showDisabled : true",
67904
+ },
67905
+ ],
67446
67906
  key: index,
67447
67907
  class: { "es-checkbox-delete": _vm.genre === "delete" },
67448
67908
  attrs: {
@@ -67491,11 +67951,11 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
67491
67951
  1
67492
67952
  )
67493
67953
  }
67494
- var selectionvue_type_template_id_0ec05c7a_staticRenderFns = []
67495
- selectionvue_type_template_id_0ec05c7a_render._withStripped = true
67954
+ var selectionvue_type_template_id_45aba2c9_staticRenderFns = []
67955
+ selectionvue_type_template_id_45aba2c9_render._withStripped = true
67496
67956
 
67497
67957
 
67498
- // CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=0ec05c7a&
67958
+ // CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=45aba2c9&
67499
67959
 
67500
67960
  // EXTERNAL MODULE: external "sortablejs"
67501
67961
  var external_sortablejs_ = __webpack_require__(18);
@@ -67553,6 +68013,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
67553
68013
  //
67554
68014
  //
67555
68015
  //
68016
+ //
68017
+ //
67556
68018
 
67557
68019
 
67558
68020
 
@@ -67560,6 +68022,10 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
67560
68022
  name: 'Selection',
67561
68023
  props: {
67562
68024
  value: [String, Array, Object],
68025
+ showDisabled: {
68026
+ type: Boolean,
68027
+ default: true
68028
+ },
67563
68029
  genre: String,
67564
68030
  valueKey: {
67565
68031
  type: String,
@@ -67662,8 +68128,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
67662
68128
 
67663
68129
  var selection_component = normalizeComponent(
67664
68130
  src_selectionvue_type_script_lang_js_,
67665
- selectionvue_type_template_id_0ec05c7a_render,
67666
- selectionvue_type_template_id_0ec05c7a_staticRenderFns,
68131
+ selectionvue_type_template_id_45aba2c9_render,
68132
+ selectionvue_type_template_id_45aba2c9_staticRenderFns,
67667
68133
  false,
67668
68134
  null,
67669
68135
  null,
@@ -67779,6 +68245,10 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
67779
68245
  //
67780
68246
  //
67781
68247
  //
68248
+ //
68249
+ //
68250
+ //
68251
+ //
67782
68252
 
67783
68253
 
67784
68254
 
@@ -67894,7 +68364,15 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
67894
68364
  activeName: '',
67895
68365
  selections: [],
67896
68366
  checkboxs: [],
67897
- checkeds: null
68367
+ checkeds: null,
68368
+ showDisabled: true,
68369
+ options: [{
68370
+ value: true,
68371
+ name: '展示'
68372
+ }, {
68373
+ value: false,
68374
+ name: '过滤'
68375
+ }]
67898
68376
  };
67899
68377
  },
67900
68378
 
@@ -68433,7 +68911,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
68433
68911
  if (res) {
68434
68912
  if (this.isShowTree) {
68435
68913
  this.nodeData.checkAll = true;
68436
- var checkeds = this.checkeds.concat(this.checkboxs);
68914
+ var checkeds = this.checkeds.concat(this.checkboxs.filter(function (item) {
68915
+ return item.disabled !== true;
68916
+ }));
68437
68917
  if (checkeds.length > 0) {
68438
68918
  this.checkeds = utils_util["a" /* default */].arrUnique(checkeds, isObject ? this.valueKey : undefined);
68439
68919
  }
@@ -68611,8 +69091,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
68611
69091
 
68612
69092
  var selector_panel_src_main_component = normalizeComponent(
68613
69093
  packages_selector_panel_src_mainvue_type_script_lang_js_,
68614
- mainvue_type_template_id_b9200bd8_render,
68615
- mainvue_type_template_id_b9200bd8_staticRenderFns,
69094
+ mainvue_type_template_id_1709cc6f_render,
69095
+ mainvue_type_template_id_1709cc6f_staticRenderFns,
68616
69096
  false,
68617
69097
  null,
68618
69098
  null,
@@ -80838,7 +81318,7 @@ if (typeof window !== 'undefined' && window.Vue) {
80838
81318
  }
80839
81319
 
80840
81320
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
80841
- version: '0.5.81-beta4',
81321
+ version: '0.5.81-beta5',
80842
81322
  install: install,
80843
81323
  Button: packages_button,
80844
81324
  ButtonGroup: button_group,