module-menu-vue 0.3.26 → 0.3.28
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
|
@@ -80,6 +80,10 @@ export default {
|
|
|
80
80
|
isBigDataFoundationPlatform: {
|
|
81
81
|
type: Boolean,
|
|
82
82
|
default: false,
|
|
83
|
+
},
|
|
84
|
+
PZCS: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false,
|
|
83
87
|
}
|
|
84
88
|
},
|
|
85
89
|
created() {
|
|
@@ -113,8 +117,10 @@ export default {
|
|
|
113
117
|
return false
|
|
114
118
|
},
|
|
115
119
|
async checkSystemMenu() {
|
|
120
|
+
console.log("into checkSystemMenu")
|
|
116
121
|
try {
|
|
117
122
|
const rsp = await getAuthListMenus()
|
|
123
|
+
console.log("rsp==========", rsp)
|
|
118
124
|
const menuList = rsp.data.data || []
|
|
119
125
|
this.isShowSysIntegration = this.hasMenu(menuList, 1, '系统管理')
|
|
120
126
|
} catch (e) {
|
|
@@ -198,7 +204,11 @@ export default {
|
|
|
198
204
|
// }
|
|
199
205
|
}
|
|
200
206
|
} else if (flag === 'app') {
|
|
201
|
-
|
|
207
|
+
if (this.PZCS) {
|
|
208
|
+
url = '/dataadmin/#/appManager/index'
|
|
209
|
+
} else {
|
|
210
|
+
url = '/dataadmin/#/appSystem/index'
|
|
211
|
+
}
|
|
202
212
|
location.href = url;
|
|
203
213
|
} else if (flag === 'logout') {
|
|
204
214
|
this.logoutFunc()
|