sqxp.ts 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682
  1. import type { AppRouteRecord } from '@/types/router'
  2. /**
  3. * 前端路由(5 个一级菜单分组:市场、生产、质检、运营支撑、系统管理)
  4. * 与后端菜单对齐时请同步 `backend/app/api/menu.py`。
  5. */
  6. export const sqxpAdminRoutes: AppRouteRecord[] = [
  7. // ═══════════════════════════════════════════════════════════════════════════
  8. // 1. 市场 (menu:market)
  9. // 二级菜单:细胞存储、科研捐赠、市场基础信息、中试服务、基础实验
  10. // (主推存储/捐赠在前;中试/基础实验及关联基础信息后置)
  11. // ═══════════════════════════════════════════════════════════════════════════
  12. {
  13. id: 'TOP00000000000000000000000000001',
  14. name: 'Market',
  15. path: '/market',
  16. component: '/index/index',
  17. meta: {
  18. title: '市场',
  19. icon: 'ri:store-2-line',
  20. keepAlive: false,
  21. isTopMenu: true,
  22. menuCode: 'menu:market',
  23. roles: ['admin']
  24. },
  25. children: [
  26. // ── 细胞存储 ──────────────────────────────────────────────────────────
  27. {
  28. id: 'CEL00000000000000000000000000001',
  29. name: 'CellStorage',
  30. path: 'cell-storage',
  31. component: '',
  32. meta: {
  33. title: '细胞存储',
  34. icon: 'ri:test-tube-line',
  35. keepAlive: false,
  36. roles: ['admin']
  37. },
  38. children: [
  39. {
  40. id: '50000000000000000000000000000002',
  41. name: 'CellStorageProtocol',
  42. path: 'protocol',
  43. component: '/cell-storage/protocol/index',
  44. meta: {
  45. title: '采集协议单录入',
  46. keepAlive: true,
  47. isHide: true,
  48. menuCode: 'biz:cellStorageProtocol:list'
  49. }
  50. },
  51. {
  52. id: '50000000000000000000000000000003',
  53. name: 'CellStorageProtocolAudit',
  54. path: 'protocol-audit',
  55. component: '/cell-storage/protocol-audit/index',
  56. meta: {
  57. title: '采集协议单',
  58. keepAlive: true,
  59. menuCode: 'biz:cellStorageProtocolAudit:list'
  60. }
  61. },
  62. {
  63. id: '50000000000000000000000000000020',
  64. name: 'CellStoragePresignOrder',
  65. path: 'presign-order',
  66. component: '/cell-storage/presign-order/index',
  67. meta: {
  68. title: '预签约订单',
  69. keepAlive: true,
  70. menuCode: 'cell-storage:presign-order:list'
  71. }
  72. },
  73. {
  74. id: '904b5173519411f1944300163e3bdd96',
  75. name: 'CellStoragePaymentInfo',
  76. path: 'payment-info',
  77. component: '/cell-storage/payment-info/index',
  78. meta: {
  79. title: '缴费信息',
  80. keepAlive: true,
  81. menuCode: 'cellStorage:paymentInfo:list'
  82. }
  83. },
  84. {
  85. id: '50000000000000000000000000000013',
  86. name: 'CellStorageSampleInfo',
  87. path: 'sample-info',
  88. component: '/cell-storage/sample-info/index',
  89. meta: {
  90. title: '样本信息管理',
  91. keepAlive: true,
  92. menuCode: 'cell-storage:sample-info:list'
  93. }
  94. },
  95. {
  96. id: '50000000000000000000000000000004',
  97. name: 'CellStoragePaymentConfirm',
  98. path: 'payment-confirm',
  99. component: '/cell-storage/payment-confirm/index',
  100. meta: {
  101. title: '缴费财务确认及开票',
  102. keepAlive: true,
  103. menuCode: 'biz:cellStoragePaymentConfirm:list'
  104. }
  105. },
  106. // 市场侧入库放行审核(总览)暂下线:改由生产/质检入口审核
  107. // {
  108. // id: '70000000000000000000000000000011',
  109. // name: 'CellStorageStorageReleaseReview',
  110. // path: 'storage-release-review',
  111. // component: '/quality-inspection/storage-release-review/index',
  112. // meta: {
  113. // title: '入库放行审核',
  114. // keepAlive: true,
  115. // menuCode: 'biz:storageReleaseReview:list'
  116. // }
  117. // },
  118. {
  119. id: '50000000000000000000000000000005',
  120. name: 'CellStorageRefundConfirm',
  121. path: 'refund-confirm',
  122. component: '/cell-storage/refund-confirm/index',
  123. meta: {
  124. title: '退费确认(财务)',
  125. keepAlive: false,
  126. isHide: true,
  127. menuCode: 'biz:cellStorageRefundConfirm:list'
  128. }
  129. },
  130. {
  131. id: '50000000000000000000000000000011',
  132. name: 'CellStorageSampleReceptionInfo',
  133. path: 'sample-reception-info',
  134. component: '/cell-storage/sample-reception-info/index',
  135. meta: {
  136. title: '样本接收信息',
  137. keepAlive: false,
  138. isHide: true,
  139. menuCode: 'cell-storage:sample-reception-info:list'
  140. }
  141. },
  142. {
  143. id: '50000000000000000000000000000012',
  144. name: 'CellStorageStorageEntryInfo',
  145. path: 'storage-entry-info',
  146. component: '/cell-storage/storage-entry-info/index',
  147. meta: {
  148. title: '样本入库信息',
  149. keepAlive: false,
  150. isHide: true,
  151. menuCode: 'cell-storage:storage-entry-info:list'
  152. }
  153. },
  154. {
  155. id: '50000000000000000000000000000006',
  156. name: 'CellStorageStorageCert',
  157. path: 'storage-cert',
  158. component: '/cell-storage/storage-cert/index',
  159. meta: {
  160. title: '储存证管理',
  161. keepAlive: false,
  162. isHide: true,
  163. menuCode: 'cell-storage:storage-cert:list'
  164. }
  165. },
  166. {
  167. id: '50000000000000000000000000000008',
  168. name: 'CellStorageFullmoonTodo',
  169. path: 'fullmoon-todo',
  170. component: '/cell-storage/fullmoon-todo/index',
  171. meta: {
  172. title: '满月待办管理',
  173. keepAlive: false,
  174. isHide: true,
  175. menuCode: 'cell-storage:fullmoon-todo:list'
  176. }
  177. }
  178. ]
  179. },
  180. // ── 科研捐赠 ──────────────────────────────────────────────────────────
  181. {
  182. id: 'RSC00000000000000000000000000001',
  183. name: 'ResearchDonation',
  184. path: 'research-donation',
  185. component: '',
  186. meta: {
  187. title: '科研捐赠',
  188. icon: 'ri:hand-heart-line',
  189. keepAlive: false,
  190. roles: ['admin']
  191. },
  192. children: [
  193. {
  194. id: '60000000000000000000000000000002',
  195. name: 'ResearchDonationList',
  196. path: 'list',
  197. component: '/research-donation/list/index',
  198. meta: {
  199. title: '捐赠协议单录入',
  200. keepAlive: true,
  201. isHide: true,
  202. menuCode: 'biz:researchDonation:list'
  203. }
  204. },
  205. {
  206. id: '60000000000000000000000000000003',
  207. name: 'ResearchDonationAudit',
  208. path: 'audit',
  209. component: '/research-donation/audit/index',
  210. meta: {
  211. title: '捐赠协议单',
  212. keepAlive: true,
  213. menuCode: 'biz:researchDonationAudit:list'
  214. }
  215. },
  216. {
  217. id: '60000000000000000000000000000004',
  218. name: 'ResearchDonationSampleInfo',
  219. path: 'sample-info',
  220. component: '/research-donation/sample-info/index',
  221. meta: {
  222. title: '样本信息管理',
  223. keepAlive: true,
  224. menuCode: 'research-donation:sample-info:list'
  225. }
  226. }
  227. ]
  228. },
  229. // ── 市场基础信息(前段:存储/捐赠相关;后段:中试/基础实验相关)──
  230. {
  231. id: 'MKT00000000000000000000000000001',
  232. name: 'MarketInfo',
  233. path: 'market-info',
  234. component: '',
  235. meta: {
  236. title: '市场基础信息',
  237. icon: 'ri:price-tag-3-line',
  238. keepAlive: false,
  239. roles: ['admin']
  240. },
  241. children: [
  242. {
  243. id: '122',
  244. name: 'BizCellSampleType',
  245. path: 'cell-sample-type',
  246. component: '/basic-info/cell-sample-type/index',
  247. meta: {
  248. title: '细胞样本基础信息维护',
  249. keepAlive: true,
  250. menuCode: 'biz:cellSampleType:list'
  251. }
  252. },
  253. {
  254. id: '125',
  255. name: 'BizSampleCode',
  256. path: 'sample-code',
  257. component: '/basic-info/sample-code/index',
  258. meta: {
  259. title: '样本编码管理',
  260. keepAlive: false,
  261. isHide: true,
  262. menuCode: 'biz:sampleCode:list'
  263. }
  264. },
  265. {
  266. id: '123',
  267. name: 'BizCollectionRegion',
  268. path: 'collection-region',
  269. component: '/basic-info/collection-region/index',
  270. meta: {
  271. title: '采集地区及医院',
  272. keepAlive: true,
  273. menuCode: 'biz:collectionRegion:list'
  274. }
  275. },
  276. {
  277. id: '124',
  278. name: 'BizCollectionProtocolNo',
  279. path: 'collection-protocol-no',
  280. component: '/basic-info/collection-protocol-no/index',
  281. meta: {
  282. title: '采集协议号管理',
  283. keepAlive: false,
  284. isHide: true,
  285. menuCode: 'biz:collectionProtocolNo:list'
  286. }
  287. },
  288. {
  289. id: '40000000000000000000000000000007',
  290. name: 'BasicInfoInsuranceCompany',
  291. path: 'insurance-company',
  292. component: '/basic-info/insurance-company/index',
  293. meta: {
  294. title: '保险公司及险种价格',
  295. keepAlive: true,
  296. isHide: true,
  297. menuCode: 'basic-info:insurance-company:list'
  298. }
  299. },
  300. {
  301. id: '50000000000000000000000000000009',
  302. name: 'MarketMaterial',
  303. path: 'material',
  304. component: '/cell-storage/material/index',
  305. meta: {
  306. title: '市场物料库',
  307. keepAlive: true,
  308. menuCode: 'biz:material:list'
  309. }
  310. },
  311. {
  312. id: '95000000000000000000000000000003',
  313. name: 'MarketMyMaterialUsage',
  314. path: 'my-material-usage',
  315. component: '/cell-storage/my-material-usage/index',
  316. meta: {
  317. title: '我的物料领用记录',
  318. keepAlive: true,
  319. menuCode: 'market:material-usage:list'
  320. }
  321. },
  322. {
  323. id: '50000000000000000000000000000010',
  324. name: 'MarketMaterialStockLog',
  325. path: 'material-stock-log',
  326. component: '/cell-storage/material-stock-log/index',
  327. meta: {
  328. title: '市场物料变动记录',
  329. keepAlive: false,
  330. isHide: true,
  331. menuCode: 'biz:materialStockLog:list'
  332. }
  333. },
  334. {
  335. id: '121',
  336. name: 'BizCustomer',
  337. path: 'customer',
  338. component: '/basic-info/customer/index',
  339. meta: { title: '客户管理', keepAlive: true, menuCode: 'biz:customer:list' }
  340. },
  341. {
  342. id: '80000000000000000000000000000002',
  343. name: 'CellProductType',
  344. path: 'cell-product-type',
  345. component: '/pilot-service/cell-product-type/index',
  346. meta: {
  347. title: '细胞产品基础信息维护',
  348. keepAlive: true,
  349. menuCode: 'pilot-service:cell-product-type:list'
  350. }
  351. },
  352. {
  353. id: '80000000000000000000000000000003',
  354. name: 'CellProductSpec',
  355. path: 'cell-product-spec',
  356. component: '/pilot-service/cell-product-spec/index',
  357. meta: {
  358. title: '细胞产品规格管理',
  359. keepAlive: false,
  360. isHide: true,
  361. menuCode: 'pilot-service:cell-product-spec:list'
  362. }
  363. },
  364. {
  365. id: '80000000000000000000000000000004',
  366. name: 'CellProductPrice',
  367. path: 'cell-product-price',
  368. component: '/pilot-service/cell-product-price/index',
  369. meta: {
  370. title: '细胞产品价格体系管理',
  371. keepAlive: false,
  372. isHide: true,
  373. menuCode: 'pilot-service:cell-product-price:list'
  374. }
  375. },
  376. {
  377. id: '80000000000000000000000000000005',
  378. name: 'ProjectPriceSystem',
  379. path: 'project-price-system',
  380. component: '/pilot-service/project-price-system/index',
  381. meta: {
  382. title: '细胞产品项目价格管理',
  383. keepAlive: false,
  384. isHide: true,
  385. menuCode: 'pilot-service:project-price-system:list'
  386. }
  387. },
  388. {
  389. id: '80000000000000000000000000000007',
  390. name: 'CheckupInstitution',
  391. path: 'checkup-institution',
  392. component: '/pilot-service/checkup-institution/index',
  393. meta: {
  394. title: '体检机构及项目价格',
  395. keepAlive: true,
  396. isHide: true,
  397. menuCode: 'pilot-service:checkup-institution:list'
  398. }
  399. },
  400. {
  401. id: '80000000000000000000000000000006',
  402. name: 'Channel',
  403. path: 'channel',
  404. component: '/pilot-service/channel/index',
  405. meta: {
  406. title: '渠道信息管理',
  407. keepAlive: true,
  408. menuCode: 'pilot-service:channel:list'
  409. }
  410. },
  411. {
  412. id: '80000000000000000000000000000008',
  413. name: 'ChannelServiceOrder',
  414. path: 'channel-service-order',
  415. component: '/pilot-service/channel-service-order/index',
  416. meta: {
  417. title: '渠道服务购买订单',
  418. keepAlive: false,
  419. isHide: true,
  420. menuCode: 'pilot-service:channel-service-order:list'
  421. }
  422. },
  423. {
  424. id: '80000000000000000000000000000009',
  425. name: 'ChannelServiceOrderFinance',
  426. path: 'channel-service-order-finance',
  427. component: '/pilot-service/channel-service-order-finance/index',
  428. meta: {
  429. title: '渠道服务订单(财务确认)',
  430. keepAlive: true,
  431. menuCode: 'pilot-service:channel-service-order-finance:list'
  432. }
  433. }
  434. ]
  435. },
  436. // ── 中试服务 ──────────────────────────────────────────────────────────
  437. {
  438. id: 'PIL00000000000000000000000000001',
  439. name: 'PilotService',
  440. path: 'pilot-service',
  441. component: '',
  442. meta: {
  443. title: '中试服务',
  444. icon: 'ri:flask-line',
  445. keepAlive: false,
  446. roles: ['admin']
  447. },
  448. children: [
  449. {
  450. id: '80000000000000000000000000000010',
  451. name: 'PilotApplication',
  452. path: 'pilot-application',
  453. component: '/pilot-service/pilot-application/index',
  454. meta: {
  455. title: '中试服务申请单',
  456. keepAlive: true,
  457. menuCode: 'pilot-service:pilot-application:list'
  458. },
  459. props: { bizType: 'pilot_service' }
  460. },
  461. {
  462. id: 'PIL00000000000000000000000000002',
  463. name: 'PilotCheckupManagement',
  464. path: 'checkup-management',
  465. component: '/pilot-service/checkup-management/index',
  466. meta: {
  467. title: '体检管理',
  468. keepAlive: false,
  469. isHide: true,
  470. menuCode: 'pilot-service:checkup-management:list'
  471. },
  472. props: { bizType: 'pilot_service' }
  473. },
  474. {
  475. id: 'PIL00000000000000000000000000003',
  476. name: 'PilotInfusionSchedule',
  477. path: 'infusion-schedule-management',
  478. component: '/pilot-service/infusion-schedule-management/index',
  479. meta: {
  480. title: '输注计划管理',
  481. keepAlive: false,
  482. isHide: true,
  483. menuCode: 'pilot-service:infusion-schedule-management:list'
  484. },
  485. props: { bizType: 'pilot_service' }
  486. },
  487. {
  488. id: 'PIL00000000000000000000000000004',
  489. name: 'PilotOutboundRelease',
  490. path: 'outbound-release-review',
  491. component: '/pilot-service/outbound-release-review/index',
  492. meta: {
  493. title: '出库放行审核',
  494. keepAlive: true,
  495. menuCode: 'pilot-service:outbound-release-review:list'
  496. },
  497. props: { bizType: 'pilot_service' }
  498. }
  499. ]
  500. },
  501. // ── 基础实验 ──────────────────────────────────────────────────────────
  502. {
  503. id: 'BEX00000000000000000000000000001',
  504. name: 'BasicExperiment',
  505. path: 'basic-experiment',
  506. component: '',
  507. meta: {
  508. title: '基础实验',
  509. icon: 'ri:flask-line',
  510. keepAlive: false,
  511. roles: ['admin']
  512. },
  513. children: [
  514. {
  515. id: 'BEX00000000000000000000000000002',
  516. name: 'BasicExperimentApplication',
  517. path: 'application',
  518. component: '/pilot-service/pilot-application/index',
  519. meta: {
  520. title: '基础实验申请单',
  521. keepAlive: true,
  522. menuCode: 'basic-experiment:application:list'
  523. },
  524. props: { bizType: 'basic_experiment' }
  525. },
  526. {
  527. id: 'BEX00000000000000000000000000003',
  528. name: 'BasicExperimentPaymentConfirm',
  529. path: 'payment-confirm',
  530. component: '/pilot-service/clinical-payment-confirm/index',
  531. meta: {
  532. title: '缴退费财务确认',
  533. keepAlive: true,
  534. menuCode: 'basic-experiment:payment-confirm:list'
  535. },
  536. props: { bizType: 'basic_experiment' }
  537. },
  538. {
  539. id: 'BEX00000000000000000000000000004',
  540. name: 'BasicExperimentOutboundRelease',
  541. path: 'outbound-release-review',
  542. component: '/pilot-service/outbound-release-review/index',
  543. meta: {
  544. title: '出库放行审核',
  545. keepAlive: true,
  546. menuCode: 'basic-experiment:outbound-release-review:list'
  547. },
  548. props: { bizType: 'basic_experiment' }
  549. }
  550. ]
  551. }
  552. ]
  553. },
  554. // ═══════════════════════════════════════════════════════════════════════════
  555. // 2. 生产 (menu:production)
  556. // 二级菜单:临床应用、生产管理、生产基础信息
  557. // ═══════════════════════════════════════════════════════════════════════════
  558. {
  559. id: 'TOP00000000000000000000000000002',
  560. name: 'Production',
  561. path: '/production-group',
  562. component: '/index/index',
  563. meta: {
  564. title: '生产',
  565. icon: 'ri:building-4-line',
  566. keepAlive: false,
  567. isTopMenu: true,
  568. menuCode: 'menu:production',
  569. roles: ['admin']
  570. },
  571. children: [
  572. // ── 临床应用 ──────────────────────────────────────────────────────────
  573. {
  574. id: 'CLI00000000000000000000000000001',
  575. name: 'ClinicalApplication',
  576. path: 'clinical-application',
  577. component: '',
  578. meta: {
  579. title: '临床应用',
  580. icon: 'ri:heart-pulse-line',
  581. keepAlive: false,
  582. isHide: true,
  583. roles: ['admin']
  584. },
  585. children: [
  586. {
  587. id: 'CLI00000000000000000000000000002',
  588. name: 'ClinicalApplicationList',
  589. path: 'clinical-application',
  590. component: '/pilot-service/pilot-application/index',
  591. meta: {
  592. title: '临床申请单',
  593. keepAlive: true,
  594. isHide: true,
  595. menuCode: 'clinical-application:application:list'
  596. },
  597. props: { bizType: 'clinical_application' }
  598. },
  599. {
  600. id: 'CLI00000000000000000000000000003',
  601. name: 'ClinicalCheckupManagement',
  602. path: 'clinical-checkup-management',
  603. component: '/pilot-service/checkup-management/index',
  604. meta: {
  605. title: '体检管理',
  606. keepAlive: true,
  607. isHide: true,
  608. menuCode: 'clinical-application:checkup-management:list'
  609. },
  610. props: { bizType: 'clinical_application' }
  611. },
  612. {
  613. id: 'CLI00000000000000000000000000004',
  614. name: 'ClinicalInfusionSchedule',
  615. path: 'clinical-infusion-schedule-management',
  616. component: '/pilot-service/infusion-schedule-management/index',
  617. meta: {
  618. title: '输注计划管理',
  619. keepAlive: false,
  620. isHide: true,
  621. menuCode: 'clinical-application:infusion-schedule-management:list'
  622. },
  623. props: { bizType: 'clinical_application' }
  624. },
  625. {
  626. id: 'CLI00000000000000000000000000005',
  627. name: 'ClinicalPaymentInfo',
  628. path: 'clinical-payment-info',
  629. component: '/pilot-service/clinical-payment-info/index',
  630. meta: {
  631. title: '缴费信息',
  632. keepAlive: false,
  633. isHide: true,
  634. menuCode: 'clinical-application:payment-info:list'
  635. }
  636. },
  637. {
  638. id: 'CLI00000000000000000000000000006',
  639. name: 'ClinicalPaymentConfirm',
  640. path: 'clinical-payment-confirm',
  641. component: '/pilot-service/clinical-payment-confirm/index',
  642. meta: {
  643. title: '缴退费财务确认',
  644. keepAlive: true,
  645. isHide: true,
  646. menuCode: 'clinical-application:payment-confirm:list'
  647. }
  648. },
  649. {
  650. id: 'CLI00000000000000000000000000007',
  651. name: 'ClinicalRefundConfirm',
  652. path: 'clinical-refund-confirm',
  653. component: '/pilot-service/clinical-refund-confirm/index',
  654. meta: {
  655. title: '退费确认(财务)',
  656. keepAlive: false,
  657. isHide: true,
  658. menuCode: 'clinical-application:refund-confirm:list'
  659. }
  660. },
  661. {
  662. id: 'CLI00000000000000000000000000008',
  663. name: 'ClinicalOutboundRelease',
  664. path: 'clinical-outbound-release-review',
  665. component: '/pilot-service/outbound-release-review/index',
  666. meta: {
  667. title: '出库放行审核',
  668. keepAlive: true,
  669. isHide: true,
  670. menuCode: 'clinical-application:outbound-release-review:list'
  671. },
  672. props: { bizType: 'clinical_application' }
  673. }
  674. ]
  675. },
  676. // ── 生产管理 ──────────────────────────────────────────────────────────
  677. {
  678. id: 'PRM00000000000000000000000000001',
  679. name: 'ProductionManage',
  680. path: 'production',
  681. component: '',
  682. meta: {
  683. title: '生产管理',
  684. icon: 'grid',
  685. keepAlive: false,
  686. roles: ['admin']
  687. },
  688. children: [
  689. {
  690. id: '95200000000000000000000000000001',
  691. name: 'ProductionPreTransitSample',
  692. path: 'pre-transit-sample',
  693. component: '/production/pre-transit-sample/index',
  694. meta: {
  695. title: '预产及在途样本',
  696. keepAlive: true,
  697. menuCode: 'production:preTransitSample:list'
  698. }
  699. },
  700. {
  701. id: '61000000000000000000000000000003',
  702. name: 'ProductionStorageFacility',
  703. path: 'storage-facility',
  704. component: '/operations/storage-facility/index',
  705. meta: {
  706. title: '库位管理',
  707. keepAlive: true,
  708. menuCode: 'operations:storage-facility:list'
  709. }
  710. },
  711. {
  712. id: '90000000000000000000000000000013',
  713. name: 'CellProduct',
  714. path: 'cell-product',
  715. component: '/production/cell-product/index',
  716. meta: {
  717. title: '细胞产品库',
  718. keepAlive: true,
  719. menuCode: 'production:cell-product:list'
  720. }
  721. },
  722. {
  723. id: '90000000000000000000000000000011',
  724. name: 'ProductionWorkOrder',
  725. path: 'production-work-order',
  726. component: '/production/production-work-order/index',
  727. meta: {
  728. title: '生产工单',
  729. keepAlive: true,
  730. menuCode: 'production:work-order:list'
  731. }
  732. },
  733. {
  734. id: '95500000000000000000000000000001',
  735. name: 'ProductionStorageReleaseReview',
  736. path: 'storage-release-review',
  737. component: '/quality-inspection/storage-release-review/index',
  738. meta: {
  739. title: '入库放行审核',
  740. keepAlive: true,
  741. menuCode: 'production:storageReleaseReview:list'
  742. },
  743. props: { reviewRole: 'production' }
  744. },
  745. {
  746. id: '94000000000000000000000000000001',
  747. name: 'ProductionMyProductionTask',
  748. path: 'my-production-task',
  749. component: '/production/my-production-task/index',
  750. meta: {
  751. title: '我的生产任务',
  752. keepAlive: true,
  753. menuCode: 'production:my-task:list'
  754. }
  755. },
  756. {
  757. id: '90000000000000000000000000000012',
  758. name: 'ProductionTask',
  759. path: 'production-task',
  760. component: '/production/production-task/index',
  761. meta: {
  762. title: '生产任务',
  763. keepAlive: false,
  764. isHide: true,
  765. menuCode: 'production:task:list'
  766. }
  767. },
  768. {
  769. id: '94000000000000000000000000000002',
  770. name: 'ProductionMyMaterialUsage',
  771. path: 'my-production-material-usage',
  772. component: '/production/my-production-material-usage/index',
  773. meta: {
  774. title: '我的物料领用记录',
  775. keepAlive: true,
  776. menuCode: 'production:my-material-usage:list'
  777. }
  778. },
  779. {
  780. id: '91000000000000000000000000000001',
  781. name: 'ProductionSampleReceptionCompletion',
  782. path: 'sample-reception-completion',
  783. component: '/production/sample-reception-completion/index',
  784. meta: {
  785. title: '样本接收信息完善',
  786. keepAlive: true,
  787. menuCode: 'production:sample-reception-completion:list',
  788. /** 入口已转移至入库生产工单卡片,此路由保留但隐藏菜单 */
  789. hidden: true
  790. }
  791. },
  792. {
  793. id: '95000000000000000000000000000003',
  794. name: 'ProductionCleanroomGarment',
  795. path: 'cleanroom-garment',
  796. component: '/production/cleanroom-garment/index',
  797. meta: {
  798. title: '洁净服管理',
  799. keepAlive: true,
  800. menuCode: 'production:cleanroom-garment:list'
  801. }
  802. },
  803. {
  804. id: '95300000000000000000000000000001',
  805. name: 'ProductionWasteOutput',
  806. path: 'waste-output',
  807. component: '/production/waste-output/index',
  808. meta: {
  809. title: '废弃物管理',
  810. keepAlive: true,
  811. menuCode: 'production:waste-output:list'
  812. }
  813. }
  814. ]
  815. },
  816. // ── 生产基础信息 ──────────────────────────────────────────────────────
  817. {
  818. id: 'PRB00000000000000000000000000001',
  819. name: 'ProductionBase',
  820. path: 'production-base',
  821. component: '',
  822. meta: {
  823. title: '生产基础信息',
  824. icon: 'ri:tools-line',
  825. keepAlive: false,
  826. roles: ['admin']
  827. },
  828. children: [
  829. {
  830. id: '90000000000000000000000000000014',
  831. name: 'ProductionMaterial',
  832. path: 'production-material',
  833. component: '/production/production-material/index',
  834. meta: {
  835. title: '生产物料库',
  836. keepAlive: true,
  837. menuCode: 'production:material:list'
  838. }
  839. },
  840. {
  841. id: '90000000000000000000000000000002',
  842. name: 'ProductionConsumable',
  843. path: 'consumable',
  844. component: '/production/consumable/index',
  845. meta: {
  846. title: '耗材管理',
  847. keepAlive: true,
  848. isHide: true,
  849. menuCode: 'production:consumable:list'
  850. }
  851. },
  852. {
  853. id: '90000000000000000000000000000007',
  854. name: 'ProductionConsumablePack',
  855. path: 'consumable-pack',
  856. component: '/production/consumable-pack/index',
  857. meta: {
  858. title: '耗材包管理',
  859. keepAlive: false,
  860. isHide: true,
  861. menuCode: 'production:consumable-pack:list'
  862. }
  863. },
  864. {
  865. id: '90000000000000000000000000000003',
  866. name: 'ProductionReagent',
  867. path: 'reagent',
  868. component: '/production/reagent/index',
  869. meta: {
  870. title: '试剂管理',
  871. keepAlive: true,
  872. isHide: true,
  873. menuCode: 'production:reagent:list'
  874. }
  875. },
  876. {
  877. id: '90000000000000000000000000000004',
  878. name: 'ProductionSop',
  879. path: 'sop',
  880. component: '/production/sop/index',
  881. meta: {
  882. title: 'SOP文档',
  883. keepAlive: true,
  884. menuCode: 'production:sop-document:list'
  885. }
  886. },
  887. {
  888. id: '90000000000000000000000000000005',
  889. name: 'ProductionProcessCategory',
  890. path: 'process-category',
  891. component: '/production/process-category/index',
  892. meta: {
  893. title: '工艺基础信息维护',
  894. keepAlive: true,
  895. menuCode: 'production:process-category:list'
  896. }
  897. },
  898. {
  899. id: '90000000000000000000000000000006',
  900. name: 'ProductionOutputType',
  901. path: 'output-type',
  902. component: '/production/output-type/index',
  903. meta: {
  904. title: '工艺产出物类型',
  905. keepAlive: false,
  906. isHide: true,
  907. menuCode: 'production:output-type:list'
  908. }
  909. },
  910. {
  911. id: '90000000000000000000000000000008',
  912. name: 'ProductionProcess',
  913. path: 'process',
  914. component: '/production/process/index',
  915. meta: {
  916. title: '工艺库管理',
  917. keepAlive: true,
  918. menuCode: 'production:process:list'
  919. }
  920. },
  921. {
  922. id: '90000000000000000000000000000009',
  923. name: 'ProductionEquipment',
  924. path: 'equipment',
  925. component: '/production/equipment/index',
  926. meta: {
  927. title: '设备管理',
  928. keepAlive: true,
  929. menuCode: 'production:equipment:list'
  930. }
  931. },
  932. {
  933. id: '90000000000000000000000000000010',
  934. name: 'ProductionProcessRoute',
  935. path: 'process-route',
  936. component: '/production/process-route/index',
  937. meta: {
  938. title: '工艺路线管理',
  939. keepAlive: false,
  940. isHide: true,
  941. menuCode: 'production:process-route:list'
  942. }
  943. },
  944. {
  945. id: '95400000000000000000000000000001',
  946. name: 'ProductionTaskSet',
  947. path: 'production-task-set',
  948. component: '/production/production-task-set/index',
  949. meta: {
  950. title: '生产任务组合模版',
  951. keepAlive: true,
  952. menuCode: 'production:task-set:list'
  953. }
  954. }
  955. ]
  956. }
  957. ]
  958. },
  959. // ═══════════════════════════════════════════════════════════════════════════
  960. // 3. 质检 (menu:quality)
  961. // 二级菜单:质检管理、质检基础信息
  962. // ═══════════════════════════════════════════════════════════════════════════
  963. {
  964. id: 'TOP00000000000000000000000000003',
  965. name: 'Quality',
  966. path: '/quality-group',
  967. component: '/index/index',
  968. meta: {
  969. title: '质检',
  970. icon: 'ri:shield-check-line',
  971. keepAlive: false,
  972. isTopMenu: true,
  973. menuCode: 'menu:quality',
  974. roles: ['admin']
  975. },
  976. children: [
  977. // ── 质检管理 ──────────────────────────────────────────────────────────
  978. {
  979. id: 'QCM00000000000000000000000000001',
  980. name: 'QualityManage',
  981. path: 'quality-manage',
  982. component: '',
  983. meta: {
  984. title: '质检管理',
  985. icon: 'ri:shield-check-line',
  986. keepAlive: false,
  987. roles: ['admin']
  988. },
  989. children: [
  990. {
  991. id: '70000000000000000000000000000001',
  992. name: 'QualityInspectionPreTransitSample',
  993. path: 'pre-transit-sample',
  994. component: '/quality-inspection/pre-transit-sample/index',
  995. meta: {
  996. title: '预产及在途样本',
  997. keepAlive: true,
  998. menuCode: 'biz:preTransitSample:list'
  999. }
  1000. },
  1001. {
  1002. id: '70000000000000000000000000000002',
  1003. name: 'QualityInspectionSampleReception',
  1004. path: 'sample-reception',
  1005. component: '/quality-inspection/sample-reception/index',
  1006. meta: {
  1007. title: '样本接收',
  1008. keepAlive: true,
  1009. menuCode: 'biz:sampleReception:list'
  1010. }
  1011. },
  1012. {
  1013. id: '70000000000000000000000000000007',
  1014. name: 'QualityInspectionQcWorkOrder',
  1015. path: 'qc-work-order',
  1016. component: '/quality-inspection/qc-work-order/index',
  1017. meta: {
  1018. title: '质检工单',
  1019. keepAlive: true,
  1020. menuCode: 'biz:qcWorkOrder:list'
  1021. }
  1022. },
  1023. {
  1024. id: '71000000000000000000000000000002',
  1025. name: 'QualityInspectionEnvDetectRecord',
  1026. path: 'env-detect-record',
  1027. component: '/quality-inspection/env-detect-record/index',
  1028. meta: {
  1029. title: '环境检测管理',
  1030. keepAlive: true,
  1031. menuCode: 'biz:envDetectRecord:list'
  1032. }
  1033. },
  1034. {
  1035. id: '92000000000000000000000000000001',
  1036. name: 'QualityInspectionMyQcMaterialUsage',
  1037. path: 'my-qc-material-usage',
  1038. component: '/quality-inspection/my-qc-material-usage/index',
  1039. meta: {
  1040. title: '我的物料领用记录',
  1041. keepAlive: true,
  1042. menuCode: 'biz:myQcMaterialUsage:list'
  1043. }
  1044. },
  1045. {
  1046. id: '93000000000000000000000000000001',
  1047. name: 'QualityInspectionMyQcTask',
  1048. path: 'my-qc-task',
  1049. component: '/quality-inspection/my-qc-task/index',
  1050. meta: {
  1051. title: '我的质检任务',
  1052. keepAlive: true,
  1053. menuCode: 'biz:myQcTask:list'
  1054. }
  1055. },
  1056. {
  1057. id: '70000000000000000000000000000008',
  1058. name: 'QualityInspectionQcTask',
  1059. path: 'qc-task',
  1060. component: '/quality-inspection/qc-task/index',
  1061. meta: {
  1062. title: '质检任务',
  1063. keepAlive: false,
  1064. isHide: true,
  1065. menuCode: 'biz:qcTask:list'
  1066. }
  1067. },
  1068. {
  1069. id: '70000000000000000000000000000014',
  1070. name: 'QualityInspectionStorageReleaseReview',
  1071. path: 'storage-release-review',
  1072. component: '/quality-inspection/storage-release-review/index',
  1073. meta: {
  1074. title: '入库放行审核',
  1075. keepAlive: true,
  1076. menuCode: 'quality:storageReleaseReview:list'
  1077. },
  1078. props: { reviewRole: 'qc' }
  1079. }
  1080. ]
  1081. },
  1082. // ── 质检基础信息 ──────────────────────────────────────────────────────
  1083. {
  1084. id: 'QCB00000000000000000000000000001',
  1085. name: 'QualityBase',
  1086. path: 'quality-base',
  1087. component: '',
  1088. meta: {
  1089. title: '质检基础信息',
  1090. icon: 'ri:clipboard-line',
  1091. keepAlive: false,
  1092. roles: ['admin']
  1093. },
  1094. children: [
  1095. {
  1096. id: '70000000000000000000000000000003',
  1097. name: 'QualityInspectionSampleReceptionCheckItem',
  1098. path: 'sample-reception-check-item',
  1099. component: '/quality-inspection/sample-reception-check-item/index',
  1100. meta: {
  1101. title: '接收检查项配置',
  1102. keepAlive: true,
  1103. menuCode: 'biz:sampleReceptionCheckItem:list'
  1104. }
  1105. },
  1106. {
  1107. id: '70000000000000000000000000000006',
  1108. name: 'QualityInspectionLabTestItem',
  1109. path: 'lab-test-item',
  1110. component: '/quality-inspection/lab-test-item/index',
  1111. meta: {
  1112. title: '质检项目管理',
  1113. keepAlive: true,
  1114. menuCode: 'biz:qcLabTestItem:list'
  1115. }
  1116. },
  1117. {
  1118. id: '95300000000000000000000000000001',
  1119. name: 'QualityInspectionInspectionItemTemplate',
  1120. path: 'inspection-item-template',
  1121. component: '/quality-inspection/inspection-item-template/index',
  1122. meta: {
  1123. title: '检测项目模版',
  1124. keepAlive: true,
  1125. menuCode: 'biz:qcInspectionItemTemplate:list'
  1126. }
  1127. },
  1128. {
  1129. id: '70000000000000000000000000000004',
  1130. name: 'QualityInspectionThirdPartyCompany',
  1131. path: 'third-party-company',
  1132. component: '/quality-inspection/third-party-company/index',
  1133. meta: {
  1134. title: '第三方检测公司及项目',
  1135. keepAlive: false,
  1136. isHide: true,
  1137. menuCode: 'biz:qcThirdPartyCompany:list'
  1138. }
  1139. },
  1140. {
  1141. id: '71000000000000000000000000000001',
  1142. name: 'QualityInspectionEnvDetectItem',
  1143. path: 'env-detect-item',
  1144. component: '/quality-inspection/env-detect-item/index',
  1145. meta: {
  1146. title: '环境检测项维护',
  1147. keepAlive: true,
  1148. menuCode: 'biz:envDetectItem:list'
  1149. }
  1150. },
  1151. {
  1152. id: '70000000000000000000000000000009',
  1153. name: 'QualityInspectionQcMaterial',
  1154. path: 'qc-material',
  1155. component: '/quality-inspection/qc-material/index',
  1156. meta: {
  1157. title: '质检物料库',
  1158. keepAlive: true,
  1159. menuCode: 'biz:qcMaterial:list'
  1160. }
  1161. },
  1162. {
  1163. id: '95100000000000000000000000000001',
  1164. name: 'QualityInspectionQcMaterialAmountAuth',
  1165. path: 'qc-material-amount-auth',
  1166. component: '/quality-inspection/qc-material-amount-auth/index',
  1167. meta: {
  1168. title: '质检物料金额查看授权',
  1169. keepAlive: true,
  1170. menuCode: 'biz:qcMaterialAmountAuth:list'
  1171. }
  1172. },
  1173. {
  1174. id: '70000000000000000000000000000010',
  1175. name: 'QualityInspectionQcMaterialUsage',
  1176. path: 'qc-material-usage',
  1177. component: '/quality-inspection/qc-material-usage/index',
  1178. meta: {
  1179. title: '质检物料变动记录',
  1180. keepAlive: false,
  1181. isHide: true,
  1182. menuCode: 'biz:qcMaterialUsage:list'
  1183. }
  1184. }
  1185. ]
  1186. }
  1187. ]
  1188. },
  1189. // ═══════════════════════════════════════════════════════════════════════════
  1190. // 4. 运营支撑 (menu:operations)
  1191. // 二级菜单:系统基础信息、运营支撑
  1192. // ═══════════════════════════════════════════════════════════════════════════
  1193. {
  1194. id: 'TOP00000000000000000000000000004',
  1195. name: 'OperationsGroup',
  1196. path: '/operations-group',
  1197. component: '/index/index',
  1198. meta: {
  1199. title: '运营支撑',
  1200. icon: 'ri:settings-3-line',
  1201. keepAlive: false,
  1202. isTopMenu: true,
  1203. menuCode: 'menu:operations',
  1204. roles: ['admin']
  1205. },
  1206. children: [
  1207. // ── 系统基础信息 ──────────────────────────────────────────────────────
  1208. {
  1209. id: 'SYSB000000000000000000000000000001',
  1210. name: 'SystemBase',
  1211. path: 'system-base',
  1212. component: '',
  1213. meta: {
  1214. title: '系统基础信息',
  1215. icon: 'ri:archive-line',
  1216. keepAlive: false,
  1217. roles: ['admin']
  1218. },
  1219. children: [
  1220. {
  1221. id: '107',
  1222. name: 'Site',
  1223. path: 'site',
  1224. component: '/system/site/index',
  1225. meta: {
  1226. title: '站点管理',
  1227. keepAlive: true,
  1228. menuCode: 'system:site:list'
  1229. }
  1230. },
  1231. {
  1232. id: '109',
  1233. name: 'Unit',
  1234. path: 'unit',
  1235. component: '/system/unit/index',
  1236. meta: {
  1237. title: '物品单位管理',
  1238. keepAlive: true,
  1239. menuCode: 'system:unit:list'
  1240. }
  1241. },
  1242. {
  1243. id: '110',
  1244. name: 'Express',
  1245. path: 'express',
  1246. component: '/system/express/index',
  1247. meta: {
  1248. title: '快递公司',
  1249. keepAlive: true,
  1250. menuCode: 'system:express:list'
  1251. }
  1252. }
  1253. ]
  1254. },
  1255. // ── 运营支撑 ──────────────────────────────────────────────────────────
  1256. {
  1257. id: 'OPS00000000000000000000000000001',
  1258. name: 'Operations',
  1259. path: 'operations',
  1260. component: '',
  1261. meta: {
  1262. title: '运营支撑',
  1263. icon: 'operation',
  1264. keepAlive: false,
  1265. roles: ['admin']
  1266. },
  1267. children: [
  1268. {
  1269. id: '61000000000000000000000000000002',
  1270. name: 'CleanRoom',
  1271. path: 'clean-room',
  1272. component: '/operations/clean-room/index',
  1273. meta: {
  1274. title: '洁净室管理',
  1275. keepAlive: true,
  1276. menuCode: 'operations:clean-room:list'
  1277. }
  1278. },
  1279. {
  1280. id: '61000000000000000000000000000004',
  1281. name: 'ExhibitionAppointment',
  1282. path: 'exhibition-appointment',
  1283. component: '/operations/exhibition-appointment/index',
  1284. meta: {
  1285. title: '展馆预约',
  1286. keepAlive: true,
  1287. menuCode: 'operations:exhibition-appointment:list'
  1288. }
  1289. }
  1290. ]
  1291. }
  1292. ]
  1293. },
  1294. // ═══════════════════════════════════════════════════════════════════════════
  1295. // 5. 系统管理 (menu:system-manage)
  1296. // 二级菜单:系统管理、OA审批(旧工作流侧栏隐藏)
  1297. // ═══════════════════════════════════════════════════════════════════════════
  1298. {
  1299. id: 'TOP00000000000000000000000000005',
  1300. name: 'SystemManageGroup',
  1301. path: '/system-manage',
  1302. component: '/index/index',
  1303. meta: {
  1304. title: '系统管理',
  1305. icon: 'ri:server-line',
  1306. keepAlive: false,
  1307. isTopMenu: true,
  1308. menuCode: 'menu:system-manage',
  1309. roles: ['admin']
  1310. },
  1311. children: [
  1312. // ── 系统管理 ──────────────────────────────────────────────────────────
  1313. {
  1314. id: 'SYSM000000000000000000000000000001',
  1315. name: 'SystemManage',
  1316. path: 'system',
  1317. component: '',
  1318. meta: {
  1319. title: '系统管理',
  1320. icon: 'ri:settings-3-line',
  1321. keepAlive: false,
  1322. roles: ['admin']
  1323. },
  1324. children: [
  1325. {
  1326. id: '101',
  1327. name: 'Tenant',
  1328. path: 'tenant',
  1329. component: '/system/tenant/index',
  1330. meta: {
  1331. title: '租户管理',
  1332. keepAlive: true,
  1333. menuCode: 'system:tenant:list'
  1334. }
  1335. },
  1336. {
  1337. id: '102',
  1338. name: 'Dict',
  1339. path: 'dict',
  1340. component: '/system/dict/index',
  1341. meta: {
  1342. title: '字典管理',
  1343. keepAlive: true,
  1344. menuCode: 'system:dict:list'
  1345. }
  1346. },
  1347. {
  1348. id: '106',
  1349. name: 'Menu',
  1350. path: 'menu',
  1351. component: '/system/menu/index',
  1352. meta: {
  1353. title: '菜单管理',
  1354. keepAlive: true,
  1355. menuCode: 'system:menu:list'
  1356. }
  1357. },
  1358. {
  1359. id: '103',
  1360. name: 'Dept',
  1361. path: 'dept',
  1362. component: '/system/dept/index',
  1363. meta: {
  1364. title: '组织管理',
  1365. keepAlive: true,
  1366. menuCode: 'system:dept:list'
  1367. }
  1368. },
  1369. {
  1370. id: '105',
  1371. name: 'Role',
  1372. path: 'role',
  1373. component: '/system/role/index',
  1374. meta: {
  1375. title: '角色管理',
  1376. keepAlive: true,
  1377. menuCode: 'system:role:list'
  1378. }
  1379. },
  1380. {
  1381. id: '104',
  1382. name: 'User',
  1383. path: 'user',
  1384. component: '/system/user/index',
  1385. meta: {
  1386. title: '用户管理',
  1387. keepAlive: true,
  1388. menuCode: 'system:user:list'
  1389. }
  1390. },
  1391. {
  1392. id: '108',
  1393. name: 'Post',
  1394. path: 'post',
  1395. component: '/system/post/index',
  1396. meta: {
  1397. title: '职位管理',
  1398. keepAlive: true,
  1399. menuCode: 'system:post:list'
  1400. }
  1401. },
  1402. {
  1403. id: '10000000000000000000000000000008',
  1404. name: 'UserDetail',
  1405. path: 'user/detail',
  1406. component: '/system/user/detail',
  1407. meta: { title: '用户详情', isHide: true, keepAlive: true }
  1408. }
  1409. ]
  1410. },
  1411. // ── OA审批(钉钉交互;旧工作流菜单位 isHide,见 F14)──────────────────
  1412. {
  1413. id: 'OA000000000000000000000000000001',
  1414. name: 'OaApproval',
  1415. path: 'oa-approval',
  1416. component: '',
  1417. meta: {
  1418. title: 'OA审批',
  1419. icon: 'ri:auction-line',
  1420. keepAlive: false,
  1421. roles: ['admin']
  1422. },
  1423. children: [
  1424. {
  1425. id: 'OA000000000000000000000000000101',
  1426. name: 'OaApprovalApps',
  1427. path: 'apps',
  1428. component: '/oa-approval/apps/index',
  1429. meta: {
  1430. title: '审批管理',
  1431. keepAlive: true,
  1432. menuCode: 'oa:apps:list'
  1433. }
  1434. },
  1435. {
  1436. id: 'OA000000000000000000000000000103',
  1437. name: 'OaApprovalStart',
  1438. path: 'start',
  1439. component: '/oa-approval/start/index',
  1440. meta: {
  1441. title: '发起审批',
  1442. keepAlive: true,
  1443. menuCode: 'oa:start'
  1444. }
  1445. },
  1446. {
  1447. id: 'OA000000000000000000000000000203',
  1448. name: 'OaApprovalHistory',
  1449. path: 'history/:appId',
  1450. component: '/oa-approval/history/index',
  1451. meta: {
  1452. title: '历史记录',
  1453. keepAlive: true,
  1454. isHide: true,
  1455. worktabMulti: true,
  1456. menuCode: 'oa:start'
  1457. }
  1458. },
  1459. {
  1460. id: 'OA000000000000000000000000000109',
  1461. name: 'OaApprovalDrafts',
  1462. path: 'drafts',
  1463. component: '/oa-approval/drafts/index',
  1464. meta: {
  1465. title: '草稿箱',
  1466. keepAlive: true,
  1467. menuCode: 'oa:drafts'
  1468. }
  1469. },
  1470. {
  1471. id: 'OA000000000000000000000000000104',
  1472. name: 'OaApprovalPending',
  1473. path: 'pending',
  1474. component: '/oa-approval/pending/index',
  1475. meta: {
  1476. title: '待办中心',
  1477. keepAlive: true,
  1478. menuCode: 'oa:pending'
  1479. }
  1480. },
  1481. {
  1482. id: 'OA000000000000000000000000000105',
  1483. name: 'OaApprovalDone',
  1484. path: 'done',
  1485. component: '/oa-approval/done/index',
  1486. meta: {
  1487. title: '已办中心',
  1488. keepAlive: true,
  1489. menuCode: 'oa:done'
  1490. }
  1491. },
  1492. {
  1493. id: 'OA000000000000000000000000000106',
  1494. name: 'OaApprovalMine',
  1495. path: 'mine',
  1496. component: '/oa-approval/mine/index',
  1497. meta: {
  1498. title: '我发起的',
  1499. keepAlive: true,
  1500. menuCode: 'oa:mine'
  1501. }
  1502. },
  1503. {
  1504. id: 'OA000000000000000000000000000107',
  1505. name: 'OaApprovalCc',
  1506. path: 'cc',
  1507. component: '/oa-approval/cc/index',
  1508. meta: {
  1509. title: '抄送我的',
  1510. keepAlive: true,
  1511. menuCode: 'oa:cc'
  1512. }
  1513. },
  1514. {
  1515. id: 'OA000000000000000000000000000110',
  1516. name: 'OaApprovalMention',
  1517. path: 'mentions',
  1518. component: '/oa-approval/mentions/index',
  1519. meta: {
  1520. title: '提到我的',
  1521. keepAlive: true,
  1522. menuCode: 'oa:mention'
  1523. }
  1524. },
  1525. {
  1526. id: 'OA000000000000000000000000000108',
  1527. name: 'OaApprovalReceiveAccounts',
  1528. path: 'receive-accounts',
  1529. component: '/oa-approval/receive-accounts/index',
  1530. meta: {
  1531. title: '收款账户管理',
  1532. keepAlive: true,
  1533. menuCode: 'oa:receive-accounts:list'
  1534. }
  1535. },
  1536. {
  1537. id: 'OA000000000000000000000000000201',
  1538. name: 'OaApprovalDesigner',
  1539. path: 'designer/:id',
  1540. component: '/oa-approval/designer/index',
  1541. meta: {
  1542. title: '审批设计',
  1543. keepAlive: false,
  1544. isHide: true,
  1545. menuCode: 'oa:designer'
  1546. }
  1547. },
  1548. {
  1549. id: 'OA000000000000000000000000000202',
  1550. name: 'OaApprovalInstanceDetail',
  1551. path: 'instances/:id',
  1552. component: '/oa-approval/instances/detail',
  1553. meta: {
  1554. title: '审批详情',
  1555. keepAlive: false,
  1556. isHide: true,
  1557. menuCode: 'oa:instance:detail'
  1558. }
  1559. },
  1560. {
  1561. id: '1000000000000000000000000000oa01',
  1562. name: 'OaFormDesignerSpike',
  1563. path: 'oa-form-designer-spike',
  1564. component: '/oa-approval/form-designer-spike/index',
  1565. meta: {
  1566. title: 'OA表单设计器Spike',
  1567. keepAlive: false,
  1568. isHide: true
  1569. }
  1570. }
  1571. ]
  1572. },
  1573. // ── 旧工作流管理(过渡保留,侧栏隐藏)──────────────────────────────────
  1574. {
  1575. id: 'WKF00000000000000000000000000001',
  1576. name: 'Workflow',
  1577. path: 'workflow',
  1578. component: '',
  1579. meta: {
  1580. title: '工作流管理',
  1581. icon: 'workflow',
  1582. keepAlive: false,
  1583. isHide: true,
  1584. roles: ['admin']
  1585. },
  1586. children: [
  1587. {
  1588. id: '10000000000000000000000000000wf01',
  1589. name: 'WorkflowProcess',
  1590. path: 'process',
  1591. component: '/system/workflow/process/index',
  1592. meta: {
  1593. title: '流程配置',
  1594. keepAlive: true,
  1595. icon: 'workflow',
  1596. isHide: true,
  1597. menuCode: 'workflow:process'
  1598. }
  1599. },
  1600. {
  1601. id: '10000000000000000000000000000wf02',
  1602. name: 'WorkflowPending',
  1603. path: 'pending',
  1604. component: '/system/workflow/task-pending/index',
  1605. meta: {
  1606. title: '待办中心',
  1607. keepAlive: true,
  1608. isHide: true,
  1609. menuCode: 'workflow:pending'
  1610. }
  1611. },
  1612. {
  1613. id: '10000000000000000000000000000wf03',
  1614. name: 'WorkflowCompleted',
  1615. path: 'completed',
  1616. component: '/system/workflow/task-completed/index',
  1617. meta: {
  1618. title: '已办中心',
  1619. keepAlive: true,
  1620. isHide: true,
  1621. menuCode: 'workflow:completed'
  1622. }
  1623. },
  1624. {
  1625. id: '10000000000000000000000000000wf05',
  1626. name: 'WorkflowMyApplications',
  1627. path: 'my-applications',
  1628. component: '/system/workflow/my-applications/index',
  1629. meta: {
  1630. title: '我的申请',
  1631. keepAlive: true,
  1632. isHide: true,
  1633. menuCode: 'workflow:myApplications'
  1634. }
  1635. },
  1636. {
  1637. id: '10000000000000000000000000000wf04',
  1638. name: 'LeaveRequest',
  1639. path: 'leave',
  1640. component: '/system/leave/index',
  1641. meta: {
  1642. title: '请假申请',
  1643. keepAlive: true,
  1644. isHide: true,
  1645. menuCode: 'workflow:leave'
  1646. }
  1647. }
  1648. ]
  1649. }
  1650. ]
  1651. }
  1652. ]