Commit 505aa830 authored by danfuman's avatar danfuman

修改

parent 977cbd5b
...@@ -1435,6 +1435,9 @@ export default { ...@@ -1435,6 +1435,9 @@ export default {
handleUrl(item){ handleUrl(item){
switch (item.name) { switch (item.name) {
case '项目管理': case '项目管理':
if(this.permissions.includes('*:*:*')){
this.$router.push({ path: item.url })
}else {
if(this.permissions.includes('project:info')){ if(this.permissions.includes('project:info')){
this.$router.push({ path: item.url }) this.$router.push({ path: item.url })
}else { }else {
...@@ -1443,8 +1446,12 @@ export default { ...@@ -1443,8 +1446,12 @@ export default {
type: 'warning' type: 'warning'
}); });
} }
}
break; break;
case '客户管理': case '客户管理':
if(this.permissions.includes('*:*:*')){
this.$router.push({ path: item.url })
}else {
if(this.permissions.includes('customer:info')){ if(this.permissions.includes('customer:info')){
this.$router.push({ path: item.url }) this.$router.push({ path: item.url })
}else { }else {
...@@ -1453,8 +1460,12 @@ export default { ...@@ -1453,8 +1460,12 @@ export default {
type: 'warning' type: 'warning'
}); });
} }
}
break; break;
case '全国经济大全': case '全国经济大全':
if(this.permissions.includes('*:*:*')){
this.$router.push({ path: item.url })
}else {
if(this.permissions.includes('nationalEconomies:query')){ if(this.permissions.includes('nationalEconomies:query')){
this.$router.push({ path: item.url }) this.$router.push({ path: item.url })
}else { }else {
...@@ -1463,6 +1474,12 @@ export default { ...@@ -1463,6 +1474,12 @@ export default {
type: 'warning' type: 'warning'
}); });
} }
}
if(this.permissions.includes('*:*:*')){
this.$router.push({ path: item.url })
}else {
}
break; break;
case '集团户': case '集团户':
if(this.permissions.includes('group:query')){ if(this.permissions.includes('group:query')){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment