module-menu-vue 0.3.25 → 0.3.27
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
|
@@ -113,8 +113,10 @@ export default {
|
|
|
113
113
|
return false
|
|
114
114
|
},
|
|
115
115
|
async checkSystemMenu() {
|
|
116
|
+
console.log("into checkSystemMenu")
|
|
116
117
|
try {
|
|
117
118
|
const rsp = await getAuthListMenus()
|
|
119
|
+
console.log("rsp==========", rsp)
|
|
118
120
|
const menuList = rsp.data.data || []
|
|
119
121
|
this.isShowSysIntegration = this.hasMenu(menuList, 1, '系统管理')
|
|
120
122
|
} catch (e) {
|
|
@@ -163,7 +165,7 @@ export default {
|
|
|
163
165
|
}
|
|
164
166
|
location.href = url;
|
|
165
167
|
} else if (flag === 'systerm') {
|
|
166
|
-
if ([
|
|
168
|
+
if (['LNRD', 'HBJK'].includes(this.stash)) {
|
|
167
169
|
// 查询 系统管理 需要跳转的页面
|
|
168
170
|
getSysUrl().then(rsp => {
|
|
169
171
|
const data = rsp.data.data
|
|
@@ -173,6 +175,8 @@ export default {
|
|
|
173
175
|
}).catch(e => {
|
|
174
176
|
console.error('getSysUrl 接口异常: ', e)
|
|
175
177
|
})
|
|
178
|
+
} else if (this.stash === 'integration'){
|
|
179
|
+
location.href = '/admin-ui/system/menu'
|
|
176
180
|
} else {
|
|
177
181
|
const menuObj = JSON.parse(sessionStorage.getItem('bigdata-menu'));
|
|
178
182
|
let systemPath = ''
|