Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
c7453de0
Commit
c7453de0
authored
Mar 27, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
58ff0e8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
15 deletions
+34
-15
xgg-deliver/app/base/controller/impl/uc/userCtl.js
+34
-15
No files found.
xgg-deliver/app/base/controller/impl/uc/userCtl.js
View file @
c7453de0
...
@@ -175,21 +175,40 @@ class UserCtl extends CtlBase {
...
@@ -175,21 +175,40 @@ class UserCtl extends CtlBase {
if
(
!
loginUser
)
{
if
(
!
loginUser
)
{
return
[];
return
[];
}
}
return
[
if
(
loginUser
.
isAdmin
)
{
{
return
[
name
:
"数据概览"
,
{
icon
:
"iconfont icon-gth-gsshujugailan"
,
name
:
"数据概览"
,
team
:
[{
name
:
"业务数据汇总"
,
path
:
"/home"
}]
icon
:
"iconfont icon-gth-gsshujugailan"
,
},
team
:
[{
name
:
"业务数据汇总"
,
path
:
"/home"
}]
{
},
name
:
"发票中心"
,
{
icon
:
"iconfont icon-gth-gsfapiaozhongxin"
,
name
:
"发票中心"
,
team
:
[
icon
:
"iconfont icon-gth-gsfapiaozhongxin"
,
{
name
:
"发票申请"
,
path
:
"/trading/invoiceApplyFor"
},
team
:
[
{
name
:
"发票管理"
,
path
:
"/trading/invoiceManagement"
},
{
name
:
"发票申请"
,
path
:
"/trading/invoiceApplyFor"
},
]
{
name
:
"发票管理"
,
path
:
"/trading/invoiceManagement"
},
}
]
];
}
];
}
else
{
return
[
{
name
:
"数据概览"
,
icon
:
"iconfont icon-gth-gsshujugailan"
,
team
:
[{
name
:
"业务数据汇总"
,
path
:
"/home"
}]
},
{
name
:
"发票中心"
,
icon
:
"iconfont icon-gth-gsfapiaozhongxin"
,
team
:
[
{
name
:
"我的业务发票"
,
path
:
"/trading/invoiceApplyMy"
},
{
name
:
"我的全部发票"
,
path
:
"/trading/invoicesAllMy"
},
]
}
];
}
}
}
/**
/**
...
...
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