BasicLayout.razor 7.4 KB

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