Commit c7453de0 by 孙亚楠

dd

parent 58ff0e8d
...@@ -175,6 +175,7 @@ class UserCtl extends CtlBase { ...@@ -175,6 +175,7 @@ class UserCtl extends CtlBase {
if (!loginUser) { if (!loginUser) {
return []; return [];
} }
if (loginUser.isAdmin) {
return [ return [
{ {
name: "数据概览", name: "数据概览",
...@@ -190,6 +191,24 @@ class UserCtl extends CtlBase { ...@@ -190,6 +191,24 @@ class UserCtl extends CtlBase {
] ]
} }
]; ];
}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"},
]
}
];
}
} }
/** /**
......
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