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/main.js
CHANGED
|
@@ -3932,7 +3932,7 @@ window.__store = store;
|
|
|
3932
3932
|
// ESM COMPAT FLAG
|
|
3933
3933
|
__webpack_require__.r(__webpack_exports__);
|
|
3934
3934
|
|
|
3935
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=
|
|
3935
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
|
|
3936
3936
|
var render = function () {
|
|
3937
3937
|
var _vm = this
|
|
3938
3938
|
var _h = _vm.$createElement
|
|
@@ -3955,9 +3955,9 @@ var render = function () {
|
|
|
3955
3955
|
)
|
|
3956
3956
|
)
|
|
3957
3957
|
: _c(
|
|
3958
|
-
"main",
|
|
3958
|
+
"main-default",
|
|
3959
3959
|
_vm._g(
|
|
3960
|
-
_vm._b({ ref: "main" }, "main", _vm.$attrs, false),
|
|
3960
|
+
_vm._b({ ref: "main" }, "main-default", _vm.$attrs, false),
|
|
3961
3961
|
_vm.$listeners
|
|
3962
3962
|
)
|
|
3963
3963
|
),
|
|
@@ -3969,10 +3969,10 @@ var staticRenderFns = []
|
|
|
3969
3969
|
render._withStripped = true
|
|
3970
3970
|
|
|
3971
3971
|
|
|
3972
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
3972
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
|
|
3973
3973
|
|
|
3974
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
3975
|
-
var
|
|
3974
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=4a717394&scoped=true&
|
|
3975
|
+
var simplicityvue_type_template_id_4a717394_scoped_true_render = function () {
|
|
3976
3976
|
var _vm = this
|
|
3977
3977
|
var _h = _vm.$createElement
|
|
3978
3978
|
var _c = _vm._self._c || _h
|
|
@@ -4166,6 +4166,7 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
|
|
|
4166
4166
|
color: _vm.menuColor,
|
|
4167
4167
|
backgroundColor: _vm.menuBackgroundColor,
|
|
4168
4168
|
"menu-icon": _vm.menuIcon,
|
|
4169
|
+
active: _vm.subActive,
|
|
4169
4170
|
},
|
|
4170
4171
|
on: {
|
|
4171
4172
|
"update:visible": function ($event) {
|
|
@@ -4514,11 +4515,11 @@ var simplicityvue_type_template_id_672540fb_scoped_true_render = function () {
|
|
|
4514
4515
|
),
|
|
4515
4516
|
])
|
|
4516
4517
|
}
|
|
4517
|
-
var
|
|
4518
|
-
|
|
4518
|
+
var simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns = []
|
|
4519
|
+
simplicityvue_type_template_id_4a717394_scoped_true_render._withStripped = true
|
|
4519
4520
|
|
|
4520
4521
|
|
|
4521
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
4522
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=4a717394&scoped=true&
|
|
4522
4523
|
|
|
4523
4524
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=2597c13a&scoped=true&
|
|
4524
4525
|
var avatarvue_type_template_id_2597c13a_scoped_true_render = function () {
|
|
@@ -4939,8 +4940,8 @@ var handler_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4939
4940
|
)
|
|
4940
4941
|
|
|
4941
4942
|
/* harmony default export */ var simplicity_handler = (handler_component.exports);
|
|
4942
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
4943
|
-
var
|
|
4943
|
+
// 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&
|
|
4944
|
+
var sub_menuvue_type_template_id_427b4bf6_scoped_true_render = function () {
|
|
4944
4945
|
var _vm = this
|
|
4945
4946
|
var _h = _vm.$createElement
|
|
4946
4947
|
var _c = _vm._self._c || _h
|
|
@@ -5020,6 +5021,7 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
|
|
|
5020
5021
|
_c("menu-list", {
|
|
5021
5022
|
ref: "menus",
|
|
5022
5023
|
attrs: {
|
|
5024
|
+
active: _vm.active,
|
|
5023
5025
|
data: _vm.menus,
|
|
5024
5026
|
menuIcon: _vm.menuIcon,
|
|
5025
5027
|
color: _vm.color,
|
|
@@ -5036,20 +5038,20 @@ var sub_menuvue_type_template_id_e591bf96_scoped_true_render = function () {
|
|
|
5036
5038
|
]
|
|
5037
5039
|
)
|
|
5038
5040
|
}
|
|
5039
|
-
var
|
|
5040
|
-
|
|
5041
|
+
var sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns = []
|
|
5042
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_render._withStripped = true
|
|
5041
5043
|
|
|
5042
5044
|
|
|
5043
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
5045
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=427b4bf6&scoped=true&
|
|
5044
5046
|
|
|
5045
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=
|
|
5046
|
-
var
|
|
5047
|
+
// 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&
|
|
5048
|
+
var menu_listvue_type_template_id_6e16cc62_scoped_true_render = function () {
|
|
5047
5049
|
var _vm = this
|
|
5048
5050
|
var _h = _vm.$createElement
|
|
5049
5051
|
var _c = _vm._self._c || _h
|
|
5050
5052
|
return _c(
|
|
5051
5053
|
"el-scrollbar",
|
|
5052
|
-
{ class: { "is-fold": _vm.fold } },
|
|
5054
|
+
{ ref: "scrollbar", class: { "is-fold": _vm.fold } },
|
|
5053
5055
|
[
|
|
5054
5056
|
_vm._l(_vm.data, function (item, index) {
|
|
5055
5057
|
return [
|
|
@@ -5058,18 +5060,29 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
5058
5060
|
? _c(
|
|
5059
5061
|
"el-popover",
|
|
5060
5062
|
{
|
|
5063
|
+
key: item.id,
|
|
5061
5064
|
attrs: {
|
|
5062
5065
|
placement: "right",
|
|
5063
5066
|
trigger: "hover",
|
|
5064
5067
|
"popper-class": "es-simplicity-menus-sub",
|
|
5065
5068
|
width: _vm.width,
|
|
5066
5069
|
},
|
|
5070
|
+
on: {
|
|
5071
|
+
show: function ($event) {
|
|
5072
|
+
_vm.show = true
|
|
5073
|
+
},
|
|
5074
|
+
hide: function ($event) {
|
|
5075
|
+
_vm.show = false
|
|
5076
|
+
},
|
|
5077
|
+
},
|
|
5067
5078
|
},
|
|
5068
5079
|
[
|
|
5069
5080
|
_c("menu-list", {
|
|
5070
5081
|
ref: "menus",
|
|
5071
5082
|
refInFor: true,
|
|
5072
5083
|
attrs: {
|
|
5084
|
+
active: _vm.active,
|
|
5085
|
+
popover: _vm.show,
|
|
5073
5086
|
data: (item.children || []).concat(item.fourthTabs || []),
|
|
5074
5087
|
menuIcon: _vm.menuIcon,
|
|
5075
5088
|
color: _vm.color,
|
|
@@ -5084,7 +5097,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
5084
5097
|
key: item.id,
|
|
5085
5098
|
staticClass: "es-simplicity-menus-item",
|
|
5086
5099
|
class: {
|
|
5087
|
-
"is-active": _vm.
|
|
5100
|
+
"is-active": _vm.defaultActive === item.id,
|
|
5088
5101
|
"is-fold": _vm.fold,
|
|
5089
5102
|
},
|
|
5090
5103
|
attrs: {
|
|
@@ -5170,7 +5183,7 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
5170
5183
|
key: item.id,
|
|
5171
5184
|
staticClass: "es-simplicity-menus-item",
|
|
5172
5185
|
class: {
|
|
5173
|
-
"is-active": _vm.
|
|
5186
|
+
"is-active": _vm.defaultActive === item.id,
|
|
5174
5187
|
"is-fold": _vm.fold,
|
|
5175
5188
|
},
|
|
5176
5189
|
attrs: { title: _vm.fold ? item.text || item.name : "" },
|
|
@@ -5251,11 +5264,11 @@ var menu_listvue_type_template_id_118643de_scoped_true_render = function () {
|
|
|
5251
5264
|
2
|
|
5252
5265
|
)
|
|
5253
5266
|
}
|
|
5254
|
-
var
|
|
5255
|
-
|
|
5267
|
+
var menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns = []
|
|
5268
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_render._withStripped = true
|
|
5256
5269
|
|
|
5257
5270
|
|
|
5258
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=
|
|
5271
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=6e16cc62&scoped=true&
|
|
5259
5272
|
|
|
5260
5273
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=script&lang=js&
|
|
5261
5274
|
//
|
|
@@ -5346,26 +5359,44 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
5346
5359
|
//
|
|
5347
5360
|
//
|
|
5348
5361
|
//
|
|
5362
|
+
//
|
|
5363
|
+
//
|
|
5364
|
+
//
|
|
5365
|
+
//
|
|
5366
|
+
//
|
|
5349
5367
|
|
|
5350
5368
|
/* harmony default export */ var menu_listvue_type_script_lang_js_ = ({
|
|
5351
5369
|
name: 'MenuList',
|
|
5352
5370
|
components: {},
|
|
5353
5371
|
props: {
|
|
5372
|
+
active: String,
|
|
5354
5373
|
menuIcon: String,
|
|
5355
5374
|
color: [String, Array],
|
|
5356
5375
|
backgroundColor: [String, Array],
|
|
5357
5376
|
data: Array,
|
|
5358
5377
|
fold: Boolean,
|
|
5359
|
-
width: Number
|
|
5378
|
+
width: Number,
|
|
5379
|
+
popover: Boolean
|
|
5360
5380
|
},
|
|
5361
5381
|
data: function data() {
|
|
5362
5382
|
return {
|
|
5363
|
-
|
|
5383
|
+
defaultActive: this.active,
|
|
5384
|
+
show: false,
|
|
5385
|
+
height: document.body.offsetHeight - 44
|
|
5364
5386
|
};
|
|
5365
5387
|
},
|
|
5366
5388
|
|
|
5367
5389
|
computed: {},
|
|
5368
|
-
watch: {
|
|
5390
|
+
watch: {
|
|
5391
|
+
popover: function popover() {
|
|
5392
|
+
if (this.$el.offsetHeight > this.height) {
|
|
5393
|
+
this.$el.style.height = this.height + 'px';
|
|
5394
|
+
this.$refs.scrollbar.update();
|
|
5395
|
+
} else {
|
|
5396
|
+
this.$el.style.height = '';
|
|
5397
|
+
}
|
|
5398
|
+
}
|
|
5399
|
+
},
|
|
5369
5400
|
created: function created() {},
|
|
5370
5401
|
mounted: function mounted() {},
|
|
5371
5402
|
|
|
@@ -5390,7 +5421,7 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
5390
5421
|
return obj;
|
|
5391
5422
|
},
|
|
5392
5423
|
handleClick: function handleClick(res) {
|
|
5393
|
-
this.
|
|
5424
|
+
this.defaultActive = res.id;
|
|
5394
5425
|
if (res.url) {
|
|
5395
5426
|
if (res.urlopenmode == 1) {
|
|
5396
5427
|
util.win.open(res.url);
|
|
@@ -5401,9 +5432,6 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
5401
5432
|
}
|
|
5402
5433
|
}
|
|
5403
5434
|
this.$emit('command', res);
|
|
5404
|
-
},
|
|
5405
|
-
clearActive: function clearActive() {
|
|
5406
|
-
this.active = '';
|
|
5407
5435
|
}
|
|
5408
5436
|
}
|
|
5409
5437
|
});
|
|
@@ -5419,11 +5447,11 @@ menu_listvue_type_template_id_118643de_scoped_true_render._withStripped = true
|
|
|
5419
5447
|
|
|
5420
5448
|
var menu_list_component = Object(componentNormalizer["a" /* default */])(
|
|
5421
5449
|
simplicity_menu_listvue_type_script_lang_js_,
|
|
5422
|
-
|
|
5423
|
-
|
|
5450
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_render,
|
|
5451
|
+
menu_listvue_type_template_id_6e16cc62_scoped_true_staticRenderFns,
|
|
5424
5452
|
false,
|
|
5425
5453
|
null,
|
|
5426
|
-
"
|
|
5454
|
+
"6e16cc62",
|
|
5427
5455
|
null
|
|
5428
5456
|
|
|
5429
5457
|
)
|
|
@@ -5475,6 +5503,7 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5475
5503
|
//
|
|
5476
5504
|
//
|
|
5477
5505
|
//
|
|
5506
|
+
//
|
|
5478
5507
|
|
|
5479
5508
|
|
|
5480
5509
|
/* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
|
|
@@ -5482,6 +5511,7 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5482
5511
|
components: { MenuList: menu_list },
|
|
5483
5512
|
props: {
|
|
5484
5513
|
title: String,
|
|
5514
|
+
active: String,
|
|
5485
5515
|
color: {
|
|
5486
5516
|
type: [String, Array],
|
|
5487
5517
|
default: '#fff'
|
|
@@ -5516,7 +5546,6 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5516
5546
|
return {
|
|
5517
5547
|
fold: false,
|
|
5518
5548
|
width: this.size,
|
|
5519
|
-
active: '',
|
|
5520
5549
|
subMenus: []
|
|
5521
5550
|
};
|
|
5522
5551
|
},
|
|
@@ -5571,11 +5600,11 @@ var menu_list_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5571
5600
|
|
|
5572
5601
|
var sub_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
5573
5602
|
simplicity_sub_menuvue_type_script_lang_js_,
|
|
5574
|
-
|
|
5575
|
-
|
|
5603
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_render,
|
|
5604
|
+
sub_menuvue_type_template_id_427b4bf6_scoped_true_staticRenderFns,
|
|
5576
5605
|
false,
|
|
5577
5606
|
null,
|
|
5578
|
-
"
|
|
5607
|
+
"427b4bf6",
|
|
5579
5608
|
null
|
|
5580
5609
|
|
|
5581
5610
|
)
|
|
@@ -8487,6 +8516,7 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
8487
8516
|
//
|
|
8488
8517
|
//
|
|
8489
8518
|
//
|
|
8519
|
+
//
|
|
8490
8520
|
|
|
8491
8521
|
|
|
8492
8522
|
|
|
@@ -8664,6 +8694,8 @@ var events = [function (tabs, index, that) {
|
|
|
8664
8694
|
subMenus: null,
|
|
8665
8695
|
//展示菜单导航
|
|
8666
8696
|
showMenu: false,
|
|
8697
|
+
//子菜单选中
|
|
8698
|
+
subActive: '',
|
|
8667
8699
|
//折叠菜单
|
|
8668
8700
|
fold: false,
|
|
8669
8701
|
//人工智能配置
|
|
@@ -9033,49 +9065,63 @@ var events = [function (tabs, index, that) {
|
|
|
9033
9065
|
var tab = _this2.setIframeType(obj);
|
|
9034
9066
|
_this2.tabs = [tab];
|
|
9035
9067
|
_this2.activeName = tab.id;
|
|
9036
|
-
// if (tab.method == 'router') {
|
|
9037
|
-
// let params = util.getParams({ url: tab.url });
|
|
9038
|
-
// this.$router.push({
|
|
9039
|
-
// path: tab.path,
|
|
9040
|
-
// query: { ...this.$parent.params, ...params }
|
|
9041
|
-
// });
|
|
9042
|
-
// }
|
|
9043
9068
|
}
|
|
9044
9069
|
}
|
|
9045
9070
|
}
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
if (
|
|
9049
|
-
// this.subMenus = subMenus;
|
|
9050
|
-
// this.showMenu = true;
|
|
9071
|
+
var subMenus = _this2.getMenu(_this2.menus, _this2.appCode, 'appCode');
|
|
9072
|
+
if (subMenus) {
|
|
9073
|
+
if (_this2.tabs.length == 0) {
|
|
9051
9074
|
var _obj = _this2.getFirst(subMenus);
|
|
9052
9075
|
if (_obj) {
|
|
9076
|
+
_this2.subActive = _obj.id;
|
|
9053
9077
|
var _tab = _this2.setIframeType(_obj);
|
|
9054
9078
|
_this2.tabs = [_tab];
|
|
9055
9079
|
_this2.activeName = _tab.id;
|
|
9056
|
-
|
|
9057
|
-
|
|
9080
|
+
} else {
|
|
9081
|
+
_this2.subActive = '';
|
|
9082
|
+
}
|
|
9083
|
+
}
|
|
9084
|
+
_this2.subMenus = subMenus;
|
|
9085
|
+
_this2.showMenu = true;
|
|
9086
|
+
} else {
|
|
9087
|
+
_this2.subMenus = null;
|
|
9088
|
+
_this2.showMenu = false;
|
|
9089
|
+
}
|
|
9090
|
+
} else {
|
|
9091
|
+
if (_this2.indexUrl) {
|
|
9092
|
+
var _obj2 = _this2.getMenu(_this2.menus, _this2.indexUrl);
|
|
9093
|
+
if (_obj2) {
|
|
9094
|
+
if (!_this2.appCode) {
|
|
9095
|
+
var _tab2 = _this2.setIframeType(_obj2);
|
|
9096
|
+
_this2.tabs = [_tab2];
|
|
9097
|
+
_this2.activeName = _tab2.id;
|
|
9098
|
+
}
|
|
9099
|
+
_this2.homePage = _obj2;
|
|
9100
|
+
} else {
|
|
9101
|
+
_this2.homePage = _this2.setIframeType({
|
|
9102
|
+
url: _this2.indexUrl,
|
|
9103
|
+
text: '工作台',
|
|
9104
|
+
id: '0',
|
|
9105
|
+
appCode: 'indexUrl'
|
|
9106
|
+
});
|
|
9107
|
+
if (!_this2.appCode) {
|
|
9108
|
+
_this2.tabs = [_this2.homePage];
|
|
9109
|
+
_this2.activeName = '0';
|
|
9110
|
+
// if (this.homePage.method == 'router') {
|
|
9111
|
+
// let params = util.getParams({ url: this.homePage.url });
|
|
9058
9112
|
// this.$router.push({
|
|
9059
|
-
// path:
|
|
9113
|
+
// path: this.homePage.path,
|
|
9060
9114
|
// query: { ...this.$parent.params, ...params }
|
|
9061
9115
|
// });
|
|
9062
9116
|
// }
|
|
9063
9117
|
}
|
|
9064
|
-
} else {
|
|
9065
|
-
_this2.subMenus = null;
|
|
9066
|
-
_this2.showMenu = false;
|
|
9067
9118
|
}
|
|
9068
|
-
}
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
if (_obj2) {
|
|
9075
|
-
if (!_this2.appCode) {
|
|
9076
|
-
var _tab2 = _this2.setIframeType(_obj2);
|
|
9077
|
-
_this2.tabs = [_tab2];
|
|
9078
|
-
_this2.activeName = _tab2.id;
|
|
9119
|
+
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
9120
|
+
var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
9121
|
+
if (_obj3) {
|
|
9122
|
+
var _tab3 = _this2.setIframeType(_obj3);
|
|
9123
|
+
_this2.tabs.push(_tab3);
|
|
9124
|
+
_this2.activeName = _tab3.id;
|
|
9079
9125
|
// if (tab.method == 'router') {
|
|
9080
9126
|
// let params = util.getParams({ url: tab.url });
|
|
9081
9127
|
// this.$router.push({
|
|
@@ -9084,39 +9130,6 @@ var events = [function (tabs, index, that) {
|
|
|
9084
9130
|
// });
|
|
9085
9131
|
// }
|
|
9086
9132
|
}
|
|
9087
|
-
_this2.homePage = _obj2;
|
|
9088
|
-
} else {
|
|
9089
|
-
_this2.homePage = _this2.setIframeType({
|
|
9090
|
-
url: _this2.indexUrl,
|
|
9091
|
-
text: '工作台',
|
|
9092
|
-
id: '0',
|
|
9093
|
-
appCode: 'indexUrl'
|
|
9094
|
-
});
|
|
9095
|
-
if (!_this2.appCode) {
|
|
9096
|
-
_this2.tabs = [_this2.homePage];
|
|
9097
|
-
_this2.activeName = '0';
|
|
9098
|
-
// if (this.homePage.method == 'router') {
|
|
9099
|
-
// let params = util.getParams({ url: this.homePage.url });
|
|
9100
|
-
// this.$router.push({
|
|
9101
|
-
// path: this.homePage.path,
|
|
9102
|
-
// query: { ...this.$parent.params, ...params }
|
|
9103
|
-
// });
|
|
9104
|
-
// }
|
|
9105
|
-
}
|
|
9106
|
-
}
|
|
9107
|
-
} else if (_this2.initApps && _this2.initApps.length && !_this2.appCode) {
|
|
9108
|
-
var _obj3 = _this2.getMenu(_this2.menus, _this2.initApps[_this2.initApps.length - 1]);
|
|
9109
|
-
if (_obj3) {
|
|
9110
|
-
var _tab3 = _this2.setIframeType(_obj3);
|
|
9111
|
-
_this2.tabs.push(_tab3);
|
|
9112
|
-
_this2.activeName = _tab3.id;
|
|
9113
|
-
// if (tab.method == 'router') {
|
|
9114
|
-
// let params = util.getParams({ url: tab.url });
|
|
9115
|
-
// this.$router.push({
|
|
9116
|
-
// path: tab.path,
|
|
9117
|
-
// query: { ...this.$parent.params, ...params }
|
|
9118
|
-
// });
|
|
9119
|
-
// }
|
|
9120
9133
|
}
|
|
9121
9134
|
}
|
|
9122
9135
|
} else {
|
|
@@ -9270,8 +9283,9 @@ var events = [function (tabs, index, that) {
|
|
|
9270
9283
|
return flag;
|
|
9271
9284
|
}
|
|
9272
9285
|
} else {
|
|
9273
|
-
|
|
9274
|
-
|
|
9286
|
+
var num = this.menuTips[obj.id] || this.menuTips[obj.code];
|
|
9287
|
+
if (num && Number(num)) {
|
|
9288
|
+
this.$set(obj, 'tips', Number(num));
|
|
9275
9289
|
return this.menuTips[obj.id];
|
|
9276
9290
|
}
|
|
9277
9291
|
}
|
|
@@ -9470,7 +9484,14 @@ var events = [function (tabs, index, that) {
|
|
|
9470
9484
|
* @date 2024年9月7日
|
|
9471
9485
|
**/
|
|
9472
9486
|
handleRefresh: function handleRefresh() {
|
|
9473
|
-
this.
|
|
9487
|
+
var tab = this.tabs[this.activeName];
|
|
9488
|
+
if (tab.method === 'iframe') {
|
|
9489
|
+
tab.url = utils_util["a" /* default */].handlerUrl(tab.url);
|
|
9490
|
+
}
|
|
9491
|
+
tab.refresh = false;
|
|
9492
|
+
this.$nextTick(function () {
|
|
9493
|
+
tab.refresh = true;
|
|
9494
|
+
});
|
|
9474
9495
|
},
|
|
9475
9496
|
|
|
9476
9497
|
/**
|
|
@@ -9868,18 +9889,18 @@ var events = [function (tabs, index, that) {
|
|
|
9868
9889
|
|
|
9869
9890
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
9870
9891
|
src_simplicityvue_type_script_lang_js_,
|
|
9871
|
-
|
|
9872
|
-
|
|
9892
|
+
simplicityvue_type_template_id_4a717394_scoped_true_render,
|
|
9893
|
+
simplicityvue_type_template_id_4a717394_scoped_true_staticRenderFns,
|
|
9873
9894
|
false,
|
|
9874
9895
|
null,
|
|
9875
|
-
"
|
|
9896
|
+
"4a717394",
|
|
9876
9897
|
null
|
|
9877
9898
|
|
|
9878
9899
|
)
|
|
9879
9900
|
|
|
9880
9901
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
9881
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=
|
|
9882
|
-
var
|
|
9902
|
+
// 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&
|
|
9903
|
+
var defaultvue_type_template_id_4cc95bd1_render = function () {
|
|
9883
9904
|
var _vm = this
|
|
9884
9905
|
var _h = _vm.$createElement
|
|
9885
9906
|
var _c = _vm._self._c || _h
|
|
@@ -10259,11 +10280,11 @@ var defaultvue_type_template_id_1606367c_render = function () {
|
|
|
10259
10280
|
1
|
|
10260
10281
|
)
|
|
10261
10282
|
}
|
|
10262
|
-
var
|
|
10263
|
-
|
|
10283
|
+
var defaultvue_type_template_id_4cc95bd1_staticRenderFns = []
|
|
10284
|
+
defaultvue_type_template_id_4cc95bd1_render._withStripped = true
|
|
10264
10285
|
|
|
10265
10286
|
|
|
10266
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
10287
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=4cc95bd1&
|
|
10267
10288
|
|
|
10268
10289
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=bd3da0e0&
|
|
10269
10290
|
var userinfovue_type_template_id_bd3da0e0_render = function () {
|
|
@@ -12180,7 +12201,7 @@ var defaultvue_type_script_lang_js_isIE = navigator.userAgent.indexOf('MSIE') !=
|
|
|
12180
12201
|
var log = utils_util["a" /* default */].getParams('console');
|
|
12181
12202
|
var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["a" /* default */].getParams('appcode');
|
|
12182
12203
|
/* harmony default export */ var defaultvue_type_script_lang_js_ = ({
|
|
12183
|
-
name: '
|
|
12204
|
+
name: 'MainDefault',
|
|
12184
12205
|
inheritAttrs: false,
|
|
12185
12206
|
provide: function provide() {
|
|
12186
12207
|
return {
|
|
@@ -13988,8 +14009,8 @@ var appCode = utils_util["a" /* default */].getParams('appCode') || utils_util["
|
|
|
13988
14009
|
|
|
13989
14010
|
var default_component = Object(componentNormalizer["a" /* default */])(
|
|
13990
14011
|
src_defaultvue_type_script_lang_js_,
|
|
13991
|
-
|
|
13992
|
-
|
|
14012
|
+
defaultvue_type_template_id_4cc95bd1_render,
|
|
14013
|
+
defaultvue_type_template_id_4cc95bd1_staticRenderFns,
|
|
13993
14014
|
false,
|
|
13994
14015
|
null,
|
|
13995
14016
|
null,
|
|
@@ -14011,6 +14032,11 @@ var default_component = Object(componentNormalizer["a" /* default */])(
|
|
|
14011
14032
|
//
|
|
14012
14033
|
//
|
|
14013
14034
|
//
|
|
14035
|
+
//
|
|
14036
|
+
//
|
|
14037
|
+
//
|
|
14038
|
+
//
|
|
14039
|
+
//
|
|
14014
14040
|
|
|
14015
14041
|
|
|
14016
14042
|
|
|
@@ -14026,7 +14052,7 @@ var default_component = Object(componentNormalizer["a" /* default */])(
|
|
|
14026
14052
|
|
|
14027
14053
|
components: {
|
|
14028
14054
|
Simplicity: simplicity,
|
|
14029
|
-
|
|
14055
|
+
MainDefault: src_default
|
|
14030
14056
|
},
|
|
14031
14057
|
props: {
|
|
14032
14058
|
type: String
|