eoss-ui 0.5.78 → 0.5.79
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/clients.js +92 -79
- package/lib/eoss-ui.common.js +138 -114
- package/lib/index.js +1 -1
- package/lib/main.js +35 -24
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/package.json +1 -1
- package/packages/clients/src/main.vue +42 -37
- package/packages/main/src/main.vue +30 -27
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/login.scss +8 -5
- package/src/index.js +1 -1
package/lib/main.js
CHANGED
|
@@ -3938,7 +3938,7 @@ module.exports = require("runtime-import");
|
|
|
3938
3938
|
// ESM COMPAT FLAG
|
|
3939
3939
|
__webpack_require__.r(__webpack_exports__);
|
|
3940
3940
|
|
|
3941
|
-
// 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=
|
|
3941
|
+
// 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=460b1704&
|
|
3942
3942
|
var render = function () {
|
|
3943
3943
|
var _vm = this
|
|
3944
3944
|
var _h = _vm.$createElement
|
|
@@ -4157,7 +4157,9 @@ var render = function () {
|
|
|
4157
4157
|
biserial: _vm.biserial,
|
|
4158
4158
|
title: _vm.showNavTitle ? _vm.title : false,
|
|
4159
4159
|
showCollapse: _vm.showNavTitle
|
|
4160
|
-
? _vm.
|
|
4160
|
+
? _vm.layout == "side"
|
|
4161
|
+
? false
|
|
4162
|
+
: _vm.showCollapse
|
|
4161
4163
|
: false,
|
|
4162
4164
|
"menu-tips": _vm.menuTips,
|
|
4163
4165
|
"is-default": _vm.isDefault,
|
|
@@ -4422,7 +4424,7 @@ var staticRenderFns = []
|
|
|
4422
4424
|
render._withStripped = true
|
|
4423
4425
|
|
|
4424
4426
|
|
|
4425
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
4427
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=460b1704&
|
|
4426
4428
|
|
|
4427
4429
|
// 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=75d533de&
|
|
4428
4430
|
var userinfovue_type_template_id_75d533de_render = function () {
|
|
@@ -6578,6 +6580,8 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
6578
6580
|
//
|
|
6579
6581
|
//
|
|
6580
6582
|
//
|
|
6583
|
+
//
|
|
6584
|
+
//
|
|
6581
6585
|
|
|
6582
6586
|
|
|
6583
6587
|
|
|
@@ -6788,7 +6792,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
6788
6792
|
return this.layout === 'topside' ? this.navBoxWidth : undefined;
|
|
6789
6793
|
},
|
|
6790
6794
|
_navWidth: function _navWidth() {
|
|
6791
|
-
return this.layout === 'side' ? this.navBoxWidth : this.layout === '
|
|
6795
|
+
return this.layout === 'side' ? this.navBoxWidth : this.layout === 'topside' ? '0' : this.navWidth;
|
|
6792
6796
|
},
|
|
6793
6797
|
showNavTitle: function showNavTitle() {
|
|
6794
6798
|
return this.layout !== 'topside';
|
|
@@ -7127,14 +7131,14 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7127
7131
|
var ids = this.getId(this.menus, applicationid);
|
|
7128
7132
|
if (ids) {
|
|
7129
7133
|
this.defaultActive = ids;
|
|
7130
|
-
this.navIds = ids;
|
|
7134
|
+
//this.navIds = ids;
|
|
7131
7135
|
this.setTitle(ids[0]);
|
|
7132
7136
|
}
|
|
7133
7137
|
} else if (sessionStorage.getItem('jump') && this.isHistory) {
|
|
7134
7138
|
var _ids = this.getId(this.menus, sessionStorage.getItem('jump'));
|
|
7135
7139
|
if (_ids) {
|
|
7136
7140
|
this.defaultActive = _ids;
|
|
7137
|
-
this.navIds =
|
|
7141
|
+
//this.navIds = ids;
|
|
7138
7142
|
this.setTitle(_ids[0]);
|
|
7139
7143
|
}
|
|
7140
7144
|
} else if (util["a" /* default */].win.location.hash) {
|
|
@@ -7146,14 +7150,14 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7146
7150
|
var _ids2 = this.getId(this.menus, util["a" /* default */].win.location.hash);
|
|
7147
7151
|
if (_ids2) {
|
|
7148
7152
|
this.defaultActive = _ids2;
|
|
7149
|
-
this.navIds =
|
|
7153
|
+
//this.navIds = ids;
|
|
7150
7154
|
this.setTitle(_ids2[0]);
|
|
7151
7155
|
}
|
|
7152
7156
|
} else if (sessionStorage.getItem('jump') && this.isHistory) {
|
|
7153
7157
|
var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'));
|
|
7154
7158
|
if (_ids3) {
|
|
7155
7159
|
this.defaultActive = _ids3;
|
|
7156
|
-
this.navIds =
|
|
7160
|
+
//this.navIds = ids;
|
|
7157
7161
|
this.setTitle(_ids3[0]);
|
|
7158
7162
|
}
|
|
7159
7163
|
}
|
|
@@ -7516,7 +7520,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7516
7520
|
var _ids4 = this.getId(this.menus, util["a" /* default */].win.location.hash);
|
|
7517
7521
|
if (_ids4) {
|
|
7518
7522
|
this.defaultActive = _ids4;
|
|
7519
|
-
this.navIds =
|
|
7523
|
+
//this.navIds = ids;
|
|
7520
7524
|
this.setTitle(_ids4[0]);
|
|
7521
7525
|
}
|
|
7522
7526
|
}
|
|
@@ -7524,7 +7528,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7524
7528
|
var _ids5 = this.getId(this.menus, sessionStorage.getItem('jump'));
|
|
7525
7529
|
if (_ids5) {
|
|
7526
7530
|
this.defaultActive = _ids5;
|
|
7527
|
-
this.navIds =
|
|
7531
|
+
//this.navIds = ids;
|
|
7528
7532
|
this.setTitle(_ids5[0]);
|
|
7529
7533
|
}
|
|
7530
7534
|
}
|
|
@@ -7819,7 +7823,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7819
7823
|
//this.active = '';
|
|
7820
7824
|
if (this.layout === 'topside') {
|
|
7821
7825
|
if (this.title !== node.text) {
|
|
7822
|
-
this.navIds = [node.id];
|
|
7826
|
+
//this.navIds = [node.id];
|
|
7823
7827
|
this.menu = node.children;
|
|
7824
7828
|
this.active = node.id;
|
|
7825
7829
|
this.title = node.text;
|
|
@@ -7828,18 +7832,21 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7828
7832
|
var subNode = this.getFirst(node);
|
|
7829
7833
|
if (subNode) {
|
|
7830
7834
|
this.active = subNode.id;
|
|
7831
|
-
this.navIds = [
|
|
7835
|
+
// this.navIds = [
|
|
7836
|
+
// node.id,
|
|
7837
|
+
// ...this.getId(node.children, subNode.url)
|
|
7838
|
+
// ];
|
|
7832
7839
|
}
|
|
7833
7840
|
}
|
|
7834
7841
|
} else {
|
|
7835
|
-
this.navIds = this.getId(this.menus, node.url);
|
|
7842
|
+
//this.navIds = this.getId(this.menus, node.url);
|
|
7836
7843
|
this.setTitle(this.navIds[0]);
|
|
7837
7844
|
this.tabsId = fourthTabs ? node.id : '';
|
|
7838
7845
|
}
|
|
7839
7846
|
break;
|
|
7840
7847
|
case 'sys':
|
|
7841
7848
|
if (Number(node.urlopenmode) !== 1) {
|
|
7842
|
-
this.navIds = [node.id];
|
|
7849
|
+
//this.navIds = [node.id];
|
|
7843
7850
|
this.tabs = [];
|
|
7844
7851
|
this.menu = node.children;
|
|
7845
7852
|
if (this.title !== node.text) {
|
|
@@ -7850,7 +7857,10 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7850
7857
|
var _subNode = this.getFirst(node);
|
|
7851
7858
|
if (_subNode) {
|
|
7852
7859
|
this.active = _subNode.id;
|
|
7853
|
-
this.navIds = [
|
|
7860
|
+
// this.navIds = [
|
|
7861
|
+
// node.id,
|
|
7862
|
+
// ...this.getId(node.children, subNode.url)
|
|
7863
|
+
// ];
|
|
7854
7864
|
}
|
|
7855
7865
|
}
|
|
7856
7866
|
this.isSide = true;
|
|
@@ -7858,7 +7868,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7858
7868
|
break;
|
|
7859
7869
|
case 'sub':
|
|
7860
7870
|
this.hideSubMenu = false;
|
|
7861
|
-
this.navIds = [node.id];
|
|
7871
|
+
//this.navIds = [node.id];
|
|
7862
7872
|
if (node.url) {
|
|
7863
7873
|
this.tabs = [];
|
|
7864
7874
|
}
|
|
@@ -7870,7 +7880,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7870
7880
|
var _subNode2 = this.getFirst(node);
|
|
7871
7881
|
this.active = [node.id];
|
|
7872
7882
|
if (_subNode2 && node.id !== _subNode2.id) {
|
|
7873
|
-
this.navIds = this.getId(this.menus,
|
|
7883
|
+
//this.navIds = this.getId(this.menus, subNode.url);
|
|
7874
7884
|
this.$set(this.active, 1, _subNode2.id);
|
|
7875
7885
|
}
|
|
7876
7886
|
}
|
|
@@ -7894,7 +7904,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7894
7904
|
} else {
|
|
7895
7905
|
this.active = tab.id;
|
|
7896
7906
|
}
|
|
7897
|
-
this.navIds = this.getId(this.menus, tab.url);
|
|
7907
|
+
//this.navIds = this.getId(this.menus, tab.url);
|
|
7898
7908
|
}
|
|
7899
7909
|
} else {
|
|
7900
7910
|
var _tab = (node.fourthTabs || []).filter(function (item) {
|
|
@@ -7903,17 +7913,17 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7903
7913
|
if (_tab) {
|
|
7904
7914
|
this.tabs = node.fourthTabs;
|
|
7905
7915
|
this.tabsId = _tab.id;
|
|
7906
|
-
this.navIds = this.getId(this.menus,
|
|
7916
|
+
//this.navIds = this.getId(this.menus, tab.url);
|
|
7907
7917
|
} else {
|
|
7908
|
-
|
|
7909
|
-
|
|
7918
|
+
//this.navIds = this.getId(this.menus, node.url);
|
|
7919
|
+
}
|
|
7910
7920
|
}
|
|
7911
7921
|
} else {
|
|
7912
7922
|
if (node.fourthTabs.length) {
|
|
7913
7923
|
this.tabs = node.fourthTabs;
|
|
7914
7924
|
this.tabsId = this.tabs[0].id;
|
|
7915
7925
|
this.handleJump(this.tabs[0].url, this.tabs[0].urlopenmode, this.tabs[0]);
|
|
7916
|
-
this.navIds = this.getId(this.menus, this.tabs[0].url);
|
|
7926
|
+
//this.navIds = this.getId(this.menus, this.tabs[0].url);
|
|
7917
7927
|
}
|
|
7918
7928
|
}
|
|
7919
7929
|
} else {
|
|
@@ -7926,14 +7936,14 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
7926
7936
|
} else {
|
|
7927
7937
|
this.active = _subNode3.id;
|
|
7928
7938
|
}
|
|
7929
|
-
this.navIds = this.getId(this.menus,
|
|
7939
|
+
//this.navIds = this.getId(this.menus, subNode.url);
|
|
7930
7940
|
}
|
|
7931
7941
|
}
|
|
7932
7942
|
}
|
|
7933
7943
|
break;
|
|
7934
7944
|
case 'tabs':
|
|
7935
7945
|
this.tabsId = node.id;
|
|
7936
|
-
this.navIds = this.getId(this.menus, node.url);
|
|
7946
|
+
//this.navIds = this.getId(this.menus, node.url);
|
|
7937
7947
|
break;
|
|
7938
7948
|
}
|
|
7939
7949
|
if (node.url) {
|
|
@@ -8042,6 +8052,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
8042
8052
|
handleJump: function handleJump(page, type, res, param) {
|
|
8043
8053
|
var _this10 = this;
|
|
8044
8054
|
|
|
8055
|
+
this.navIds = this.getId(this.menus, page);
|
|
8045
8056
|
console.log(page);
|
|
8046
8057
|
var prevPage = sessionStorage.getItem('jump');
|
|
8047
8058
|
sessionStorage.setItem('jump', page);
|