123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- @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
- //{
- // Path = "/StartPerformanceCalculation",
- // Name = "开启绩效计算",
- // Key = "startCal",
- // Icon = "play-circle",
- //},
- //new MenuDataItem
- //{
- // Path = "/PerformanceList",
- // Name = "我的绩效",
- // Key = "PerformanceList",
- // Icon = "ordered-list",
- //},
- new MenuDataItem
- {
- Name="我的申请案",
- Key="appManager",
- Icon ="copy",
- Path="/MyCaselist",
- },
- new MenuDataItem
- {
- Name = "我的专案",
- Key = "staffManager",
- Icon = "setting",
- Children= new MenuDataItem[]
- {
- new MenuDataItem
- {
- Path ="/Project/ReadMessage",
- Name ="专案点数分配系统通知",
- Key= "project_readMsg",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/Project/AssignPoint/1",
- Name ="分配专案点数",
- Key= "project_assignpoint",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/Project/ReadAssignPointMsg",
- Name ="专案点数分配通知阅读",
- Key= "ReadAssignPointMsg",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/Project/ConfirmProjectPoint",
- Name ="代理人确认",
- Key= "project_point_confirm",
- Icon = ""
- }
- }
- },
- new MenuDataItem
- {
- Name = "基本资料管理",
- Key = "baseResource",
- Icon = "setting",
- Children= new MenuDataItem[]
- {
- new MenuDataItem
- {
- Path ="/StaffList",
- Name ="账号管理",
- Key= "staff",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/StaffGrade",
- Name ="代理人系数设定",
- Key= "sg",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/VerifyCeofficient",
- Name ="核稿系数设定",
- Key="vc",
- Icon = ""
- }
- ,
- new MenuDataItem
- {
- Path ="/VerifyCeofficient",
- Name ="案件难度系数设定",
- Key="vc",
- Icon = ""
- },
- new MenuDataItem
- {
- Path ="/CustomerList",
- Name ="客户信息管理",
- Key="customer",
- Icon = ""
- }
- }
- }
- };
- 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,
- }
- };
- }
|