eoss-ui 0.5.81-beta3 → 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 +1708 -1144
  2. package/lib/index.js +1 -1
  3. package/lib/main.js +1588 -1081
  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 +224 -191
  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 +194 -6
  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=4d97469e&scoped=true&
50988
- var simplicityvue_type_template_id_4d97469e_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_4d97469e_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,
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_4d97469e_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,9 +51351,9 @@ var simplicityvue_type_template_id_4d97469e_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
- "tab-click": _vm.handleTab,
51382
51357
  "tab-remove": _vm.handleRemove,
51383
51358
  "tab-contextmenu": _vm.handleContextmenu,
51384
51359
  },
@@ -51416,23 +51391,6 @@ var simplicityvue_type_template_id_4d97469e_scoped_true_render = function () {
51416
51391
  false
51417
51392
  )
51418
51393
  ),
51419
- _c(
51420
- "div",
51421
- {
51422
- directives: [
51423
- {
51424
- name: "show",
51425
- rawName: "v-show",
51426
- value: !_vm.showMenu && _vm.subMenus,
51427
- expression: "!showMenu && subMenus",
51428
- },
51429
- ],
51430
- ref: "box",
51431
- staticClass: "es-simplicity-unfold",
51432
- on: { click: _vm.handleShowMenus },
51433
- },
51434
- [_c("i", { ref: "area", staticClass: "el-icon-s-unfold" })]
51435
- ),
51436
51394
  _vm._l(_vm.tabs, function (item) {
51437
51395
  return _c(
51438
51396
  "el-tab-pane",
@@ -51468,7 +51426,22 @@ var simplicityvue_type_template_id_4d97469e_scoped_true_render = function () {
51468
51426
  }),
51469
51427
  ]
51470
51428
  : item.method === "router" && item.refresh
51471
- ? [_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
+ ]
51472
51445
  : _vm._e(),
51473
51446
  ],
51474
51447
  2
@@ -51554,11 +51527,11 @@ var simplicityvue_type_template_id_4d97469e_scoped_true_render = function () {
51554
51527
  ),
51555
51528
  ])
51556
51529
  }
51557
- var simplicityvue_type_template_id_4d97469e_scoped_true_staticRenderFns = []
51558
- simplicityvue_type_template_id_4d97469e_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
51559
51532
 
51560
51533
 
51561
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4d97469e&scoped=true&
51534
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=672540fb&scoped=true&
51562
51535
 
51563
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&
51564
51537
  var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
@@ -51970,219 +51943,383 @@ var handler_component = normalizeComponent(
51970
51943
  )
51971
51944
 
51972
51945
  /* harmony default export */ var simplicity_handler = (handler_component.exports);
51973
- // 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&
51974
- 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 () {
51975
51948
  var _vm = this
51976
51949
  var _h = _vm.$createElement
51977
51950
  var _c = _vm._self._c || _h
51978
51951
  return _c(
51979
- "div",
51980
- { 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
+ },
51981
51972
  [
51982
- _c(
51983
- "div",
51984
- { staticClass: "es-simplicity-menus-box" },
51985
- [
51986
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
51987
- _vm._v(_vm._s(_vm.text)),
51988
- ]),
51989
- _c("menu-list", {
51990
- ref: "menus",
51991
- attrs: {
51992
- data: _vm.menus,
51993
- menuIcon: _vm.menuIcon,
51994
- color: _vm.color,
51995
- backgroundColor: _vm.backgroundColor,
51996
- },
51997
- on: { command: _vm.handleCommand },
51998
- }),
51999
- ],
52000
- 1
52001
- ),
52002
- _vm._l(_vm.subMenus, function (item, index) {
52003
- return _vm.subMenus.length
52004
- ? _c(
52005
- "div",
52006
- { key: item.id, staticClass: "es-simplicity-menus-box" },
52007
- [
52008
- _c("div", { staticClass: "es-simplicity-menus-title" }, [
52009
- _vm._v(_vm._s(item.text || item.name)),
52010
- ]),
52011
- _c("menu-list", {
52012
- attrs: {
52013
- index: index,
52014
- data: item.data,
52015
- 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",
52016
51996
  },
52017
- on: { command: _vm.handleCommand },
52018
- }),
52019
- ],
52020
- 1
52021
- )
52022
- : _vm._e()
52023
- }),
52024
- ],
52025
- 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
+ ]
52026
52041
  )
52027
52042
  }
52028
- var sub_menuvue_type_template_id_6815a634_scoped_true_staticRenderFns = []
52029
- 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
52030
52045
 
52031
52046
 
52032
- // 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&
52033
52048
 
52034
- // 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&
52035
- 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 () {
52036
52051
  var _vm = this
52037
52052
  var _h = _vm.$createElement
52038
52053
  var _c = _vm._self._c || _h
52039
52054
  return _c(
52040
52055
  "el-scrollbar",
52041
- _vm._l(_vm.data, function (item, index) {
52042
- return _c(
52043
- "div",
52044
- {
52045
- key: item.id,
52046
- staticClass: "es-simplicity-menus-item",
52047
- class: { "is-active": _vm.active === item.id },
52048
- on: {
52049
- click: function ($event) {
52050
- _vm.handleClick(item)
52051
- },
52052
- },
52053
- },
52054
- [
52055
- _c("es-icon", {
52056
- staticClass: "es-simplicity_apps-icon",
52057
- style: _vm.setStyle(index),
52058
- attrs: { contents: item.icons || item.icon || _vm.menuIcon },
52059
- }),
52060
- item.tips
52061
- ? _c("div", { staticClass: "es-simplicity-menus-tips" }, [
52062
- _vm._v(
52063
- "\n " +
52064
- _vm._s(item.tips > 99 ? "99+" : item.tips) +
52065
- "\n "
52066
- ),
52067
- ])
52068
- : _vm._e(),
52069
- _c("div", { staticClass: "es-simplicity_apps-text" }, [
52070
- _vm._v("\n " + _vm._s(item.text || item.name) + "\n "),
52071
- ]),
52072
- ],
52073
- 1
52074
- )
52075
- }),
52076
- 0
52077
- )
52078
- }
52079
- var menu_listvue_type_template_id_4dbeba7e_scoped_true_staticRenderFns = []
52080
- menu_listvue_type_template_id_4dbeba7e_scoped_true_render._withStripped = true
52081
-
52082
-
52083
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=4dbeba7e&scoped=true&
52084
-
52085
- // 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&
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
-
52111
- /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
52112
- name: 'MenuList',
52113
- components: {},
52114
- props: {
52115
- index: [Number, String],
52116
- menuIcon: String,
52117
- color: [String, Array],
52118
- backgroundColor: [String, Array],
52119
- data: Array
52120
- },
52121
- data: function data() {
52122
- return {
52123
- active: ''
52124
- };
52125
- },
52126
-
52127
- computed: {},
52128
- watch: {},
52129
- created: function created() {},
52130
- mounted: function mounted() {},
52131
-
52132
- methods: {
52133
- setStyle: function setStyle(num) {
52134
- var obj = {};
52135
- if (this.color) {
52136
- obj.color = this.color;
52137
- if (Array.isArray(this.color)) {
52138
- obj.color = this.color[num % this.color.length];
52139
- } else {
52140
- obj.color = this.color;
52141
- }
52142
- }
52143
- if (this.backgroundColor) {
52144
- if (Array.isArray(this.backgroundColor)) {
52145
- obj.backgroundColor = this.backgroundColor[num % this.backgroundColor.length];
52146
- } else {
52147
- obj.backgroundColor = this.backgroundColor;
52148
- }
52149
- }
52150
- return obj;
52151
- },
52152
- handleClick: function handleClick(res) {
52153
- this.active = res.id;
52154
- this.$emit('command', res, this.index !== undefined ? this.index + 1 : this.index);
52155
- },
52156
- clearActive: function clearActive() {
52157
- this.active = '';
52158
- }
52159
- }
52160
- });
52161
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
52162
- /* harmony default export */ var simplicity_menu_listvue_type_script_lang_js_ = (menu_listvue_type_script_lang_js_);
52163
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue
52164
-
52165
-
52166
-
52167
-
52168
-
52169
- /* 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
52170
52260
 
52171
- var menu_list_component = normalizeComponent(
52172
- simplicity_menu_listvue_type_script_lang_js_,
52173
- menu_listvue_type_template_id_4dbeba7e_scoped_true_render,
52174
- menu_listvue_type_template_id_4dbeba7e_scoped_true_staticRenderFns,
52175
- false,
52176
- null,
52177
- "4dbeba7e",
52178
- null
52179
-
52180
- )
52181
52261
 
52182
- /* harmony default export */ var menu_list = (menu_list_component.exports);
52183
- // 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&
52184
- 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&
52185
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
+ //
52186
52323
  //
52187
52324
  //
52188
52325
  //
@@ -52214,91 +52351,211 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
52214
52351
  //
52215
52352
  //
52216
52353
 
52217
-
52218
- /* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
52219
- name: 'SubMenu',
52220
- components: { MenuList: menu_list },
52354
+ /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
52355
+ name: 'MenuList',
52356
+ components: {},
52221
52357
  props: {
52222
- color: {
52223
- type: [String, Array],
52224
- default: '#fff'
52225
- },
52226
- backgroundColor: {
52227
- type: [String, Array],
52228
- default: function _default() {
52229
- return ['#FF9C52', '#2591F7', '#17C27B', '#1265D7', '#FFC724', '#E34D59'];
52230
- }
52231
- },
52232
- text: String,
52233
52358
  menuIcon: String,
52234
- children: {
52235
- type: Array,
52236
- default: function _default() {
52237
- return [];
52238
- }
52239
- },
52240
- fourthTabs: {
52241
- type: Array,
52242
- default: function _default() {
52243
- return [];
52244
- }
52245
- }
52359
+ color: [String, Array],
52360
+ backgroundColor: [String, Array],
52361
+ data: Array,
52362
+ fold: Boolean,
52363
+ width: Number
52246
52364
  },
52247
52365
  data: function data() {
52248
52366
  return {
52249
- active: '',
52250
- subMenus: []
52367
+ active: ''
52251
52368
  };
52252
52369
  },
52253
52370
 
52254
- computed: {
52255
- menus: function menus() {
52256
- return [].concat(this.children, this.fourthTabs);
52257
- }
52258
- },
52371
+ computed: {},
52259
52372
  watch: {},
52260
52373
  created: function created() {},
52261
52374
  mounted: function mounted() {},
52262
52375
 
52263
52376
  methods: {
52264
- handleCommand: function handleCommand(res, num) {
52265
- if (res.url) {
52266
- if (res.urlopenmode == 1) {
52267
- util.win.open(res.url);
52268
- } else if (res.urlopenmode == 2) {
52269
- 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];
52270
52383
  } else {
52271
- this.$emit('command', res);
52384
+ obj.color = this.color;
52272
52385
  }
52273
52386
  }
52274
- var data = [].concat(res.children || [], res.fourthTabs || []);
52275
- if (data.length) {
52276
- if (num === undefined) {
52277
- 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];
52278
52390
  } else {
52279
- var item = this.subMenus[num];
52280
- if (item) {
52281
- if (item.id !== res.id) {
52282
- this.subMenus.splice(parseInt(num, 10), this.subMenus.length - 1, sub_menuvue_type_script_lang_js_extends({}, res, {
52283
- data: data
52284
- }));
52285
- }
52286
- } else {
52287
- this.subMenus.push(sub_menuvue_type_script_lang_js_extends({}, res, {
52288
- data: data
52289
- }));
52290
- }
52391
+ obj.backgroundColor = this.backgroundColor;
52291
52392
  }
52292
- this.$emit('command', num === undefined ? 2 : 2 + parseInt(num, 10));
52293
- } else {
52294
- if (num === undefined) {
52295
- this.$emit('command', 1);
52296
- this.subMenus = [];
52297
- } else {
52298
- this.subMenus.splice(parseInt(num, 10));
52299
- 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;
52300
52405
  }
52301
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);
52302
52559
  },
52303
52560
  clearSubmenu: function clearSubmenu() {
52304
52561
  this.$refs.menus.clearActive();
@@ -52318,372 +52575,424 @@ var sub_menuvue_type_script_lang_js_extends = Object.assign || function (target)
52318
52575
 
52319
52576
  var sub_menu_component = normalizeComponent(
52320
52577
  simplicity_sub_menuvue_type_script_lang_js_,
52321
- sub_menuvue_type_template_id_6815a634_scoped_true_render,
52322
- 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,
52323
52580
  false,
52324
52581
  null,
52325
- "6815a634",
52582
+ "e591bf96",
52326
52583
  null
52327
52584
 
52328
52585
  )
52329
52586
 
52330
52587
  /* harmony default export */ var sub_menu = (sub_menu_component.exports);
52331
- // 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&
52332
- 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 () {
52333
52590
  var this$1 = this
52334
52591
  var _vm = this
52335
52592
  var _h = _vm.$createElement
52336
52593
  var _c = _vm._self._c || _h
52337
- return _c("div", { staticClass: "es-simplicity_apps" }, [
52338
- _c(
52339
- "div",
52340
- { staticClass: "es-simplicity_apps-all" },
52341
- [
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" }, [
52342
52614
  _c(
52343
52615
  "div",
52344
- { staticClass: "es-simplicity_apps-title" },
52616
+ { staticClass: "es-simplicity_apps-all" },
52345
52617
  [
52346
- _vm._v("\n 所有业务系统\n "),
52347
- _c("el-input", {
52348
- staticClass: "es-simplicity_apps-search",
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 },
52646
+ },
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",
52657
+ },
52658
+ [
52659
+ _c(
52660
+ "div",
52661
+ {
52662
+ staticClass: "es-simplicity_apps-list-content",
52663
+ class: {
52664
+ "es-simplicity_apps-disabled": !item.permission,
52665
+ },
52666
+ on: {
52667
+ click: function ($event) {
52668
+ _vm.handleClick(item)
52669
+ },
52670
+ },
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",
52349
52740
  attrs: {
52350
- size: "medium",
52351
- placeholder: "请输入关键字",
52352
- "prefix-icon": "el-icon-search",
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,
52353
52747
  },
52354
- model: {
52355
- value: _vm.value,
52356
- callback: function ($$v) {
52357
- _vm.value = $$v
52748
+ on: {
52749
+ "update:currentPage": function ($event) {
52750
+ _vm.appNum = $event
52751
+ },
52752
+ "current-change": function (res) {
52753
+ this$1.handleChange(res, 0)
52358
52754
  },
52359
- expression: "value",
52360
52755
  },
52361
52756
  }),
52362
52757
  ],
52363
52758
  1
52364
52759
  ),
52365
- _c("div", { staticClass: "es-simplicity_apps-box" }, [
52366
- _c(
52367
- "ul",
52368
- { staticClass: "es-simplicity_apps-list" },
52369
- _vm._l(_vm._applications, function (item) {
52370
- return _c(
52371
- "li",
52372
- { key: item.id, staticClass: "es-simplicity_apps-list-item" },
52373
- [
52374
- _c(
52375
- "div",
52376
- {
52377
- staticClass: "es-simplicity_apps-list-content",
52378
- class: {
52379
- "es-simplicity_apps-disabled": !item.permission,
52380
- },
52381
- on: {
52382
- click: function ($event) {
52383
- _vm.handleClick(item)
52384
- },
52385
- },
52386
- },
52387
- [
52388
- _c(
52389
- "el-badge",
52390
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
52391
- [
52392
- _c("es-icon", {
52393
- staticClass: "es-simplicity_apps-icon",
52394
- attrs: {
52395
- contents: item.icons || item.icon || _vm.menuIcon,
52396
- },
52397
- }),
52398
- ],
52399
- 1
52400
- ),
52401
- _c("div", { staticClass: "es-simplicity_apps-text" }, [
52402
- _vm._v(
52403
- "\n " +
52404
- _vm._s(item.text || item.name) +
52405
- "\n "
52406
- ),
52407
- ]),
52408
- _c(
52409
- "div",
52410
- { staticClass: "es-simplicity_apps-hover" },
52411
- [
52412
- _c("es-icon", {
52413
- staticClass: "es-simplicity_apps-icon",
52414
- attrs: {
52415
- contents: item.permission
52416
- ? "es-icon-jiantou-next"
52417
- : "es-icon-mm",
52418
- },
52419
- }),
52420
- _c(
52421
- "div",
52422
- { staticClass: "es-simplicity_apps-text" },
52423
- [
52424
- _vm._v(
52425
- "\n " +
52426
- _vm._s(
52427
- item.permission ? "进入系统" : "暂无权限"
52428
- ) +
52429
- "\n "
52430
- ),
52431
- ]
52432
- ),
52433
- ],
52434
- 1
52435
- ),
52436
- ],
52437
- 1
52438
- ),
52439
- ]
52440
- )
52441
- }),
52442
- 0
52443
- ),
52444
- ]),
52445
- _c("el-pagination", {
52446
- staticClass: "es-simplicity_apps-pagination",
52447
- attrs: {
52448
- background: "",
52449
- layout: "total,prev, pager, next",
52450
- "total-text": "共 {total} 个业务系统",
52451
- "page-size": _vm.appSize,
52452
- total: _vm.apps.length,
52453
- },
52454
- on: {
52455
- "current-change": function (res) {
52456
- this$1.handleChange(res, 0)
52457
- },
52458
- },
52459
- }),
52460
- ],
52461
- 1
52462
- ),
52463
- _c("div", { staticClass: "es-simplicity_apps-other" }, [
52464
- _c(
52465
- "div",
52466
- { staticClass: "es-simplicity_apps-business" },
52467
- [
52468
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
52469
- _vm._v("专项业务系统"),
52470
- ]),
52760
+ _c("div", { staticClass: "es-simplicity_apps-other" }, [
52471
52761
  _c(
52472
- "ul",
52473
- { staticClass: "es-simplicity_apps-list" },
52474
- _vm._l(_vm._business, function (item, index) {
52475
- return _c(
52476
- "li",
52477
- { key: item.id, staticClass: "es-simplicity_apps-list-item" },
52478
- [
52479
- _c(
52480
- "div",
52481
- {
52482
- staticClass: "es-simplicity_apps-list-content",
52483
- class: {
52484
- "es-simplicity_apps-disabled": !item.permission,
52485
- },
52486
- on: {
52487
- click: function ($event) {
52488
- _vm.handleClick(item)
52489
- },
52490
- },
52491
- },
52492
- [
52493
- _c("es-icon", {
52494
- staticClass: "es-simplicity_app-icon",
52495
- style: _vm.setStyle(index),
52496
- attrs: {
52497
- contents: item.icons || item.icon || _vm.menuIcon,
52498
- },
52499
- }),
52500
- _c(
52501
- "el-badge",
52502
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
52503
- [
52504
- _c(
52505
- "div",
52506
- { staticClass: "es-simplicity_apps-text" },
52507
- [
52508
- _vm._v(
52509
- "\n " +
52510
- _vm._s(item.text || item.name) +
52511
- "\n "
52512
- ),
52513
- ]
52514
- ),
52515
- ]
52516
- ),
52517
- _c(
52518
- "div",
52519
- { staticClass: "es-simplicity_apps-hover" },
52520
- [
52521
- _c("es-icon", {
52522
- staticClass: "es-simplicity_apps-icon",
52523
- attrs: {
52524
- contents: item.permission
52525
- ? "es-icon-jiantou-next"
52526
- : "es-icon-mm",
52527
- },
52528
- }),
52529
- _c(
52530
- "div",
52531
- { staticClass: "es-simplicity_apps-text" },
52532
- [
52533
- _vm._v(
52534
- "\n " +
52535
- _vm._s(
52536
- item.permission ? "进入系统" : "暂无权限"
52537
- ) +
52538
- "\n "
52539
- ),
52540
- ]
52541
- ),
52542
- ],
52543
- 1
52544
- ),
52545
- ],
52546
- 1
52547
- ),
52548
- ]
52549
- )
52550
- }),
52551
- 0
52552
- ),
52553
- _c("el-pagination", {
52554
- staticClass: "es-simplicity_apps-pagination",
52555
- attrs: {
52556
- background: "",
52557
- layout: "total,prev, pager, next",
52558
- "total-text": "共 {total} 专项业务系统",
52559
- "page-size": _vm.appSize,
52560
- total: _vm.business.length,
52561
- },
52562
- on: {
52563
- "current-change": function (res) {
52564
- this$1.handleChange(res, 1)
52565
- },
52566
- },
52567
- }),
52568
- ],
52569
- 1
52570
- ),
52571
- _c(
52572
- "div",
52573
- { staticClass: "es-simplicity_apps-systems" },
52574
- [
52575
- _c("div", { staticClass: "es-simplicity_apps-title" }, [
52576
- _vm._v("系统设置"),
52577
- ]),
52578
- _c(
52579
- "ul",
52580
- { staticClass: "es-simplicity_apps-list" },
52581
- _vm._l(_vm._systems, function (item, index) {
52582
- return _c(
52583
- "li",
52584
- { key: item.id, staticClass: "es-simplicity_apps-list-item" },
52585
- [
52586
- _c(
52587
- "div",
52588
- {
52589
- staticClass: "es-simplicity_apps-list-content",
52590
- class: {
52591
- "es-simplicity_apps-disabled": !item.permission,
52592
- },
52593
- on: {
52594
- click: function ($event) {
52595
- _vm.handleClick(item)
52596
- },
52597
- },
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",
52774
+ {
52775
+ key: item.id,
52776
+ staticClass: "es-simplicity_apps-list-item",
52598
52777
  },
52599
52778
  [
52600
- _c("es-icon", {
52601
- staticClass: "es-simplicity_app-icon",
52602
- style: _vm.setStyle(index),
52603
- attrs: {
52604
- contents: item.icons || item.icon || _vm.menuIcon,
52605
- },
52606
- }),
52607
52779
  _c(
52608
- "el-badge",
52609
- _vm._b({}, "el-badge", _vm.getBadge(item), false),
52780
+ "div",
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
+ },
52610
52792
  [
52793
+ _c("es-icon", {
52794
+ staticClass: "es-simplicity_app-icon",
52795
+ style: _vm.setStyle(index),
52796
+ attrs: {
52797
+ contents: item.icons || item.icon || _vm.menuIcon,
52798
+ },
52799
+ }),
52611
52800
  _c(
52612
- "div",
52613
- { staticClass: "es-simplicity_apps-text" },
52801
+ "el-badge",
52802
+ _vm._b({}, "el-badge", _vm.getBadge(item), false),
52614
52803
  [
52615
- _vm._v(
52616
- "\n " +
52617
- _vm._s(item.text || item.name) +
52618
- "\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
+ ]
52619
52814
  ),
52620
52815
  ]
52621
52816
  ),
52622
- ]
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
+ ),
52847
+ ],
52848
+ 1
52623
52849
  ),
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
52872
+ ),
52873
+ _c(
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",
52886
+ {
52887
+ key: item.id,
52888
+ staticClass: "es-simplicity_apps-list-item",
52889
+ },
52890
+ [
52624
52891
  _c(
52625
52892
  "div",
52626
- { 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
+ },
52627
52904
  [
52628
52905
  _c("es-icon", {
52629
- staticClass: "es-simplicity_apps-icon",
52906
+ staticClass: "es-simplicity_app-icon",
52907
+ style: _vm.setStyle(index),
52630
52908
  attrs: {
52631
- contents: item.permission
52632
- ? "es-icon-jiantou-next"
52633
- : "es-icon-mm",
52909
+ contents: item.icons || item.icon || _vm.menuIcon,
52634
52910
  },
52635
52911
  }),
52636
52912
  _c(
52637
- "div",
52638
- { staticClass: "es-simplicity_apps-text" },
52913
+ "el-badge",
52914
+ _vm._b({}, "el-badge", _vm.getBadge(item), false),
52639
52915
  [
52640
- _vm._v(
52641
- "\n " +
52642
- _vm._s(
52643
- item.permission ? "进入系统" : "暂无权限"
52644
- ) +
52645
- "\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
+ ]
52646
52926
  ),
52647
52927
  ]
52648
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
+ ),
52649
52959
  ],
52650
52960
  1
52651
52961
  ),
52652
- ],
52653
- 1
52654
- ),
52655
- ]
52656
- )
52657
- }),
52658
- 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
52659
52985
  ),
52660
- _c("el-pagination", {
52661
- staticClass: "es-simplicity_apps-pagination",
52662
- attrs: {
52663
- background: "",
52664
- layout: "total,prev, pager, next",
52665
- "total-text": "共 {total} 系统设置",
52666
- "hide-on-single-page": "",
52667
- "page-size": _vm.appSize,
52668
- total: _vm.business.length,
52669
- },
52670
- on: {
52671
- "current-change": function (res) {
52672
- this$1.handleChange(res, 2)
52673
- },
52674
- },
52675
- }),
52676
- ],
52677
- 1
52678
- ),
52679
- ]),
52680
- ])
52986
+ ]),
52987
+ ]),
52988
+ ]
52989
+ )
52681
52990
  }
52682
- var appsvue_type_template_id_7d8f0af0_scoped_true_staticRenderFns = []
52683
- 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
52684
52993
 
52685
52994
 
52686
- // 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&
52687
52996
 
52688
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&
52689
52998
  //
@@ -52861,12 +53170,24 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52861
53170
  //
52862
53171
  //
52863
53172
  //
53173
+ //
53174
+ //
53175
+ //
53176
+ //
53177
+ //
53178
+ //
53179
+ //
53180
+ //
53181
+ //
53182
+ //
53183
+ //
52864
53184
 
52865
53185
 
52866
53186
  /* harmony default export */ var appsvue_type_script_lang_js_ = ({
52867
53187
  name: 'Apps',
52868
53188
  components: {},
52869
53189
  props: {
53190
+ visible: Boolean,
52870
53191
  //菜单、应用默认图标
52871
53192
  menuIcon: String,
52872
53193
  color: {
@@ -52914,6 +53235,15 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52914
53235
  },
52915
53236
 
52916
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
+ },
52917
53247
  _applications: function _applications() {
52918
53248
  var _this = this;
52919
53249
 
@@ -52990,6 +53320,16 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
52990
53320
  var name = ['appNum', 'bsNum', 'sysNum'];
52991
53321
  this[name[index]] = res;
52992
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
+ },
52993
53333
  handleClick: function handleClick(res) {
52994
53334
  this.$emit('click', res);
52995
53335
  },
@@ -53024,18 +53364,18 @@ appsvue_type_template_id_7d8f0af0_scoped_true_render._withStripped = true
53024
53364
 
53025
53365
  var apps_component = normalizeComponent(
53026
53366
  simplicity_appsvue_type_script_lang_js_,
53027
- appsvue_type_template_id_7d8f0af0_scoped_true_render,
53028
- 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,
53029
53369
  false,
53030
53370
  null,
53031
- "7d8f0af0",
53371
+ "62050c35",
53032
53372
  null
53033
53373
 
53034
53374
  )
53035
53375
 
53036
53376
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
53037
- // 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&
53038
- 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 () {
53039
53379
  var _vm = this
53040
53380
  var _h = _vm.$createElement
53041
53381
  var _c = _vm._self._c || _h
@@ -53179,7 +53519,7 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
53179
53519
  },
53180
53520
  [
53181
53521
  _vm.visible
53182
- ? _c("userinfo", {
53522
+ ? _c("user-info", {
53183
53523
  attrs: { contents: _vm.contents, value: _vm.userInfo },
53184
53524
  })
53185
53525
  : _vm._e(),
@@ -53190,14 +53530,14 @@ var uservue_type_template_id_6366508b_scoped_true_render = function () {
53190
53530
  1
53191
53531
  )
53192
53532
  }
53193
- var uservue_type_template_id_6366508b_scoped_true_staticRenderFns = []
53194
- 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
53195
53535
 
53196
53536
 
53197
- // 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&
53198
53538
 
53199
- // 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&
53200
- 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 () {
53201
53541
  var _vm = this
53202
53542
  var _h = _vm.$createElement
53203
53543
  var _c = _vm._self._c || _h
@@ -53213,11 +53553,11 @@ var userinfovue_type_template_id_55233cdc_render = function () {
53213
53553
  2
53214
53554
  )
53215
53555
  }
53216
- var userinfovue_type_template_id_55233cdc_staticRenderFns = []
53217
- 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
53218
53558
 
53219
53559
 
53220
- // 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&
53221
53561
 
53222
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&
53223
53563
  //
@@ -53238,6 +53578,7 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
53238
53578
 
53239
53579
 
53240
53580
  /* harmony default export */ var userinfovue_type_script_lang_js_ = ({
53581
+ name: 'UserInfo',
53241
53582
  props: {
53242
53583
  showNotify: {
53243
53584
  type: Boolean,
@@ -53474,8 +53815,8 @@ userinfovue_type_template_id_55233cdc_render._withStripped = true
53474
53815
 
53475
53816
  var userinfo_component = normalizeComponent(
53476
53817
  simplicity_userinfovue_type_script_lang_js_,
53477
- userinfovue_type_template_id_55233cdc_render,
53478
- userinfovue_type_template_id_55233cdc_staticRenderFns,
53818
+ userinfovue_type_template_id_0dbd4cc6_render,
53819
+ userinfovue_type_template_id_0dbd4cc6_staticRenderFns,
53479
53820
  false,
53480
53821
  null,
53481
53822
  null,
@@ -53559,7 +53900,7 @@ var userinfo_component = normalizeComponent(
53559
53900
 
53560
53901
  /* harmony default export */ var uservue_type_script_lang_js_ = ({
53561
53902
  name: 'User',
53562
- components: { avatar: avatar, userinfo: userinfo },
53903
+ components: { avatar: avatar, userInfo: userinfo },
53563
53904
  props: {
53564
53905
  notify: String,
53565
53906
  notifyList: Array,
@@ -53734,32 +54075,32 @@ var userinfo_component = normalizeComponent(
53734
54075
 
53735
54076
  var user_component = normalizeComponent(
53736
54077
  simplicity_uservue_type_script_lang_js_,
53737
- uservue_type_template_id_6366508b_scoped_true_render,
53738
- 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,
53739
54080
  false,
53740
54081
  null,
53741
- "6366508b",
54082
+ "4f9acb61",
53742
54083
  null
53743
54084
 
53744
54085
  )
53745
54086
 
53746
54087
  /* harmony default export */ var simplicity_user = (user_component.exports);
53747
- // 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&
53748
- 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 () {
53749
54090
  var _vm = this
53750
54091
  var _h = _vm.$createElement
53751
54092
  var _c = _vm._self._c || _h
53752
54093
  return _c(
53753
54094
  "el-drawer",
53754
54095
  {
53755
- staticClass: "es-msgs-box",
54096
+ staticClass: "es-simplicity-message",
53756
54097
  attrs: {
53757
- "custom-class": "es-msgs-main",
54098
+ "modal-class": "es-simplicity-message-modal",
53758
54099
  direction: "rtl",
53759
- size: "200px",
53760
- modal: false,
54100
+ size: "648px",
53761
54101
  withHeader: false,
53762
54102
  visible: _vm.show,
54103
+ "modal-append-to-body": false,
53763
54104
  },
53764
54105
  on: {
53765
54106
  "update:visible": function ($event) {
@@ -53768,18 +54109,23 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53768
54109
  },
53769
54110
  },
53770
54111
  [
53771
- _c("div", { staticClass: "es-msg-header" }, [
53772
- _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
+ ]),
53773
54116
  _c(
53774
54117
  "span",
53775
- { staticClass: "es-overlook", on: { click: _vm.handleIgnoreAll } },
54118
+ {
54119
+ staticClass: "es-simplicity-message-overlook",
54120
+ on: { click: _vm.handleIgnoreAll },
54121
+ },
53776
54122
  [_vm._v("全部忽略")]
53777
54123
  ),
53778
54124
  ]),
53779
- _c("div", { staticClass: "es-msg-lists-box" }, [
54125
+ _c("div", { staticClass: "es-simplicity-message-lists-box" }, [
53780
54126
  _c(
53781
54127
  "div",
53782
- { staticClass: "es-msg-lists" },
54128
+ { staticClass: "es-simplicity-message-lists" },
53783
54129
  [
53784
54130
  _c("el-scrollbar", { staticClass: "es-scrollbar" }, [
53785
54131
  _c(
@@ -53798,25 +54144,35 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53798
54144
  [
53799
54145
  _vm._l(_vm.msgs, function (item, index) {
53800
54146
  return _c(
53801
- "el-card",
53802
- { key: item.id, staticClass: "es-msg-item" },
54147
+ "div",
54148
+ {
54149
+ key: item.id,
54150
+ staticClass: "es-simplicity-message-item",
54151
+ },
53803
54152
  [
53804
- _c("i", {
53805
- staticClass: "el-icon-circle-close",
53806
- attrs: { title: "忽略" },
53807
- on: {
53808
- click: function ($event) {
53809
- _vm.handleIgnore(item, index)
53810
- },
53811
- },
53812
- }),
53813
- _c("div", { staticClass: "es-msg-item-title" }, [
53814
- _vm._v(_vm._s(item.title)),
53815
- ]),
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
+ ),
53816
54164
  _c("div", [
53817
- _c("span", { staticClass: "es-msg-item-time" }, [
53818
- _vm._v(_vm._s(item.time)),
53819
- ]),
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
+ ),
53820
54176
  _c(
53821
54177
  "span",
53822
54178
  {
@@ -53828,27 +54184,39 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53828
54184
  expression: "item.handlerUrl",
53829
54185
  },
53830
54186
  ],
53831
- staticClass: "es-overlook",
54187
+ staticClass: "es-simplicity-message-handler",
53832
54188
  on: {
53833
54189
  click: function ($event) {
53834
54190
  _vm.handleMessage(item, index)
53835
54191
  },
53836
54192
  },
53837
54193
  },
53838
- [_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 ")]
53839
54207
  ),
53840
54208
  ]),
53841
54209
  ]
53842
54210
  )
53843
54211
  }),
53844
54212
  _vm.loading
53845
- ? _c("p", { staticClass: "es-msg-tips" }, [
54213
+ ? _c("p", { staticClass: "es-simplicity-message-tips" }, [
53846
54214
  _vm._v("加载中..."),
53847
54215
  ])
53848
54216
  : _vm._e(),
53849
54217
  _vm.noMore && _vm.count > 0
53850
- ? _c("p", { staticClass: "es-msg-tips" }, [
53851
- _vm._v("没有更多了"),
54218
+ ? _c("p", { staticClass: "es-simplicity-message-tips" }, [
54219
+ _vm._v("\n 没有更多了\n "),
53852
54220
  ])
53853
54221
  : _vm._e(),
53854
54222
  ],
@@ -53859,8 +54227,8 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53859
54227
  1
53860
54228
  ),
53861
54229
  ]),
53862
- _c("div", { staticClass: "es-msg-total" }, [
53863
- _vm._v("当前共有" + _vm._s(_vm.count) + "条消息记录"),
54230
+ _c("div", { staticClass: "es-simplicity-message-total" }, [
54231
+ _vm._v("共有 " + _vm._s(_vm.count) + " 条消息记录"),
53864
54232
  ]),
53865
54233
  _c("es-dialog", {
53866
54234
  attrs: {
@@ -53882,11 +54250,11 @@ var messagevue_type_template_id_4239f1c5_render = function () {
53882
54250
  1
53883
54251
  )
53884
54252
  }
53885
- var messagevue_type_template_id_4239f1c5_staticRenderFns = []
53886
- 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
53887
54255
 
53888
54256
 
53889
- // 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&
53890
54258
 
53891
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&
53892
54260
  //
@@ -53946,11 +54314,21 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
53946
54314
  //
53947
54315
  //
53948
54316
  //
54317
+ //
54318
+ //
54319
+ //
54320
+ //
54321
+ //
54322
+ //
54323
+ //
54324
+ //
54325
+ //
54326
+ //
53949
54327
 
53950
54328
 
53951
54329
 
53952
54330
  /* harmony default export */ var messagevue_type_script_lang_js_ = ({
53953
- name: 'message',
54331
+ name: 'Message',
53954
54332
  provide: function provide() {
53955
54333
  return {
53956
54334
  deleteMessage: this.handleRemove
@@ -54136,8 +54514,8 @@ messagevue_type_template_id_4239f1c5_render._withStripped = true
54136
54514
 
54137
54515
  var message_component = normalizeComponent(
54138
54516
  simplicity_messagevue_type_script_lang_js_,
54139
- messagevue_type_template_id_4239f1c5_render,
54140
- messagevue_type_template_id_4239f1c5_staticRenderFns,
54517
+ messagevue_type_template_id_0ee7ab90_render,
54518
+ messagevue_type_template_id_0ee7ab90_staticRenderFns,
54141
54519
  false,
54142
54520
  null,
54143
54521
  null,
@@ -54146,8 +54524,8 @@ var message_component = normalizeComponent(
54146
54524
  )
54147
54525
 
54148
54526
  /* harmony default export */ var simplicity_message = (message_component.exports);
54149
- // 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&
54150
- 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 () {
54151
54529
  var _vm = this
54152
54530
  var _h = _vm.$createElement
54153
54531
  var _c = _vm._self._c || _h
@@ -54169,11 +54547,12 @@ var noticevue_type_template_id_31787a15_render = function () {
54169
54547
  {
54170
54548
  name: "show",
54171
54549
  rawName: "v-show",
54172
- value: _vm.data.length,
54173
- expression: "data.length",
54550
+ value: _vm.msgs.length,
54551
+ expression: "msgs.length",
54174
54552
  },
54175
54553
  ],
54176
- staticClass: "es-notice-box",
54554
+ staticClass: "es-simplicity-notice-box",
54555
+ class: { "es-in": _vm.msgs.length },
54177
54556
  on: {
54178
54557
  mouseover: function ($event) {
54179
54558
  _vm.handleMouse(true)
@@ -54184,85 +54563,93 @@ var noticevue_type_template_id_31787a15_render = function () {
54184
54563
  },
54185
54564
  },
54186
54565
  [
54566
+ _c("div", { staticClass: "es-simplicity-notice-header" }, [
54567
+ _c("span", { staticClass: "es-notice-title" }, [
54568
+ _vm._v("通知消息"),
54569
+ ]),
54570
+ ]),
54187
54571
  _c(
54188
- "div",
54189
- { staticClass: "es-msgs-box", class: { "es-in": _vm.data.length } },
54190
- [
54191
- _c("div", { staticClass: "es-msg-header" }, [
54192
- _c("span", { staticClass: "es-notice-title" }, [
54193
- _vm._v("通知消息"),
54194
- ]),
54195
- ]),
54196
- _c("div", { staticClass: "es-msg-lists-box" }, [
54197
- _c(
54198
- "div",
54199
- { staticClass: "es-msg-lists" },
54200
- [
54201
- _c(
54202
- "el-scrollbar",
54203
- { staticClass: "es-scrollbar" },
54204
- _vm._l(_vm.data, function (item, index) {
54205
- return _c(
54206
- "el-card",
54207
- { key: item.id, staticClass: "es-msg-item" },
54208
- [
54209
- _c("div", { staticClass: "es-msg-item-title" }, [
54210
- _vm._v(_vm._s(item.title)),
54211
- ]),
54212
- _c("div", [
54213
- _c("span", { staticClass: "es-msg-item-time" }, [
54214
- _vm._v(_vm._s(item.time)),
54215
- ]),
54216
- _c(
54217
- "span",
54218
- {
54219
- directives: [
54220
- {
54221
- name: "show",
54222
- rawName: "v-show",
54223
- value: item.handlerUrl,
54224
- expression: "item.handlerUrl",
54225
- },
54226
- ],
54227
- staticClass: "es-overlook",
54228
- on: {
54229
- click: function ($event) {
54230
- _vm.handleMessage(item, index)
54231
- },
54232
- },
54233
- },
54234
- [_vm._v("处理")]
54235
- ),
54236
- ]),
54237
- ]
54238
- )
54239
- }),
54240
- 1
54241
- ),
54242
- ],
54243
- 1
54244
- ),
54245
- ]),
54246
- _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(
54247
54579
  "div",
54248
- {
54249
- staticClass: "es-notice-footer",
54250
- staticStyle: {
54251
- display: "flex",
54252
- "justify-content": "space-between",
54253
- },
54254
- },
54580
+ { key: item.id, staticClass: "es-simplicity-message-item" },
54255
54581
  [
54256
- _c("span", { on: { click: _vm.handleIgnoreAll } }, [
54257
- _vm._v("忽略全部"),
54258
- ]),
54259
- _c("span", { on: { click: _vm.afterEnter } }, [
54260
- _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
+ ),
54261
54629
  ]),
54262
54630
  ]
54263
- ),
54264
- ]
54631
+ )
54632
+ }),
54633
+ 0
54265
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
+ ]),
54266
54653
  _c("es-dialog", {
54267
54654
  attrs: {
54268
54655
  title: "处理",
@@ -54285,11 +54672,11 @@ var noticevue_type_template_id_31787a15_render = function () {
54285
54672
  ]
54286
54673
  )
54287
54674
  }
54288
- var noticevue_type_template_id_31787a15_staticRenderFns = []
54289
- 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
54290
54677
 
54291
54678
 
54292
- // 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&
54293
54680
 
54294
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&
54295
54682
  //
@@ -54346,11 +54733,20 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54346
54733
  //
54347
54734
  //
54348
54735
  //
54736
+ //
54737
+ //
54738
+ //
54739
+ //
54740
+ //
54741
+ //
54742
+ //
54743
+ //
54744
+ //
54349
54745
 
54350
54746
 
54351
54747
 
54352
54748
  /* harmony default export */ var noticevue_type_script_lang_js_ = ({
54353
- name: 'notice',
54749
+ name: 'Notice',
54354
54750
  provide: function provide() {
54355
54751
  return {
54356
54752
  deleteNotice: this.handleRemove
@@ -54368,12 +54764,19 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54368
54764
  }
54369
54765
  },
54370
54766
  computed: {},
54767
+ watch: {
54768
+ data: {
54769
+ immediate: true,
54770
+ deep: true,
54771
+ handler: function handler(val) {
54772
+ this.msgs = val;
54773
+ }
54774
+ }
54775
+ },
54371
54776
  data: function data() {
54372
54777
  return {
54373
54778
  //加载数据
54374
54779
  loading: false,
54375
- //消息页码
54376
- pageNum: 1,
54377
54780
  //消息数据,
54378
54781
  msgs: [],
54379
54782
  //即时消息
@@ -54395,20 +54798,38 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54395
54798
  this.$emit('opened', flag);
54396
54799
  },
54397
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
+
54398
54820
  //全部忽略
54399
54821
  handleIgnoreAll: function handleIgnoreAll() {
54400
- var _this = this;
54822
+ var _this2 = this;
54401
54823
 
54402
54824
  utils_util["a" /* default */].ajax({
54403
54825
  url: api["V" /* ignoreAllSysMsg */]
54404
54826
  }).then(function (res) {
54405
- _this.count = 0;
54406
- _this.msgs = [];
54407
- _this.$emit('ignore', { type: 'ignore', value: 'all' });
54408
- _this.$emit('opened', false);
54827
+ _this2.msgs = [];
54828
+ _this2.$emit('ignore', { type: 'ignore', value: 'all' });
54829
+ _this2.$emit('opened', false);
54409
54830
  }).catch(function (err) {
54410
54831
  if (err.message && err.message !== 'canceled') {
54411
- _this.$message.error(err.message);
54832
+ _this2.$message.error(err.message);
54412
54833
  }
54413
54834
  });
54414
54835
  },
@@ -54451,8 +54872,8 @@ noticevue_type_template_id_31787a15_render._withStripped = true
54451
54872
 
54452
54873
  var notice_component = normalizeComponent(
54453
54874
  simplicity_noticevue_type_script_lang_js_,
54454
- noticevue_type_template_id_31787a15_render,
54455
- noticevue_type_template_id_31787a15_staticRenderFns,
54875
+ noticevue_type_template_id_1c74f5bb_render,
54876
+ noticevue_type_template_id_1c74f5bb_staticRenderFns,
54456
54877
  false,
54457
54878
  null,
54458
54879
  null,
@@ -54461,8 +54882,8 @@ var notice_component = normalizeComponent(
54461
54882
  )
54462
54883
 
54463
54884
  /* harmony default export */ var notice = (notice_component.exports);
54464
- // 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&
54465
- 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 () {
54466
54887
  var _vm = this
54467
54888
  var _h = _vm.$createElement
54468
54889
  var _c = _vm._self._c || _h
@@ -54543,11 +54964,11 @@ var settingsvue_type_template_id_8d47a100_render = function () {
54543
54964
  ]
54544
54965
  )
54545
54966
  }
54546
- var settingsvue_type_template_id_8d47a100_staticRenderFns = []
54547
- 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
54548
54969
 
54549
54970
 
54550
- // 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&
54551
54972
 
54552
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&
54553
54974
  //
@@ -54590,7 +55011,7 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
54590
55011
 
54591
55012
 
54592
55013
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
54593
- name: 'message',
55014
+ name: 'Message',
54594
55015
  props: {
54595
55016
  visible: Boolean,
54596
55017
  //主题颜色选择颜色集合
@@ -54644,32 +55065,126 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
54644
55065
  activeName: this.layout
54645
55066
  };
54646
55067
  },
54647
- mounted: function mounted() {},
55068
+ mounted: function mounted() {},
55069
+
55070
+ methods: {
55071
+ //选择主题颜色
55072
+ handleTheme: function handleTheme(res) {
55073
+ res = res.toLowerCase();
55074
+ // const rgb = util.getRgb(res);
55075
+ // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
55076
+ utils_util["a" /* default */].updateTheme(res);
55077
+ this.color = res;
55078
+ this.$emit('change', { type: 'theme', value: res });
55079
+ //this.setTheme(res);
55080
+ },
55081
+
55082
+ //选择菜单布局
55083
+ handleLayout: function handleLayout(res) {
55084
+ var old = this.activeName;
55085
+ this.activeName = res;
55086
+ this.$emit('update:layout', res);
55087
+ this.$emit('layout', res, old);
55088
+ }
55089
+ }
55090
+ });
55091
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
55092
+ /* harmony default export */ var simplicity_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
55093
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue
55094
+
55095
+
55096
+
55097
+
55098
+
55099
+ /* normalize component */
55100
+
55101
+ var settings_component = normalizeComponent(
55102
+ simplicity_settingsvue_type_script_lang_js_,
55103
+ settingsvue_type_template_id_48437ba0_render,
55104
+ settingsvue_type_template_id_48437ba0_staticRenderFns,
55105
+ false,
55106
+ null,
55107
+ null,
55108
+ null
55109
+
55110
+ )
55111
+
55112
+ /* harmony default export */ var settings = (settings_component.exports);
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
55126
+
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; };
55132
+
55133
+ //
55134
+ //
55135
+ //
55136
+ //
55137
+ //
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
+ },
54648
55175
 
54649
55176
  methods: {
54650
- //选择主题颜色
54651
- handleTheme: function handleTheme(res) {
54652
- res = res.toLowerCase();
54653
- // const rgb = util.getRgb(res);
54654
- // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
54655
- utils_util["a" /* default */].updateTheme(res);
54656
- this.color = res;
54657
- this.$emit('change', { type: 'theme', value: res });
54658
- //this.setTheme(res);
54659
- },
54660
-
54661
- //选择菜单布局
54662
- handleLayout: function handleLayout(res) {
54663
- var old = this.activeName;
54664
- this.activeName = res;
54665
- this.$emit('update:layout', res);
54666
- this.$emit('layout', res, old);
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
+ });
54667
55182
  }
54668
55183
  }
54669
55184
  });
54670
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
54671
- /* harmony default export */ var simplicity_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
54672
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue
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
54673
55188
 
54674
55189
 
54675
55190
 
@@ -54677,41 +55192,21 @@ settingsvue_type_template_id_8d47a100_render._withStripped = true
54677
55192
 
54678
55193
  /* normalize component */
54679
55194
 
54680
- var settings_component = normalizeComponent(
54681
- simplicity_settingsvue_type_script_lang_js_,
54682
- settingsvue_type_template_id_8d47a100_render,
54683
- settingsvue_type_template_id_8d47a100_staticRenderFns,
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,
54684
55199
  false,
54685
55200
  null,
54686
- null,
55201
+ "ec0c2718",
54687
55202
  null
54688
55203
 
54689
55204
  )
54690
55205
 
54691
- /* harmony default export */ var settings = (settings_component.exports);
55206
+ /* harmony default export */ var router_page = (router_page_component.exports);
54692
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&
54693
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; };
54694
55209
 
54695
- var simplicityvue_type_script_lang_js_this = undefined;
54696
-
54697
- //
54698
- //
54699
- //
54700
- //
54701
- //
54702
- //
54703
- //
54704
- //
54705
- //
54706
- //
54707
- //
54708
- //
54709
- //
54710
- //
54711
- //
54712
- //
54713
- //
54714
- //
54715
55210
  //
54716
55211
  //
54717
55212
  //
@@ -55002,15 +55497,16 @@ var simplicityvue_type_script_lang_js_this = undefined;
55002
55497
 
55003
55498
 
55004
55499
 
55500
+
55005
55501
  var isIE = navigator.userAgent.indexOf('MSIE') != -1;
55006
- var events = [function (tabs, index) {
55502
+ var events = [function (tabs, index, that) {
55007
55503
  var tab = tabs[index];
55008
55504
 
55009
55505
  if (tab.method == 'iframe') {
55010
55506
  tabs[index].url = utils_util["a" /* default */].handlerUrl(tab.url);
55011
55507
  } else {
55012
55508
  tabs[index].refresh = false;
55013
- simplicityvue_type_script_lang_js_this.$nextTick(function () {
55509
+ that.$nextTick(function () {
55014
55510
  tabs[index].refresh = true;
55015
55511
  });
55016
55512
  }
@@ -55048,7 +55544,7 @@ var events = [function (tabs, index) {
55048
55544
  return tabs;
55049
55545
  }];
55050
55546
  /* harmony default export */ var simplicityvue_type_script_lang_js_ = ({
55051
- name: 'EsMainSimplicity',
55547
+ name: 'Simplicity',
55052
55548
  components: {
55053
55549
  avatar: avatar,
55054
55550
  handler: simplicity_handler,
@@ -55057,7 +55553,8 @@ var events = [function (tabs, index) {
55057
55553
  user: simplicity_user,
55058
55554
  message: simplicity_message,
55059
55555
  notice: notice,
55060
- settings: settings
55556
+ settings: settings,
55557
+ routerPage: router_page
55061
55558
  },
55062
55559
  props: {
55063
55560
  appCode: String,
@@ -55138,7 +55635,14 @@ var events = [function (tabs, index) {
55138
55635
  //无界微前端Props属性
55139
55636
  wjProps: Object,
55140
55637
  //无界微前端Attrs属性
55141
- wjAttrs: Object
55638
+ wjAttrs: Object,
55639
+ //菜单宽度
55640
+ menuWidth: {
55641
+ type: Number,
55642
+ default: 220
55643
+ },
55644
+ //路由方式
55645
+ routeType: String
55142
55646
  },
55143
55647
  data: function data() {
55144
55648
  return {
@@ -55152,12 +55656,14 @@ var events = [function (tabs, index) {
55152
55656
  userApps: [],
55153
55657
  //所有菜单
55154
55658
  menus: [],
55659
+ //菜单名称
55660
+ title: '',
55155
55661
  //子菜单
55156
55662
  subMenus: null,
55157
55663
  //展示菜单导航
55158
55664
  showMenu: false,
55159
- //展示菜单导航宽度
55160
- width: '296px',
55665
+ //折叠菜单
55666
+ fold: false,
55161
55667
  //人工智能配置
55162
55668
  aiConfig: null,
55163
55669
  //公用窗口面板配置
@@ -55286,7 +55792,7 @@ var events = [function (tabs, index) {
55286
55792
  utils_util["a" /* default */].win.refresh = this.handleRefresh;
55287
55793
  utils_util["a" /* default */].win.jumpMenu = this.jumpMenu;
55288
55794
  utils_util["a" /* default */].win.windowOpen = this.openPage;
55289
- this.move();
55795
+ this.handleListener();
55290
55796
  },
55291
55797
 
55292
55798
  methods: {
@@ -55295,13 +55801,13 @@ var events = [function (tabs, index) {
55295
55801
  * @author huangbo
55296
55802
  * @date 2024年9月7日
55297
55803
  **/
55298
- hasRouter: function hasRouter(res, url, code, parentName) {
55804
+ hasRouter: function hasRouter(res, url, code) {
55299
55805
  if (!url) {
55300
55806
  return false;
55301
55807
  }
55302
55808
  if (Array.isArray(res)) {
55303
55809
  for (var i in res) {
55304
- var path = this.hasRouter(res[i], url, code, parentName);
55810
+ var path = this.hasRouter(res[i], url, code);
55305
55811
  if (path) {
55306
55812
  return path;
55307
55813
  }
@@ -55324,7 +55830,7 @@ var events = [function (tabs, index) {
55324
55830
  return pathname;
55325
55831
  }
55326
55832
  if (res && Object.prototype.hasOwnProperty.call(res, 'children')) {
55327
- var _path2 = this.hasRouter(res.children, url, code, res.name);
55833
+ var _path2 = this.hasRouter(res.children, url, code);
55328
55834
  if (_path2) {
55329
55835
  return _path2;
55330
55836
  }
@@ -55342,7 +55848,6 @@ var events = [function (tabs, index) {
55342
55848
  this.setConfig(results);
55343
55849
  if (this.remote) {
55344
55850
  this.getApplications();
55345
- this.getMenus();
55346
55851
  }
55347
55852
  },
55348
55853
 
@@ -55457,8 +55962,9 @@ var events = [function (tabs, index) {
55457
55962
  * @date 2024年9月7日
55458
55963
  **/
55459
55964
  getApplications: function getApplications() {
55460
- var _this2 = this;
55965
+ var _this = this;
55461
55966
 
55967
+ var loading = utils_util["a" /* default */].loading('', '加载中...');
55462
55968
  utils_util["a" /* default */].ajax({
55463
55969
  url: this.appsUrl,
55464
55970
  defaults: true
@@ -55471,26 +55977,29 @@ var events = [function (tabs, index) {
55471
55977
  app_system = _res$results.app_system,
55472
55978
  app_user = _res$results.app_user;
55473
55979
 
55474
- _this2.userApps = app_user.filter(function (item) {
55980
+ _this.userApps = app_user.filter(function (item) {
55475
55981
  return item.permission !== false;
55476
55982
  });
55477
- _this2.applications = all;
55478
- _this2.business = app_special_business_system;
55479
- _this2.systems = app_system;
55480
- _this2.setTips(_this2.userApps);
55481
- _this2.setTips(_this2.applications);
55482
- _this2.setTips(_this2.business);
55483
- _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);
55484
55990
  } else {
55485
- _this2.$message.error('未分配应用菜单权限,请联系管理员!');
55991
+ _this.$message.error('未分配应用菜单权限,请联系管理员!');
55486
55992
  }
55993
+ _this.getMenus(loading);
55487
55994
  } else {
55995
+ loading.close();
55488
55996
  var msg = res.msg || '系统错误,请联系管理员!';
55489
- _this2.$message.error(msg);
55997
+ _this.$message.error(msg);
55490
55998
  }
55491
55999
  }).catch(function (err) {
56000
+ loading.close();
55492
56001
  if (err.message && err.message !== 'canceled') {
55493
- _this2.$message.error(err.message);
56002
+ _this.$message.error(err.message);
55494
56003
  }
55495
56004
  });
55496
56005
  },
@@ -55500,57 +56009,125 @@ var events = [function (tabs, index) {
55500
56009
  * @author huangbo
55501
56010
  * @date 2024年9月7日
55502
56011
  **/
55503
- getMenus: function getMenus() {
55504
- var _this3 = this;
56012
+ getMenus: function getMenus(loading) {
56013
+ var _this2 = this;
55505
56014
 
55506
56015
  utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
56016
+ loading.close();
55507
56017
  if (res.rCode === 0) {
55508
56018
  if (res.results && res.results.length) {
55509
- _this3.menus = res.results;
55510
- _this3.setTips(_this3.menus);
55511
- utils_store.set('nav', _this3.menus);
55512
- if (_this3.indexUrl) {
55513
- var obj = _this3.getMenu(_this3.menus, _this3.indexUrl);
55514
- if (obj) {
55515
- _this3.tabs = [_this3.setIframeType(obj)];
55516
- _this3.activeName = obj.id;
55517
- _this3.homePage = obj;
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;
56025
+ })[0];
56026
+ if (app) {
56027
+ _this2.active = app.id;
56028
+ if (app.url) {
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
+ // }
56041
+ }
56042
+ }
56043
+ }
56044
+ if (_this2.tabs.length == 0) {
56045
+ var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
56046
+ if (subMenus) {
56047
+ // this.subMenus = subMenus;
56048
+ // this.showMenu = true;
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
+ // }
56061
+ }
56062
+ } else {
56063
+ _this2.subMenus = null;
56064
+ _this2.showMenu = false;
56065
+ }
56066
+ }
56067
+ // this.width = this.menuWidth;
56068
+ // this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
56069
+ }
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
+ // }
56084
+ }
56085
+ _this2.homePage = _obj2;
55518
56086
  } else {
55519
- _this3.homePage = _this3.setIframeType({
55520
- url: _this3.indexUrl,
56087
+ _this2.homePage = _this2.setIframeType({
56088
+ url: _this2.indexUrl,
55521
56089
  text: '工作台',
55522
56090
  id: '0',
55523
56091
  appCode: 'indexUrl'
55524
56092
  });
55525
- _this3.tabs = [_this3.homePage];
55526
- _this3.activeName = '0';
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
+ // }
56103
+ }
55527
56104
  }
55528
- }
55529
- if (_this3.initApps && _this3.initApps.length) {
55530
- var _obj = _this3.getMenu(_this3.menus, _this3.initApps[_this3.initApps.length - 1]);
55531
- if (_obj) {
55532
- _this3.tabs.push(_this3.setIframeType(_obj));
55533
- _this3.activeName = _obj.id;
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
+ // }
55534
56118
  }
55535
56119
  }
55536
- if (_this3.appCode) {
55537
- var subMenus = _this3.getMenu(_this3.menus, res.code, 'appCode');
55538
- _this3.subMenus = subMenus ? subMenus : null;
55539
- _this3.showMenu = subMenus !== false;
55540
- _this3.showApps = false;
55541
- _this3.width = '296px';
55542
- _this3.$refs.subMenus && _this3.$refs.subMenus.clearSubmenu();
55543
- }
55544
56120
  } else {
55545
- _this3.$message.error('未分配菜单权限,请联系管理员!');
56121
+ _this2.$message.error('未分配菜单权限,请联系管理员!');
55546
56122
  }
55547
56123
  } else {
55548
56124
  var msg = res.msg || '系统错误,请联系管理员!';
55549
- _this3.$message.error(msg);
56125
+ _this2.$message.error(msg);
55550
56126
  }
55551
56127
  }).catch(function (err) {
56128
+ loading.close();
55552
56129
  if (err.message && err.message !== 'canceled') {
55553
- _this3.$message.error(err.message);
56130
+ _this2.$message.error(err.message);
55554
56131
  }
55555
56132
  });
55556
56133
  },
@@ -55566,9 +56143,6 @@ var events = [function (tabs, index) {
55566
56143
  var urls = url.split('?');
55567
56144
  if (urls[0].indexOf('.js') > 1 && !isIE) {
55568
56145
  res.method = 'wujie';
55569
- this.$nextTick(function () {
55570
- res.refresh = true;
55571
- });
55572
56146
  } else if (urls[0].indexOf('.dhtml') > 0 || urls[0].indexOf('.html') > 0 && urls[0].indexOf('.html#') === -1) {
55573
56147
  res.method = 'iframe';
55574
56148
  } else {
@@ -55578,16 +56152,9 @@ var events = [function (tabs, index) {
55578
56152
  var routes = this.$router.options.routes;
55579
56153
  if (routes) {
55580
56154
  var path = this.hasRouter(routes, urls[0], res.appCode);
55581
- if (path) {
56155
+ if (path && this.routeType !== 'wujie') {
55582
56156
  res.method = 'router';
55583
- var params = utils_util["a" /* default */].getParams({ url: url });
55584
- this.$router.push({
55585
- path: path,
55586
- query: params
55587
- });
55588
- this.$nextTick(function () {
55589
- res.refresh = true;
55590
- });
56157
+ res.path = path;
55591
56158
  } else {
55592
56159
  var urlopenmode = utils_util["a" /* default */].getParams({
55593
56160
  url: url,
@@ -55597,21 +56164,16 @@ var events = [function (tabs, index) {
55597
56164
  res.method = 'iframe';
55598
56165
  } else {
55599
56166
  res.method = 'wujie';
55600
- this.$nextTick(function () {
55601
- res.refresh = true;
55602
- });
55603
56167
  }
55604
56168
  }
55605
56169
  } else if (urls[0].indexOf('.html') > -1 && urls[0].indexOf('#/') > -1 || urls[0].indexOf('/#/') > -1) {
55606
56170
  res.method = 'wujie';
55607
- this.$nextTick(function () {
55608
- res.refresh = true;
55609
- });
55610
56171
  } else {
55611
56172
  res.method = 'iframe';
55612
56173
  }
55613
56174
  }
55614
56175
  }
56176
+ res.refresh = true;
55615
56177
  return res;
55616
56178
  },
55617
56179
 
@@ -55637,9 +56199,9 @@ var events = [function (tabs, index) {
55637
56199
  return obj;
55638
56200
  }
55639
56201
  } else if (Object.prototype.hasOwnProperty.call(item, 'fourthTabs') && item.fourthTabs.length) {
55640
- var _obj2 = this.getMenu(item.fourthTabs, res, key);
55641
- if (_obj2) {
55642
- return _obj2;
56202
+ var _obj4 = this.getMenu(item.fourthTabs, res, key);
56203
+ if (_obj4) {
56204
+ return _obj4;
55643
56205
  }
55644
56206
  }
55645
56207
  }
@@ -55647,17 +56209,39 @@ var events = [function (tabs, index) {
55647
56209
  return false;
55648
56210
  },
55649
56211
 
56212
+ /**
56213
+ * @desc:获取菜单第一条数据
56214
+ * @author huangbo
56215
+ * @date 2024年9月7日
56216
+ **/
56217
+ getFirst: function getFirst(obj) {
56218
+ if (!obj) {
56219
+ return '';
56220
+ }
56221
+ var openIdex = 0;
56222
+ if (obj.extendData && (obj.extendData.subDefOpenIndex || obj.extendData.subDefOpen)) {
56223
+ openIdex = parseInt(obj.extendData.subDefOpenIndex || obj.extendData.subDefOpen, 10);
56224
+ }
56225
+ if (obj.children && obj.children.length && obj.children[openIdex]) {
56226
+ return this.getFirst(obj.children[openIdex]);
56227
+ } else if (obj.fourthTabs && obj.fourthTabs.length && obj.fourthTabs[openIdex]) {
56228
+ return this.getFirst(obj.fourthTabs[openIdex]);
56229
+ } else if (obj.url) {
56230
+ return obj;
56231
+ }
56232
+ },
56233
+
55650
56234
  /**
55651
56235
  * @desc:遍历设置菜单气泡提醒
55652
56236
  * @author huangbo
55653
56237
  * @date 2024年9月7日
55654
56238
  **/
55655
56239
  setTips: function setTips(obj) {
55656
- var _this4 = this;
56240
+ var _this3 = this;
55657
56241
 
55658
56242
  if (Array.isArray(obj)) {
55659
56243
  obj.forEach(function (item) {
55660
- _this4.setTips(item);
56244
+ _this3.setTips(item);
55661
56245
  });
55662
56246
  } else {
55663
56247
  if (obj && Object.prototype.hasOwnProperty.call(obj, 'tips') && obj.tips) {
@@ -55667,7 +56251,7 @@ var events = [function (tabs, index) {
55667
56251
  var flag = 0;
55668
56252
  if (obj.children && obj.children.length) {
55669
56253
  obj.children.forEach(function (item) {
55670
- var n = _this4.setTips(item);
56254
+ var n = _this3.setTips(item);
55671
56255
  flag += n ? parseInt(n) : 0;
55672
56256
  });
55673
56257
  if (flag) {
@@ -55676,7 +56260,7 @@ var events = [function (tabs, index) {
55676
56260
  }
55677
56261
  } else if (obj.fourthTabs && obj.fourthTabs.length) {
55678
56262
  obj.fourthTabs.forEach(function (item) {
55679
- var n = _this4.setTips(item);
56263
+ var n = _this3.setTips(item);
55680
56264
  flag += n ? parseInt(n) : 0;
55681
56265
  });
55682
56266
  if (flag) {
@@ -55716,7 +56300,7 @@ var events = [function (tabs, index) {
55716
56300
  * @date 2024年9月7日
55717
56301
  **/
55718
56302
  initWebSocket: function initWebSocket() {
55719
- var _this5 = this;
56303
+ var _this4 = this;
55720
56304
 
55721
56305
  this.webSocket = utils_util["a" /* default */].socket({
55722
56306
  url: api["cc" /* wss */],
@@ -55726,32 +56310,32 @@ var events = [function (tabs, index) {
55726
56310
  for (var i in data) {
55727
56311
  if (data[i] !== null && data[i] !== undefined) {
55728
56312
  if (i === 'onlineUserNums' && data[i] > 0) {
55729
- _this5.online = data[i];
56313
+ _this4.online = data[i];
55730
56314
  }
55731
56315
  if (i === 'sysMsgNums') {
55732
- _this5.notice = data[i];
55733
- if (_this5.showMsg) {
55734
- _this5.$refs.message.getMsg(true);
56316
+ _this4.notice = data[i];
56317
+ if (_this4.showMsg) {
56318
+ _this4.$refs.message.getMsg(true);
55735
56319
  }
55736
56320
  }
55737
56321
  if (i === 'menuTipsMap') {
55738
- _this5.menuTips = data[i];
56322
+ _this4.menuTips = data[i];
55739
56323
  }
55740
56324
  if (i === 'sysMsgList') {
55741
- _this5.sysMsg = data[i];
56325
+ _this4.sysMsg = data[i];
55742
56326
  }
55743
56327
  if (i === 'extraData') {
55744
- _this5.extraData = data[i];
56328
+ _this4.extraData = data[i];
55745
56329
  }
55746
56330
  }
55747
56331
  }
55748
- if (_this5.$store) {
56332
+ if (_this4.$store) {
55749
56333
  try {
55750
- _this5.$store.commit('websocket', data);
56334
+ _this4.$store.commit('websocket', data);
55751
56335
  } catch (error) {}
55752
56336
  }
55753
- if (_this5.$eventBus) {
55754
- _this5.$eventBus.$emit('websocket', data);
56337
+ if (_this4.$eventBus) {
56338
+ _this4.$eventBus.$emit('websocket', data);
55755
56339
  }
55756
56340
  if (utils_util["a" /* default */].win.eventBus) {
55757
56341
  utils_util["a" /* default */].win.eventBus.$emit('websocket', data);
@@ -55766,6 +56350,8 @@ var events = [function (tabs, index) {
55766
56350
  * @date 2024年9月7日
55767
56351
  **/
55768
56352
  handlerClickApp: function handlerClickApp(res) {
56353
+ this.showMsg = false;
56354
+ this.showSet = false;
55769
56355
  if (res) {
55770
56356
  if (res.permission === false) {
55771
56357
  return false;
@@ -55774,8 +56360,6 @@ var events = [function (tabs, index) {
55774
56360
  this.subMenus = res;
55775
56361
  this.showMenu = true;
55776
56362
  this.showApps = false;
55777
- this.width = '296px';
55778
- this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
55779
56363
  } else {
55780
56364
  var set = true;
55781
56365
  if (res.url) {
@@ -55789,17 +56373,17 @@ var events = [function (tabs, index) {
55789
56373
  var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
55790
56374
  this.activeName = res.id;
55791
56375
  if (i == -1) {
55792
- this.tabs.push(this.setIframeType(res));
56376
+ var tab = this.setIframeType(res);
56377
+ this.tabs.push(tab);
55793
56378
  }
55794
56379
  }
55795
56380
  }
55796
56381
  if (set && res.code) {
55797
56382
  var subMenus = this.getMenu(this.menus, res.code, 'appCode');
56383
+ this.title = res.text || res.name;
55798
56384
  this.subMenus = subMenus ? subMenus : null;
55799
56385
  this.showMenu = subMenus !== false;
55800
56386
  this.showApps = false;
55801
- this.width = '296px';
55802
- this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
55803
56387
  }
55804
56388
  }
55805
56389
  this.active = res.id;
@@ -55809,15 +56393,6 @@ var events = [function (tabs, index) {
55809
56393
  }
55810
56394
  },
55811
56395
 
55812
- /**
55813
- * @desc:显示菜单界面
55814
- * @author huangbo
55815
- * @date 2024年9月7日
55816
- **/
55817
- handleShowMenus: function handleShowMenus() {
55818
- this.showMenu = true;
55819
- },
55820
-
55821
56396
  /**
55822
56397
  * @desc:显示Drawer界面
55823
56398
  * @author huangbo
@@ -55847,16 +56422,13 @@ var events = [function (tabs, index) {
55847
56422
  * @date 2024年9月7日
55848
56423
  **/
55849
56424
  handlerClickMenu: function handlerClickMenu(res) {
55850
- if (typeof res === 'number') {
55851
- var num = 296;
55852
- this.width = num * res + 'px';
55853
- } else {
55854
- var i = utils_util["a" /* default */].indexOfObj(this.tabs, res, 'id');
55855
- this.activeName = res.id;
55856
- if (i == -1) {
55857
- this.tabs.push(this.setIframeType(res));
55858
- }
55859
- 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);
55860
56432
  }
55861
56433
  },
55862
56434
 
@@ -55890,29 +56462,6 @@ var events = [function (tabs, index) {
55890
56462
  }
55891
56463
  },
55892
56464
 
55893
- /**
55894
- * @desc:选中iframe页签刷新
55895
- * @author huangbo
55896
- * @date 2024年9月7日
55897
- **/
55898
- handleTab: function handleTab(res) {
55899
- var index = void 0;
55900
- if (res) {
55901
- index = parseInt(res.index);
55902
- } else {
55903
- index = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
55904
- }
55905
- var item = this.tabs[index];
55906
- if (item.method == 'iframe') {
55907
- item.url = utils_util["a" /* default */].handlerUrl(item.url);
55908
- } else {
55909
- item.refresh = false;
55910
- this.$nextTick(function () {
55911
- item.refresh = true;
55912
- });
55913
- }
55914
- },
55915
-
55916
56465
  /**
55917
56466
  * @desc:刷新选中iframe页签
55918
56467
  * @author huangbo
@@ -55959,6 +56508,9 @@ var events = [function (tabs, index) {
55959
56508
  if (this.tabs.length == 1) {
55960
56509
  disabled.other = true;
55961
56510
  }
56511
+ if (this.tabs[index].id != this.activeName) {
56512
+ disabled.refresh = true;
56513
+ }
55962
56514
  this.isDisabled = disabled;
55963
56515
  this.$refs.tabsHandler.$el.style.setProperty('left', e.x + 'px');
55964
56516
  this.$refs.tabsHandler.$el.style.setProperty('top', e.y + 'px');
@@ -56011,6 +56563,8 @@ var events = [function (tabs, index) {
56011
56563
  this.handleQuit();
56012
56564
  break;
56013
56565
  case 'online':
56566
+ this.showMsg = false;
56567
+ this.showSet = false;
56014
56568
  if (this.onlineUrl) {
56015
56569
  this.dialog = {
56016
56570
  title: '查看在线人员',
@@ -56021,9 +56575,11 @@ var events = [function (tabs, index) {
56021
56575
  break;
56022
56576
  case 'notice':
56023
56577
  this.showMsg = !this.showMsg;
56578
+ this.showSet = false;
56024
56579
  break;
56025
56580
  case 'set':
56026
56581
  this.showSet = !this.showSet;
56582
+ this.showMsg = false;
56027
56583
  break;
56028
56584
  case 'home':
56029
56585
  if (this.homePage.id !== this.activeName) {
@@ -56032,10 +56588,14 @@ var events = [function (tabs, index) {
56032
56588
  this.tabs.unshift(this.homePage);
56033
56589
  }
56034
56590
  this.activeName = this.homePage.id;
56591
+ this.showMsg = false;
56592
+ this.showSet = false;
56035
56593
  }
56036
56594
  break;
56037
56595
  case 'search':
56038
56596
  this.handlerSetDrawer(res);
56597
+ this.showMsg = false;
56598
+ this.showSet = false;
56039
56599
  break;
56040
56600
  case 'goView':
56041
56601
  utils_util["a" /* default */].win.open(res.path, '_blank');
@@ -56051,7 +56611,7 @@ var events = [function (tabs, index) {
56051
56611
  * @date 2024年9月7日
56052
56612
  **/
56053
56613
  handleQuit: function handleQuit() {
56054
- var _this6 = this;
56614
+ var _this5 = this;
56055
56615
 
56056
56616
  this.$confirm('确定注销吗?', '退出系统', {
56057
56617
  confirmButtonText: '确定',
@@ -56061,8 +56621,8 @@ var events = [function (tabs, index) {
56061
56621
  utils_util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
56062
56622
  if (res.rCode == 0) {
56063
56623
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
56064
- if (_this6.onQuit && typeof _this6.onQuit === 'function') {
56065
- _this6.onQuit();
56624
+ if (_this5.onQuit && typeof _this5.onQuit === 'function') {
56625
+ _this5.onQuit();
56066
56626
  } else {
56067
56627
  try {
56068
56628
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
@@ -56100,7 +56660,7 @@ var events = [function (tabs, index) {
56100
56660
  }
56101
56661
  }).catch(function (err) {
56102
56662
  if (err.message && err.message !== 'canceled') {
56103
- _this6.$message.error(err.message);
56663
+ _this5.$message.error(err.message);
56104
56664
  }
56105
56665
  });
56106
56666
  }).catch(function (e) {});
@@ -56145,20 +56705,20 @@ var events = [function (tabs, index) {
56145
56705
  * @date 2024年9月7日
56146
56706
  **/
56147
56707
  handleOpened: function handleOpened(res) {
56148
- var _this7 = this;
56708
+ var _this6 = this;
56149
56709
 
56150
56710
  if (res === undefined) {
56151
56711
  this.sysMsg = [];
56152
56712
  } else if (res == false && this.sysMsg.length) {
56153
56713
  this.sysMsgOut = setTimeout(function () {
56154
- _this7.sysMsg = [];
56714
+ _this6.sysMsg = [];
56155
56715
  }, 3000);
56156
56716
  } else if (this.sysMsgOut) {
56157
56717
  clearTimeout(this.sysMsgOut);
56158
56718
  }
56159
56719
  },
56160
56720
  handleReLogin: function handleReLogin(res) {
56161
- var _this8 = this;
56721
+ var _this7 = this;
56162
56722
 
56163
56723
  if (res && typeof res == 'string') {
56164
56724
  res = JSON.parse(res);
@@ -56188,7 +56748,7 @@ var events = [function (tabs, index) {
56188
56748
  clearTimeout(this.timer);
56189
56749
  this.timer = setTimeout(function () {
56190
56750
  sessionStorage.setItem('remind', 1);
56191
- _this8.$confirm(msg, btn).then(function () {
56751
+ _this7.$confirm(msg, btn).then(function () {
56192
56752
  utils_util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
56193
56753
  var loginPage = utils_util["a" /* default */].getStorage('login') || utils_util["a" /* default */].getStorage('loginPage');
56194
56754
  try {
@@ -56255,84 +56815,35 @@ var events = [function (tabs, index) {
56255
56815
  }
56256
56816
  },
56257
56817
  jumpMenu: function jumpMenu(res) {
56258
- var apps = res.split(',');
56818
+ var apps = res;
56819
+ if (typeof res === 'string') {
56820
+ apps = res.split(',');
56821
+ }
56259
56822
  var obj = this.getMenu(this.menus, apps[apps.length - 1]);
56260
56823
  if (obj) {
56261
56824
  var i = utils_util["a" /* default */].indexOfObj(this.tabs, obj, 'id');
56825
+ var n = utils_util["a" /* default */].indexOfObj(this.tabs, this.activeName, 'id');
56826
+ this.activeName = obj.id;
56262
56827
  if (i == -1) {
56263
- this.tabs.push(this.setIframeType(obj));
56828
+ var tab = this.setIframeType(obj);
56829
+ this.tabs.splice(n + 1, 0, tab);
56264
56830
  }
56265
- this.activeName = obj.id;
56266
56831
  } else {
56267
56832
  this.$message.error('没有此菜单!');
56268
56833
  }
56269
56834
  },
56270
56835
 
56271
- //移动
56272
- move: function move() {
56273
- var _this9 = this;
56274
-
56275
- var area = this.$refs.area;
56276
- var box = this.$refs.box;
56277
- var sTime = 0,
56278
- eTime = 0;
56279
-
56280
- area.addEventListener('mousedown', function (e) {
56281
- sTime = new Date().getTime();
56282
- var downY = e.y,
56283
- downX = e.x;
56284
-
56285
- var _document$body$getBou = document.body.getBoundingClientRect(),
56286
- winH = _document$body$getBou.height,
56287
- winW = _document$body$getBou.width;
56288
- //防止拖动期间选中和复制网页文本
56289
-
56290
-
56291
- document.body.onselectstart = document.body.oncontextmenu = function () {
56292
- return false;
56293
- };
56294
- document.onmousemove = function (eve) {
56295
- var size = 40;
56296
- var moveY = eve.y,
56297
- moveX = eve.x;
56298
-
56299
- var _box$getBoundingClien = box.getBoundingClientRect(),
56300
- boxTop = _box$getBoundingClien.top,
56301
- boxLeft = _box$getBoundingClien.left;
56836
+ //监听改变菜单
56837
+ handleListener: function handleListener() {
56838
+ var _this8 = this;
56302
56839
 
56303
- boxTop += moveY - downY;
56304
- boxLeft += moveX - downX;
56305
- boxTop >= winH - size && (boxTop = winH - size);
56306
- boxTop <= -size && (boxTop = -size);
56307
- boxLeft >= winW - size && (boxLeft = winW - size);
56308
- boxLeft <= -size && (boxLeft = -size);
56309
- if (boxTop < 60) {
56310
- boxTop = 60;
56311
- }
56312
- if (boxLeft < 80) {
56313
- boxLeft = 80;
56314
- }
56315
- box.style.top = boxTop + 'px';
56316
- box.style.left = boxLeft + 'px';
56317
- downY = moveY;
56318
- downX = moveX;
56319
- };
56320
- document.onmouseup = function () {
56321
- eTime = new Date().getTime();
56322
- var isClick = eTime - sTime < 200;
56323
- if (isClick) {
56324
- var onArea = function onArea() {
56325
- _this9.subMenu = [];
56326
- area.removeEventListener('click', onArea);
56327
- };
56328
- area.addEventListener('click', onArea);
56329
- }
56330
- document.onmousemove = null;
56331
- document.body.onselectstart = document.body.oncontextmenu = function () {
56332
- return true;
56333
- };
56334
- };
56335
- });
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);
56336
56847
  }
56337
56848
  },
56338
56849
  beforeDestroy: function beforeDestroy() {
@@ -56355,18 +56866,18 @@ var events = [function (tabs, index) {
56355
56866
 
56356
56867
  var simplicity_component = normalizeComponent(
56357
56868
  src_simplicityvue_type_script_lang_js_,
56358
- simplicityvue_type_template_id_4d97469e_scoped_true_render,
56359
- simplicityvue_type_template_id_4d97469e_scoped_true_staticRenderFns,
56869
+ simplicityvue_type_template_id_672540fb_scoped_true_render,
56870
+ simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns,
56360
56871
  false,
56361
56872
  null,
56362
- "4d97469e",
56873
+ "672540fb",
56363
56874
  null
56364
56875
 
56365
56876
  )
56366
56877
 
56367
56878
  /* harmony default export */ var simplicity = (simplicity_component.exports);
56368
- // 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&
56369
- 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 () {
56370
56881
  var _vm = this
56371
56882
  var _h = _vm.$createElement
56372
56883
  var _c = _vm._self._c || _h
@@ -56746,11 +57257,11 @@ var defaultvue_type_template_id_1527d603_render = function () {
56746
57257
  1
56747
57258
  )
56748
57259
  }
56749
- var defaultvue_type_template_id_1527d603_staticRenderFns = []
56750
- 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
56751
57262
 
56752
57263
 
56753
- // 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&
56754
57265
 
56755
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&
56756
57267
  var userinfovue_type_template_id_bd3da0e0_render = function () {
@@ -58667,7 +59178,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
58667
59178
  var log = utils_util["a" /* default */].getParams('console');
58668
59179
  var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
58669
59180
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
58670
- name: 'EsMainDefault',
59181
+ name: 'Main',
58671
59182
  inheritAttrs: false,
58672
59183
  provide: function provide() {
58673
59184
  return {
@@ -60475,8 +60986,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
60475
60986
 
60476
60987
  var default_component = normalizeComponent(
60477
60988
  src_defaultvue_type_script_lang_js_,
60478
- defaultvue_type_template_id_1527d603_render,
60479
- defaultvue_type_template_id_1527d603_staticRenderFns,
60989
+ defaultvue_type_template_id_1606367c_render,
60990
+ defaultvue_type_template_id_1606367c_staticRenderFns,
60480
60991
  false,
60481
60992
  null,
60482
60993
  null,
@@ -60498,11 +61009,6 @@ var default_component = normalizeComponent(
60498
61009
  //
60499
61010
  //
60500
61011
  //
60501
- //
60502
- //
60503
- //
60504
- //
60505
- //
60506
61012
 
60507
61013
 
60508
61014
 
@@ -60517,8 +61023,8 @@ var default_component = normalizeComponent(
60517
61023
  },
60518
61024
 
60519
61025
  components: {
60520
- EsMainSimplicity: simplicity,
60521
- EsMainDefault: src_default
61026
+ Simplicity: simplicity,
61027
+ Main: src_default
60522
61028
  },
60523
61029
  props: {
60524
61030
  type: String
@@ -60527,13 +61033,14 @@ var default_component = normalizeComponent(
60527
61033
  watch: {},
60528
61034
  data: function data() {
60529
61035
  return {
60530
- appCode: ''
61036
+ appCode: '',
61037
+ params: {}
60531
61038
  };
60532
61039
  },
60533
61040
  created: function created() {
60534
- var params = utils_util["a" /* default */].getParams() || {};
60535
- this.appCode = params.appCode;
60536
- this.getConfig(params);
61041
+ this.params = utils_util["a" /* default */].getParams() || {};
61042
+ this.appCode = this.params.appCode;
61043
+ this.getConfig(this.params);
60537
61044
  },
60538
61045
  mounted: function mounted() {},
60539
61046
 
@@ -60571,8 +61078,8 @@ var default_component = normalizeComponent(
60571
61078
 
60572
61079
  var main_src_main_component = normalizeComponent(
60573
61080
  packages_main_src_mainvue_type_script_lang_js_,
60574
- mainvue_type_template_id_0794c41f_render,
60575
- mainvue_type_template_id_0794c41f_staticRenderFns,
61081
+ mainvue_type_template_id_a0d885fc_render,
61082
+ mainvue_type_template_id_a0d885fc_staticRenderFns,
60576
61083
  false,
60577
61084
  null,
60578
61085
  null,
@@ -65535,8 +66042,8 @@ select_ganged_src_main.install = function (Vue) {
65535
66042
  };
65536
66043
 
65537
66044
  /* harmony default export */ var select_ganged = (select_ganged_src_main);
65538
- // 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&
65539
- 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 () {
65540
66047
  var _vm = this
65541
66048
  var _h = _vm.$createElement
65542
66049
  var _c = _vm._self._c || _h
@@ -65756,7 +66263,7 @@ var mainvue_type_template_id_3cff1a50_render = function () {
65756
66263
  placeholder: _vm.currentPlaceholder,
65757
66264
  size: _vm.selectorSize,
65758
66265
  disabled: _vm.selectorDisabled,
65759
- tabindex: _vm.multiple ? "-1" : null,
66266
+ tabindex: _vm.tabindex,
65760
66267
  },
65761
66268
  on: {
65762
66269
  focus: _vm.handleFocus,
@@ -65852,7 +66359,7 @@ var mainvue_type_template_id_3cff1a50_render = function () {
65852
66359
  placeholder: _vm.currentPlaceholder,
65853
66360
  size: _vm.selectorSize,
65854
66361
  disabled: _vm.selectorDisabled,
65855
- tabindex: _vm.multiple ? "-1" : null,
66362
+ tabindex: _vm.tabindex,
65856
66363
  },
65857
66364
  on: { clear: _vm.handleClear },
65858
66365
  nativeOn: {
@@ -66038,11 +66545,11 @@ var mainvue_type_template_id_3cff1a50_render = function () {
66038
66545
  )
66039
66546
  : _vm._e()
66040
66547
  }
66041
- var mainvue_type_template_id_3cff1a50_staticRenderFns = []
66042
- 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
66043
66550
 
66044
66551
 
66045
- // 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&
66046
66553
 
66047
66554
  // EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
66048
66555
  var clickoutside_ = __webpack_require__(17);
@@ -66347,6 +66854,10 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
66347
66854
  return ['enterprise', 'person'];
66348
66855
  }
66349
66856
  },
66857
+ tabindex: {
66858
+ type: [String, Number],
66859
+ default: -1
66860
+ },
66350
66861
  filterable: {
66351
66862
  type: Boolean,
66352
66863
  default: false
@@ -66702,8 +67213,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
66702
67213
 
66703
67214
  var selector_src_main_component = normalizeComponent(
66704
67215
  packages_selector_src_mainvue_type_script_lang_js_,
66705
- mainvue_type_template_id_3cff1a50_render,
66706
- mainvue_type_template_id_3cff1a50_staticRenderFns,
67216
+ mainvue_type_template_id_46b6892e_render,
67217
+ mainvue_type_template_id_46b6892e_staticRenderFns,
66707
67218
  false,
66708
67219
  null,
66709
67220
  null,
@@ -66720,8 +67231,8 @@ selector_src_main.install = function (Vue) {
66720
67231
  };
66721
67232
 
66722
67233
  /* harmony default export */ var selector = (selector_src_main);
66723
- // 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&
66724
- 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 () {
66725
67236
  var _vm = this
66726
67237
  var _h = _vm.$createElement
66727
67238
  var _c = _vm._self._c || _h
@@ -66778,6 +67289,22 @@ var mainvue_type_template_id_b9200bd8_render = function () {
66778
67289
  },
66779
67290
  },
66780
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
+ ),
66781
67308
  _c(
66782
67309
  "el-form-item",
66783
67310
  [
@@ -66903,6 +67430,7 @@ var mainvue_type_template_id_b9200bd8_render = function () {
66903
67430
  "label-key": _vm.labelKey,
66904
67431
  multiple: _vm.mix ? _vm.mix : _vm.multiple,
66905
67432
  max: _vm.max,
67433
+ showDisabled: _vm.showDisabled,
66906
67434
  },
66907
67435
  model: {
66908
67436
  value: _vm.checkeds,
@@ -66966,11 +67494,11 @@ var mainvue_type_template_id_b9200bd8_render = function () {
66966
67494
  1
66967
67495
  )
66968
67496
  }
66969
- var mainvue_type_template_id_b9200bd8_staticRenderFns = []
66970
- 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
66971
67499
 
66972
67500
 
66973
- // 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&
66974
67502
 
66975
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&
66976
67504
  var treevue_type_template_id_24ad732a_render = function () {
@@ -67265,8 +67793,8 @@ var tree_component = normalizeComponent(
67265
67793
  )
67266
67794
 
67267
67795
  /* harmony default export */ var tree = (tree_component.exports);
67268
- // 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&
67269
- 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 () {
67270
67798
  var _vm = this
67271
67799
  var _h = _vm.$createElement
67272
67800
  var _c = _vm._self._c || _h
@@ -67304,6 +67832,14 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
67304
67832
  "el-radio",
67305
67833
  _vm._b(
67306
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
+ ],
67307
67843
  key: index,
67308
67844
  class: { "es-radio-delete": _vm.genre === "delete" },
67309
67845
  attrs: {
@@ -67359,6 +67895,14 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
67359
67895
  "el-checkbox",
67360
67896
  _vm._b(
67361
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
+ ],
67362
67906
  key: index,
67363
67907
  class: { "es-checkbox-delete": _vm.genre === "delete" },
67364
67908
  attrs: {
@@ -67407,11 +67951,11 @@ var selectionvue_type_template_id_0ec05c7a_render = function () {
67407
67951
  1
67408
67952
  )
67409
67953
  }
67410
- var selectionvue_type_template_id_0ec05c7a_staticRenderFns = []
67411
- 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
67412
67956
 
67413
67957
 
67414
- // 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&
67415
67959
 
67416
67960
  // EXTERNAL MODULE: external "sortablejs"
67417
67961
  var external_sortablejs_ = __webpack_require__(18);
@@ -67469,6 +68013,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
67469
68013
  //
67470
68014
  //
67471
68015
  //
68016
+ //
68017
+ //
67472
68018
 
67473
68019
 
67474
68020
 
@@ -67476,6 +68022,10 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
67476
68022
  name: 'Selection',
67477
68023
  props: {
67478
68024
  value: [String, Array, Object],
68025
+ showDisabled: {
68026
+ type: Boolean,
68027
+ default: true
68028
+ },
67479
68029
  genre: String,
67480
68030
  valueKey: {
67481
68031
  type: String,
@@ -67578,8 +68128,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
67578
68128
 
67579
68129
  var selection_component = normalizeComponent(
67580
68130
  src_selectionvue_type_script_lang_js_,
67581
- selectionvue_type_template_id_0ec05c7a_render,
67582
- selectionvue_type_template_id_0ec05c7a_staticRenderFns,
68131
+ selectionvue_type_template_id_45aba2c9_render,
68132
+ selectionvue_type_template_id_45aba2c9_staticRenderFns,
67583
68133
  false,
67584
68134
  null,
67585
68135
  null,
@@ -67695,6 +68245,10 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
67695
68245
  //
67696
68246
  //
67697
68247
  //
68248
+ //
68249
+ //
68250
+ //
68251
+ //
67698
68252
 
67699
68253
 
67700
68254
 
@@ -67810,7 +68364,15 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
67810
68364
  activeName: '',
67811
68365
  selections: [],
67812
68366
  checkboxs: [],
67813
- checkeds: null
68367
+ checkeds: null,
68368
+ showDisabled: true,
68369
+ options: [{
68370
+ value: true,
68371
+ name: '展示'
68372
+ }, {
68373
+ value: false,
68374
+ name: '过滤'
68375
+ }]
67814
68376
  };
67815
68377
  },
67816
68378
 
@@ -68349,7 +68911,9 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
68349
68911
  if (res) {
68350
68912
  if (this.isShowTree) {
68351
68913
  this.nodeData.checkAll = true;
68352
- var checkeds = this.checkeds.concat(this.checkboxs);
68914
+ var checkeds = this.checkeds.concat(this.checkboxs.filter(function (item) {
68915
+ return item.disabled !== true;
68916
+ }));
68353
68917
  if (checkeds.length > 0) {
68354
68918
  this.checkeds = utils_util["a" /* default */].arrUnique(checkeds, isObject ? this.valueKey : undefined);
68355
68919
  }
@@ -68527,8 +69091,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
68527
69091
 
68528
69092
  var selector_panel_src_main_component = normalizeComponent(
68529
69093
  packages_selector_panel_src_mainvue_type_script_lang_js_,
68530
- mainvue_type_template_id_b9200bd8_render,
68531
- mainvue_type_template_id_b9200bd8_staticRenderFns,
69094
+ mainvue_type_template_id_1709cc6f_render,
69095
+ mainvue_type_template_id_1709cc6f_staticRenderFns,
68532
69096
  false,
68533
69097
  null,
68534
69098
  null,
@@ -80754,7 +81318,7 @@ if (typeof window !== 'undefined' && window.Vue) {
80754
81318
  }
80755
81319
 
80756
81320
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
80757
- version: '0.5.81-beta2',
81321
+ version: '0.5.81-beta5',
80758
81322
  install: install,
80759
81323
  Button: packages_button,
80760
81324
  ButtonGroup: button_group,