eoss-ui 0.5.81-beta5 → 0.5.81-beta6
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/eoss-ui.common.js +145 -119
- package/lib/index.js +1 -1
- package/lib/main.js +139 -113
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/package.json +1 -1
- package/packages/main/src/default/index.vue +1 -1
- package/packages/main/src/main.vue +8 -3
- package/packages/main/src/simplicity/index.vue +66 -74
- package/packages/main/src/simplicity/menu-list.vue +25 -10
- package/packages/main/src/simplicity/sub-menu.vue +2 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/tree.css +1 -1
- package/packages/theme-chalk/src/simplicity.scss +5 -5
- package/packages/theme-chalk/src/tree.scss +4 -2
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -50945,8 +50945,8 @@ login_src_main.install = function (Vue) {
|
|
|
50945
50945
|
};
|
|
50946
50946
|
|
|
50947
50947
|
/* harmony default export */ var login = (login_src_main);
|
|
50948
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=
|
|
50949
|
-
var
|
|
50948
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
|
|
50949
|
+
var mainvue_type_template_id_6aa3a502_render = function () {
|
|
50950
50950
|
var _vm = this
|
|
50951
50951
|
var _h = _vm.$createElement
|
|
50952
50952
|
var _c = _vm._self._c || _h
|
|
@@ -50968,9 +50968,9 @@ var mainvue_type_template_id_a0d885fc_render = function () {
|
|
|
50968
50968
|
)
|
|
50969
50969
|
)
|
|
50970
50970
|
: _c(
|
|
50971
|
-
"main",
|
|
50971
|
+
"main-default",
|
|
50972
50972
|
_vm._g(
|
|
50973
|
-
_vm._b({ ref: "main" }, "main", _vm.$attrs, false),
|
|
50973
|
+
_vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
|
|
50974
50974
|
_vm.$listeners
|
|
50975
50975
|
)
|
|
50976
50976
|
),
|
|
@@ -50978,14 +50978,14 @@ var mainvue_type_template_id_a0d885fc_render = function () {
|
|
|
50978
50978
|
1
|
|
50979
50979
|
)
|
|
50980
50980
|
}
|
|
50981
|
-
var
|
|
50982
|
-
|
|
50981
|
+
var mainvue_type_template_id_6aa3a502_staticRenderFns = []
|
|
50982
|
+
mainvue_type_template_id_6aa3a502_render._withStripped = true
|
|
50983
50983
|
|
|
50984
50984
|
|
|
50985
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
50985
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
|
|
50986
50986
|
|
|
50987
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
50988
|
-
var
|
|
50987
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=4a717394&scoped=true&
|
|
50988
|
+
var simplicityvue_type_template_id_4a717394_scoped_true_render = function () {
|
|
50989
50989
|
var _vm = this
|
|
50990
50990
|
var _h = _vm.$createElement
|
|
50991
50991
|
var _c = _vm._self._c || _h
|
|
@@ -51179,6 +51179,7 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
|
|
|
51179
51179
|
color: _vm.menuColor,
|
|
51180
51180
|
backgroundColor: _vm.menuBackgroundColor,
|
|
51181
51181
|
"menu-icon": _vm.menuIcon,
|
|
51182
|
+
active: _vm.subActive,
|
|
51182
51183
|
},
|
|
51183
51184
|
on: {
|
|
51184
51185
|
"update:visible": function ($event) {
|
|
@@ -51527,11 +51528,11 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
|
|
|
51527
51528
|
),
|
|
51528
51529
|
])
|
|
51529
51530
|
}
|
|
51530
|
-
var
|
|
51531
|
-
|
|
51531
|
+
var simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns = []
|
|
51532
|
+
simplicityvue_type_template_id_4a717394_scoped_true_render._withStripped = true
|
|
51532
51533
|
|
|
51533
51534
|
|
|
51534
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
51535
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4a717394&scoped=true&
|
|
51535
51536
|
|
|
51536
51537
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=2597c13a&scoped=true&
|
|
51537
51538
|
var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
|
|
@@ -51943,8 +51944,8 @@ var handler_component = normalizeComponent(
|
|
|
51943
51944
|
)
|
|
51944
51945
|
|
|
51945
51946
|
/* harmony default export */ var simplicity_handler = (handler_component.exports);
|
|
51946
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
51947
|
-
var
|
|
51947
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
|
|
51948
|
+
var sub_menuvue_type_template_id_427b4bf6_scoped_true_render = function () {
|
|
51948
51949
|
var _vm = this
|
|
51949
51950
|
var _h = _vm.$createElement
|
|
51950
51951
|
var _c = _vm._self._c || _h
|
|
@@ -52024,6 +52025,7 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
|
|
|
52024
52025
|
_c("menu-list", {
|
|
52025
52026
|
ref: "menus",
|
|
52026
52027
|
attrs: {
|
|
52028
|
+
active: _vm.active,
|
|
52027
52029
|
data: _vm.menus,
|
|
52028
52030
|
menuIcon: _vm.menuIcon,
|
|
52029
52031
|
color: _vm.color,
|
|
@@ -52040,20 +52042,20 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
|
|
|
52040
52042
|
]
|
|
52041
52043
|
)
|
|
52042
52044
|
}
|
|
52043
|
-
var
|
|
52044
|
-
|
|
52045
|
+
var sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns = []
|
|
52046
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_render._withStripped = true
|
|
52045
52047
|
|
|
52046
52048
|
|
|
52047
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
52049
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
|
|
52048
52050
|
|
|
52049
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=
|
|
52050
|
-
var
|
|
52051
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e16cc62&scoped=true&
|
|
52052
|
+
var menu_listvue_type_template_id_6e16cc62_scoped_true_render = function () {
|
|
52051
52053
|
var _vm = this
|
|
52052
52054
|
var _h = _vm.$createElement
|
|
52053
52055
|
var _c = _vm._self._c || _h
|
|
52054
52056
|
return _c(
|
|
52055
52057
|
"el-scrollbar",
|
|
52056
|
-
{ class: { "is-fold": _vm.fold } },
|
|
52058
|
+
{ ref: "scrollbar", class: { "is-fold": _vm.fold } },
|
|
52057
52059
|
[
|
|
52058
52060
|
_vm._l(_vm.data, function (item, index) {
|
|
52059
52061
|
return [
|
|
@@ -52062,18 +52064,29 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
52062
52064
|
? _c(
|
|
52063
52065
|
"el-popover",
|
|
52064
52066
|
{
|
|
52067
|
+
key: item.id,
|
|
52065
52068
|
attrs: {
|
|
52066
52069
|
placement: "right",
|
|
52067
52070
|
trigger: "hover",
|
|
52068
52071
|
"popper-class": "es-simplicity-menus-sub",
|
|
52069
52072
|
width: _vm.width,
|
|
52070
52073
|
},
|
|
52074
|
+
on: {
|
|
52075
|
+
show: function ($event) {
|
|
52076
|
+
_vm.show = true
|
|
52077
|
+
},
|
|
52078
|
+
hide: function ($event) {
|
|
52079
|
+
_vm.show = false
|
|
52080
|
+
},
|
|
52081
|
+
},
|
|
52071
52082
|
},
|
|
52072
52083
|
[
|
|
52073
52084
|
_c("menu-list", {
|
|
52074
52085
|
ref: "menus",
|
|
52075
52086
|
refInFor: true,
|
|
52076
52087
|
attrs: {
|
|
52088
|
+
active: _vm.active,
|
|
52089
|
+
popover: _vm.show,
|
|
52077
52090
|
data: (item.children || []).concat(item.fourthTabs || []),
|
|
52078
52091
|
menuIcon: _vm.menuIcon,
|
|
52079
52092
|
color: _vm.color,
|
|
@@ -52088,7 +52101,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
52088
52101
|
key: item.id,
|
|
52089
52102
|
staticClass: "es-simplicity-menus-item",
|
|
52090
52103
|
class: {
|
|
52091
|
-
"is-active": _vm.
|
|
52104
|
+
"is-active": _vm.defaultActive === item.id,
|
|
52092
52105
|
"is-fold": _vm.fold,
|
|
52093
52106
|
},
|
|
52094
52107
|
attrs: {
|
|
@@ -52174,7 +52187,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
52174
52187
|
key: item.id,
|
|
52175
52188
|
staticClass: "es-simplicity-menus-item",
|
|
52176
52189
|
class: {
|
|
52177
|
-
"is-active": _vm.
|
|
52190
|
+
"is-active": _vm.defaultActive === item.id,
|
|
52178
52191
|
"is-fold": _vm.fold,
|
|
52179
52192
|
},
|
|
52180
52193
|
attrs: { title: _vm.fold ? item.text || item.name : "" },
|
|
@@ -52255,11 +52268,11 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
52255
52268
|
2
|
|
52256
52269
|
)
|
|
52257
52270
|
}
|
|
52258
|
-
var
|
|
52259
|
-
|
|
52271
|
+
var menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns = []
|
|
52272
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
|
|
52260
52273
|
|
|
52261
52274
|
|
|
52262
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=
|
|
52275
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e16cc62&scoped=true&
|
|
52263
52276
|
|
|
52264
52277
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
|
|
52265
52278
|
//
|
|
@@ -52350,26 +52363,44 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
52350
52363
|
//
|
|
52351
52364
|
//
|
|
52352
52365
|
//
|
|
52366
|
+
//
|
|
52367
|
+
//
|
|
52368
|
+
//
|
|
52369
|
+
//
|
|
52370
|
+
//
|
|
52353
52371
|
|
|
52354
52372
|
/* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
|
|
52355
52373
|
name: 'MenuList',
|
|
52356
52374
|
components: {},
|
|
52357
52375
|
props: {
|
|
52376
|
+
active: String,
|
|
52358
52377
|
menuIcon: String,
|
|
52359
52378
|
color: [String, Array],
|
|
52360
52379
|
backgroundColor: [String, Array],
|
|
52361
52380
|
data: Array,
|
|
52362
52381
|
fold: Boolean,
|
|
52363
|
-
width: Number
|
|
52382
|
+
width: Number,
|
|
52383
|
+
popover: Boolean
|
|
52364
52384
|
},
|
|
52365
52385
|
data: function data() {
|
|
52366
52386
|
return {
|
|
52367
|
-
|
|
52387
|
+
defaultActive: this.active,
|
|
52388
|
+
show: false,
|
|
52389
|
+
height: document.body.offsetHeight - 44
|
|
52368
52390
|
};
|
|
52369
52391
|
},
|
|
52370
52392
|
|
|
52371
52393
|
computed: {},
|
|
52372
|
-
watch: {
|
|
52394
|
+
watch: {
|
|
52395
|
+
popover: function popover() {
|
|
52396
|
+
if (this.$el.offsetHeight > this.height) {
|
|
52397
|
+
this.$el.style.height = this.height + 'px';
|
|
52398
|
+
this.$refs.scrollbar.update();
|
|
52399
|
+
} else {
|
|
52400
|
+
this.$el.style.height = '';
|
|
52401
|
+
}
|
|
52402
|
+
}
|
|
52403
|
+
},
|
|
52373
52404
|
created: function created() {},
|
|
52374
52405
|
mounted: function mounted() {},
|
|
52375
52406
|
|
|
@@ -52394,7 +52425,7 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
52394
52425
|
return obj;
|
|
52395
52426
|
},
|
|
52396
52427
|
handleClick: function handleClick(res) {
|
|
52397
|
-
this.
|
|
52428
|
+
this.defaultActive = res.id;
|
|
52398
52429
|
if (res.url) {
|
|
52399
52430
|
if (res.urlopenmode == 1) {
|
|
52400
52431
|
util.win.open(res.url);
|
|
@@ -52405,9 +52436,6 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
52405
52436
|
}
|
|
52406
52437
|
}
|
|
52407
52438
|
this.$emit('command', res);
|
|
52408
|
-
},
|
|
52409
|
-
clearActive: function clearActive() {
|
|
52410
|
-
this.active = '';
|
|
52411
52439
|
}
|
|
52412
52440
|
}
|
|
52413
52441
|
});
|
|
@@ -52423,11 +52451,11 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
52423
52451
|
|
|
52424
52452
|
var menu_list_component = normalizeComponent(
|
|
52425
52453
|
simplicity_menu_listvue_type_script_lang_js_,
|
|
52426
|
-
|
|
52427
|
-
|
|
52454
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_render,
|
|
52455
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns,
|
|
52428
52456
|
false,
|
|
52429
52457
|
null,
|
|
52430
|
-
"
|
|
52458
|
+
"6e16cc62",
|
|
52431
52459
|
null
|
|
52432
52460
|
|
|
52433
52461
|
)
|
|
@@ -52479,6 +52507,7 @@ var menu_list_component = normalizeComponent(
|
|
|
52479
52507
|
//
|
|
52480
52508
|
//
|
|
52481
52509
|
//
|
|
52510
|
+
//
|
|
52482
52511
|
|
|
52483
52512
|
|
|
52484
52513
|
/* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
|
|
@@ -52486,6 +52515,7 @@ var menu_list_component = normalizeComponent(
|
|
|
52486
52515
|
components: { MenuList: menu_list },
|
|
52487
52516
|
props: {
|
|
52488
52517
|
title: String,
|
|
52518
|
+
active: String,
|
|
52489
52519
|
color: {
|
|
52490
52520
|
type: [String, Array],
|
|
52491
52521
|
default: '#fff'
|
|
@@ -52520,7 +52550,6 @@ var menu_list_component = normalizeComponent(
|
|
|
52520
52550
|
return {
|
|
52521
52551
|
fold: false,
|
|
52522
52552
|
width: this.size,
|
|
52523
|
-
active: '',
|
|
52524
52553
|
subMenus: []
|
|
52525
52554
|
};
|
|
52526
52555
|
},
|
|
@@ -52575,11 +52604,11 @@ var menu_list_component = normalizeComponent(
|
|
|
52575
52604
|
|
|
52576
52605
|
var sub_menu_component = normalizeComponent(
|
|
52577
52606
|
simplicity_sub_menuvue_type_script_lang_js_,
|
|
52578
|
-
|
|
52579
|
-
|
|
52607
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_render,
|
|
52608
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns,
|
|
52580
52609
|
false,
|
|
52581
52610
|
null,
|
|
52582
|
-
"
|
|
52611
|
+
"427b4bf6",
|
|
52583
52612
|
null
|
|
52584
52613
|
|
|
52585
52614
|
)
|
|
@@ -55485,6 +55514,7 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
55485
55514
|
//
|
|
55486
55515
|
//
|
|
55487
55516
|
//
|
|
55517
|
+
//
|
|
55488
55518
|
|
|
55489
55519
|
|
|
55490
55520
|
|
|
@@ -55662,6 +55692,8 @@ var events = [function (tabs, index, that) {
|
|
|
55662
55692
|
subMenus: null,
|
|
55663
55693
|
//展示菜单导航
|
|
55664
55694
|
showMenu: false,
|
|
55695
|
+
//子菜单选中
|
|
55696
|
+
subActive: '',
|
|
55665
55697
|
//折叠菜单
|
|
55666
55698
|
fold: false,
|
|
55667
55699
|
//人工智能配置
|
|
@@ -56031,49 +56063,63 @@ var events = [function (tabs, index, that) {
|
|
|
56031
56063
|
var tab = _this2.setIframeType(obj);
|
|
56032
56064
|
_this2.tabs = [tab];
|
|
56033
56065
|
_this2.activeName = tab.id;
|
|
56034
|
-
// if (tab.method == 'router') {
|
|
56035
|
-
// let params = util.getParams({ url: tab.url });
|
|
56036
|
-
// this.$router.push({
|
|
56037
|
-
// path: tab.path,
|
|
56038
|
-
// query: { ...this.$parent.params, ...params }
|
|
56039
|
-
// });
|
|
56040
|
-
// }
|
|
56041
56066
|
}
|
|
56042
56067
|
}
|
|
56043
56068
|
}
|
|
56044
|
-
|
|
56045
|
-
|
|
56046
|
-
if (
|
|
56047
|
-
// this.subMenus = subMenus;
|
|
56048
|
-
// this.showMenu = true;
|
|
56069
|
+
var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
|
|
56070
|
+
if (subMenus) {
|
|
56071
|
+
if (_this2.tabs.length == 0) {
|
|
56049
56072
|
var _obj = _this2.getFirst(subMenus);
|
|
56050
56073
|
if (_obj) {
|
|
56074
|
+
_this2.subActive = _obj.id;
|
|
56051
56075
|
var _tab = _this2.setIframeType(_obj);
|
|
56052
56076
|
_this2.tabs = [_tab];
|
|
56053
56077
|
_this2.activeName = _tab.id;
|
|
56054
|
-
|
|
56055
|
-
|
|
56078
|
+
} else {
|
|
56079
|
+
_this2.subActive = '';
|
|
56080
|
+
}
|
|
56081
|
+
}
|
|
56082
|
+
_this2.subMenus = subMenus;
|
|
56083
|
+
_this2.showMenu = true;
|
|
56084
|
+
} else {
|
|
56085
|
+
_this2.subMenus = null;
|
|
56086
|
+
_this2.showMenu = false;
|
|
56087
|
+
}
|
|
56088
|
+
} else {
|
|
56089
|
+
if (_this2.indexUrl) {
|
|
56090
|
+
var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
|
|
56091
|
+
if (_obj2) {
|
|
56092
|
+
if (!_this2.appCode) {
|
|
56093
|
+
var _tab2 = _this2.setIframeType(_obj2);
|
|
56094
|
+
_this2.tabs = [_tab2];
|
|
56095
|
+
_this2.activeName = _tab2.id;
|
|
56096
|
+
}
|
|
56097
|
+
_this2.homePage = _obj2;
|
|
56098
|
+
} else {
|
|
56099
|
+
_this2.homePage = _this2.setIframeType({
|
|
56100
|
+
url: _this2.indexUrl,
|
|
56101
|
+
text: '工作台',
|
|
56102
|
+
id: '0',
|
|
56103
|
+
appCode: 'indexUrl'
|
|
56104
|
+
});
|
|
56105
|
+
if (!_this2.appCode) {
|
|
56106
|
+
_this2.tabs = [_this2.homePage];
|
|
56107
|
+
_this2.activeName = '0';
|
|
56108
|
+
// if (this.homePage.method == 'router') {
|
|
56109
|
+
// let params = util.getParams({ url: this.homePage.url });
|
|
56056
56110
|
// this.$router.push({
|
|
56057
|
-
// path:
|
|
56111
|
+
// path: this.homePage.path,
|
|
56058
56112
|
// query: { ...this.$parent.params, ...params }
|
|
56059
56113
|
// });
|
|
56060
56114
|
// }
|
|
56061
56115
|
}
|
|
56062
|
-
} else {
|
|
56063
|
-
_this2.subMenus = null;
|
|
56064
|
-
_this2.showMenu = false;
|
|
56065
56116
|
}
|
|
56066
|
-
}
|
|
56067
|
-
|
|
56068
|
-
|
|
56069
|
-
|
|
56070
|
-
|
|
56071
|
-
|
|
56072
|
-
if (_obj2) {
|
|
56073
|
-
if (!_this2.appCode) {
|
|
56074
|
-
var _tab2 = _this2.setIframeType(_obj2);
|
|
56075
|
-
_this2.tabs = [_tab2];
|
|
56076
|
-
_this2.activeName = _tab2.id;
|
|
56117
|
+
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
56118
|
+
var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
56119
|
+
if (_obj3) {
|
|
56120
|
+
var _tab3 = _this2.setIframeType(_obj3);
|
|
56121
|
+
_this2.tabs.push(_tab3);
|
|
56122
|
+
_this2.activeName = _tab3.id;
|
|
56077
56123
|
// if (tab.method == 'router') {
|
|
56078
56124
|
// let params = util.getParams({ url: tab.url });
|
|
56079
56125
|
// this.$router.push({
|
|
@@ -56082,39 +56128,6 @@ var events = [function (tabs, index, that) {
|
|
|
56082
56128
|
// });
|
|
56083
56129
|
// }
|
|
56084
56130
|
}
|
|
56085
|
-
_this2.homePage = _obj2;
|
|
56086
|
-
} else {
|
|
56087
|
-
_this2.homePage = _this2.setIframeType({
|
|
56088
|
-
url: _this2.indexUrl,
|
|
56089
|
-
text: '工作台',
|
|
56090
|
-
id: '0',
|
|
56091
|
-
appCode: 'indexUrl'
|
|
56092
|
-
});
|
|
56093
|
-
if (!_this2.appCode) {
|
|
56094
|
-
_this2.tabs = [_this2.homePage];
|
|
56095
|
-
_this2.activeName = '0';
|
|
56096
|
-
// if (this.homePage.method == 'router') {
|
|
56097
|
-
// let params = util.getParams({ url: this.homePage.url });
|
|
56098
|
-
// this.$router.push({
|
|
56099
|
-
// path: this.homePage.path,
|
|
56100
|
-
// query: { ...this.$parent.params, ...params }
|
|
56101
|
-
// });
|
|
56102
|
-
// }
|
|
56103
|
-
}
|
|
56104
|
-
}
|
|
56105
|
-
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
56106
|
-
var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
56107
|
-
if (_obj3) {
|
|
56108
|
-
var _tab3 = _this2.setIframeType(_obj3);
|
|
56109
|
-
_this2.tabs.push(_tab3);
|
|
56110
|
-
_this2.activeName = _tab3.id;
|
|
56111
|
-
// if (tab.method == 'router') {
|
|
56112
|
-
// let params = util.getParams({ url: tab.url });
|
|
56113
|
-
// this.$router.push({
|
|
56114
|
-
// path: tab.path,
|
|
56115
|
-
// query: { ...this.$parent.params, ...params }
|
|
56116
|
-
// });
|
|
56117
|
-
// }
|
|
56118
56131
|
}
|
|
56119
56132
|
}
|
|
56120
56133
|
} else {
|
|
@@ -56268,8 +56281,9 @@ var events = [function (tabs, index, that) {
|
|
|
56268
56281
|
return flag;
|
|
56269
56282
|
}
|
|
56270
56283
|
} else {
|
|
56271
|
-
|
|
56272
|
-
|
|
56284
|
+
var num = this.menuTips[obj.id] || this.menuTips[obj.code];
|
|
56285
|
+
if (num && Number(num)) {
|
|
56286
|
+
this.$set(obj, 'tips', Number(num));
|
|
56273
56287
|
return this.menuTips[obj.id];
|
|
56274
56288
|
}
|
|
56275
56289
|
}
|
|
@@ -56468,7 +56482,14 @@ var events = [function (tabs, index, that) {
|
|
|
56468
56482
|
* @date 2024年9月7日
|
|
56469
56483
|
**/
|
|
56470
56484
|
handleRefresh: function handleRefresh() {
|
|
56471
|
-
this.
|
|
56485
|
+
var tab = this.tabs[this.activeName];
|
|
56486
|
+
if (tab.method === 'iframe') {
|
|
56487
|
+
tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
|
|
56488
|
+
}
|
|
56489
|
+
tab.refresh = false;
|
|
56490
|
+
this.$nextTick(function () {
|
|
56491
|
+
tab.refresh = true;
|
|
56492
|
+
});
|
|
56472
56493
|
},
|
|
56473
56494
|
|
|
56474
56495
|
/**
|
|
@@ -56866,18 +56887,18 @@ var events = [function (tabs, index, that) {
|
|
|
56866
56887
|
|
|
56867
56888
|
var simplicity_component = normalizeComponent(
|
|
56868
56889
|
src_simplicityvue_type_script_lang_js_,
|
|
56869
|
-
|
|
56870
|
-
|
|
56890
|
+
simplicityvue_type_template_id_4a717394_scoped_true_render,
|
|
56891
|
+
simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns,
|
|
56871
56892
|
false,
|
|
56872
56893
|
null,
|
|
56873
|
-
"
|
|
56894
|
+
"4a717394",
|
|
56874
56895
|
null
|
|
56875
56896
|
|
|
56876
56897
|
)
|
|
56877
56898
|
|
|
56878
56899
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
56879
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=
|
|
56880
|
-
var
|
|
56900
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
|
|
56901
|
+
var defaultvue_type_template_id_4cc95bd1_render = function () {
|
|
56881
56902
|
var _vm = this
|
|
56882
56903
|
var _h = _vm.$createElement
|
|
56883
56904
|
var _c = _vm._self._c || _h
|
|
@@ -57257,11 +57278,11 @@ var defaultvue_type_template_id_1606367c_render = function () {
|
|
|
57257
57278
|
1
|
|
57258
57279
|
)
|
|
57259
57280
|
}
|
|
57260
|
-
var
|
|
57261
|
-
|
|
57281
|
+
var defaultvue_type_template_id_4cc95bd1_staticRenderFns = []
|
|
57282
|
+
defaultvue_type_template_id_4cc95bd1_render._withStripped = true
|
|
57262
57283
|
|
|
57263
57284
|
|
|
57264
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
57285
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
|
|
57265
57286
|
|
|
57266
57287
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=bd3da0e0&
|
|
57267
57288
|
var userinfovue_type_template_id_bd3da0e0_render = function () {
|
|
@@ -59178,7 +59199,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
|
|
|
59178
59199
|
var log = utils_util["a" /* default */].getParams('console');
|
|
59179
59200
|
var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
|
|
59180
59201
|
/* harmony default export */ var defaultvue_type_script_lang_js_ = ({
|
|
59181
|
-
name: '
|
|
59202
|
+
name: 'MainDefault',
|
|
59182
59203
|
inheritAttrs: false,
|
|
59183
59204
|
provide: function provide() {
|
|
59184
59205
|
return {
|
|
@@ -60986,8 +61007,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
60986
61007
|
|
|
60987
61008
|
var default_component = normalizeComponent(
|
|
60988
61009
|
src_defaultvue_type_script_lang_js_,
|
|
60989
|
-
|
|
60990
|
-
|
|
61010
|
+
defaultvue_type_template_id_4cc95bd1_render,
|
|
61011
|
+
defaultvue_type_template_id_4cc95bd1_staticRenderFns,
|
|
60991
61012
|
false,
|
|
60992
61013
|
null,
|
|
60993
61014
|
null,
|
|
@@ -61009,6 +61030,11 @@ var default_component = normalizeComponent(
|
|
|
61009
61030
|
//
|
|
61010
61031
|
//
|
|
61011
61032
|
//
|
|
61033
|
+
//
|
|
61034
|
+
//
|
|
61035
|
+
//
|
|
61036
|
+
//
|
|
61037
|
+
//
|
|
61012
61038
|
|
|
61013
61039
|
|
|
61014
61040
|
|
|
@@ -61024,7 +61050,7 @@ var default_component = normalizeComponent(
|
|
|
61024
61050
|
|
|
61025
61051
|
components: {
|
|
61026
61052
|
Simplicity: simplicity,
|
|
61027
|
-
|
|
61053
|
+
MainDefault: src_default
|
|
61028
61054
|
},
|
|
61029
61055
|
props: {
|
|
61030
61056
|
type: String
|
|
@@ -61078,8 +61104,8 @@ var default_component = normalizeComponent(
|
|
|
61078
61104
|
|
|
61079
61105
|
var main_src_main_component = normalizeComponent(
|
|
61080
61106
|
packages_main_src_mainvue_type_script_lang_js_,
|
|
61081
|
-
|
|
61082
|
-
|
|
61107
|
+
mainvue_type_template_id_6aa3a502_render,
|
|
61108
|
+
mainvue_type_template_id_6aa3a502_staticRenderFns,
|
|
61083
61109
|
false,
|
|
61084
61110
|
null,
|
|
61085
61111
|
null,
|
|
@@ -81318,7 +81344,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
81318
81344
|
}
|
|
81319
81345
|
|
|
81320
81346
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
81321
|
-
version: '0.5.81-
|
|
81347
|
+
version: '0.5.81-beta6',
|
|
81322
81348
|
install: install,
|
|
81323
81349
|
Button: packages_button,
|
|
81324
81350
|
ButtonGroup: button_group,
|