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
Hide 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,33 +1435,50 @@ export default {
...
@@ -1435,33 +1435,50 @@ export default {
handleUrl
(
item
){
handleUrl
(
item
){
switch
(
item
.
name
)
{
switch
(
item
.
name
)
{
case
'项目管理'
:
case
'项目管理'
:
if
(
this
.
permissions
.
includes
(
'
project:info
'
)){
if
(
this
.
permissions
.
includes
(
'
*:*:*
'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
}
else
{
this
.
$message
({
if
(
this
.
permissions
.
includes
(
'project:info'
)){
message
:
'您好,请联系管理员开通页面权限'
,
this
.
$router
.
push
({
path
:
item
.
url
})
type
:
'warning'
}
else
{
});
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
}
}
break
;
break
;
case
'客户管理'
:
case
'客户管理'
:
if
(
this
.
permissions
.
includes
(
'
customer:info
'
)){
if
(
this
.
permissions
.
includes
(
'
*:*:*
'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
}
else
{
this
.
$message
({
if
(
this
.
permissions
.
includes
(
'customer:info'
)){
message
:
'您好,请联系管理员开通页面权限'
,
this
.
$router
.
push
({
path
:
item
.
url
})
type
:
'warning'
}
else
{
});
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
}
}
break
;
break
;
case
'全国经济大全'
:
case
'全国经济大全'
:
if
(
this
.
permissions
.
includes
(
'
nationalEconomies:query
'
)){
if
(
this
.
permissions
.
includes
(
'
*:*:*
'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
}
else
{
this
.
$message
({
if
(
this
.
permissions
.
includes
(
'nationalEconomies:query'
)){
message
:
'您好,请联系管理员开通页面权限'
,
this
.
$router
.
push
({
path
:
item
.
url
})
type
:
'warning'
}
else
{
});
this
.
$message
({
message
:
'您好,请联系管理员开通页面权限'
,
type
:
'warning'
});
}
}
if
(
this
.
permissions
.
includes
(
'*:*:*'
)){
this
.
$router
.
push
({
path
:
item
.
url
})
}
else
{
}
}
break
;
break
;
case
'集团户'
:
case
'集团户'
:
...
...
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