eoss-ui 0.5.81-beta5 → 0.5.81-beta7

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 (38) hide show
  1. package/lib/data-table.js +143 -124
  2. package/lib/eoss-ui.common.js +371 -281
  3. package/lib/index.js +1 -1
  4. package/lib/login.js +8 -6
  5. package/lib/main.js +206 -137
  6. package/lib/select.js +1 -1
  7. package/lib/theme-chalk/base.css +1 -1
  8. package/lib/theme-chalk/index.css +1 -1
  9. package/lib/theme-chalk/main.css +1 -1
  10. package/lib/theme-chalk/menu.css +1 -1
  11. package/lib/theme-chalk/simplicity.css +1 -1
  12. package/lib/theme-chalk/sizer.css +1 -1
  13. package/lib/theme-chalk/tree.css +1 -1
  14. package/lib/theme-chalk/upload.css +1 -1
  15. package/package.json +2 -2
  16. package/packages/data-table/src/main.vue +50 -26
  17. package/packages/login/src/main.vue +10 -4
  18. package/packages/main/src/default/index.vue +1 -1
  19. package/packages/main/src/main.vue +8 -3
  20. package/packages/main/src/simplicity/index.vue +81 -76
  21. package/packages/main/src/simplicity/menu-list.vue +46 -17
  22. package/packages/main/src/simplicity/sub-menu.vue +2 -1
  23. package/packages/main/src/simplicity/user.vue +1 -0
  24. package/packages/select/src/main.vue +4 -1
  25. package/packages/theme-chalk/lib/base.css +1 -1
  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/menu.css +1 -1
  29. package/packages/theme-chalk/lib/simplicity.css +1 -1
  30. package/packages/theme-chalk/lib/sizer.css +1 -1
  31. package/packages/theme-chalk/lib/tree.css +1 -1
  32. package/packages/theme-chalk/lib/upload.css +1 -1
  33. package/packages/theme-chalk/src/base.scss +3 -0
  34. package/packages/theme-chalk/src/common/var.scss +4 -0
  35. package/packages/theme-chalk/src/login.scss +2 -2
  36. package/packages/theme-chalk/src/simplicity.scss +5 -5
  37. package/packages/theme-chalk/src/tree.scss +4 -2
  38. package/src/index.js +1 -1
package/lib/main.js CHANGED
@@ -3932,7 +3932,7 @@ window.__store = store;
3932
3932
  // ESM COMPAT FLAG
3933
3933
  __webpack_require__.r(__webpack_exports__);
3934
3934
 
3935
- // 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&
3935
+ // 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=6aa3a502&
3936
3936
  var render = function () {
3937
3937
  var _vm = this
3938
3938
  var _h = _vm.$createElement
@@ -3955,9 +3955,9 @@ var render = function () {
3955
3955
  )
3956
3956
  )
3957
3957
  : _c(
3958
- "main",
3958
+ "main-default",
3959
3959
  _vm._g(
3960
- _vm._b({ ref: "main" }, "main", _vm.$attrs, false),
3960
+ _vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
3961
3961
  _vm.$listeners
3962
3962
  )
3963
3963
  ),
@@ -3969,10 +3969,10 @@ var staticRenderFns = []
3969
3969
  render._withStripped = true
3970
3970
 
3971
3971
 
3972
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=a0d885fc&
3972
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
3973
3973
 
3974
- // 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&
3975
- var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
3974
+ // 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=f80eb4e8&scoped=true&
3975
+ var simplicityvue_type_template_id_f80eb4e8_scoped_true_render = function () {
3976
3976
  var _vm = this
3977
3977
  var _h = _vm.$createElement
3978
3978
  var _c = _vm._self._c || _h
@@ -3988,7 +3988,13 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
3988
3988
  })
3989
3989
  : _vm._e(),
3990
3990
  _c("div", { staticClass: "es-simplicity-org-name" }, [
3991
- _vm._v(_vm._s(_vm.userModel.orgName)),
3991
+ _vm._v(
3992
+ "\n " +
3993
+ _vm._s(
3994
+ _vm.simpleUserInfo.orgShortName || _vm.simpleUserInfo.orgName
3995
+ ) +
3996
+ "\n "
3997
+ ),
3992
3998
  ]),
3993
3999
  _c(
3994
4000
  "el-popover",
@@ -4004,7 +4010,11 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
4004
4010
  notify: _vm.notify,
4005
4011
  contents: _vm.userInfoContents,
4006
4012
  },
4007
- on: { change: _vm.handleChangeConfig, close: _vm.handlerClose },
4013
+ on: {
4014
+ success: _vm.handleSuccess,
4015
+ change: _vm.handleChangeConfig,
4016
+ close: _vm.handlerClose,
4017
+ },
4008
4018
  }),
4009
4019
  _c("avatar", {
4010
4020
  attrs: { slot: "reference", user: _vm.user },
@@ -4166,6 +4176,7 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
4166
4176
  color: _vm.menuColor,
4167
4177
  backgroundColor: _vm.menuBackgroundColor,
4168
4178
  "menu-icon": _vm.menuIcon,
4179
+ active: _vm.subActive,
4169
4180
  },
4170
4181
  on: {
4171
4182
  "update:visible": function ($event) {
@@ -4339,7 +4350,7 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
4339
4350
  {
4340
4351
  staticClass: "es-simplicity-iframe",
4341
4352
  class: { "is-open": _vm.showMenu, "is-fold": _vm.fold },
4342
- attrs: { closable: "", "hide-bar": "" },
4353
+ attrs: { closable: "", "hide-bar": "", opacity: "" },
4343
4354
  on: {
4344
4355
  "tab-remove": _vm.handleRemove,
4345
4356
  "tab-contextmenu": _vm.handleContextmenu,
@@ -4514,11 +4525,11 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
4514
4525
  ),
4515
4526
  ])
4516
4527
  }
4517
- var simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns = []
4518
- simplicityvue_type_template_id_672540fb_scoped_true_render._withStripped = true
4528
+ var simplicityvue_type_template_id_f80eb4e8_scoped_true_staticRenderFns = []
4529
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_render._withStripped = true
4519
4530
 
4520
4531
 
4521
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=672540fb&scoped=true&
4532
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=f80eb4e8&scoped=true&
4522
4533
 
4523
4534
  // 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&
4524
4535
  var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
@@ -4939,8 +4950,8 @@ var handler_component = Object(componentNormalizer["a" /* default */])(
4939
4950
  )
4940
4951
 
4941
4952
  /* harmony default export */ var simplicity_handler = (handler_component.exports);
4942
- // 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&
4943
- var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
4953
+ // 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=427b4bf6&scoped=true&
4954
+ var sub_menuvue_type_template_id_427b4bf6_scoped_true_render = function () {
4944
4955
  var _vm = this
4945
4956
  var _h = _vm.$createElement
4946
4957
  var _c = _vm._self._c || _h
@@ -5020,6 +5031,7 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
5020
5031
  _c("menu-list", {
5021
5032
  ref: "menus",
5022
5033
  attrs: {
5034
+ active: _vm.active,
5023
5035
  data: _vm.menus,
5024
5036
  menuIcon: _vm.menuIcon,
5025
5037
  color: _vm.color,
@@ -5036,14 +5048,14 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
5036
5048
  ]
5037
5049
  )
5038
5050
  }
5039
- var sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns = []
5040
- sub_menuvue_type_template_id_e591bf96_scoped_true_render._withStripped = true
5051
+ var sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns = []
5052
+ sub_menuvue_type_template_id_427b4bf6_scoped_true_render._withStripped = true
5041
5053
 
5042
5054
 
5043
- // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=e591bf96&scoped=true&
5055
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
5044
5056
 
5045
- // 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&
5046
- var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
5057
+ // 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=6e724ce5&scoped=true&
5058
+ var menu_listvue_type_template_id_6e724ce5_scoped_true_render = function () {
5047
5059
  var _vm = this
5048
5060
  var _h = _vm.$createElement
5049
5061
  var _c = _vm._self._c || _h
@@ -5064,27 +5076,43 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
5064
5076
  "popper-class": "es-simplicity-menus-sub",
5065
5077
  width: _vm.width,
5066
5078
  },
5079
+ on: { show: _vm.handleShow, hide: _vm.handleHide },
5080
+ scopedSlots: _vm._u([
5081
+ {
5082
+ key: "default",
5083
+ fn: function (ref) {
5084
+ var parent = ref.parent
5085
+ return [
5086
+ _c("menu-list", {
5087
+ ref: "menus",
5088
+ refInFor: true,
5089
+ attrs: {
5090
+ parent: parent,
5091
+ active: _vm.active,
5092
+ popover: _vm.show,
5093
+ data: (item.children || []).concat(
5094
+ item.fourthTabs || []
5095
+ ),
5096
+ menuIcon: _vm.menuIcon,
5097
+ color: _vm.color,
5098
+ backgroundColor: _vm.backgroundColor,
5099
+ width: _vm.width,
5100
+ },
5101
+ on: { command: _vm.handleClick },
5102
+ }),
5103
+ ]
5104
+ },
5105
+ },
5106
+ ]),
5067
5107
  },
5068
5108
  [
5069
- _c("menu-list", {
5070
- ref: "menus",
5071
- refInFor: true,
5072
- attrs: {
5073
- data: (item.children || []).concat(item.fourthTabs || []),
5074
- menuIcon: _vm.menuIcon,
5075
- color: _vm.color,
5076
- backgroundColor: _vm.backgroundColor,
5077
- width: _vm.width,
5078
- },
5079
- on: { command: _vm.handleClick },
5080
- }),
5081
5109
  _c(
5082
5110
  "div",
5083
5111
  {
5084
5112
  key: item.id,
5085
5113
  staticClass: "es-simplicity-menus-item",
5086
5114
  class: {
5087
- "is-active": _vm.active === item.id,
5115
+ "is-active": _vm.defaultActive === item.id,
5088
5116
  "is-fold": _vm.fold,
5089
5117
  },
5090
5118
  attrs: {
@@ -5161,8 +5189,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
5161
5189
  ],
5162
5190
  2
5163
5191
  ),
5164
- ],
5165
- 1
5192
+ ]
5166
5193
  )
5167
5194
  : _c(
5168
5195
  "div",
@@ -5170,7 +5197,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
5170
5197
  key: item.id,
5171
5198
  staticClass: "es-simplicity-menus-item",
5172
5199
  class: {
5173
- "is-active": _vm.active === item.id,
5200
+ "is-active": _vm.defaultActive === item.id,
5174
5201
  "is-fold": _vm.fold,
5175
5202
  },
5176
5203
  attrs: { title: _vm.fold ? item.text || item.name : "" },
@@ -5251,11 +5278,11 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
5251
5278
  2
5252
5279
  )
5253
5280
  }
5254
- var menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns = []
5255
- menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
5281
+ var menu_listvue_type_template_id_6e724ce5_scoped_true_staticRenderFns = []
5282
+ menu_listvue_type_template_id_6e724ce5_scoped_true_render._withStripped = true
5256
5283
 
5257
5284
 
5258
- // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=118643de&scoped=true&
5285
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e724ce5&scoped=true&
5259
5286
 
5260
5287
  // 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&
5261
5288
  //
@@ -5346,26 +5373,46 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
5346
5373
  //
5347
5374
  //
5348
5375
  //
5376
+ //
5377
+ //
5378
+ //
5379
+ //
5380
+ //
5381
+ //
5382
+ //
5349
5383
 
5350
5384
  /* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
5351
5385
  name: 'MenuList',
5352
5386
  components: {},
5353
5387
  props: {
5388
+ active: String,
5354
5389
  menuIcon: String,
5355
5390
  color: [String, Array],
5356
5391
  backgroundColor: [String, Array],
5357
5392
  data: Array,
5358
5393
  fold: Boolean,
5359
- width: Number
5394
+ width: Number,
5395
+ popover: Boolean,
5396
+ parent: Object
5360
5397
  },
5361
5398
  data: function data() {
5362
5399
  return {
5363
- active: ''
5400
+ defaultActive: this.active,
5401
+ show: false,
5402
+ height: document.body.offsetHeight - 44
5364
5403
  };
5365
5404
  },
5366
5405
 
5367
5406
  computed: {},
5368
- watch: {},
5407
+ watch: {
5408
+ popover: function popover() {
5409
+ if (this.$el.offsetHeight > this.height) {
5410
+ this.$el.style.height = this.height + 'px';
5411
+ } else {
5412
+ this.$el.style.height = '';
5413
+ }
5414
+ }
5415
+ },
5369
5416
  created: function created() {},
5370
5417
  mounted: function mounted() {},
5371
5418
 
@@ -5390,7 +5437,7 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
5390
5437
  return obj;
5391
5438
  },
5392
5439
  handleClick: function handleClick(res) {
5393
- this.active = res.id;
5440
+ this.defaultActive = res.id;
5394
5441
  if (res.url) {
5395
5442
  if (res.urlopenmode == 1) {
5396
5443
  util.win.open(res.url);
@@ -5402,8 +5449,17 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
5402
5449
  }
5403
5450
  this.$emit('command', res);
5404
5451
  },
5405
- clearActive: function clearActive() {
5406
- this.active = '';
5452
+ handleShow: function handleShow() {
5453
+ this.show = true;
5454
+ if (this.parent) {
5455
+ this.parent.changeContinue(true);
5456
+ }
5457
+ },
5458
+ handleHide: function handleHide() {
5459
+ if (this.parent) {
5460
+ this.parent.changeContinue(false);
5461
+ //this.parent.hidePopper();
5462
+ }
5407
5463
  }
5408
5464
  }
5409
5465
  });
@@ -5419,11 +5475,11 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
5419
5475
 
5420
5476
  var menu_list_component = Object(componentNormalizer["a" /* default */])(
5421
5477
  simplicity_menu_listvue_type_script_lang_js_,
5422
- menu_listvue_type_template_id_118643de_scoped_true_render,
5423
- menu_listvue_type_template_id_118643de_scoped_true_staticRenderFns,
5478
+ menu_listvue_type_template_id_6e724ce5_scoped_true_render,
5479
+ menu_listvue_type_template_id_6e724ce5_scoped_true_staticRenderFns,
5424
5480
  false,
5425
5481
  null,
5426
- "118643de",
5482
+ "6e724ce5",
5427
5483
  null
5428
5484
 
5429
5485
  )
@@ -5475,6 +5531,7 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
5475
5531
  //
5476
5532
  //
5477
5533
  //
5534
+ //
5478
5535
 
5479
5536
 
5480
5537
  /* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
@@ -5482,6 +5539,7 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
5482
5539
  components: { MenuList: menu_list },
5483
5540
  props: {
5484
5541
  title: String,
5542
+ active: String,
5485
5543
  color: {
5486
5544
  type: [String, Array],
5487
5545
  default: '#fff'
@@ -5516,7 +5574,6 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
5516
5574
  return {
5517
5575
  fold: false,
5518
5576
  width: this.size,
5519
- active: '',
5520
5577
  subMenus: []
5521
5578
  };
5522
5579
  },
@@ -5571,11 +5628,11 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
5571
5628
 
5572
5629
  var sub_menu_component = Object(componentNormalizer["a" /* default */])(
5573
5630
  simplicity_sub_menuvue_type_script_lang_js_,
5574
- sub_menuvue_type_template_id_e591bf96_scoped_true_render,
5575
- sub_menuvue_type_template_id_e591bf96_scoped_true_staticRenderFns,
5631
+ sub_menuvue_type_template_id_427b4bf6_scoped_true_render,
5632
+ sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns,
5576
5633
  false,
5577
5634
  null,
5578
- "e591bf96",
5635
+ "427b4bf6",
5579
5636
  null
5580
5637
 
5581
5638
  )
@@ -6373,8 +6430,8 @@ var apps_component = Object(componentNormalizer["a" /* default */])(
6373
6430
  )
6374
6431
 
6375
6432
  /* harmony default export */ var simplicity_apps = (apps_component.exports);
6376
- // 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&
6377
- var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
6433
+ // 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=7b281bbe&scoped=true&
6434
+ var uservue_type_template_id_7b281bbe_scoped_true_render = function () {
6378
6435
  var _vm = this
6379
6436
  var _h = _vm.$createElement
6380
6437
  var _c = _vm._self._c || _h
@@ -6529,11 +6586,11 @@ var uservue_type_template_id_4f9acb61_scoped_true_render = function () {
6529
6586
  1
6530
6587
  )
6531
6588
  }
6532
- var uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns = []
6533
- uservue_type_template_id_4f9acb61_scoped_true_render._withStripped = true
6589
+ var uservue_type_template_id_7b281bbe_scoped_true_staticRenderFns = []
6590
+ uservue_type_template_id_7b281bbe_scoped_true_render._withStripped = true
6534
6591
 
6535
6592
 
6536
- // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=4f9acb61&scoped=true&
6593
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=7b281bbe&scoped=true&
6537
6594
 
6538
6595
  // 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&
6539
6596
  var userinfovue_type_template_id_0dbd4cc6_render = function () {
@@ -6960,6 +7017,7 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
6960
7017
  _this2.checkPassword = results.checkPassword;
6961
7018
  _this2.checkPasswordMsg = results.checkPasswordMsg;
6962
7019
  _this2.headImgCode = results.headImgCode || undefined;
7020
+ _this2.$emit('success', results);
6963
7021
  } else {
6964
7022
  var msg = res.msg || '系统错误,请联系管理员!';
6965
7023
  _this2.$message.error(msg);
@@ -7074,11 +7132,11 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
7074
7132
 
7075
7133
  var user_component = Object(componentNormalizer["a" /* default */])(
7076
7134
  simplicity_uservue_type_script_lang_js_,
7077
- uservue_type_template_id_4f9acb61_scoped_true_render,
7078
- uservue_type_template_id_4f9acb61_scoped_true_staticRenderFns,
7135
+ uservue_type_template_id_7b281bbe_scoped_true_render,
7136
+ uservue_type_template_id_7b281bbe_scoped_true_staticRenderFns,
7079
7137
  false,
7080
7138
  null,
7081
- "4f9acb61",
7139
+ "7b281bbe",
7082
7140
  null
7083
7141
 
7084
7142
  )
@@ -8487,6 +8545,11 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
8487
8545
  //
8488
8546
  //
8489
8547
  //
8548
+ //
8549
+ //
8550
+ //
8551
+ //
8552
+ //
8490
8553
 
8491
8554
 
8492
8555
 
@@ -8664,6 +8727,8 @@ var events = [function (tabs, index, that) {
8664
8727
  subMenus: null,
8665
8728
  //展示菜单导航
8666
8729
  showMenu: false,
8730
+ //子菜单选中
8731
+ subActive: '',
8667
8732
  //折叠菜单
8668
8733
  fold: false,
8669
8734
  //人工智能配置
@@ -8726,7 +8791,7 @@ var events = [function (tabs, index, that) {
8726
8791
  //选中菜单
8727
8792
  active: '',
8728
8793
  //单位名称
8729
- orgName: ''
8794
+ simpleUserInfo: {}
8730
8795
  };
8731
8796
  },
8732
8797
 
@@ -9033,49 +9098,63 @@ var events = [function (tabs, index, that) {
9033
9098
  var tab = _this2.setIframeType(obj);
9034
9099
  _this2.tabs = [tab];
9035
9100
  _this2.activeName = tab.id;
9036
- // if (tab.method == 'router') {
9037
- // let params = util.getParams({ url: tab.url });
9038
- // this.$router.push({
9039
- // path: tab.path,
9040
- // query: { ...this.$parent.params, ...params }
9041
- // });
9042
- // }
9043
9101
  }
9044
9102
  }
9045
9103
  }
9046
- if (_this2.tabs.length == 0) {
9047
- var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
9048
- if (subMenus) {
9049
- // this.subMenus = subMenus;
9050
- // this.showMenu = true;
9104
+ var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
9105
+ if (subMenus) {
9106
+ if (_this2.tabs.length == 0) {
9051
9107
  var _obj = _this2.getFirst(subMenus);
9052
9108
  if (_obj) {
9109
+ _this2.subActive = _obj.id;
9053
9110
  var _tab = _this2.setIframeType(_obj);
9054
9111
  _this2.tabs = [_tab];
9055
9112
  _this2.activeName = _tab.id;
9056
- // if (tab.method == 'router') {
9057
- // let params = util.getParams({ url: tab.url });
9113
+ } else {
9114
+ _this2.subActive = '';
9115
+ }
9116
+ }
9117
+ _this2.subMenus = subMenus;
9118
+ _this2.showMenu = true;
9119
+ } else {
9120
+ _this2.subMenus = null;
9121
+ _this2.showMenu = false;
9122
+ }
9123
+ } else {
9124
+ if (_this2.indexUrl) {
9125
+ var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
9126
+ if (_obj2) {
9127
+ if (!_this2.appCode) {
9128
+ var _tab2 = _this2.setIframeType(_obj2);
9129
+ _this2.tabs = [_tab2];
9130
+ _this2.activeName = _tab2.id;
9131
+ }
9132
+ _this2.homePage = _obj2;
9133
+ } else {
9134
+ _this2.homePage = _this2.setIframeType({
9135
+ url: _this2.indexUrl,
9136
+ text: '工作台',
9137
+ id: '0',
9138
+ appCode: 'indexUrl'
9139
+ });
9140
+ if (!_this2.appCode) {
9141
+ _this2.tabs = [_this2.homePage];
9142
+ _this2.activeName = '0';
9143
+ // if (this.homePage.method == 'router') {
9144
+ // let params = util.getParams({ url: this.homePage.url });
9058
9145
  // this.$router.push({
9059
- // path: tab.path,
9146
+ // path: this.homePage.path,
9060
9147
  // query: { ...this.$parent.params, ...params }
9061
9148
  // });
9062
9149
  // }
9063
9150
  }
9064
- } else {
9065
- _this2.subMenus = null;
9066
- _this2.showMenu = false;
9067
9151
  }
9068
- }
9069
- // this.width = this.menuWidth;
9070
- // this.$refs.subMenus && this.$refs.subMenus.clearSubmenu();
9071
- }
9072
- if (_this2.indexUrl) {
9073
- var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
9074
- if (_obj2) {
9075
- if (!_this2.appCode) {
9076
- var _tab2 = _this2.setIframeType(_obj2);
9077
- _this2.tabs = [_tab2];
9078
- _this2.activeName = _tab2.id;
9152
+ } else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
9153
+ var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
9154
+ if (_obj3) {
9155
+ var _tab3 = _this2.setIframeType(_obj3);
9156
+ _this2.tabs.push(_tab3);
9157
+ _this2.activeName = _tab3.id;
9079
9158
  // if (tab.method == 'router') {
9080
9159
  // let params = util.getParams({ url: tab.url });
9081
9160
  // this.$router.push({
@@ -9084,39 +9163,6 @@ var events = [function (tabs, index, that) {
9084
9163
  // });
9085
9164
  // }
9086
9165
  }
9087
- _this2.homePage = _obj2;
9088
- } else {
9089
- _this2.homePage = _this2.setIframeType({
9090
- url: _this2.indexUrl,
9091
- text: '工作台',
9092
- id: '0',
9093
- appCode: 'indexUrl'
9094
- });
9095
- if (!_this2.appCode) {
9096
- _this2.tabs = [_this2.homePage];
9097
- _this2.activeName = '0';
9098
- // if (this.homePage.method == 'router') {
9099
- // let params = util.getParams({ url: this.homePage.url });
9100
- // this.$router.push({
9101
- // path: this.homePage.path,
9102
- // query: { ...this.$parent.params, ...params }
9103
- // });
9104
- // }
9105
- }
9106
- }
9107
- } else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
9108
- var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
9109
- if (_obj3) {
9110
- var _tab3 = _this2.setIframeType(_obj3);
9111
- _this2.tabs.push(_tab3);
9112
- _this2.activeName = _tab3.id;
9113
- // if (tab.method == 'router') {
9114
- // let params = util.getParams({ url: tab.url });
9115
- // this.$router.push({
9116
- // path: tab.path,
9117
- // query: { ...this.$parent.params, ...params }
9118
- // });
9119
- // }
9120
9166
  }
9121
9167
  }
9122
9168
  } else {
@@ -9270,8 +9316,9 @@ var events = [function (tabs, index, that) {
9270
9316
  return flag;
9271
9317
  }
9272
9318
  } else {
9273
- if (this.menuTips[obj.id] && Number(this.menuTips[obj.id])) {
9274
- this.$set(obj, 'tips', Number(this.menuTips[obj.id]));
9319
+ var num = this.menuTips[obj.id] || this.menuTips[obj.code];
9320
+ if (num && Number(num)) {
9321
+ this.$set(obj, 'tips', Number(num));
9275
9322
  return this.menuTips[obj.id];
9276
9323
  }
9277
9324
  }
@@ -9434,6 +9481,16 @@ var events = [function (tabs, index, that) {
9434
9481
  }
9435
9482
  },
9436
9483
 
9484
+
9485
+ /**
9486
+ * @desc:用户详情请求成功
9487
+ * @author huangbo
9488
+ * @date 2024年9月7日
9489
+ **/
9490
+ handleSuccess: function handleSuccess(res) {
9491
+ this.simpleUserInfo = res.simpleUserInfo;
9492
+ },
9493
+
9437
9494
  /**
9438
9495
  * @desc:修改用户配置
9439
9496
  * @author huangbo
@@ -9470,7 +9527,14 @@ var events = [function (tabs, index, that) {
9470
9527
  * @date 2024年9月7日
9471
9528
  **/
9472
9529
  handleRefresh: function handleRefresh() {
9473
- this.handleTab();
9530
+ var tab = this.tabs[this.activeName];
9531
+ if (tab.method === 'iframe') {
9532
+ tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
9533
+ }
9534
+ tab.refresh = false;
9535
+ this.$nextTick(function () {
9536
+ tab.refresh = true;
9537
+ });
9474
9538
  },
9475
9539
 
9476
9540
  /**
@@ -9868,18 +9932,18 @@ var events = [function (tabs, index, that) {
9868
9932
 
9869
9933
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
9870
9934
  src_simplicityvue_type_script_lang_js_,
9871
- simplicityvue_type_template_id_672540fb_scoped_true_render,
9872
- simplicityvue_type_template_id_672540fb_scoped_true_staticRenderFns,
9935
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_render,
9936
+ simplicityvue_type_template_id_f80eb4e8_scoped_true_staticRenderFns,
9873
9937
  false,
9874
9938
  null,
9875
- "672540fb",
9939
+ "f80eb4e8",
9876
9940
  null
9877
9941
 
9878
9942
  )
9879
9943
 
9880
9944
  /* harmony default export */ var simplicity = (simplicity_component.exports);
9881
- // 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&
9882
- var defaultvue_type_template_id_1606367c_render = function () {
9945
+ // 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=4cc95bd1&
9946
+ var defaultvue_type_template_id_4cc95bd1_render = function () {
9883
9947
  var _vm = this
9884
9948
  var _h = _vm.$createElement
9885
9949
  var _c = _vm._self._c || _h
@@ -10259,11 +10323,11 @@ var defaultvue_type_template_id_1606367c_render = function () {
10259
10323
  1
10260
10324
  )
10261
10325
  }
10262
- var defaultvue_type_template_id_1606367c_staticRenderFns = []
10263
- defaultvue_type_template_id_1606367c_render._withStripped = true
10326
+ var defaultvue_type_template_id_4cc95bd1_staticRenderFns = []
10327
+ defaultvue_type_template_id_4cc95bd1_render._withStripped = true
10264
10328
 
10265
10329
 
10266
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=1606367c&
10330
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
10267
10331
 
10268
10332
  // 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&
10269
10333
  var userinfovue_type_template_id_bd3da0e0_render = function () {
@@ -12180,7 +12244,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
12180
12244
  var log = utils_util["a" /* default */].getParams('console');
12181
12245
  var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
12182
12246
  /* harmony default export */ var defaultvue_type_script_lang_js_ = ({
12183
- name: 'Main',
12247
+ name: 'MainDefault',
12184
12248
  inheritAttrs: false,
12185
12249
  provide: function provide() {
12186
12250
  return {
@@ -13988,8 +14052,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
13988
14052
 
13989
14053
  var default_component = Object(componentNormalizer["a" /* default */])(
13990
14054
  src_defaultvue_type_script_lang_js_,
13991
- defaultvue_type_template_id_1606367c_render,
13992
- defaultvue_type_template_id_1606367c_staticRenderFns,
14055
+ defaultvue_type_template_id_4cc95bd1_render,
14056
+ defaultvue_type_template_id_4cc95bd1_staticRenderFns,
13993
14057
  false,
13994
14058
  null,
13995
14059
  null,
@@ -14011,6 +14075,11 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14011
14075
  //
14012
14076
  //
14013
14077
  //
14078
+ //
14079
+ //
14080
+ //
14081
+ //
14082
+ //
14014
14083
 
14015
14084
 
14016
14085
 
@@ -14026,7 +14095,7 @@ var default_component = Object(componentNormalizer["a" /* default */])(
14026
14095
 
14027
14096
  components: {
14028
14097
  Simplicity: simplicity,
14029
- Main: src_default
14098
+ MainDefault: src_default
14030
14099
  },
14031
14100
  props: {
14032
14101
  type: String