Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
505aa830
Commit
505aa830
authored
Dec 08, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
977cbd5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
15 deletions
+32
-15
index.vue
dsk-operate-ui/src/views/index.vue
+32
-15
No files found.
dsk-operate-ui/src/views/index.vue
View file @
505aa830
...
@@ -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'
)){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment