123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- @namespace wispro.sp.web
- @inherits LayoutComponentBase
- @using Microsoft.AspNetCore.Components.Authorization
- <CascadingAuthenticationState>
- <AuthorizeView>
- <Authorized>
-
- <AntDesign.ProLayout.BasicLayout
- Logo="@("images/小美logo-64-64.png")"
- MenuData="_menuData"
- Theme="MenuTheme.Light"
- Layout="AntDesign.ProLayout.Layout.Mix">
- <RightContentRender>
- <wispro.sp.web.Components.RightContent />
- </RightContentRender>
- <ChildContent>
- @Body
- </ChildContent>
- <FooterRender>
- <FooterView Copyright="2021 小美知识产权集团" Links="Links"></FooterView>
- </FooterRender>
- </AntDesign.ProLayout.BasicLayout>
- </Authorized>
- <NotAuthorized>
- <wispro.sp.web.Pages.LoginPages />
- </NotAuthorized>
-
- </AuthorizeView>
-
- </CascadingAuthenticationState>
- @code
- {
- RenderFragment sub1Title =
- @<Template>
- <Icon Type="user" Theme="outline"></Icon>
- 我的配置
- <Icon Type="down" />
- </Template>;
- private readonly MenuDataItem[] _menuData =
- {
- new MenuDataItem
- {
- Path = "/Home",
- Name = "首页",
- Key = "index",
- Icon = "home",
- },
- new MenuDataItem
- {
- Name="我的绩效",
- Key="appManager",
- Icon ="copy",
- Path="/MyCaselist",
- },
-
- new MenuDataItem
- {
- Name = "基本资料管理",
- Key = "baseResource",
- Icon = "setting",
- Children= new MenuDataItem[]
- {
- new MenuDataItem
- {
- Path ="/StaffList",
- Name ="账号管理",
- Key= "staff",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/Department",
- Name ="部门管理",
- Key= "dept",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/StaffGrade",
- Name ="代理人系数设定",
- Key= "sg",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/CustomerList",
- Name ="客户信息管理",
- Key="customer",
- Icon = ""
- }
- }
- },
- new MenuDataItem
- {
- Path ="/Workflow/Manage",
- Name ="流程管理",
- Key= "wfManage",
- Icon = "apartment"
- }
- };
- public LinkItem[] Links { get; set; } =
- {
- new LinkItem
- {
- Key = "威世博官网",
- Title = "深圳威世博",
- Href = "https://www.weishibo.cn/",
- BlankTarget = true,
- },
- new LinkItem
- {
- Key = "patentics",
- Title = "Patentics数据库",
- Href = "https://www.patentics.com/",
- BlankTarget = true,
- },
- new LinkItem
- {
- Key = "合享数据库",
- Title = "合享数据库",
- Href = "https://www.incopat.com/intelLib/node/initIntelligentLib",
- BlankTarget = true,
- },
- new LinkItem
- {
- Key = "zhihuiya",
- Title = "智慧芽数据库",
- Href = "https://account.zhihuiya.com/",
- BlankTarget = true,
- }
- };
- }
|