eoss-ui 0.5.98 → 0.5.99

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 (74) hide show
  1. package/lib/button-group.js +2 -2
  2. package/lib/button.js +2 -2
  3. package/lib/calendar.js +2 -2
  4. package/lib/card.js +2 -2
  5. package/lib/cascader.js +2 -2
  6. package/lib/checkbox-group.js +3 -2
  7. package/lib/clients.js +2 -2
  8. package/lib/data-table-form.js +3 -2
  9. package/lib/data-table.js +3 -2
  10. package/lib/date-picker.js +2 -2
  11. package/lib/dialog.js +6 -5
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +614 -716
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +2 -2
  16. package/lib/flow-list.js +2 -2
  17. package/lib/flow.js +3 -2
  18. package/lib/form.js +3 -2
  19. package/lib/handle-user.js +2 -2
  20. package/lib/handler.js +11 -15
  21. package/lib/icon.js +2 -2
  22. package/lib/icons.js +2 -2
  23. package/lib/index.js +1 -1
  24. package/lib/input-number.js +2 -2
  25. package/lib/input.js +2 -2
  26. package/lib/label.js +2 -2
  27. package/lib/layout.js +2 -2
  28. package/lib/login.js +6 -4
  29. package/lib/main.js +633 -732
  30. package/lib/menu.js +2 -2
  31. package/lib/nav.js +2 -2
  32. package/lib/notify.js +2 -2
  33. package/lib/page.js +2 -2
  34. package/lib/pagination.js +2 -2
  35. package/lib/player.js +4 -4
  36. package/lib/qr-code.js +4 -4
  37. package/lib/radio-group.js +2 -2
  38. package/lib/retrial-auth.js +9 -9
  39. package/lib/select-ganged.js +9 -9
  40. package/lib/select.js +2 -2
  41. package/lib/selector-panel.js +3 -2
  42. package/lib/selector.js +2 -2
  43. package/lib/sizer.js +2 -2
  44. package/lib/steps.js +2 -2
  45. package/lib/switch.js +2 -2
  46. package/lib/table-form.js +2 -2
  47. package/lib/tabs-panel.js +2 -2
  48. package/lib/tabs.js +2 -2
  49. package/lib/theme-chalk/index.css +1 -1
  50. package/lib/theme-chalk/main.css +1 -1
  51. package/lib/theme-chalk/simplicity.css +1 -1
  52. package/lib/tips.js +2 -2
  53. package/lib/toolbar.js +2 -2
  54. package/lib/tree-group.js +2 -2
  55. package/lib/tree.js +2 -2
  56. package/lib/upload.js +3 -2
  57. package/lib/wujie.js +145 -145
  58. package/lib/wxlogin.js +2 -2
  59. package/package.json +1 -1
  60. package/packages/dialog/src/main.vue +1 -1
  61. package/packages/handler/src/main.vue +0 -5
  62. package/packages/login/src/main.vue +1 -0
  63. package/packages/main/src/default/index.vue +27 -21
  64. package/packages/main/src/main.vue +13 -7
  65. package/packages/main/src/{default → public}/settings.vue +51 -19
  66. package/packages/main/src/simplicity/handler.vue +0 -11
  67. package/packages/main/src/simplicity/index.vue +122 -111
  68. package/packages/theme-chalk/lib/index.css +1 -1
  69. package/packages/theme-chalk/lib/main.css +1 -1
  70. package/packages/theme-chalk/lib/simplicity.css +1 -1
  71. package/packages/theme-chalk/src/main.scss +16 -0
  72. package/packages/theme-chalk/src/simplicity.scss +37 -0
  73. package/src/index.js +1 -1
  74. package/packages/main/src/simplicity/settings.vue +0 -119
@@ -3872,7 +3872,7 @@ module.exports = require("js-base64");
3872
3872
  /* 20 */
3873
3873
  /***/ (function(module, exports, __webpack_require__) {
3874
3874
 
3875
- module.exports = __webpack_require__(24);
3875
+ module.exports = __webpack_require__(25);
3876
3876
 
3877
3877
 
3878
3878
  /***/ }),
@@ -3885,16 +3885,22 @@ module.exports = require("sm-crypto");
3885
3885
  /* 22 */
3886
3886
  /***/ (function(module, exports) {
3887
3887
 
3888
- module.exports = require("video.js/dist/video-js.css");
3888
+ module.exports = require("slate");
3889
3889
 
3890
3890
  /***/ }),
3891
3891
  /* 23 */
3892
3892
  /***/ (function(module, exports) {
3893
3893
 
3894
- module.exports = require("qrcode");
3894
+ module.exports = require("video.js/dist/video-js.css");
3895
3895
 
3896
3896
  /***/ }),
3897
3897
  /* 24 */
3898
+ /***/ (function(module, exports) {
3899
+
3900
+ module.exports = require("qrcode");
3901
+
3902
+ /***/ }),
3903
+ /* 25 */
3898
3904
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3899
3905
 
3900
3906
  "use strict";
@@ -13415,8 +13421,8 @@ date_picker_src_main.install = function (Vue) {
13415
13421
  };
13416
13422
 
13417
13423
  /* harmony default export */ var date_picker = (date_picker_src_main);
13418
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=8647525a&
13419
- var mainvue_type_template_id_8647525a_render = function () {
13424
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
13425
+ var mainvue_type_template_id_11ebf026_render = function () {
13420
13426
  var _vm = this
13421
13427
  var _h = _vm.$createElement
13422
13428
  var _c = _vm._self._c || _h
@@ -13930,11 +13936,11 @@ var mainvue_type_template_id_8647525a_render = function () {
13930
13936
  2
13931
13937
  )
13932
13938
  }
13933
- var mainvue_type_template_id_8647525a_staticRenderFns = []
13934
- mainvue_type_template_id_8647525a_render._withStripped = true
13939
+ var mainvue_type_template_id_11ebf026_staticRenderFns = []
13940
+ mainvue_type_template_id_11ebf026_render._withStripped = true
13935
13941
 
13936
13942
 
13937
- // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=8647525a&
13943
+ // CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=11ebf026&
13938
13944
 
13939
13945
  // EXTERNAL MODULE: external "wujie-vue2"
13940
13946
  var external_wujie_vue2_ = __webpack_require__(7);
@@ -14336,7 +14342,7 @@ var mainvue_type_script_lang_js_systemMode = utils_util["a" /* default */].win.t
14336
14342
  mini: { width: '800px', height: '400px' },
14337
14343
  sm: { width: '960px', height: '500px' },
14338
14344
  md: { width: '1060px', height: '600px' },
14339
- lg: { width: '1200px', height: '800px' },
14345
+ lg: { width: '1200px', height: availHeight < 800 ? '560px' : '800px' },
14340
14346
  max: { width: availWidth + 'px', height: availHeight + 'px' },
14341
14347
  full: { width: '100%', height: '100%' }
14342
14348
  },
@@ -14497,8 +14503,8 @@ var mainvue_type_script_lang_js_systemMode = utils_util["a" /* default */].win.t
14497
14503
 
14498
14504
  var dialog_src_main_component = normalizeComponent(
14499
14505
  packages_dialog_src_mainvue_type_script_lang_js_,
14500
- mainvue_type_template_id_8647525a_render,
14501
- mainvue_type_template_id_8647525a_staticRenderFns,
14506
+ mainvue_type_template_id_11ebf026_render,
14507
+ mainvue_type_template_id_11ebf026_staticRenderFns,
14502
14508
  false,
14503
14509
  null,
14504
14510
  null,
@@ -39188,8 +39194,8 @@ handle_user_src_main.install = function (Vue) {
39188
39194
  };
39189
39195
 
39190
39196
  /* harmony default export */ var handle_user = (handle_user_src_main);
39191
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=64f2ba40&
39192
- var mainvue_type_template_id_64f2ba40_render = function () {
39197
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=0bf8fbcc&
39198
+ var mainvue_type_template_id_0bf8fbcc_render = function () {
39193
39199
  var _vm = this
39194
39200
  var _h = _vm.$createElement
39195
39201
  var _c = _vm._self._c || _h
@@ -39412,11 +39418,11 @@ var mainvue_type_template_id_64f2ba40_render = function () {
39412
39418
  2
39413
39419
  )
39414
39420
  }
39415
- var mainvue_type_template_id_64f2ba40_staticRenderFns = []
39416
- mainvue_type_template_id_64f2ba40_render._withStripped = true
39421
+ var mainvue_type_template_id_0bf8fbcc_staticRenderFns = []
39422
+ mainvue_type_template_id_0bf8fbcc_render._withStripped = true
39417
39423
 
39418
39424
 
39419
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=64f2ba40&
39425
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=0bf8fbcc&
39420
39426
 
39421
39427
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=script&lang=js&
39422
39428
  //
@@ -39637,10 +39643,6 @@ mainvue_type_template_id_64f2ba40_render._withStripped = true
39637
39643
  type: 'index',
39638
39644
  icon: 'es-icon-home',
39639
39645
  title: '门户'
39640
- }, {
39641
- type: 'new',
39642
- icon: 'es-icon-tiyanxinban',
39643
- title: '体验新版'
39644
39646
  }, {
39645
39647
  type: 'notice',
39646
39648
  icon: 'es-icon-tongzhi',
@@ -39777,8 +39779,8 @@ mainvue_type_template_id_64f2ba40_render._withStripped = true
39777
39779
 
39778
39780
  var handler_src_main_component = normalizeComponent(
39779
39781
  packages_handler_src_mainvue_type_script_lang_js_,
39780
- mainvue_type_template_id_64f2ba40_render,
39781
- mainvue_type_template_id_64f2ba40_staticRenderFns,
39782
+ mainvue_type_template_id_0bf8fbcc_render,
39783
+ mainvue_type_template_id_0bf8fbcc_staticRenderFns,
39782
39784
  false,
39783
39785
  null,
39784
39786
  null,
@@ -41326,8 +41328,8 @@ layout_src_main.install = function (Vue) {
41326
41328
  };
41327
41329
 
41328
41330
  /* harmony default export */ var packages_layout = (layout_src_main);
41329
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=8a13e62e&
41330
- var mainvue_type_template_id_8a13e62e_render = function () {
41331
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=7a4efc38&
41332
+ var mainvue_type_template_id_7a4efc38_render = function () {
41331
41333
  var _vm = this
41332
41334
  var _h = _vm.$createElement
41333
41335
  var _c = _vm._self._c || _h
@@ -42314,11 +42316,11 @@ var mainvue_type_template_id_8a13e62e_render = function () {
42314
42316
  )
42315
42317
  : _vm._e()
42316
42318
  }
42317
- var mainvue_type_template_id_8a13e62e_staticRenderFns = []
42318
- mainvue_type_template_id_8a13e62e_render._withStripped = true
42319
+ var mainvue_type_template_id_7a4efc38_staticRenderFns = []
42320
+ mainvue_type_template_id_7a4efc38_render._withStripped = true
42319
42321
 
42320
42322
 
42321
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=8a13e62e&
42323
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=7a4efc38&
42322
42324
 
42323
42325
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=cab38660&
42324
42326
  var resetPasswordvue_type_template_id_cab38660_render = function () {
@@ -44078,6 +44080,7 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44078
44080
  this.wechatScope = res.wechatScope;
44079
44081
  this.download = login_src_mainvue_type_script_lang_js_extends({}, this.downLoadUrls, downloads);
44080
44082
  if (res.sysLogoIco) {
44083
+ localStorage.setItem('sysLogoIco', res.sysLogoIco);
44081
44084
  utils_util["a" /* default */].setFavicon(res.sysLogoIco);
44082
44085
  }
44083
44086
  },
@@ -44548,8 +44551,8 @@ var ceshi = utils_util["a" /* default */].getParams('ceshi');
44548
44551
 
44549
44552
  var login_src_main_component = normalizeComponent(
44550
44553
  packages_login_src_mainvue_type_script_lang_js_,
44551
- mainvue_type_template_id_8a13e62e_render,
44552
- mainvue_type_template_id_8a13e62e_staticRenderFns,
44554
+ mainvue_type_template_id_7a4efc38_render,
44555
+ mainvue_type_template_id_7a4efc38_staticRenderFns,
44553
44556
  false,
44554
44557
  null,
44555
44558
  null,
@@ -44566,8 +44569,8 @@ login_src_main.install = function (Vue) {
44566
44569
  };
44567
44570
 
44568
44571
  /* harmony default export */ var login = (login_src_main);
44569
- // 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=6f2b9926&
44570
- var mainvue_type_template_id_6f2b9926_render = function () {
44572
+ // 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=72ff8660&
44573
+ var mainvue_type_template_id_72ff8660_render = function () {
44571
44574
  var _vm = this
44572
44575
  var _h = _vm.$createElement
44573
44576
  var _c = _vm._self._c || _h
@@ -44576,7 +44579,7 @@ var mainvue_type_template_id_6f2b9926_render = function () {
44576
44579
  "div",
44577
44580
  { staticClass: "es-main-box" },
44578
44581
  [
44579
- _vm.layout == "simplicity"
44582
+ _vm.layoutType == "simplicity"
44580
44583
  ? _c(
44581
44584
  "simplicity",
44582
44585
  _vm._g(
@@ -44602,7 +44605,7 @@ var mainvue_type_template_id_6f2b9926_render = function () {
44602
44605
  _vm._b(
44603
44606
  {
44604
44607
  ref: "main",
44605
- attrs: { "new-version": _vm.multiple },
44608
+ attrs: { "new-version": _vm.multiple, scene: _vm.layout },
44606
44609
  on: { "chang-layout": _vm.changLayout },
44607
44610
  },
44608
44611
  "main-default",
@@ -44654,14 +44657,14 @@ var mainvue_type_template_id_6f2b9926_render = function () {
44654
44657
  )
44655
44658
  : _vm._e()
44656
44659
  }
44657
- var mainvue_type_template_id_6f2b9926_staticRenderFns = []
44658
- mainvue_type_template_id_6f2b9926_render._withStripped = true
44660
+ var mainvue_type_template_id_72ff8660_staticRenderFns = []
44661
+ mainvue_type_template_id_72ff8660_render._withStripped = true
44659
44662
 
44660
44663
 
44661
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6f2b9926&
44664
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=72ff8660&
44662
44665
 
44663
- // 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=38f18b0d&scoped=true&
44664
- var simplicityvue_type_template_id_38f18b0d_scoped_true_render = function () {
44666
+ // 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=e9f89944&scoped=true&
44667
+ var simplicityvue_type_template_id_e9f89944_scoped_true_render = function () {
44665
44668
  var _vm = this
44666
44669
  var _h = _vm.$createElement
44667
44670
  var _c = _vm._self._c || _h
@@ -45210,6 +45213,8 @@ var simplicityvue_type_template_id_38f18b0d_scoped_true_render = function () {
45210
45213
  _vm._b(
45211
45214
  {
45212
45215
  attrs: {
45216
+ "layout-type": "simplicity",
45217
+ active: "simplicity",
45213
45218
  theme: _vm.themeColor,
45214
45219
  predefine: _vm.themes,
45215
45220
  visible: _vm.showSet,
@@ -45219,6 +45224,7 @@ var simplicityvue_type_template_id_38f18b0d_scoped_true_render = function () {
45219
45224
  _vm.showSet = $event
45220
45225
  },
45221
45226
  change: _vm.handleChange,
45227
+ layout: _vm.handleLayout,
45222
45228
  },
45223
45229
  },
45224
45230
  "settings",
@@ -45288,11 +45294,11 @@ var simplicityvue_type_template_id_38f18b0d_scoped_true_render = function () {
45288
45294
  ),
45289
45295
  ])
45290
45296
  }
45291
- var simplicityvue_type_template_id_38f18b0d_scoped_true_staticRenderFns = []
45292
- simplicityvue_type_template_id_38f18b0d_scoped_true_render._withStripped = true
45297
+ var simplicityvue_type_template_id_e9f89944_scoped_true_staticRenderFns = []
45298
+ simplicityvue_type_template_id_e9f89944_scoped_true_render._withStripped = true
45293
45299
 
45294
45300
 
45295
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=38f18b0d&scoped=true&
45301
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=e9f89944&scoped=true&
45296
45302
 
45297
45303
  // 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=1560e8bf&scoped=true&
45298
45304
  var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
@@ -45441,8 +45447,8 @@ var avatar_component = normalizeComponent(
45441
45447
  )
45442
45448
 
45443
45449
  /* harmony default export */ var avatar = (avatar_component.exports);
45444
- // 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/handler.vue?vue&type=template&id=d8a0cc36&scoped=true&
45445
- var handlervue_type_template_id_d8a0cc36_scoped_true_render = function () {
45450
+ // 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/handler.vue?vue&type=template&id=bfe50be8&scoped=true&
45451
+ var handlervue_type_template_id_bfe50be8_scoped_true_render = function () {
45446
45452
  var _vm = this
45447
45453
  var _h = _vm.$createElement
45448
45454
  var _c = _vm._self._c || _h
@@ -45518,11 +45524,11 @@ var handlervue_type_template_id_d8a0cc36_scoped_true_render = function () {
45518
45524
  2
45519
45525
  )
45520
45526
  }
45521
- var handlervue_type_template_id_d8a0cc36_scoped_true_staticRenderFns = []
45522
- handlervue_type_template_id_d8a0cc36_scoped_true_render._withStripped = true
45527
+ var handlervue_type_template_id_bfe50be8_scoped_true_staticRenderFns = []
45528
+ handlervue_type_template_id_bfe50be8_scoped_true_render._withStripped = true
45523
45529
 
45524
45530
 
45525
- // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=d8a0cc36&scoped=true&
45531
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=bfe50be8&scoped=true&
45526
45532
 
45527
45533
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=script&lang=js&
45528
45534
  //
@@ -45606,16 +45612,6 @@ handlervue_type_template_id_d8a0cc36_scoped_true_render._withStripped = true
45606
45612
  };
45607
45613
  }
45608
45614
  },
45609
- old: {
45610
- type: Object,
45611
- default: function _default() {
45612
- return {
45613
- type: 'old',
45614
- icon: 'es-icon-shiyongjiuban',
45615
- title: '使用旧版'
45616
- };
45617
- }
45618
- },
45619
45615
  notice: {
45620
45616
  type: Object,
45621
45617
  default: function _default() {
@@ -45676,7 +45672,7 @@ handlervue_type_template_id_d8a0cc36_scoped_true_render._withStripped = true
45676
45672
  lists: function lists() {
45677
45673
  var _this = this;
45678
45674
 
45679
- var data = this.data ? this.data : [this.search, this.index, this.home, this.old, this.notice, this.quit, this.set];
45675
+ var data = this.data ? this.data : [this.search, this.index, this.home, this.notice, this.quit, this.set];
45680
45676
  return data.filter(function (item) {
45681
45677
  return !_this.hide[item.type];
45682
45678
  });
@@ -45724,11 +45720,11 @@ handlervue_type_template_id_d8a0cc36_scoped_true_render._withStripped = true
45724
45720
 
45725
45721
  var handler_component = normalizeComponent(
45726
45722
  simplicity_handlervue_type_script_lang_js_,
45727
- handlervue_type_template_id_d8a0cc36_scoped_true_render,
45728
- handlervue_type_template_id_d8a0cc36_scoped_true_staticRenderFns,
45723
+ handlervue_type_template_id_bfe50be8_scoped_true_render,
45724
+ handlervue_type_template_id_bfe50be8_scoped_true_staticRenderFns,
45729
45725
  false,
45730
45726
  null,
45731
- "d8a0cc36",
45727
+ "bfe50be8",
45732
45728
  null
45733
45729
 
45734
45730
  )
@@ -48755,8 +48751,8 @@ var notice_component = normalizeComponent(
48755
48751
  )
48756
48752
 
48757
48753
  /* harmony default export */ var notice = (notice_component.exports);
48758
- // 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&
48759
- var settingsvue_type_template_id_48437ba0_render = function () {
48754
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/settings.vue?vue&type=template&id=47a98925&
48755
+ var settingsvue_type_template_id_47a98925_render = function () {
48760
48756
  var _vm = this
48761
48757
  var _h = _vm.$createElement
48762
48758
  var _c = _vm._self._c || _h
@@ -48834,16 +48830,302 @@ var settingsvue_type_template_id_48437ba0_render = function () {
48834
48830
  ],
48835
48831
  1
48836
48832
  ),
48833
+ _c("div", { staticClass: "es-setting-item" }, [
48834
+ _c("div", { staticClass: "es-setting-title" }, [_vm._v("菜单风格")]),
48835
+ _c(
48836
+ "div",
48837
+ { staticClass: "es-setting-navs-box" },
48838
+ [
48839
+ _c(
48840
+ "el-tooltip",
48841
+ {
48842
+ staticClass: "es-setting-navs-item",
48843
+ attrs: {
48844
+ effect: "dark",
48845
+ content: "顶部菜单布局",
48846
+ placement: "bottom",
48847
+ },
48848
+ },
48849
+ [
48850
+ _c(
48851
+ "div",
48852
+ {
48853
+ staticClass: "es-setting-navs es-setting-top-nav",
48854
+ on: {
48855
+ click: function ($event) {
48856
+ $event.stopPropagation()
48857
+ _vm.handleLayout("default", "topnav")
48858
+ },
48859
+ },
48860
+ },
48861
+ [
48862
+ _c("i", {
48863
+ directives: [
48864
+ {
48865
+ name: "show",
48866
+ rawName: "v-show",
48867
+ value:
48868
+ _vm.layoutType == "default" &&
48869
+ _vm.activeName == "topnav",
48870
+ expression:
48871
+ "layoutType == 'default' && activeName == 'topnav'",
48872
+ },
48873
+ ],
48874
+ staticClass: "es-icon-gou",
48875
+ }),
48876
+ ]
48877
+ ),
48878
+ ]
48879
+ ),
48880
+ _c(
48881
+ "el-tooltip",
48882
+ {
48883
+ staticClass: "es-setting-navs-item",
48884
+ attrs: {
48885
+ effect: "dark",
48886
+ content: "侧边双列菜单布局",
48887
+ placement: "bottom",
48888
+ },
48889
+ },
48890
+ [
48891
+ _c(
48892
+ "div",
48893
+ {
48894
+ staticClass: "es-setting-navs es-setting-side-nav",
48895
+ on: {
48896
+ click: function ($event) {
48897
+ $event.stopPropagation()
48898
+ _vm.handleLayout("default", "default")
48899
+ },
48900
+ },
48901
+ },
48902
+ [
48903
+ _c("div", { staticClass: "es-setting-side-sub-nav" }),
48904
+ _c("i", {
48905
+ directives: [
48906
+ {
48907
+ name: "show",
48908
+ rawName: "v-show",
48909
+ value:
48910
+ _vm.layoutType == "default" &&
48911
+ _vm.activeName == "default",
48912
+ expression:
48913
+ "layoutType == 'default' && activeName == 'default'",
48914
+ },
48915
+ ],
48916
+ staticClass: "es-icon-gou",
48917
+ }),
48918
+ ]
48919
+ ),
48920
+ ]
48921
+ ),
48922
+ _c(
48923
+ "el-tooltip",
48924
+ {
48925
+ staticClass: "es-setting-navs-item",
48926
+ attrs: {
48927
+ effect: "dark",
48928
+ content: "子系统+侧边菜单布局",
48929
+ placement: "bottom",
48930
+ },
48931
+ },
48932
+ [
48933
+ _c(
48934
+ "div",
48935
+ {
48936
+ staticClass: "es-setting-navs es-setting-subsystem-nav",
48937
+ on: {
48938
+ click: function ($event) {
48939
+ $event.stopPropagation()
48940
+ _vm.handleLayout("default", "subsystem")
48941
+ },
48942
+ },
48943
+ },
48944
+ [
48945
+ _c("i", {
48946
+ directives: [
48947
+ {
48948
+ name: "show",
48949
+ rawName: "v-show",
48950
+ value:
48951
+ _vm.layoutType == "default" &&
48952
+ _vm.activeName == "subsystem",
48953
+ expression:
48954
+ "layoutType == 'default' && activeName == 'subsystem'",
48955
+ },
48956
+ ],
48957
+ staticClass: "es-icon-gou",
48958
+ }),
48959
+ ]
48960
+ ),
48961
+ ]
48962
+ ),
48963
+ _c(
48964
+ "el-tooltip",
48965
+ {
48966
+ staticClass: "es-setting-navs-item",
48967
+ attrs: {
48968
+ effect: "dark",
48969
+ content: "顶部+侧边菜单布局",
48970
+ placement: "bottom",
48971
+ },
48972
+ },
48973
+ [
48974
+ _c(
48975
+ "div",
48976
+ {
48977
+ staticClass: "es-setting-navs es-setting-top-side-nav",
48978
+ on: {
48979
+ click: function ($event) {
48980
+ $event.stopPropagation()
48981
+ _vm.handleLayout("default", "topside")
48982
+ },
48983
+ },
48984
+ },
48985
+ [
48986
+ _c("i", {
48987
+ directives: [
48988
+ {
48989
+ name: "show",
48990
+ rawName: "v-show",
48991
+ value:
48992
+ _vm.layoutType == "default" &&
48993
+ _vm.activeName == "topside",
48994
+ expression:
48995
+ "layoutType == 'default' && activeName == 'topside'",
48996
+ },
48997
+ ],
48998
+ staticClass: "es-icon-gou",
48999
+ }),
49000
+ ]
49001
+ ),
49002
+ ]
49003
+ ),
49004
+ _c(
49005
+ "el-tooltip",
49006
+ {
49007
+ staticClass: "es-setting-navs-item",
49008
+ attrs: {
49009
+ effect: "dark",
49010
+ content: "侧边+按钮菜单布局",
49011
+ placement: "bottom",
49012
+ },
49013
+ },
49014
+ [
49015
+ _c(
49016
+ "div",
49017
+ {
49018
+ staticClass: "es-setting-navs es-setting-side-navs",
49019
+ on: {
49020
+ click: function ($event) {
49021
+ $event.stopPropagation()
49022
+ _vm.handleLayout("default", "side")
49023
+ },
49024
+ },
49025
+ },
49026
+ [
49027
+ _c("i", {
49028
+ directives: [
49029
+ {
49030
+ name: "show",
49031
+ rawName: "v-show",
49032
+ value:
49033
+ _vm.layoutType == "default" &&
49034
+ _vm.activeName == "side",
49035
+ expression:
49036
+ "layoutType == 'default' && activeName == 'side'",
49037
+ },
49038
+ ],
49039
+ staticClass: "es-icon-gou",
49040
+ }),
49041
+ ]
49042
+ ),
49043
+ ]
49044
+ ),
49045
+ _c(
49046
+ "el-tooltip",
49047
+ {
49048
+ staticClass: "es-setting-navs-item",
49049
+ attrs: {
49050
+ effect: "dark",
49051
+ content: "(新)应用菜单布局",
49052
+ placement: "bottom",
49053
+ },
49054
+ },
49055
+ [
49056
+ _c(
49057
+ "div",
49058
+ {
49059
+ staticClass: "es-setting-navs es-setting-app-nav",
49060
+ on: {
49061
+ click: function ($event) {
49062
+ $event.stopPropagation()
49063
+ _vm.handleLayout("simplicity")
49064
+ },
49065
+ },
49066
+ },
49067
+ [
49068
+ _c("div", { staticClass: "es-setting-side-sub-nav" }),
49069
+ _c("i", {
49070
+ directives: [
49071
+ {
49072
+ name: "show",
49073
+ rawName: "v-show",
49074
+ value:
49075
+ _vm.layoutType == "simplicity" &&
49076
+ _vm.activeName == "simplicity",
49077
+ expression:
49078
+ "layoutType == 'simplicity' && activeName == 'simplicity'",
49079
+ },
49080
+ ],
49081
+ staticClass: "es-icon-gou",
49082
+ }),
49083
+ ]
49084
+ ),
49085
+ ]
49086
+ ),
49087
+ ],
49088
+ 1
49089
+ ),
49090
+ ]),
48837
49091
  ]
48838
49092
  )
48839
49093
  }
48840
- var settingsvue_type_template_id_48437ba0_staticRenderFns = []
48841
- settingsvue_type_template_id_48437ba0_render._withStripped = true
49094
+ var settingsvue_type_template_id_47a98925_staticRenderFns = []
49095
+ settingsvue_type_template_id_47a98925_render._withStripped = true
48842
49096
 
48843
49097
 
48844
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=template&id=48437ba0&
49098
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=template&id=47a98925&
48845
49099
 
48846
- // 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&
49100
+ // EXTERNAL MODULE: external "slate"
49101
+ var external_slate_ = __webpack_require__(22);
49102
+
49103
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/settings.vue?vue&type=script&lang=js&
49104
+ //
49105
+ //
49106
+ //
49107
+ //
49108
+ //
49109
+ //
49110
+ //
49111
+ //
49112
+ //
49113
+ //
49114
+ //
49115
+ //
49116
+ //
49117
+ //
49118
+ //
49119
+ //
49120
+ //
49121
+ //
49122
+ //
49123
+ //
49124
+ //
49125
+ //
49126
+ //
49127
+ //
49128
+ //
48847
49129
  //
48848
49130
  //
48849
49131
  //
@@ -48881,10 +49163,89 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48881
49163
  //
48882
49164
  //
48883
49165
  //
49166
+ //
49167
+ //
49168
+ //
49169
+ //
49170
+ //
49171
+ //
49172
+ //
49173
+ //
49174
+ //
49175
+ //
49176
+ //
49177
+ //
49178
+ //
49179
+ //
49180
+ //
49181
+ //
49182
+ //
49183
+ //
49184
+ //
49185
+ //
49186
+ //
49187
+ //
49188
+ //
49189
+ //
49190
+ //
49191
+ //
49192
+ //
49193
+ //
49194
+ //
49195
+ //
49196
+ //
49197
+ //
49198
+ //
49199
+ //
49200
+ //
49201
+ //
49202
+ //
49203
+ //
49204
+ //
49205
+ //
49206
+ //
49207
+ //
49208
+ //
49209
+ //
49210
+ //
49211
+ //
49212
+ //
49213
+ //
49214
+ //
49215
+ //
49216
+ //
49217
+ //
49218
+ //
49219
+ //
49220
+ //
49221
+ //
49222
+ //
49223
+ //
49224
+ //
49225
+ //
49226
+ //
49227
+ //
49228
+ //
49229
+ //
49230
+ //
49231
+ //
49232
+ //
49233
+ //
49234
+ //
49235
+ //
49236
+ //
49237
+ //
49238
+ //
49239
+ //
49240
+ //
49241
+ //
49242
+ //
49243
+ //
49244
+
48884
49245
 
48885
49246
 
48886
49247
  /* harmony default export */ var settingsvue_type_script_lang_js_ = ({
48887
- name: 'Message',
49248
+ name: 'message',
48888
49249
  props: {
48889
49250
  visible: Boolean,
48890
49251
  //主题颜色选择颜色集合
@@ -48898,10 +49259,8 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48898
49259
  return ['#a60006', '#409eff'];
48899
49260
  }
48900
49261
  },
48901
- layout: {
48902
- type: String,
48903
- default: 'default'
48904
- }
49262
+ active: String,
49263
+ layoutType: String
48905
49264
  },
48906
49265
  computed: {
48907
49266
  show: {
@@ -48935,7 +49294,8 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48935
49294
  data: function data() {
48936
49295
  return {
48937
49296
  color: '',
48938
- activeName: this.layout
49297
+ layoutName: this.layoutType,
49298
+ activeName: this.active
48939
49299
  };
48940
49300
  },
48941
49301
  mounted: function mounted() {},
@@ -48953,17 +49313,17 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48953
49313
  },
48954
49314
 
48955
49315
  //选择菜单布局
48956
- handleLayout: function handleLayout(res) {
49316
+ handleLayout: function handleLayout(res, active) {
48957
49317
  var old = this.activeName;
48958
- this.activeName = res;
48959
- this.$emit('update:layout', res);
48960
- this.$emit('layout', res, old);
49318
+ this.layoutName = res;
49319
+ this.activeName = active;
49320
+ this.$emit('layout', res, active, old);
48961
49321
  }
48962
49322
  }
48963
49323
  });
48964
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue?vue&type=script&lang=js&
48965
- /* harmony default export */ var simplicity_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
48966
- // CONCATENATED MODULE: ./packages/main/src/simplicity/settings.vue
49324
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue?vue&type=script&lang=js&
49325
+ /* harmony default export */ var public_settingsvue_type_script_lang_js_ = (settingsvue_type_script_lang_js_);
49326
+ // CONCATENATED MODULE: ./packages/main/src/public/settings.vue
48967
49327
 
48968
49328
 
48969
49329
 
@@ -48972,9 +49332,9 @@ settingsvue_type_template_id_48437ba0_render._withStripped = true
48972
49332
  /* normalize component */
48973
49333
 
48974
49334
  var settings_component = normalizeComponent(
48975
- simplicity_settingsvue_type_script_lang_js_,
48976
- settingsvue_type_template_id_48437ba0_render,
48977
- settingsvue_type_template_id_48437ba0_staticRenderFns,
49335
+ public_settingsvue_type_script_lang_js_,
49336
+ settingsvue_type_template_id_47a98925_render,
49337
+ settingsvue_type_template_id_47a98925_staticRenderFns,
48978
49338
  false,
48979
49339
  null,
48980
49340
  null,
@@ -50395,6 +50755,9 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
50395
50755
  //
50396
50756
  //
50397
50757
  //
50758
+ //
50759
+ //
50760
+ //
50398
50761
 
50399
50762
 
50400
50763
 
@@ -50865,7 +51228,7 @@ var events = [function (tabs, index, that) {
50865
51228
  utils_util["a" /* default */].setStorage('loginPage', results[i]);
50866
51229
  }
50867
51230
  if (i === 'sysLogoIco' && results[i]) {
50868
- sessionStorage.setItem('sysLogoIco', results[i]);
51231
+ localStorage.setItem('sysLogoIco', results[i]);
50869
51232
  utils_util["a" /* default */].setFavicon(results[i]);
50870
51233
  }
50871
51234
  if (i === 'userStyle' && results[i]) {
@@ -50994,95 +51357,19 @@ var events = [function (tabs, index, that) {
50994
51357
  getMenus: function getMenus(loading) {
50995
51358
  var _this2 = this;
50996
51359
 
51360
+ var menuData = utils_store.get('nav');
51361
+ if (menuData && menuData.length) {
51362
+ loading.close();
51363
+ this.renderMenus(menuData);
51364
+ return;
51365
+ }
50997
51366
  utils_util["a" /* default */].ajax({ url: this._menuUrl }).then(function (res) {
50998
51367
  loading.close();
50999
51368
  if (res.rCode === 0) {
51000
51369
  if (res.results && res.results.length) {
51001
- _this2.menus = res.results;
51002
- _this2.setTips(_this2.menus);
51003
- utils_store.set('nav', _this2.menus);
51004
- if (_this2.indexUrl) {
51005
- var obj = _this2.getMenu(_this2.menus, _this2.indexUrl);
51006
- obj = obj ? obj : {
51007
- url: _this2.indexUrl,
51008
- text: '工作台',
51009
- id: '0',
51010
- appCode: 'indexUrl'
51011
- };
51012
- _this2.homePage = _this2.setIframeType(obj);
51013
- if (!_this2.appCode) {
51014
- _this2.tabs = [_this2.homePage];
51015
- _this2.activeName = _this2.homePage.id;
51016
- }
51017
- }
51018
- if (_this2.appCode) {
51019
- var code = _this2.sysCode || _this2.appCode;
51020
- var app = _this2.userApps.filter(function (item) {
51021
- return item.code === code;
51022
- })[0];
51023
- if (app) {
51024
- _this2.active = app.id;
51025
- if (app.url) {
51026
- var _obj = _this2.getMenu(_this2.menus, app.url);
51027
- if (_obj) {
51028
- var tab = _this2.setIframeType(_obj);
51029
- _this2.tabs = [tab];
51030
- _this2.activeName = tab.id;
51031
- } else {
51032
- _this2.tabs = [app];
51033
- }
51034
- }
51035
- }
51036
- if (_this2.sysCode) {
51037
- var subMenus = _this2.getMenu(_this2.menus, _this2.sysCode, 'appCode');
51038
- if (subMenus) {
51039
- var _obj2 = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
51040
- if (_obj2) {
51041
- if (!_obj2.url) {
51042
- _obj2 = _this2.getFirst(_obj2);
51043
- }
51044
- _this2.subActive = _obj2.id;
51045
- var _tab = _this2.setIframeType(_obj2);
51046
- _this2.tabs = [_tab];
51047
- _this2.activeName = _tab.id;
51048
- } else {
51049
- _this2.subActive = '';
51050
- }
51051
- _this2.subMenus = subMenus;
51052
- _this2.showMenu = true;
51053
- } else {
51054
- _this2.subMenus = null;
51055
- _this2.showMenu = false;
51056
- }
51057
- } else {
51058
- var _subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
51059
- if (_subMenus) {
51060
- if (_this2.tabs.length == 0) {
51061
- var _obj3 = _this2.getFirst(_subMenus);
51062
- if (_obj3) {
51063
- _this2.subActive = _obj3.id;
51064
- var _tab2 = _this2.setIframeType(_obj3);
51065
- _this2.tabs = [_tab2];
51066
- _this2.activeName = _tab2.id;
51067
- } else {
51068
- _this2.subActive = '';
51069
- }
51070
- }
51071
- _this2.subMenus = _subMenus;
51072
- _this2.showMenu = true;
51073
- } else {
51074
- _this2.subMenus = null;
51075
- _this2.showMenu = false;
51076
- }
51077
- }
51078
- } else if (_this2.initApps && _this2.initApps.length && !_this2.indexUrl) {
51079
- var _obj4 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
51080
- if (_obj4) {
51081
- var _tab3 = _this2.setIframeType(_obj4);
51082
- _this2.tabs.push(_tab3);
51083
- _this2.activeName = _tab3.id;
51084
- }
51085
- }
51370
+ //this.$emit('update:menuData', res.results);
51371
+ utils_store.set('nav', JSON.parse(JSON.stringify(res.results)));
51372
+ _this2.renderMenus(JSON.parse(JSON.stringify(res.results)));
51086
51373
  } else {
51087
51374
  _this2.$message.error('未分配菜单权限,请联系管理员!');
51088
51375
  }
@@ -51098,6 +51385,99 @@ var events = [function (tabs, index, that) {
51098
51385
  });
51099
51386
  },
51100
51387
 
51388
+ /**
51389
+ * @desc:处理菜单列表
51390
+ * @author huangbo
51391
+ * @date 2024年9月7日
51392
+ **/
51393
+ renderMenus: function renderMenus(res) {
51394
+ this.menus = res;
51395
+ this.setTips(this.menus);
51396
+ utils_store.set('nav', this.menus);
51397
+ if (this.indexUrl) {
51398
+ var obj = this.getMenu(this.menus, this.indexUrl);
51399
+ obj = obj ? obj : {
51400
+ url: this.indexUrl,
51401
+ text: '工作台',
51402
+ id: '0',
51403
+ appCode: 'indexUrl'
51404
+ };
51405
+ this.homePage = this.setIframeType(obj);
51406
+ if (!this.appCode) {
51407
+ this.tabs = [this.homePage];
51408
+ this.activeName = this.homePage.id;
51409
+ }
51410
+ }
51411
+ if (this.appCode) {
51412
+ var code = this.sysCode || this.appCode;
51413
+ var app = this.userApps.filter(function (item) {
51414
+ return item.code === code;
51415
+ })[0];
51416
+ if (app) {
51417
+ this.active = app.id;
51418
+ if (app.url) {
51419
+ var _obj = this.getMenu(this.menus, app.url);
51420
+ if (_obj) {
51421
+ var tab = this.setIframeType(_obj);
51422
+ this.tabs = [tab];
51423
+ this.activeName = tab.id;
51424
+ } else {
51425
+ this.tabs = [app];
51426
+ }
51427
+ }
51428
+ }
51429
+ if (this.sysCode) {
51430
+ var subMenus = this.getMenu(this.menus, this.sysCode, 'appCode');
51431
+ if (subMenus) {
51432
+ var _obj2 = this.getMenu(this.menus, this.appCode, 'appCode');
51433
+ if (_obj2) {
51434
+ if (!_obj2.url) {
51435
+ _obj2 = this.getFirst(_obj2);
51436
+ }
51437
+ this.subActive = _obj2.id;
51438
+ var _tab = this.setIframeType(_obj2);
51439
+ this.tabs = [_tab];
51440
+ this.activeName = _tab.id;
51441
+ } else {
51442
+ this.subActive = '';
51443
+ }
51444
+ this.subMenus = subMenus;
51445
+ this.showMenu = true;
51446
+ } else {
51447
+ this.subMenus = null;
51448
+ this.showMenu = false;
51449
+ }
51450
+ } else {
51451
+ var _subMenus = this.getMenu(this.menus, this.appCode, 'appCode');
51452
+ if (_subMenus) {
51453
+ if (this.tabs.length == 0) {
51454
+ var _obj3 = this.getFirst(_subMenus);
51455
+ if (_obj3) {
51456
+ this.subActive = _obj3.id;
51457
+ var _tab2 = this.setIframeType(_obj3);
51458
+ this.tabs = [_tab2];
51459
+ this.activeName = _tab2.id;
51460
+ } else {
51461
+ this.subActive = '';
51462
+ }
51463
+ }
51464
+ this.subMenus = _subMenus;
51465
+ this.showMenu = true;
51466
+ } else {
51467
+ this.subMenus = null;
51468
+ this.showMenu = false;
51469
+ }
51470
+ }
51471
+ } else if (this.initApps && this.initApps.length && !this.indexUrl) {
51472
+ var _obj4 = this.getMenu(this.menus, this.initApps[this.initApps.length - 1]);
51473
+ if (_obj4) {
51474
+ var _tab3 = this.setIframeType(_obj4);
51475
+ this.tabs.push(_tab3);
51476
+ this.activeName = _tab3.id;
51477
+ }
51478
+ }
51479
+ },
51480
+
51101
51481
  /**
51102
51482
  * @desc:设置页面加载类型
51103
51483
  * @author huangbo
@@ -51673,13 +52053,6 @@ var events = [function (tabs, index, that) {
51673
52053
  case 'index':
51674
52054
  utils_util["a" /* default */].win.open(this.doorIndex, '_self');
51675
52055
  break;
51676
- case 'old':
51677
- if (typeof this.showOld === 'string') {
51678
- window.location.href = this.showOld;
51679
- } else {
51680
- this.$emit('chang-layout', 'default');
51681
- }
51682
- break;
51683
52056
  case 'set':
51684
52057
  this.showSet = !this.showSet;
51685
52058
  this.showMsg = false;
@@ -51801,6 +52174,18 @@ var events = [function (tabs, index, that) {
51801
52174
  }
51802
52175
  },
51803
52176
 
52177
+ /**
52178
+ * @desc:菜单布局样式切换
52179
+ * @author huangbo
52180
+ * @date 2024年9月7日
52181
+ **/
52182
+ handleLayout: function handleLayout(res, active) {
52183
+ if (active) {
52184
+ localStorage.setItem('layout', active);
52185
+ }
52186
+ this.$emit('chang-layout', res, active);
52187
+ },
52188
+
51804
52189
  /**
51805
52190
  * @desc:消息修改总数
51806
52191
  * @author huangbo
@@ -51916,18 +52301,18 @@ var events = [function (tabs, index, that) {
51916
52301
 
51917
52302
  var simplicity_component = normalizeComponent(
51918
52303
  src_simplicityvue_type_script_lang_js_,
51919
- simplicityvue_type_template_id_38f18b0d_scoped_true_render,
51920
- simplicityvue_type_template_id_38f18b0d_scoped_true_staticRenderFns,
52304
+ simplicityvue_type_template_id_e9f89944_scoped_true_render,
52305
+ simplicityvue_type_template_id_e9f89944_scoped_true_staticRenderFns,
51921
52306
  false,
51922
52307
  null,
51923
- "38f18b0d",
52308
+ "e9f89944",
51924
52309
  null
51925
52310
 
51926
52311
  )
51927
52312
 
51928
52313
  /* harmony default export */ var simplicity = (simplicity_component.exports);
51929
- // 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=149ff0da&
51930
- var defaultvue_type_template_id_149ff0da_render = function () {
52314
+ // 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=48dad2d4&
52315
+ var defaultvue_type_template_id_48dad2d4_render = function () {
51931
52316
  var _vm = this
51932
52317
  var _h = _vm.$createElement
51933
52318
  var _c = _vm._self._c || _h
@@ -52219,14 +52604,15 @@ var defaultvue_type_template_id_149ff0da_render = function () {
52219
52604
  _vm._b(
52220
52605
  {
52221
52606
  attrs: {
52607
+ "layout-type": "default",
52608
+ active: _vm.layout,
52222
52609
  theme: _vm.color,
52223
52610
  predefine: _vm.themes,
52224
- visible: _vm.showSet,
52225
- layout: _vm.layout,
52611
+ visible: _vm.showSets,
52226
52612
  },
52227
52613
  on: {
52228
52614
  "update:visible": function ($event) {
52229
- _vm.showSet = $event
52615
+ _vm.showSets = $event
52230
52616
  },
52231
52617
  change: _vm.handleChange,
52232
52618
  layout: _vm.handleLayout,
@@ -52314,11 +52700,11 @@ var defaultvue_type_template_id_149ff0da_render = function () {
52314
52700
  1
52315
52701
  )
52316
52702
  }
52317
- var defaultvue_type_template_id_149ff0da_staticRenderFns = []
52318
- defaultvue_type_template_id_149ff0da_render._withStripped = true
52703
+ var defaultvue_type_template_id_48dad2d4_staticRenderFns = []
52704
+ defaultvue_type_template_id_48dad2d4_render._withStripped = true
52319
52705
 
52320
52706
 
52321
- // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=149ff0da&
52707
+ // CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=48dad2d4&
52322
52708
 
52323
52709
  // 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=d207c2e8&
52324
52710
  var userinfovue_type_template_id_d207c2e8_render = function () {
@@ -52800,506 +53186,6 @@ var default_userinfo_component = normalizeComponent(
52800
53186
  )
52801
53187
 
52802
53188
  /* harmony default export */ var default_userinfo = (default_userinfo_component.exports);
52803
- // 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/settings.vue?vue&type=template&id=52aa078c&
52804
- var settingsvue_type_template_id_52aa078c_render = function () {
52805
- var _vm = this
52806
- var _h = _vm.$createElement
52807
- var _c = _vm._self._c || _h
52808
- return _c(
52809
- "el-drawer",
52810
- {
52811
- attrs: {
52812
- title: "设置",
52813
- "custom-class": "es-sets-drawer",
52814
- size: "280px",
52815
- visible: _vm.show,
52816
- "append-to-body": true,
52817
- },
52818
- on: {
52819
- "update:visible": function ($event) {
52820
- _vm.show = $event
52821
- },
52822
- },
52823
- },
52824
- [
52825
- _c(
52826
- "div",
52827
- { staticClass: "es-setting-item" },
52828
- [
52829
- _c("div", { staticClass: "es-setting-title" }, [_vm._v("主题色")]),
52830
- _vm.themes
52831
- ? _c(
52832
- "el-radio-group",
52833
- {
52834
- staticClass: "es-setting-theme",
52835
- attrs: { size: "mini" },
52836
- on: { change: _vm.handleTheme },
52837
- model: {
52838
- value: _vm.color,
52839
- callback: function ($$v) {
52840
- _vm.color = $$v
52841
- },
52842
- expression: "color",
52843
- },
52844
- },
52845
- _vm._l(_vm.themes, function (item, index) {
52846
- return _c(
52847
- "el-radio-button",
52848
- {
52849
- key: index,
52850
- style: { backgroundColor: item },
52851
- attrs: { label: index },
52852
- },
52853
- [_c("i", { staticClass: "el-icon-check" })]
52854
- )
52855
- }),
52856
- 1
52857
- )
52858
- : _c(
52859
- "div",
52860
- { staticClass: "es-color-picker" },
52861
- [
52862
- _c("el-color-picker", {
52863
- attrs: { predefine: _vm.predefineColor },
52864
- on: { change: _vm.handleTheme },
52865
- model: {
52866
- value: _vm.color,
52867
- callback: function ($$v) {
52868
- _vm.color = $$v
52869
- },
52870
- expression: "color",
52871
- },
52872
- }),
52873
- _c("div", { staticClass: "el-color-picker-tip" }, [
52874
- _vm._v("请不要选择偏白或者偏黑的颜色"),
52875
- ]),
52876
- ],
52877
- 1
52878
- ),
52879
- ],
52880
- 1
52881
- ),
52882
- _c("div", { staticClass: "es-setting-item" }, [
52883
- _c("div", { staticClass: "es-setting-title" }, [_vm._v("菜单风格")]),
52884
- _c(
52885
- "div",
52886
- { staticClass: "es-setting-navs-box" },
52887
- [
52888
- _c(
52889
- "el-tooltip",
52890
- {
52891
- staticClass: "es-setting-navs-item",
52892
- attrs: {
52893
- effect: "dark",
52894
- content: "顶部菜单布局",
52895
- placement: "bottom",
52896
- },
52897
- },
52898
- [
52899
- _c(
52900
- "div",
52901
- {
52902
- staticClass: "es-setting-navs es-setting-top-nav",
52903
- on: {
52904
- click: function ($event) {
52905
- $event.stopPropagation()
52906
- _vm.handleLayout("topnav")
52907
- },
52908
- },
52909
- },
52910
- [
52911
- _c("i", {
52912
- directives: [
52913
- {
52914
- name: "show",
52915
- rawName: "v-show",
52916
- value: _vm.activeName == "topnav",
52917
- expression: "activeName == 'topnav'",
52918
- },
52919
- ],
52920
- staticClass: "es-icon-gou",
52921
- }),
52922
- ]
52923
- ),
52924
- ]
52925
- ),
52926
- _c(
52927
- "el-tooltip",
52928
- {
52929
- staticClass: "es-setting-navs-item",
52930
- attrs: {
52931
- effect: "dark",
52932
- content: "侧边双列菜单布局",
52933
- placement: "bottom",
52934
- },
52935
- },
52936
- [
52937
- _c(
52938
- "div",
52939
- {
52940
- staticClass: "es-setting-navs es-setting-side-nav",
52941
- on: {
52942
- click: function ($event) {
52943
- $event.stopPropagation()
52944
- _vm.handleLayout("default")
52945
- },
52946
- },
52947
- },
52948
- [
52949
- _c("div", { staticClass: "es-setting-side-sub-nav" }),
52950
- _c("i", {
52951
- directives: [
52952
- {
52953
- name: "show",
52954
- rawName: "v-show",
52955
- value: _vm.activeName == "default",
52956
- expression: "activeName == 'default'",
52957
- },
52958
- ],
52959
- staticClass: "es-icon-gou",
52960
- }),
52961
- ]
52962
- ),
52963
- ]
52964
- ),
52965
- _c(
52966
- "el-tooltip",
52967
- {
52968
- staticClass: "es-setting-navs-item",
52969
- attrs: {
52970
- effect: "dark",
52971
- content: "子系统+侧边菜单布局",
52972
- placement: "bottom",
52973
- },
52974
- },
52975
- [
52976
- _c(
52977
- "div",
52978
- {
52979
- staticClass: "es-setting-navs es-setting-subsystem-nav",
52980
- on: {
52981
- click: function ($event) {
52982
- $event.stopPropagation()
52983
- _vm.handleLayout("subsystem")
52984
- },
52985
- },
52986
- },
52987
- [
52988
- _c("i", {
52989
- directives: [
52990
- {
52991
- name: "show",
52992
- rawName: "v-show",
52993
- value: _vm.activeName == "subsystem",
52994
- expression: "activeName == 'subsystem'",
52995
- },
52996
- ],
52997
- staticClass: "es-icon-gou",
52998
- }),
52999
- ]
53000
- ),
53001
- ]
53002
- ),
53003
- _c(
53004
- "el-tooltip",
53005
- {
53006
- staticClass: "es-setting-navs-item",
53007
- attrs: {
53008
- effect: "dark",
53009
- content: "顶部+侧边菜单布局",
53010
- placement: "bottom",
53011
- },
53012
- },
53013
- [
53014
- _c(
53015
- "div",
53016
- {
53017
- staticClass: "es-setting-navs es-setting-top-side-nav",
53018
- on: {
53019
- click: function ($event) {
53020
- $event.stopPropagation()
53021
- _vm.handleLayout("topside")
53022
- },
53023
- },
53024
- },
53025
- [
53026
- _c("i", {
53027
- directives: [
53028
- {
53029
- name: "show",
53030
- rawName: "v-show",
53031
- value: _vm.activeName == "topside",
53032
- expression: "activeName == 'topside'",
53033
- },
53034
- ],
53035
- staticClass: "es-icon-gou",
53036
- }),
53037
- ]
53038
- ),
53039
- ]
53040
- ),
53041
- _c(
53042
- "el-tooltip",
53043
- {
53044
- staticClass: "es-setting-navs-item",
53045
- attrs: {
53046
- effect: "dark",
53047
- content: "侧边+按钮菜单布局",
53048
- placement: "bottom",
53049
- },
53050
- },
53051
- [
53052
- _c(
53053
- "div",
53054
- {
53055
- staticClass: "es-setting-navs es-setting-side-navs",
53056
- on: {
53057
- click: function ($event) {
53058
- $event.stopPropagation()
53059
- _vm.handleLayout("side")
53060
- },
53061
- },
53062
- },
53063
- [
53064
- _c("i", {
53065
- directives: [
53066
- {
53067
- name: "show",
53068
- rawName: "v-show",
53069
- value: _vm.activeName == "side",
53070
- expression: "activeName == 'side'",
53071
- },
53072
- ],
53073
- staticClass: "es-icon-gou",
53074
- }),
53075
- ]
53076
- ),
53077
- ]
53078
- ),
53079
- ],
53080
- 1
53081
- ),
53082
- ]),
53083
- ]
53084
- )
53085
- }
53086
- var settingsvue_type_template_id_52aa078c_staticRenderFns = []
53087
- settingsvue_type_template_id_52aa078c_render._withStripped = true
53088
-
53089
-
53090
- // CONCATENATED MODULE: ./packages/main/src/default/settings.vue?vue&type=template&id=52aa078c&
53091
-
53092
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/settings.vue?vue&type=script&lang=js&
53093
- //
53094
- //
53095
- //
53096
- //
53097
- //
53098
- //
53099
- //
53100
- //
53101
- //
53102
- //
53103
- //
53104
- //
53105
- //
53106
- //
53107
- //
53108
- //
53109
- //
53110
- //
53111
- //
53112
- //
53113
- //
53114
- //
53115
- //
53116
- //
53117
- //
53118
- //
53119
- //
53120
- //
53121
- //
53122
- //
53123
- //
53124
- //
53125
- //
53126
- //
53127
- //
53128
- //
53129
- //
53130
- //
53131
- //
53132
- //
53133
- //
53134
- //
53135
- //
53136
- //
53137
- //
53138
- //
53139
- //
53140
- //
53141
- //
53142
- //
53143
- //
53144
- //
53145
- //
53146
- //
53147
- //
53148
- //
53149
- //
53150
- //
53151
- //
53152
- //
53153
- //
53154
- //
53155
- //
53156
- //
53157
- //
53158
- //
53159
- //
53160
- //
53161
- //
53162
- //
53163
- //
53164
- //
53165
- //
53166
- //
53167
- //
53168
- //
53169
- //
53170
- //
53171
- //
53172
- //
53173
- //
53174
- //
53175
- //
53176
- //
53177
- //
53178
- //
53179
- //
53180
- //
53181
- //
53182
- //
53183
- //
53184
- //
53185
- //
53186
- //
53187
- //
53188
- //
53189
- //
53190
- //
53191
- //
53192
- //
53193
- //
53194
- //
53195
- //
53196
- //
53197
- //
53198
- //
53199
- //
53200
- //
53201
-
53202
-
53203
- /* harmony default export */ var default_settingsvue_type_script_lang_js_ = ({
53204
- name: 'message',
53205
- props: {
53206
- visible: Boolean,
53207
- //主题颜色选择颜色集合
53208
- themes: Array,
53209
- //默认主题色
53210
- theme: String,
53211
- //颜色板预设颜色
53212
- predefine: {
53213
- type: Array,
53214
- default: function _default() {
53215
- return ['#a60006', '#409eff'];
53216
- }
53217
- },
53218
- layout: {
53219
- type: String,
53220
- default: 'default'
53221
- }
53222
- },
53223
- computed: {
53224
- show: {
53225
- get: function get() {
53226
- return this.visible;
53227
- },
53228
- set: function set(val) {
53229
- this.$emit('update:visible', val);
53230
- }
53231
- },
53232
- //颜色板预设颜色
53233
- predefineColor: function predefineColor() {
53234
- if (this.theme && this.predefine.indexOf(this.theme.toLowerCase()) === -1) {
53235
- var arry = this.predefine;
53236
- arry.push(this.theme);
53237
- return arry;
53238
- }
53239
- return this.predefine;
53240
- }
53241
- },
53242
- watch: {
53243
- theme: {
53244
- immediate: true,
53245
- handler: function handler(val) {
53246
- if (val) {
53247
- this.color = val;
53248
- }
53249
- }
53250
- }
53251
- },
53252
- data: function data() {
53253
- return {
53254
- color: '',
53255
- activeName: this.layout
53256
- };
53257
- },
53258
- mounted: function mounted() {},
53259
-
53260
- methods: {
53261
- //选择主题颜色
53262
- handleTheme: function handleTheme(res) {
53263
- res = res.toLowerCase();
53264
- // const rgb = util.getRgb(res);
53265
- // const luma = 0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2];
53266
- utils_util["a" /* default */].updateTheme(res);
53267
- this.color = res;
53268
- this.$emit('change', { type: 'theme', value: res });
53269
- //this.setTheme(res);
53270
- },
53271
-
53272
- //选择菜单布局
53273
- handleLayout: function handleLayout(res) {
53274
- var old = this.activeName;
53275
- this.activeName = res;
53276
- this.$emit('update:layout', res);
53277
- this.$emit('layout', res, old);
53278
- }
53279
- }
53280
- });
53281
- // CONCATENATED MODULE: ./packages/main/src/default/settings.vue?vue&type=script&lang=js&
53282
- /* harmony default export */ var src_default_settingsvue_type_script_lang_js_ = (default_settingsvue_type_script_lang_js_);
53283
- // CONCATENATED MODULE: ./packages/main/src/default/settings.vue
53284
-
53285
-
53286
-
53287
-
53288
-
53289
- /* normalize component */
53290
-
53291
- var default_settings_component = normalizeComponent(
53292
- src_default_settingsvue_type_script_lang_js_,
53293
- settingsvue_type_template_id_52aa078c_render,
53294
- settingsvue_type_template_id_52aa078c_staticRenderFns,
53295
- false,
53296
- null,
53297
- null,
53298
- null
53299
-
53300
- )
53301
-
53302
- /* harmony default export */ var default_settings = (default_settings_component.exports);
53303
53189
  // 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/message.vue?vue&type=template&id=503171a2&
53304
53190
  var messagevue_type_template_id_503171a2_render = function () {
53305
53191
  var _vm = this
@@ -54228,6 +54114,7 @@ var defaultvue_type_script_lang_js_extends = Object.assign || function (target)
54228
54114
  //
54229
54115
  //
54230
54116
  //
54117
+ //
54231
54118
 
54232
54119
 
54233
54120
 
@@ -54253,7 +54140,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54253
54140
 
54254
54141
  components: {
54255
54142
  userinfo: default_userinfo,
54256
- settings: default_settings,
54143
+ settings: settings,
54257
54144
  message: default_message,
54258
54145
  notice: default_notice,
54259
54146
  online: online
@@ -54485,11 +54372,10 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54485
54372
  topRightToolHide = JSON.parse(this.topRightToolHide.replace(/(['"])?([a-zA-Z0-9_]+)(['"])?:/g, '"$2":'));
54486
54373
  }
54487
54374
  var hides = {
54488
- set: !this.set,
54375
+ set: !this.showSet,
54489
54376
  index: this.doorIndex ? false : true,
54490
54377
  system: true,
54491
- home: this.homePage ? false : true,
54492
- new: this.showNew ? false : true
54378
+ home: this.homePage ? false : tru
54493
54379
  };
54494
54380
 
54495
54381
  if (this.layout === 'subsystem' || this.application) {
@@ -54543,6 +54429,11 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54543
54429
  utils_util["a" /* default */].updateTheme(val);
54544
54430
  }
54545
54431
  }
54432
+ },
54433
+ scene: function scene(val) {
54434
+ if (val) {
54435
+ this.layout = val.toLowerCase();
54436
+ }
54546
54437
  }
54547
54438
  },
54548
54439
  data: function data() {
@@ -54611,7 +54502,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54611
54502
  //刷新路由
54612
54503
  refresh: true,
54613
54504
  //显示设置面板
54614
- showSet: false,
54505
+ showSets: false,
54615
54506
  //当前设置的主题
54616
54507
  color: utils_util["a" /* default */].getStorage('theme') ? utils_util["a" /* default */].getStorage('theme') : this.theme,
54617
54508
  //显示用户信息
@@ -54640,7 +54531,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54640
54531
  hideSubMenu: false,
54641
54532
  doorIndex: '',
54642
54533
  topRightToolHide: '',
54643
- showNew: this.newVersion
54534
+ showSet: this.set
54644
54535
  };
54645
54536
  },
54646
54537
  created: function created() {
@@ -54793,7 +54684,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54793
54684
 
54794
54685
  //显示隐藏设置面板
54795
54686
  handleSet: function handleSet() {
54796
- this.showSet = !this.showSet;
54687
+ this.showSets = !this.showSets;
54797
54688
  },
54798
54689
  setConfig: function setConfig(results) {
54799
54690
  if (this.socket) {
@@ -54887,8 +54778,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
54887
54778
  if (results[i].portalPage || results[i].portalpage) {
54888
54779
  this.doorIndex = results[i].portalPage || results[i].portalpage;
54889
54780
  }
54890
- if (results[i].multipleVersion || results[i].newVersion) {
54891
- this.showNew = results[i].newVersion ? results[i].newVersion : true;
54781
+ if (results[i].multipleVersion) {
54782
+ this.showSet = true;
54892
54783
  }
54893
54784
  if (results[i].topRightToolHide) {
54894
54785
  this.topRightToolHide = results[i].topRightToolHide;
@@ -55098,6 +54989,13 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55098
54989
  getMenu: function getMenu() {
55099
54990
  var _this4 = this;
55100
54991
 
54992
+ var menuData = utils_store.get('nav');
54993
+ if (menuData && menuData.length) {
54994
+ this.menus = JSON.parse(JSON.stringify(menuData));
54995
+ this.setTips(this.menus);
54996
+ this.setMenu(this.menus);
54997
+ return;
54998
+ }
55101
54999
  var param = this.menuCode ? { menuCode: this.menuCode } : {};
55102
55000
  var params = defaultvue_type_script_lang_js_extends({}, this.param, param);
55103
55001
  utils_util["a" /* default */].ajax({ url: this.action, params: params }).then(function (res) {
@@ -55105,7 +55003,7 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55105
55003
  if (res.results && res.results.length) {
55106
55004
  _this4.menus = JSON.parse(JSON.stringify(res.results));
55107
55005
  _this4.setTips(_this4.menus);
55108
- utils_store.set('nav', _this4.menus);
55006
+ utils_store.set('nav', JSON.parse(JSON.stringify(res.results)));
55109
55007
  _this4.setMenu(_this4.menus);
55110
55008
  } else {
55111
55009
  _this4.$message.error('未分配菜单权限,请联系管理员!');
@@ -55651,13 +55549,6 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55651
55549
  case 'set':
55652
55550
  this.handleSet();
55653
55551
  break;
55654
- case 'new':
55655
- if (typeof this.showNew === 'string') {
55656
- window.location.href = this.showNew;
55657
- } else {
55658
- this.$emit('chang-layout', 'simplicity');
55659
- }
55660
- break;
55661
55552
  case 'goView':
55662
55553
  utils_util["a" /* default */].win.open(res.path, '_blank');
55663
55554
  break;
@@ -55818,8 +55709,9 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55818
55709
  }
55819
55710
  return false;
55820
55711
  },
55821
- handleLayout: function handleLayout(res, old) {
55822
- if (res == old) {
55712
+ handleLayout: function handleLayout(layout, res, old) {
55713
+ this.$emit('chang-layout', layout);
55714
+ if (res == old || layout == 'simplicity') {
55823
55715
  return;
55824
55716
  }
55825
55717
  this.layout = res;
@@ -55998,8 +55890,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
55998
55890
 
55999
55891
  var default_component = normalizeComponent(
56000
55892
  src_defaultvue_type_script_lang_js_,
56001
- defaultvue_type_template_id_149ff0da_render,
56002
- defaultvue_type_template_id_149ff0da_staticRenderFns,
55893
+ defaultvue_type_template_id_48dad2d4_render,
55894
+ defaultvue_type_template_id_48dad2d4_staticRenderFns,
56003
55895
  false,
56004
55896
  null,
56005
55897
  null,
@@ -56054,6 +55946,7 @@ var default_component = normalizeComponent(
56054
55946
  //
56055
55947
  //
56056
55948
  //
55949
+ //
56057
55950
 
56058
55951
 
56059
55952
 
@@ -56076,6 +55969,7 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56076
55969
  MainDefault: src_default
56077
55970
  },
56078
55971
  props: {
55972
+ scene: String,
56079
55973
  launch: Boolean,
56080
55974
  type: String,
56081
55975
  launchImage: {
@@ -56108,13 +56002,14 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56108
56002
  dialogs: [],
56109
56003
  visibles: [],
56110
56004
  isLogin: false,
56111
- layout: this.type
56005
+ layoutType: this.type,
56006
+ layout: this.scene
56112
56007
  };
56113
56008
  },
56114
56009
  created: function created() {
56115
56010
  var layoutType = localStorage.getItem('layoutType');
56116
56011
  if (layoutType) {
56117
- this.layout = layoutType;
56012
+ this.layoutType = layoutType;
56118
56013
  }
56119
56014
  this.params = utils_util["a" /* default */].getParams() || {};
56120
56015
  this.sysCode = this.params.sysCode;
@@ -56184,9 +56079,12 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56184
56079
  * @author huangbo
56185
56080
  * @date 2024年9月7日
56186
56081
  **/
56187
- changLayout: function changLayout(res) {
56188
- this.layout = res;
56082
+ changLayout: function changLayout(res, active) {
56083
+ this.layoutType = res;
56189
56084
  localStorage.setItem('layoutType', res);
56085
+ if (active) {
56086
+ this.layout = active;
56087
+ }
56190
56088
  },
56191
56089
 
56192
56090
  /**
@@ -56358,8 +56256,8 @@ var src_mainvue_type_script_lang_js_bus = external_wujie_vue2_default.a.bus;
56358
56256
 
56359
56257
  var main_src_main_component = normalizeComponent(
56360
56258
  packages_main_src_mainvue_type_script_lang_js_,
56361
- mainvue_type_template_id_6f2b9926_render,
56362
- mainvue_type_template_id_6f2b9926_staticRenderFns,
56259
+ mainvue_type_template_id_72ff8660_render,
56260
+ mainvue_type_template_id_72ff8660_staticRenderFns,
56363
56261
  false,
56364
56262
  null,
56365
56263
  null,
@@ -58565,7 +58463,7 @@ var zh_CN_json_ = __webpack_require__(16);
58565
58463
  var zh_CN_json_default = /*#__PURE__*/__webpack_require__.n(zh_CN_json_);
58566
58464
 
58567
58465
  // EXTERNAL MODULE: external "video.js/dist/video-js.css"
58568
- var video_js_css_ = __webpack_require__(22);
58466
+ var video_js_css_ = __webpack_require__(23);
58569
58467
 
58570
58468
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/player/src/main.vue?vue&type=script&lang=js&
58571
58469
  var player_src_mainvue_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; };
@@ -58860,7 +58758,7 @@ mainvue_type_template_id_15448f0a_render._withStripped = true
58860
58758
  //
58861
58759
 
58862
58760
 
58863
- var QRCode = __webpack_require__(23);
58761
+ var QRCode = __webpack_require__(24);
58864
58762
  /* harmony default export */ var qr_code_src_mainvue_type_script_lang_js_ = ({
58865
58763
  name: 'EsQrCode',
58866
58764
  props: {
@@ -76756,7 +76654,7 @@ if (typeof window !== 'undefined' && window.Vue) {
76756
76654
  }
76757
76655
 
76758
76656
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
76759
- version: '0.5.98',
76657
+ version: '0.5.99',
76760
76658
  install: install,
76761
76659
  Button: packages_button,
76762
76660
  ButtonGroup: button_group,