BasicLayout.razor 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. @namespace wispro.sp.web
  2. @inherits LayoutComponentBase
  3. @using Microsoft.AspNetCore.Components.Authorization
  4. <CascadingAuthenticationState>
  5. <AuthorizeView>
  6. <Authorized>
  7. <AntDesign.ProLayout.BasicLayout Logo="@("images/小美logo-64-64.png")" Collapsed="true"
  8. MenuData="_menuData" Theme="MenuTheme.Light" Layout="AntDesign.ProLayout.Layout.Mix">
  9. <RightContentRender>
  10. <wispro.sp.web.Components.RightContent />
  11. </RightContentRender>
  12. <ChildContent>
  13. @Body
  14. </ChildContent>
  15. <FooterRender>
  16. <FooterView Copyright="2021 小美知识产权集团" Links="Links"></FooterView>
  17. </FooterRender>
  18. </AntDesign.ProLayout.BasicLayout>
  19. </Authorized>
  20. <NotAuthorized>
  21. <wispro.sp.web.Pages.LoginPages />
  22. </NotAuthorized>
  23. </AuthorizeView>
  24. </CascadingAuthenticationState>
  25. @code
  26. {
  27. RenderFragment sub1Title =
  28. @<Template>
  29. <Icon Type="user" Theme="outline"></Icon>
  30. 我的配置
  31. <Icon Type="down" />
  32. </Template>;
  33. private readonly MenuDataItem[] _menuData =
  34. {
  35. new MenuDataItem
  36. {
  37. Path = "/Home",
  38. Name = "首页",
  39. Key = "index",
  40. Icon = "home",
  41. },
  42. new MenuDataItem
  43. {
  44. Path = "/StartPerformanceCalculation",
  45. Name = "开启绩效计算",
  46. Key = "startCal",
  47. Icon = "play-circle",
  48. },
  49. //new MenuDataItem
  50. //{
  51. // Path = "/PerformanceList",
  52. // Name = "我的绩效",
  53. // Key = "PerformanceList",
  54. // Icon = "ordered-list",
  55. //},
  56. new MenuDataItem
  57. {
  58. Name="申请案处理界面",
  59. Key="appManager",
  60. Icon ="setting",
  61. Children= new MenuDataItem[]
  62. {
  63. new MenuDataItem
  64. {
  65. Path="/MyCaselist",
  66. Name = "案件确认",
  67. Key = "app_confirm"
  68. },
  69. new MenuDataItem
  70. {
  71. Path="/AppCase/ShensuReview/1",
  72. Name = "案件系数申诉审核",
  73. Key = "app_xishu_confirm"
  74. },
  75. new MenuDataItem
  76. {
  77. Path="/AppCase/ShensuReview/2",
  78. Name = "处理事项系数申诉审核",
  79. Key = "app_doItemxishu_confirm"
  80. },
  81. new MenuDataItem
  82. {
  83. Path="/AppCase/ShensuReview/3",
  84. Name = "处理人错误申诉审核",
  85. Key = "app_doperson_confirm"
  86. },
  87. new MenuDataItem
  88. {
  89. Path="/AppCase/ShensuReview/4",
  90. Name = "审核人错误申诉审核",
  91. Key = "app_doperson_confirm4"
  92. },
  93. new MenuDataItem
  94. {
  95. Path="/AppCase/ShensuReview/5",
  96. Name = "验证超期说明审核",
  97. Key = "app_doperson_confirm5"
  98. },
  99. new MenuDataItem
  100. {
  101. Path="/AppCase/ShensuReview/6",
  102. Name = "案件分配比例申诉审核",
  103. Key = "app_doperson_confirm6"
  104. },
  105. new MenuDataItem
  106. {
  107. Path="/AppCase/ShensuReview/7",
  108. Name = "案件缺漏提报审核",
  109. Key = "app_doperson_confirm7"
  110. },
  111. new MenuDataItem
  112. {
  113. Path="/AppCase/ShensuReview/8",
  114. Name = "涉外新申请算法确认",
  115. Key = "app_doperson_confirm8"
  116. }
  117. }
  118. },
  119. new MenuDataItem
  120. {
  121. Name = "专案处理界面",
  122. Key = "staffManager",
  123. Icon = "setting",
  124. Children= new MenuDataItem[]
  125. {
  126. new MenuDataItem
  127. {
  128. Path ="/Project/ReadMessage",
  129. Name ="专案点数分配系统通知",
  130. Key= "project_readMsg",
  131. Icon = ""
  132. },
  133. new MenuDataItem
  134. {
  135. Path ="/Project/AssignPoint/1",
  136. Name ="分配专案点数",
  137. Key= "project_assignpoint",
  138. Icon = ""
  139. },
  140. new MenuDataItem
  141. {
  142. Path ="/Project/ReadAssignPointMsg",
  143. Name ="专案点数分配通知阅读",
  144. Key= "ReadAssignPointMsg",
  145. Icon = ""
  146. },
  147. new MenuDataItem
  148. {
  149. Path ="/Project/ConfirmProjectPoint",
  150. Name ="代理人确认",
  151. Key= "project_point_confirm",
  152. Icon = ""
  153. }
  154. }
  155. },
  156. new MenuDataItem
  157. {
  158. Name = "基本资料管理",
  159. Key = "baseResource",
  160. Icon = "setting",
  161. Children= new MenuDataItem[]
  162. {
  163. new MenuDataItem
  164. {
  165. Path ="/StaffList",
  166. Name ="账号管理",
  167. Key= "staff",
  168. Icon = ""
  169. },
  170. new MenuDataItem
  171. {
  172. Path ="/StaffGrade",
  173. Name ="代理人系数设定",
  174. Key= "sg",
  175. Icon = ""
  176. },
  177. new MenuDataItem
  178. {
  179. Path ="/VerifyCeofficient",
  180. Name ="核稿系数设定",
  181. Key="vc",
  182. Icon = ""
  183. }
  184. ,
  185. new MenuDataItem
  186. {
  187. Path ="/VerifyCeofficient",
  188. Name ="案件难度系数设定",
  189. Key="vc",
  190. Icon = ""
  191. },
  192. new MenuDataItem
  193. {
  194. Path ="/CustomerList",
  195. Name ="客户信息管理",
  196. Key="customer",
  197. Icon = ""
  198. }
  199. }
  200. }
  201. };
  202. public LinkItem[] Links { get; set; } =
  203. {
  204. new LinkItem
  205. {
  206. Key = "威世博官网",
  207. Title = "深圳威世博",
  208. Href = "https://www.weishibo.cn/",
  209. BlankTarget = true,
  210. },
  211. new LinkItem
  212. {
  213. Key = "patentics",
  214. Title = "Patentics数据库",
  215. Href = "https://www.patentics.com/",
  216. BlankTarget = true,
  217. },
  218. new LinkItem
  219. {
  220. Key = "合享数据库",
  221. Title = "合享数据库",
  222. Href = "https://www.incopat.com/intelLib/node/initIntelligentLib",
  223. BlankTarget = true,
  224. },
  225. new LinkItem
  226. {
  227. Key = "zhihuiya",
  228. Title = "智慧芽数据库",
  229. Href = "https://account.zhihuiya.com/",
  230. BlankTarget = true,
  231. }
  232. };
  233. }