module-menu-vue 0.3.29 → 0.3.31
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/package.json
CHANGED
|
@@ -350,7 +350,7 @@ export const sysNameMap = [
|
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
sysName: 'admin',
|
|
353
|
-
title: token ? '
|
|
353
|
+
title: token ? '数据源管理' : '系统管理',
|
|
354
354
|
logoSrc: require('../../assets/admin_logo.svg'),
|
|
355
355
|
},
|
|
356
356
|
// {
|
|
@@ -569,7 +569,7 @@ export const lnrdSysNameMap = [
|
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
571
|
sysName: 'admin',
|
|
572
|
-
title: token ? '
|
|
572
|
+
title: token ? '数据源管理' : '系统管理',
|
|
573
573
|
logoSrc: require('../../assets/LNRD_sys_img/xitongguanli_sys.png'),
|
|
574
574
|
},
|
|
575
575
|
// {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<el-dropdown-menu slot="dropdown">
|
|
10
10
|
<el-dropdown-item command="single">
|
|
11
11
|
<img :src="PersonalCenterSrc" alt="" class="menuItem" />
|
|
12
|
-
<span>{{["integration", 'LNRD', 'HBJK'].includes(stash) ? '用户中心' : '个人中心'}}</span>
|
|
12
|
+
<span>{{["integration", 'LNRD', 'HBJK'].includes(stash) || xiangtan ? '用户中心' : '个人中心'}}</span>
|
|
13
13
|
</el-dropdown-item>
|
|
14
14
|
<el-dropdown-item v-show="isShowSys" command="systerm">
|
|
15
15
|
<img :src="SystemManageSrc" alt="" class="menuItem" />
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</el-dropdown-item>
|
|
18
18
|
<el-dropdown-item v-show="isShowAppFinal" command="app">
|
|
19
19
|
<img :src="appSystemSrc" alt="" class="menuItem" />
|
|
20
|
-
<span
|
|
20
|
+
<span>数据源管理</span>
|
|
21
21
|
</el-dropdown-item>
|
|
22
22
|
<el-dropdown-item command="logout">
|
|
23
23
|
<img :src="LogoutSrc" alt="" class="menuItem" />
|
|
@@ -84,7 +84,11 @@ export default {
|
|
|
84
84
|
PZCS: {
|
|
85
85
|
type: Boolean,
|
|
86
86
|
default: false,
|
|
87
|
-
}
|
|
87
|
+
},
|
|
88
|
+
xiangtan: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: false,
|
|
91
|
+
},
|
|
88
92
|
},
|
|
89
93
|
created() {
|
|
90
94
|
if (["integration", 'LNRD', 'HBJK'].includes(this.stash)) {
|
|
@@ -133,7 +137,7 @@ export default {
|
|
|
133
137
|
const rsp = await getMenuList()
|
|
134
138
|
const menuList = rsp.data.data[0].routes || []
|
|
135
139
|
console.log("menuList===", menuList)
|
|
136
|
-
this.isShowAppIntegration = this.hasMenu(menuList, 7500, '
|
|
140
|
+
this.isShowAppIntegration = this.hasMenu(menuList, 7500, '数据源管理')
|
|
137
141
|
} catch (e) {
|
|
138
142
|
console.error('获取用户菜单失败:', e)
|
|
139
143
|
this.isShowAppIntegration = false
|
|
@@ -158,7 +162,7 @@ export default {
|
|
|
158
162
|
if (flag === 'single') {
|
|
159
163
|
if (this.isBigDataFoundationPlatform) {
|
|
160
164
|
url = '/admin-ui/user/profile'
|
|
161
|
-
} else if (["integration", 'LNRD', 'HBJK'].includes(this.stash)) {
|
|
165
|
+
} else if (["integration", 'LNRD', 'HBJK'].includes(this.stash) || this.xiangtan) {
|
|
162
166
|
url = '/admin-ui/data-share-portal/personal/info'
|
|
163
167
|
} else if (this.stash === "GZW") {
|
|
164
168
|
url = '/data-platform/#/info/index'
|