eoss-ui 0.4.25 → 0.4.27

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.
@@ -11642,8 +11642,8 @@ error_page_src_main.install = function (Vue) {
11642
11642
  };
11643
11643
 
11644
11644
  /* harmony default export */ var error_page = (error_page_src_main);
11645
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=b2ff3114&
11646
- var mainvue_type_template_id_b2ff3114_render = function () {
11645
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=7a35ebf6&
11646
+ var mainvue_type_template_id_7a35ebf6_render = function () {
11647
11647
  var _vm = this
11648
11648
  var _h = _vm.$createElement
11649
11649
  var _c = _vm._self._c || _h
@@ -12008,6 +12008,64 @@ var mainvue_type_template_id_b2ff3114_render = function () {
12008
12008
  false
12009
12009
  )
12010
12010
  )
12011
+ : item.type == "switch"
12012
+ ? _c(
12013
+ "es-switch",
12014
+ _vm._b(
12015
+ {
12016
+ attrs: {
12017
+ plain:
12018
+ item.plain ||
12019
+ item.name ===
12020
+ undefined,
12021
+ readonly:
12022
+ _vm.readonly
12023
+ ? _vm.readonly
12024
+ : item.readonly,
12025
+ },
12026
+ on: {
12027
+ change:
12028
+ function (
12029
+ val
12030
+ ) {
12031
+ _vm.handleChange(
12032
+ item,
12033
+ val,
12034
+ items
12035
+ )
12036
+ },
12037
+ },
12038
+ model: {
12039
+ value:
12040
+ _vm.models[
12041
+ item.name
12042
+ ],
12043
+ callback:
12044
+ function (
12045
+ $$v
12046
+ ) {
12047
+ _vm.$set(
12048
+ _vm.models,
12049
+ item.name,
12050
+ $$v
12051
+ )
12052
+ },
12053
+ expression:
12054
+ "models[item.name]",
12055
+ },
12056
+ },
12057
+ "es-switch",
12058
+ _vm.handleExclAttribute(
12059
+ {
12060
+ data: item,
12061
+ attrs: [
12062
+ "value",
12063
+ ],
12064
+ }
12065
+ ),
12066
+ false
12067
+ )
12068
+ )
12011
12069
  : _vm._e(),
12012
12070
  ],
12013
12071
  1
@@ -16756,6 +16814,60 @@ var mainvue_type_template_id_b2ff3114_render = function () {
16756
16814
  false
16757
16815
  )
16758
16816
  )
16817
+ : item.type == "switch"
16818
+ ? _c(
16819
+ "es-switch",
16820
+ _vm._b(
16821
+ {
16822
+ attrs: {
16823
+ plain:
16824
+ item.plain ||
16825
+ item.name ===
16826
+ undefined,
16827
+ readonly:
16828
+ _vm.readonly
16829
+ ? _vm.readonly
16830
+ : item.readonly,
16831
+ },
16832
+ on: {
16833
+ change: function (
16834
+ val
16835
+ ) {
16836
+ _vm.handleChange(
16837
+ item,
16838
+ val,
16839
+ items
16840
+ )
16841
+ },
16842
+ },
16843
+ model: {
16844
+ value:
16845
+ _vm.models[
16846
+ item.name
16847
+ ],
16848
+ callback: function (
16849
+ $$v
16850
+ ) {
16851
+ _vm.$set(
16852
+ _vm.models,
16853
+ item.name,
16854
+ $$v
16855
+ )
16856
+ },
16857
+ expression:
16858
+ "models[item.name]",
16859
+ },
16860
+ },
16861
+ "es-switch",
16862
+ _vm.handleExclAttribute(
16863
+ {
16864
+ data: item,
16865
+ attrs: ["value"],
16866
+ }
16867
+ ),
16868
+ false
16869
+ )
16870
+ )
16759
16871
  : _vm._e(),
16760
16872
  ],
16761
16873
  1
@@ -20897,11 +21009,11 @@ var mainvue_type_template_id_b2ff3114_render = function () {
20897
21009
  2
20898
21010
  )
20899
21011
  }
20900
- var mainvue_type_template_id_b2ff3114_staticRenderFns = []
20901
- mainvue_type_template_id_b2ff3114_render._withStripped = true
21012
+ var mainvue_type_template_id_7a35ebf6_staticRenderFns = []
21013
+ mainvue_type_template_id_7a35ebf6_render._withStripped = true
20902
21014
 
20903
21015
 
20904
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=b2ff3114&
21016
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=7a35ebf6&
20905
21017
 
20906
21018
  // CONCATENATED MODULE: ./src/utils/rules.js
20907
21019
  // 手机号
@@ -24443,6 +24555,34 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
24443
24555
  //
24444
24556
  //
24445
24557
  //
24558
+ //
24559
+ //
24560
+ //
24561
+ //
24562
+ //
24563
+ //
24564
+ //
24565
+ //
24566
+ //
24567
+ //
24568
+ //
24569
+ //
24570
+ //
24571
+ //
24572
+ //
24573
+ //
24574
+ //
24575
+ //
24576
+ //
24577
+ //
24578
+ //
24579
+ //
24580
+ //
24581
+ //
24582
+ //
24583
+ //
24584
+ //
24585
+ //
24446
24586
 
24447
24587
 
24448
24588
 
@@ -25618,8 +25758,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
25618
25758
 
25619
25759
  var form_src_main_component = normalizeComponent(
25620
25760
  packages_form_src_mainvue_type_script_lang_js_,
25621
- mainvue_type_template_id_b2ff3114_render,
25622
- mainvue_type_template_id_b2ff3114_staticRenderFns,
25761
+ mainvue_type_template_id_7a35ebf6_render,
25762
+ mainvue_type_template_id_7a35ebf6_staticRenderFns,
25623
25763
  false,
25624
25764
  null,
25625
25765
  null,
@@ -39260,8 +39400,8 @@ handle_user_src_main.install = function (Vue) {
39260
39400
  };
39261
39401
 
39262
39402
  /* harmony default export */ var handle_user = (handle_user_src_main);
39263
- // 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=45008084&
39264
- var mainvue_type_template_id_45008084_render = function () {
39403
+ // 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=3cf1aa9e&
39404
+ var mainvue_type_template_id_3cf1aa9e_render = function () {
39265
39405
  var _vm = this
39266
39406
  var _h = _vm.$createElement
39267
39407
  var _c = _vm._self._c || _h
@@ -39327,7 +39467,9 @@ var mainvue_type_template_id_45008084_render = function () {
39327
39467
  staticClass: "es-sub-system-item",
39328
39468
  class: {
39329
39469
  "es-disabled":
39330
- _vm.application && !ele.hasPermission,
39470
+ (_vm.application && !ele.hasPermission) ||
39471
+ (ele.extendData &&
39472
+ ele.extendData.businessStatus == 0),
39331
39473
  },
39332
39474
  attrs: { title: ele.text },
39333
39475
  on: {
@@ -39429,11 +39571,11 @@ var mainvue_type_template_id_45008084_render = function () {
39429
39571
  0
39430
39572
  )
39431
39573
  }
39432
- var mainvue_type_template_id_45008084_staticRenderFns = []
39433
- mainvue_type_template_id_45008084_render._withStripped = true
39574
+ var mainvue_type_template_id_3cf1aa9e_staticRenderFns = []
39575
+ mainvue_type_template_id_3cf1aa9e_render._withStripped = true
39434
39576
 
39435
39577
 
39436
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=45008084&
39578
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=3cf1aa9e&
39437
39579
 
39438
39580
  // 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&
39439
39581
  //
@@ -39528,6 +39670,10 @@ mainvue_type_template_id_45008084_render._withStripped = true
39528
39670
  //
39529
39671
  //
39530
39672
  //
39673
+ //
39674
+ //
39675
+ //
39676
+ //
39531
39677
 
39532
39678
 
39533
39679
 
@@ -39674,7 +39820,11 @@ mainvue_type_template_id_45008084_render._withStripped = true
39674
39820
  handleSelect: function handleSelect(res) {
39675
39821
  var node = res.node;
39676
39822
 
39677
- if (!this.application || node.hasPermission) {
39823
+ if (node.extendData && node.extendData.businessStatus == 0) {
39824
+ this.$alert(node.extendData.businessWarnMsg ? node.extendData.businessWarnMsg : '此模块还在开发中', '提示', {
39825
+ type: 'warning'
39826
+ });
39827
+ } else if (!this.application && !node.hasPermission) {
39678
39828
  this.$emit('select', res);
39679
39829
  }
39680
39830
  },
@@ -39731,8 +39881,8 @@ mainvue_type_template_id_45008084_render._withStripped = true
39731
39881
 
39732
39882
  var handler_src_main_component = normalizeComponent(
39733
39883
  packages_handler_src_mainvue_type_script_lang_js_,
39734
- mainvue_type_template_id_45008084_render,
39735
- mainvue_type_template_id_45008084_staticRenderFns,
39884
+ mainvue_type_template_id_3cf1aa9e_render,
39885
+ mainvue_type_template_id_3cf1aa9e_staticRenderFns,
39736
39886
  false,
39737
39887
  null,
39738
39888
  null,
@@ -39749,14 +39899,14 @@ handler_src_main.install = function (Vue) {
39749
39899
  };
39750
39900
 
39751
39901
  /* harmony default export */ var packages_handler = (handler_src_main);
39752
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=7245ba78&
39753
- var mainvue_type_template_id_7245ba78_render = function () {
39902
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=2cc93981&
39903
+ var mainvue_type_template_id_2cc93981_render = function () {
39754
39904
  var _vm = this
39755
39905
  var _h = _vm.$createElement
39756
39906
  var _c = _vm._self._c || _h
39757
39907
  return _c(
39758
39908
  "div",
39759
- { staticClass: "es-icon", class: { "es-icon-readonly": _vm.readonly } },
39909
+ { staticClass: "es-icons", class: { "es-icon-readonly": _vm.readonly } },
39760
39910
  [
39761
39911
  !_vm.readonly
39762
39912
  ? _c(
@@ -39857,11 +40007,11 @@ var mainvue_type_template_id_7245ba78_render = function () {
39857
40007
  1
39858
40008
  )
39859
40009
  }
39860
- var mainvue_type_template_id_7245ba78_staticRenderFns = []
39861
- mainvue_type_template_id_7245ba78_render._withStripped = true
40010
+ var mainvue_type_template_id_2cc93981_staticRenderFns = []
40011
+ mainvue_type_template_id_2cc93981_render._withStripped = true
39862
40012
 
39863
40013
 
39864
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=7245ba78&
40014
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=2cc93981&
39865
40015
 
39866
40016
  // EXTERNAL MODULE: ./packages/icon/src/icon.json
39867
40017
  var icon = __webpack_require__(13);
@@ -39959,8 +40109,8 @@ var icon = __webpack_require__(13);
39959
40109
 
39960
40110
  var icon_src_main_component = normalizeComponent(
39961
40111
  packages_icon_src_mainvue_type_script_lang_js_,
39962
- mainvue_type_template_id_7245ba78_render,
39963
- mainvue_type_template_id_7245ba78_staticRenderFns,
40112
+ mainvue_type_template_id_2cc93981_render,
40113
+ mainvue_type_template_id_2cc93981_staticRenderFns,
39964
40114
  false,
39965
40115
  null,
39966
40116
  null,
@@ -40578,8 +40728,8 @@ label_src_main.install = function (Vue) {
40578
40728
  };
40579
40729
 
40580
40730
  /* harmony default export */ var packages_label = (label_src_main);
40581
- // 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=94b9d2bc&
40582
- var mainvue_type_template_id_94b9d2bc_render = function () {
40731
+ // 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=f634d8fc&
40732
+ var mainvue_type_template_id_f634d8fc_render = function () {
40583
40733
  var _vm = this
40584
40734
  var _h = _vm.$createElement
40585
40735
  var _c = _vm._self._c || _h
@@ -41295,14 +41445,17 @@ var mainvue_type_template_id_94b9d2bc_render = function () {
41295
41445
  ? _c("div", { staticClass: "es-login-icp" }, [
41296
41446
  _c(
41297
41447
  "span",
41298
- { staticClass: "es-login-icp-item", style: _vm.icpStyle },
41448
+ {
41449
+ staticClass: "es-login-icp-item",
41450
+ style: _vm._copyrightStyle,
41451
+ },
41299
41452
  [_vm._v(_vm._s(_vm.icpInfo.copyright_unit))]
41300
41453
  ),
41301
41454
  _c(
41302
41455
  "a",
41303
41456
  {
41304
41457
  staticClass: "es-login-icp-item",
41305
- style: _vm.icpStyle,
41458
+ style: _vm._copyrightStyle,
41306
41459
  attrs: {
41307
41460
  target: "_blank",
41308
41461
  href: _vm.icpInfo.copyright_icp_url,
@@ -41372,11 +41525,11 @@ var mainvue_type_template_id_94b9d2bc_render = function () {
41372
41525
  )
41373
41526
  : _vm._e()
41374
41527
  }
41375
- var mainvue_type_template_id_94b9d2bc_staticRenderFns = []
41376
- mainvue_type_template_id_94b9d2bc_render._withStripped = true
41528
+ var mainvue_type_template_id_f634d8fc_staticRenderFns = []
41529
+ mainvue_type_template_id_f634d8fc_render._withStripped = true
41377
41530
 
41378
41531
 
41379
- // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=94b9d2bc&
41532
+ // CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=f634d8fc&
41380
41533
 
41381
41534
  // 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=669156c6&
41382
41535
  var resetPasswordvue_type_template_id_669156c6_render = function () {
@@ -42214,7 +42367,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
42214
42367
  type: Boolean,
42215
42368
  default: true
42216
42369
  },
42217
- icpStyle: {
42370
+ copyrightStyle: {
42218
42371
  type: Object,
42219
42372
  default: function _default() {
42220
42373
  return { color: '#ffffff' };
@@ -42331,6 +42484,12 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
42331
42484
  icon.push(_this.iconfonts[item]);
42332
42485
  });
42333
42486
  return icon;
42487
+ },
42488
+ _copyrightStyle: function _copyrightStyle() {
42489
+ var style = {};
42490
+ this.copyrightBgColor && (style['background-color'] = this.copyrightBgColor);
42491
+ this.copyrightColor && (style['color'] = this.copyrightColor);
42492
+ return login_src_mainvue_type_script_lang_js_extends({}, this.copyrightStyle, style);
42334
42493
  }
42335
42494
  },
42336
42495
  watch: {
@@ -42419,7 +42578,9 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
42419
42578
  timer: null,
42420
42579
  countdown: 0,
42421
42580
  code: null,
42422
- defaultModel: JSON.parse(JSON.stringify(this.model))
42581
+ defaultModel: JSON.parse(JSON.stringify(this.model)),
42582
+ copyrightColor: null,
42583
+ copyrightBgColor: null
42423
42584
  };
42424
42585
  },
42425
42586
  created: function created() {
@@ -42627,6 +42788,12 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
42627
42788
  if (res.subsystemExtend.loginBoxAlign && this.useResults) {
42628
42789
  this.align = res.subsystemExtend.loginBoxAlign;
42629
42790
  }
42791
+ if (res.subsystemExtend.copyrightColor) {
42792
+ this.copyrightColor = res.subsystemExtend.copyrightColor;
42793
+ }
42794
+ if (res.subsystemExtend.copyrightBackgroundColor) {
42795
+ this.copyrightBgColor = res.subsystemExtend.copyrightBackgroundColor;
42796
+ }
42630
42797
  if (res.subsystemExtend.themeColor) {
42631
42798
  utils_util["a" /* default */].updateTheme(res.subsystemExtend.themeColor);
42632
42799
  localStorage.setItem('theme', res.subsystemExtend.themeColor);
@@ -42974,8 +43141,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
42974
43141
 
42975
43142
  var login_src_main_component = normalizeComponent(
42976
43143
  packages_login_src_mainvue_type_script_lang_js_,
42977
- mainvue_type_template_id_94b9d2bc_render,
42978
- mainvue_type_template_id_94b9d2bc_staticRenderFns,
43144
+ mainvue_type_template_id_f634d8fc_render,
43145
+ mainvue_type_template_id_f634d8fc_staticRenderFns,
42979
43146
  false,
42980
43147
  null,
42981
43148
  null,
@@ -42992,8 +43159,8 @@ login_src_main.install = function (Vue) {
42992
43159
  };
42993
43160
 
42994
43161
  /* harmony default export */ var login = (login_src_main);
42995
- // 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=23fb4503&
42996
- var mainvue_type_template_id_23fb4503_render = function () {
43162
+ // 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=60ce43f9&
43163
+ var mainvue_type_template_id_60ce43f9_render = function () {
42997
43164
  var _vm = this
42998
43165
  var _h = _vm.$createElement
42999
43166
  var _c = _vm._self._c || _h
@@ -43407,11 +43574,11 @@ var mainvue_type_template_id_23fb4503_render = function () {
43407
43574
  1
43408
43575
  )
43409
43576
  }
43410
- var mainvue_type_template_id_23fb4503_staticRenderFns = []
43411
- mainvue_type_template_id_23fb4503_render._withStripped = true
43577
+ var mainvue_type_template_id_60ce43f9_staticRenderFns = []
43578
+ mainvue_type_template_id_60ce43f9_render._withStripped = true
43412
43579
 
43413
43580
 
43414
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=23fb4503&
43581
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=60ce43f9&
43415
43582
 
43416
43583
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=d575fa30&
43417
43584
  var userinfovue_type_template_id_d575fa30_render = function () {
@@ -45625,7 +45792,7 @@ var log = utils_util["a" /* default */].getParams('console');
45625
45792
  if (ids) {
45626
45793
  this.defaultActive = ids;
45627
45794
  }
45628
- } else {
45795
+ } else if (utils_util["a" /* default */].win.location.hash) {
45629
45796
  var hash = utils_util["a" /* default */].win.location.hash;
45630
45797
  if (hash) {
45631
45798
  hash = hash.split('?')[0];
@@ -45635,6 +45802,16 @@ var log = utils_util["a" /* default */].getParams('console');
45635
45802
  if (_ids) {
45636
45803
  this.defaultActive = _ids;
45637
45804
  }
45805
+ } else if (sessionStorage.getItem('jump')) {
45806
+ var _ids2 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
45807
+ if (_ids2) {
45808
+ this.defaultActive = _ids2;
45809
+ }
45810
+ }
45811
+ } else if (sessionStorage.getItem('jump')) {
45812
+ var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
45813
+ if (_ids3) {
45814
+ this.defaultActive = _ids3;
45638
45815
  }
45639
45816
  }
45640
45817
  this.setMenu(this.menus);
@@ -45854,16 +46031,26 @@ var log = utils_util["a" /* default */].getParams('console');
45854
46031
  if (ids) {
45855
46032
  _this5.defaultActive = ids;
45856
46033
  }
45857
- } else {
46034
+ } else if (utils_util["a" /* default */].win.location.hash) {
45858
46035
  var hash = utils_util["a" /* default */].win.location.hash;
45859
46036
  if (hash) {
45860
46037
  hash = hash.split('?')[0];
45861
46038
  }
45862
46039
  if (hash !== '#/' && hash !== '#/main') {
45863
- var _ids2 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
45864
- if (_ids2) {
45865
- _this5.defaultActive = _ids2;
46040
+ var _ids4 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
46041
+ if (_ids4) {
46042
+ _this5.defaultActive = _ids4;
45866
46043
  }
46044
+ } else if (sessionStorage.getItem('jump')) {
46045
+ var _ids5 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
46046
+ if (_ids5) {
46047
+ _this5.defaultActive = _ids5;
46048
+ }
46049
+ }
46050
+ } else if (sessionStorage.getItem('jump')) {
46051
+ var _ids6 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
46052
+ if (_ids6) {
46053
+ _this5.defaultActive = _ids6;
45867
46054
  }
45868
46055
  }
45869
46056
  _this5.setTips(_this5.menus);
@@ -46127,9 +46314,15 @@ var log = utils_util["a" /* default */].getParams('console');
46127
46314
 
46128
46315
  //应用导航交互
46129
46316
  handleSelect: function handleSelect(res, type) {
46130
- this.isDefault = false;
46131
46317
  var node = res.node;
46132
46318
 
46319
+ if (node.extendData && node.extendData.businessStatus == 0 && node.extendData.businessWarnMsg) {
46320
+ this.$alert(node.extendData.businessWarnMsg, '提示', {
46321
+ type: 'warning'
46322
+ });
46323
+ return;
46324
+ }
46325
+ this.isDefault = false;
46133
46326
  switch (type) {
46134
46327
  case 'nav':
46135
46328
  this.tabs = [];
@@ -46304,6 +46497,7 @@ var log = utils_util["a" /* default */].getParams('console');
46304
46497
  var _this9 = this;
46305
46498
 
46306
46499
  console.log(page);
46500
+ sessionStorage.setItem('jump', page);
46307
46501
  if (utils_util["a" /* default */].win.location.hash === page) {
46308
46502
  this.refresh = true;
46309
46503
  return;
@@ -46536,7 +46730,7 @@ var log = utils_util["a" /* default */].getParams('console');
46536
46730
  },
46537
46731
  openPage: function openPage(url, name, width, height) {
46538
46732
  var src = url;
46539
- if (!utils_util["a" /* default */].startWith(url, ['http', '/'])) {
46733
+ if (!utils_util["a" /* default */].startWith(url, ['http', '/'], true)) {
46540
46734
  var pathname = window.location.pathname;
46541
46735
  if (pathname !== '/') {
46542
46736
  pathname = pathname.split('/');
@@ -46572,8 +46766,8 @@ var log = utils_util["a" /* default */].getParams('console');
46572
46766
 
46573
46767
  var main_src_main_component = normalizeComponent(
46574
46768
  packages_main_src_mainvue_type_script_lang_js_,
46575
- mainvue_type_template_id_23fb4503_render,
46576
- mainvue_type_template_id_23fb4503_staticRenderFns,
46769
+ mainvue_type_template_id_60ce43f9_render,
46770
+ mainvue_type_template_id_60ce43f9_staticRenderFns,
46577
46771
  false,
46578
46772
  null,
46579
46773
  null,
@@ -50574,7 +50768,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50574
50768
  class: [item.icons ? this.unicode(item.icons) ? item.icons : 'es-icons iconfont' : 'es-icon-application', 'es-menu-item-icon'],
50575
50769
  domProps: item.icons === '' || this.unicode(item.icons) ? {} : { innerHTML: item.icons }
50576
50770
  }), h('div', {
50577
- class: 'es-menu-title-text es-menu-title-' + this.mode
50771
+ class: ['es-menu-title-text es-menu-title-' + this.mode]
50578
50772
  }, [h('el-badge', {
50579
50773
  class: ['es-badge', {
50580
50774
  'es-badge-right': item.tips && typeof item.tips !== 'boolean',
@@ -50590,7 +50784,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50590
50784
  }
50591
50785
  }, [item.text])])];
50592
50786
  var doms = [h('template', { slot: 'title' }, this.titleIcons ? title : [title[1]])];
50593
- if (this.deep && item.children && item.children.length) {
50787
+ if (this.deep && item.children && item.children.length && (!item.extendData || item.extendData.businessStatus != 0)) {
50594
50788
  doms = doms.concat(item.children.map(function (ele, index) {
50595
50789
  if (!ele) {
50596
50790
  console.error('\u5BF9\u8C61\u5B50\u6570\u636E\u4E2D\u7B2C[' + index + ']\u6761\u6570\u636E\u9519\u8BEF', item);
@@ -50608,7 +50802,7 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50608
50802
  },
50609
50803
  attrs: { index: item.id, key: item.id }
50610
50804
  }, doms)];
50611
- } else if (this.deep && this.mode === 'horizontal' && item.fourthTabs && item.fourthTabs.length) {
50805
+ } else if (this.deep && this.mode === 'horizontal' && item.fourthTabs && item.fourthTabs.length && (!item.extendData || item.extendData.businessStatus != 0)) {
50612
50806
  doms = doms.concat(item.fourthTabs.map(function (ele, index) {
50613
50807
  if (!ele) {
50614
50808
  console.error('\u5BF9\u8C61\u5B50\u6570\u636E\u4E2D\u7B2C[' + index + ']\u6761\u6570\u636E\u9519\u8BEF', item);
@@ -50628,9 +50822,10 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50628
50822
  }, doms)];
50629
50823
  } else {
50630
50824
  return [h('el-menu-item', {
50631
- class: 'es-menu-item ' + (this.deep ? '' : 'es-item-' + this.mode),
50825
+ class: ['es-menu-item ' + (this.deep ? '' : 'es-item-' + this.mode)],
50632
50826
  props: {
50633
- paddingLeft: this.paddingLeft
50827
+ paddingLeft: this.paddingLeft,
50828
+ disabled: item.extendData && item.extendData.businessStatus == 0
50634
50829
  },
50635
50830
  attrs: {
50636
50831
  data: item,
@@ -50653,14 +50848,14 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50653
50848
 
50654
50849
  var doms = [];
50655
50850
  this.data.forEach(function (item) {
50656
- if (item.children && item.children.length) {
50851
+ if (item.children && item.children.length && (!item.extendData || item.extendData.businessStatus != 0)) {
50657
50852
  doms = doms.concat(_this4.getSub(item, h, 'es-sub-menu'));
50658
50853
  } else {
50659
50854
  var title = [h('i', {
50660
50855
  class: [item.icons ? _this4.unicode(item.icons) ? item.icons : 'es-icons iconfont' : 'es-icon-application', 'es-menu-item-icon'],
50661
50856
  domProps: item.icons === '' || _this4.unicode(item.icons) ? {} : { innerHTML: item.icons }
50662
50857
  }), h('div', {
50663
- class: 'es-menu-title-text es-menu-title-' + _this4.mode
50858
+ class: ['es-menu-title-text es-menu-title-' + _this4.mode]
50664
50859
  }, [h('el-badge', {
50665
50860
  class: ['es-badge', {
50666
50861
  'es-badge-right': item.tips && typeof item.tips !== 'boolean',
@@ -50678,7 +50873,8 @@ var menu_src_mainvue_type_script_lang_js_extends = Object.assign || function (ta
50678
50873
  doms.push(h('el-menu-item', {
50679
50874
  class: ['es-menu-item-' + _this4.mode],
50680
50875
  props: {
50681
- paddingLeft: _this4.paddingLeft
50876
+ paddingLeft: _this4.paddingLeft,
50877
+ disabled: item.extendData && item.extendData.businessStatus == 0
50682
50878
  },
50683
50879
  attrs: {
50684
50880
  data: item,
@@ -68436,7 +68632,7 @@ if (typeof window !== 'undefined' && window.Vue) {
68436
68632
  }
68437
68633
 
68438
68634
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
68439
- version: '0.4.25',
68635
+ version: '0.4.27',
68440
68636
  install: install,
68441
68637
  Button: packages_button,
68442
68638
  ButtonGroup: button_group,