eoss-ui 0.5.94 → 0.5.95

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.
package/lib/handler.js CHANGED
@@ -3757,7 +3757,7 @@ module.exports = require("qs");
3757
3757
  // ESM COMPAT FLAG
3758
3758
  __webpack_require__.r(__webpack_exports__);
3759
3759
 
3760
- // 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=2cddbcc4&
3760
+ // 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=25b75938&
3761
3761
  var render = function () {
3762
3762
  var _vm = this
3763
3763
  var _h = _vm.$createElement
@@ -3765,224 +3765,227 @@ var render = function () {
3765
3765
  return _c(
3766
3766
  "ul",
3767
3767
  { staticClass: "es-handler" },
3768
- _vm._l(_vm.lists, function (item, index) {
3769
- return _c(
3770
- "li",
3771
- { key: index, staticClass: "es-handler-item" },
3772
- [
3768
+ [
3769
+ _vm._l(_vm.lists, function (item, index) {
3770
+ return [
3773
3771
  !item.hide
3774
- ? [
3775
- item.type === "user"
3776
- ? _c("es-handle-user", {
3777
- staticClass: "es-handler-user",
3778
- attrs: {
3779
- data: item,
3780
- userModel: _vm.userModel,
3781
- "job-scrollbar": _vm.jobScrollbar,
3782
- },
3783
- on: {
3784
- "visible-change": _vm.handleVisibleChange,
3785
- click: _vm.handleClick,
3786
- change: _vm.handleChange,
3787
- },
3788
- })
3789
- : item.type === "date"
3790
- ? _c("div", { staticClass: "es-handler-date" }, [
3791
- _c("div", [
3792
- _vm._v(
3793
- "\n " + _vm._s(_vm.time) + "\n "
3794
- ),
3795
- _vm.show
3796
- ? _c("span", [
3797
- _vm._v("当前"),
3798
- _c(
3799
- "span",
3800
- {
3801
- staticClass: "es-online-num",
3802
- class: { "es-pointer": _vm.onlineList },
3803
- on: {
3804
- click: function ($event) {
3805
- $event.stopPropagation()
3806
- _vm.onlineList
3807
- ? _vm.handleClick({ type: "online" })
3808
- : ""
3809
- },
3810
- },
3811
- },
3812
- [_vm._v(_vm._s(_vm.online))]
3813
- ),
3814
- _vm._v("人在线"),
3815
- ])
3816
- : _vm._e(),
3817
- ]),
3818
- _c("div", [_vm._v("今 天:" + _vm._s(_vm.date))]),
3819
- ])
3820
- : item.type === "system"
3821
- ? _c(
3822
- "el-popover",
3823
- {
3824
- ref: "system",
3825
- refInFor: true,
3772
+ ? _c(
3773
+ "li",
3774
+ { key: index, staticClass: "es-handler-item" },
3775
+ [
3776
+ item.type === "user"
3777
+ ? _c("es-handle-user", {
3778
+ staticClass: "es-handler-user",
3826
3779
  attrs: {
3827
- placement: "bottom",
3828
- trigger: "hover",
3829
- "popper-class":
3830
- _vm.system.length > 4
3831
- ? "es-popper-sub-system is-width"
3832
- : "es-popper-sub-system",
3780
+ data: item,
3781
+ userModel: _vm.userModel,
3782
+ "job-scrollbar": _vm.jobScrollbar,
3833
3783
  },
3834
3784
  on: {
3835
- show: function ($event) {
3836
- _vm.showPopper = true
3785
+ "visible-change": _vm.handleVisibleChange,
3786
+ click: _vm.handleClick,
3787
+ change: _vm.handleChange,
3788
+ },
3789
+ })
3790
+ : item.type === "date"
3791
+ ? _c("div", { staticClass: "es-handler-date" }, [
3792
+ _c("div", [
3793
+ _vm._v(
3794
+ "\n " + _vm._s(_vm.time) + "\n "
3795
+ ),
3796
+ _vm.show
3797
+ ? _c("span", [
3798
+ _vm._v("当前"),
3799
+ _c(
3800
+ "span",
3801
+ {
3802
+ staticClass: "es-online-num",
3803
+ class: { "es-pointer": _vm.onlineList },
3804
+ on: {
3805
+ click: function ($event) {
3806
+ $event.stopPropagation()
3807
+ _vm.onlineList
3808
+ ? _vm.handleClick({ type: "online" })
3809
+ : ""
3810
+ },
3811
+ },
3812
+ },
3813
+ [_vm._v(_vm._s(_vm.online))]
3814
+ ),
3815
+ _vm._v("人在线"),
3816
+ ])
3817
+ : _vm._e(),
3818
+ ]),
3819
+ _c("div", [_vm._v("今 天:" + _vm._s(_vm.date))]),
3820
+ ])
3821
+ : item.type === "system"
3822
+ ? _c(
3823
+ "el-popover",
3824
+ {
3825
+ ref: "system",
3826
+ refInFor: true,
3827
+ attrs: {
3828
+ placement: "bottom",
3829
+ trigger: "hover",
3830
+ "popper-class":
3831
+ _vm.system.length > 4
3832
+ ? "es-popper-sub-system is-width"
3833
+ : "es-popper-sub-system",
3837
3834
  },
3838
- hide: function ($event) {
3839
- _vm.showPopper = false
3835
+ on: {
3836
+ show: function ($event) {
3837
+ _vm.showPopper = true
3838
+ },
3839
+ hide: function ($event) {
3840
+ _vm.showPopper = false
3841
+ },
3840
3842
  },
3841
3843
  },
3842
- },
3843
- [
3844
- _vm.system.length
3845
- ? _c(
3846
- "el-scrollbar",
3847
- { attrs: { "max-height": _vm.maxHeight } },
3848
- [
3849
- _c(
3850
- "ul",
3851
- { staticClass: "es-sub-system" },
3852
- _vm._l(_vm.system, function (ele) {
3853
- return _c(
3854
- "li",
3855
- {
3856
- key: ele.id,
3857
- staticClass: "es-sub-system-item",
3858
- class: {
3859
- "es-disabled":
3860
- (_vm.application &&
3861
- !ele.hasPermission) ||
3862
- (ele.extendData &&
3863
- ele.extendData.businessStatus ==
3864
- 0),
3865
- },
3866
- attrs: { title: ele.text },
3867
- on: {
3868
- click: function ($event) {
3869
- $event.stopPropagation()
3870
- _vm.handleSelect({ node: ele })
3844
+ [
3845
+ _vm.system.length
3846
+ ? _c(
3847
+ "el-scrollbar",
3848
+ { attrs: { "max-height": _vm.maxHeight } },
3849
+ [
3850
+ _c(
3851
+ "ul",
3852
+ { staticClass: "es-sub-system" },
3853
+ _vm._l(_vm.system, function (ele) {
3854
+ return _c(
3855
+ "li",
3856
+ {
3857
+ key: ele.id,
3858
+ staticClass: "es-sub-system-item",
3859
+ class: {
3860
+ "es-disabled":
3861
+ (_vm.application &&
3862
+ !ele.hasPermission) ||
3863
+ (ele.extendData &&
3864
+ ele.extendData.businessStatus ==
3865
+ 0),
3871
3866
  },
3872
- },
3873
- },
3874
- [
3875
- _c(
3876
- "el-badge",
3877
- {
3878
- attrs: {
3879
- "is-dot":
3880
- typeof ele.tips === "boolean",
3881
- hidden: !ele.tips,
3882
- max: 99,
3883
- value:
3884
- typeof ele.tips !== "boolean"
3885
- ? ele.tips
3886
- : 0,
3867
+ attrs: { title: ele.text },
3868
+ on: {
3869
+ click: function ($event) {
3870
+ $event.stopPropagation()
3871
+ _vm.handleSelect({ node: ele })
3887
3872
  },
3888
3873
  },
3889
- [
3890
- _c("i", {
3891
- class: [
3892
- _vm.unicode(ele.icons)
3893
- ? ele.icons
3894
- : "es-icon",
3895
- "es-sub-system-icon",
3896
- {
3897
- "es-icon-yingyong":
3898
- !ele.icons,
3899
- },
3900
- ],
3901
- domProps: {
3902
- innerHTML: _vm._s(
3903
- _vm.unicode(ele.icons)
3904
- ? ""
3905
- : ele.icons
3906
- ),
3874
+ },
3875
+ [
3876
+ _c(
3877
+ "el-badge",
3878
+ {
3879
+ attrs: {
3880
+ "is-dot":
3881
+ typeof ele.tips === "boolean",
3882
+ hidden: !ele.tips,
3883
+ max: 99,
3884
+ value:
3885
+ typeof ele.tips !== "boolean"
3886
+ ? ele.tips
3887
+ : 0,
3907
3888
  },
3908
- }),
3909
- ]
3910
- ),
3911
- _c(
3912
- "div",
3913
- {
3914
- staticClass: "es-sub-system-title",
3915
- },
3916
- [_vm._v(_vm._s(ele.text))]
3917
- ),
3918
- ],
3919
- 1
3920
- )
3921
- }),
3922
- 0
3923
- ),
3924
- ]
3925
- )
3926
- : _vm._e(),
3927
- _c("div", {
3928
- staticClass: "es-handler-icon",
3929
- class: item.icon,
3930
- attrs: { slot: "reference", title: item.title },
3931
- slot: "reference",
3932
- }),
3933
- ],
3934
- 1
3935
- )
3936
- : item.type === "notice"
3937
- ? _c(
3938
- "el-badge",
3939
- {
3940
- staticClass: "es-badge",
3941
- attrs: {
3942
- value: _vm.notice,
3943
- max: 99,
3944
- hidden: _vm.notice === 0,
3889
+ },
3890
+ [
3891
+ _c("i", {
3892
+ class: [
3893
+ _vm.unicode(ele.icons)
3894
+ ? ele.icons
3895
+ : "es-icon",
3896
+ "es-sub-system-icon",
3897
+ {
3898
+ "es-icon-yingyong":
3899
+ !ele.icons,
3900
+ },
3901
+ ],
3902
+ domProps: {
3903
+ innerHTML: _vm._s(
3904
+ _vm.unicode(ele.icons)
3905
+ ? ""
3906
+ : ele.icons
3907
+ ),
3908
+ },
3909
+ }),
3910
+ ]
3911
+ ),
3912
+ _c(
3913
+ "div",
3914
+ {
3915
+ staticClass:
3916
+ "es-sub-system-title",
3917
+ },
3918
+ [_vm._v(_vm._s(ele.text))]
3919
+ ),
3920
+ ],
3921
+ 1
3922
+ )
3923
+ }),
3924
+ 0
3925
+ ),
3926
+ ]
3927
+ )
3928
+ : _vm._e(),
3929
+ _c("div", {
3930
+ staticClass: "es-handler-icon",
3931
+ class: item.icon,
3932
+ attrs: { slot: "reference", title: item.title },
3933
+ slot: "reference",
3934
+ }),
3935
+ ],
3936
+ 1
3937
+ )
3938
+ : item.type === "notice"
3939
+ ? _c(
3940
+ "el-badge",
3941
+ {
3942
+ staticClass: "es-badge",
3943
+ attrs: {
3944
+ value: _vm.notice,
3945
+ max: 99,
3946
+ hidden: _vm.notice === 0,
3947
+ },
3945
3948
  },
3946
- },
3947
- [
3948
- _c("div", {
3949
- staticClass: "es-handler-icon",
3950
- class: item.icon,
3951
- attrs: { title: item.title },
3952
- on: {
3953
- click: function ($event) {
3954
- $event.stopPropagation()
3955
- _vm.handleClick(item)
3949
+ [
3950
+ _c("div", {
3951
+ staticClass: "es-handler-icon",
3952
+ class: item.icon,
3953
+ attrs: { title: item.title },
3954
+ on: {
3955
+ click: function ($event) {
3956
+ $event.stopPropagation()
3957
+ _vm.handleClick(item)
3958
+ },
3956
3959
  },
3960
+ }),
3961
+ ]
3962
+ )
3963
+ : _c("div", {
3964
+ staticClass: "es-handler-icon",
3965
+ class: item.icon,
3966
+ attrs: { title: item.title },
3967
+ on: {
3968
+ click: function ($event) {
3969
+ $event.stopPropagation()
3970
+ _vm.handleClick(item)
3957
3971
  },
3958
- }),
3959
- ]
3960
- )
3961
- : _c("div", {
3962
- staticClass: "es-handler-icon",
3963
- class: item.icon,
3964
- attrs: { title: item.title },
3965
- on: {
3966
- click: function ($event) {
3967
- $event.stopPropagation()
3968
- _vm.handleClick(item)
3969
3972
  },
3970
- },
3971
- }),
3972
- ]
3973
+ }),
3974
+ ],
3975
+ 1
3976
+ )
3973
3977
  : _vm._e(),
3974
- ],
3975
- 2
3976
- )
3977
- }),
3978
- 0
3978
+ ]
3979
+ }),
3980
+ ],
3981
+ 2
3979
3982
  )
3980
3983
  }
3981
3984
  var staticRenderFns = []
3982
3985
  render._withStripped = true
3983
3986
 
3984
3987
 
3985
- // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=2cddbcc4&
3988
+ // CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=25b75938&
3986
3989
 
3987
3990
  // EXTERNAL MODULE: ./src/config/api.js
3988
3991
  var api = __webpack_require__(1);
@@ -4283,7 +4286,7 @@ var util = __webpack_require__(0);
4283
4286
  }).then(function () {
4284
4287
  util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
4285
4288
  if (res.rCode == 0) {
4286
- util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
4289
+ util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
4287
4290
  if (_this2.onQuit && typeof _this2.onQuit === 'function') {
4288
4291
  _this2.onQuit();
4289
4292
  } else {