router.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. const routerPush = Router.prototype.push
  4. Router.prototype.push = function push(location) {
  5. return routerPush.call(this, location).catch(error => error)
  6. }
  7. Vue.use(Router)
  8. export default new Router({
  9. // mode: 'history',
  10. base: process.env.BASE_URL,
  11. routes: [
  12. {
  13. path: '/',
  14. redirect: '/home'
  15. },
  16. {
  17. path: '/home',
  18. name: 'home',
  19. component: () => import('./views/Home.vue'),
  20. meta: {
  21. title: '荆州市红十字会'
  22. }
  23. },
  24. {
  25. path: '/donation',
  26. name: 'donation',
  27. component: () => import('./views/Donation.vue'),
  28. redirect: '/donation/contribution',
  29. meta: {
  30. title: '捐赠平台'
  31. },
  32. children: [
  33. {
  34. path: 'contribution',
  35. name: 'contribution',
  36. component: () => import('./views/donation/Contribution.vue'),
  37. meta: {
  38. title: '捐款'
  39. }
  40. },
  41. {
  42. path: 'organDonation',
  43. name: 'organDonation',
  44. component: () => import('./views/donation/OrganDonation.vue'),
  45. meta: {
  46. title: '器官捐献'
  47. }
  48. },
  49. {
  50. path: 'HPC',
  51. name: 'HPC',
  52. component: () => import('./views/donation/Hpc.vue'),
  53. meta: {
  54. title: '捐献造血干细胞'
  55. }
  56. },
  57. ]
  58. },
  59. {
  60. path: '/loveList',
  61. name: 'loveList',
  62. component: () => import('./views/LoveList.vue'),
  63. meta: {
  64. title: '爱心榜'
  65. }
  66. },
  67. {
  68. path: '/join',
  69. name: 'join',
  70. component: () => import('./views/Join.vue'),
  71. redirect: '/join/volunteer',
  72. meta: {
  73. title: '我要参与'
  74. },
  75. children: [
  76. {
  77. path: 'volunteer',
  78. name: 'volunteer',
  79. component: () => import('./views/join/Volunteer.vue'),
  80. meta: {
  81. title: '登记志愿者'
  82. }
  83. },
  84. {
  85. path: 'member',
  86. name: 'member',
  87. component: () => import('./views/join/Member.vue'),
  88. meta: {
  89. title: '登记个人会员'
  90. }
  91. },
  92. {
  93. path: 'train',
  94. name: 'train',
  95. component: () => import('./views/join/Train.vue'),
  96. meta: {
  97. title: '参与普及培训'
  98. }
  99. },
  100. {
  101. path: 'rescue',
  102. name: 'rescue',
  103. component: () => import('./views/join/Rescue.vue'),
  104. meta: {
  105. title: '登记救护员'
  106. }
  107. }
  108. ]
  109. },
  110. {
  111. path: '/about',
  112. name: 'about',
  113. component: () => import('./views/About.vue'),
  114. meta: {
  115. title: '关于我们'
  116. },
  117. },
  118. {
  119. path: '/introduce',
  120. name: 'introduce',
  121. component: () => import('./views/Introduce.vue'),
  122. meta: {
  123. title: '组织介绍'
  124. },
  125. },
  126. {
  127. path: '/law',
  128. name: 'law',
  129. component: () => import('./views/Law.vue'),
  130. meta: {
  131. title: '政策法规'
  132. },
  133. },
  134. // {
  135. // path: '/cause',
  136. // name: 'cause',
  137. // component: () => import('./views/Cause.vue'),
  138. // meta: {
  139. // title: '政策法规'
  140. // },
  141. // },
  142. {
  143. path: '/concat',
  144. name: 'concat',
  145. component: () => import('./views/Concat.vue'),
  146. meta: {
  147. title: '联系我们'
  148. }
  149. },
  150. {
  151. path: '/knowledge',
  152. name: 'Knowledge',
  153. component: () => import('./views/Knowledge.vue'),
  154. meta: {
  155. title: '知识库'
  156. },
  157. redirect: '/knowledge/rescue',
  158. children: [
  159. {
  160. path: 'rescue',
  161. name: 'rescue',
  162. component: () => import('./views/knowledge/Rescue.vue'),
  163. meta: {
  164. title: '救护培训'
  165. },
  166. redirect: '/knowledge/rescue/list',
  167. children: [
  168. {
  169. path: 'list',
  170. name: 'rescueList',
  171. component: () => import('./views/knowledge/rescue/List.vue'),
  172. meta: {
  173. title: '救护培训'
  174. }
  175. },
  176. {
  177. path: 'detail',
  178. name: 'rescuedetail',
  179. component: () => import('./views/knowledge/rescue/Detail.vue'),
  180. meta: {
  181. title: '救护培训'
  182. }
  183. }
  184. ]
  185. },
  186. {
  187. path: 'cells',
  188. name: 'cells',
  189. component: () => import('./views/knowledge/Cells.vue'),
  190. meta: {
  191. title: '造血干细胞'
  192. },
  193. redirect: '/knowledge/cells/list',
  194. children: [
  195. {
  196. path: 'list',
  197. name: 'cellsList',
  198. component: () => import('./views/knowledge/cells/List.vue'),
  199. meta: {
  200. title: '造血干细胞'
  201. }
  202. },
  203. {
  204. path: 'detail',
  205. name: 'cellsdetail',
  206. component: () => import('./views/knowledge/cells/Detail.vue'),
  207. meta: {
  208. title: '造血干细胞'
  209. }
  210. }
  211. ]
  212. },
  213. {
  214. path: 'bloodDonation',
  215. name: 'bloodDonation',
  216. component: () => import('./views/knowledge/BloodDonation.vue'),
  217. meta: {
  218. title: '无偿献血'
  219. },
  220. redirect: '/knowledge/bloodDonation/list',
  221. children: [
  222. {
  223. path: 'list',
  224. name: 'bloodDonationList',
  225. component: () => import('./views/knowledge/bloodDonation/List.vue'),
  226. meta: {
  227. title: '无偿献血'
  228. }
  229. },
  230. {
  231. path: 'detail',
  232. name: 'bloodDonationdetail',
  233. component: () => import('./views/knowledge/bloodDonation/Detail.vue'),
  234. meta: {
  235. title: '无偿献血'
  236. }
  237. }
  238. ]
  239. },
  240. {
  241. path: 'development',
  242. name: 'development',
  243. component: () => import('./views/knowledge/BloodDonation.vue'),
  244. meta: {
  245. title: '无偿献血'
  246. },
  247. redirect: '/knowledge/development/list',
  248. children: [
  249. {
  250. path: 'list',
  251. name: 'developmentlist',
  252. component: () => import('./views/knowledge/development/List.vue'),
  253. meta: {
  254. title: '无偿献血'
  255. }
  256. },
  257. {
  258. path: 'detail',
  259. name: 'developmentdetail',
  260. component: () => import('./views/knowledge/development/Detail.vue'),
  261. meta: {
  262. title: '无偿献血'
  263. }
  264. }
  265. ]
  266. }
  267. ]
  268. },
  269. {
  270. path: '/newContent',
  271. name: 'newContent',
  272. component: () => import('./views/NewContent.vue'),
  273. meta: {
  274. title: '县市区红会动态'
  275. },
  276. redirect: '/newContent/jlx',
  277. children: [
  278. {
  279. path: 'jlx',
  280. name: 'jlx',
  281. component: () => import('./views/newContent/Jlx.vue'),
  282. meta: {
  283. title: '江陵县红会动态'
  284. },
  285. redirect: '/newContent/jlx/list',
  286. children: [
  287. {
  288. path: 'list',
  289. name: 'jlxList',
  290. component: () => import('./views/newContent/jlx/List.vue'),
  291. meta: {
  292. title: '江陵县红会动态'
  293. }
  294. },
  295. {
  296. path: 'detail',
  297. name: 'jlxdetail',
  298. component: () => import('./views/newContent/jlx/Detail.vue'),
  299. meta: {
  300. title: '江陵县红会动态'
  301. }
  302. }
  303. ]
  304. },
  305. {
  306. path: 'sss',
  307. name: 'sss',
  308. component: () => import('./views/newContent/Sss.vue'),
  309. meta: {
  310. title: '石首市红会动态'
  311. },
  312. redirect: '/newContent/sss/list',
  313. children: [
  314. {
  315. path: 'list',
  316. name: 'cellsList',
  317. component: () => import('./views/newContent/sss/List.vue'),
  318. meta: {
  319. title: '石首市红会动态'
  320. }
  321. },
  322. {
  323. path: 'detail',
  324. name: 'cellsdetail',
  325. component: () => import('./views/newContent/sss/Detail.vue'),
  326. meta: {
  327. title: '石首市红会动态'
  328. }
  329. }
  330. ]
  331. },
  332. {
  333. path: 'hhs',
  334. name: 'hhs',
  335. component: () => import('./views/newContent/Hhs.vue'),
  336. meta: {
  337. title: '洪湖市红会动态'
  338. },
  339. redirect: '/newContent/hhs/list',
  340. children: [
  341. {
  342. path: 'list',
  343. name: 'hhsList',
  344. component: () => import('./views/newContent/hhs/List.vue'),
  345. meta: {
  346. title: '洪湖市红会动态'
  347. }
  348. },
  349. {
  350. path: 'detail',
  351. name: 'hhsdetail',
  352. component: () => import('./views/newContent/hhs/Detail.vue'),
  353. meta: {
  354. title: '洪湖市红会动态'
  355. }
  356. }
  357. ]
  358. },
  359. {
  360. path: 'jzq',
  361. name: 'jzq',
  362. component: () => import('./views/newContent/Jzq.vue'),
  363. meta: {
  364. title: '荆州区红会动态'
  365. },
  366. redirect: '/newContent/jzq/list',
  367. children: [
  368. {
  369. path: 'list',
  370. name: 'jzqList',
  371. component: () => import('./views/newContent/jzq/List.vue'),
  372. meta: {
  373. title: '荆州区红会动态'
  374. }
  375. },
  376. {
  377. path: 'detail',
  378. name: 'jzqdetail',
  379. component: () => import('./views/newContent/jzq/Detail.vue'),
  380. meta: {
  381. title: '荆州区红会动态'
  382. }
  383. }
  384. ]
  385. },
  386. {
  387. path: 'ssq',
  388. name: 'ssq',
  389. component: () => import('./views/newContent/Ssq.vue'),
  390. meta: {
  391. title: '沙市区红会动态'
  392. },
  393. redirect: '/newContent/ssq/list',
  394. children: [
  395. {
  396. path: 'list',
  397. name: 'ssqList',
  398. component: () => import('./views/newContent/ssq/List.vue'),
  399. meta: {
  400. title: '沙市区红会动态'
  401. }
  402. },
  403. {
  404. path: 'detail',
  405. name: 'ssqdetail',
  406. component: () => import('./views/newContent/ssq/Detail.vue'),
  407. meta: {
  408. title: '沙市区红会动态'
  409. }
  410. }
  411. ]
  412. },
  413. {
  414. path: 'szs',
  415. name: 'szs',
  416. component: () => import('./views/newContent/Szs.vue'),
  417. meta: {
  418. title: '松滋市红会动态'
  419. },
  420. redirect: '/newContent/szs/list',
  421. children: [
  422. {
  423. path: 'list',
  424. name: 'szsList',
  425. component: () => import('./views/newContent/szs/List.vue'),
  426. meta: {
  427. title: '松滋市红会动态'
  428. }
  429. },
  430. {
  431. path: 'detail',
  432. name: 'szsdetail',
  433. component: () => import('./views/newContent/szs/Detail.vue'),
  434. meta: {
  435. title: '松滋市红会动态'
  436. }
  437. }
  438. ]
  439. },
  440. {
  441. path: 'jls',
  442. name: 'jls',
  443. component: () => import('./views/newContent/Jls.vue'),
  444. meta: {
  445. title: '松滋市红会动态'
  446. },
  447. redirect: '/newContent/jls/list',
  448. children: [
  449. {
  450. path: 'list',
  451. name: 'jlsList',
  452. component: () => import('./views/newContent/jls/List.vue'),
  453. meta: {
  454. title: '松滋市红会动态'
  455. }
  456. },
  457. {
  458. path: 'detail',
  459. name: 'jlsdetail',
  460. component: () => import('./views/newContent/jls/Detail.vue'),
  461. meta: {
  462. title: '松滋市红会动态'
  463. }
  464. }
  465. ]
  466. }
  467. ]
  468. },
  469. {
  470. path: '/cause',
  471. name: 'cause',
  472. component: () => import('./views/Cause.vue'),
  473. meta: {
  474. title: '红十字事业'
  475. },
  476. redirect: '/cause/rescue',
  477. children: [
  478. {
  479. path: 'rescue',
  480. name: 'rescue',
  481. component: () => import('./views/cause/Rescue.vue'),
  482. meta: {
  483. title: '应急救援'
  484. },
  485. redirect: '/cause/rescue/list',
  486. children: [
  487. {
  488. path: 'list',
  489. name: 'jlxList',
  490. component: () => import('./views/cause/rescue/List.vue'),
  491. meta: {
  492. title: '应急救援'
  493. }
  494. },
  495. {
  496. path: 'detail',
  497. name: 'jlxdetail',
  498. component: () => import('./views/cause/rescue/Detail.vue'),
  499. meta: {
  500. title: '应急救援'
  501. }
  502. }
  503. ]
  504. },
  505. {
  506. path: 'emergency',
  507. name: 'emergency',
  508. component: () => import('./views/cause/Emergency.vue'),
  509. meta: {
  510. title: '应急救护'
  511. },
  512. redirect: '/cause/emergency/list',
  513. children: [
  514. {
  515. path: 'list',
  516. name: 'cellsList',
  517. component: () => import('./views/cause/emergency/List.vue'),
  518. meta: {
  519. title: '应急救护'
  520. }
  521. },
  522. {
  523. path: 'detail',
  524. name: 'cellsdetail',
  525. component: () => import('./views/cause/emergency/Detail.vue'),
  526. meta: {
  527. title: '应急救护'
  528. }
  529. }
  530. ]
  531. },
  532. {
  533. path: 'humanity',
  534. name: 'humanity',
  535. component: () => import('./views/cause/Humanity.vue'),
  536. meta: {
  537. title: '人道救助'
  538. },
  539. redirect: '/cause/humanity/list',
  540. children: [
  541. {
  542. path: 'list',
  543. name: 'humanityList',
  544. component: () => import('./views/cause/humanity/List.vue'),
  545. meta: {
  546. title: '人道救助'
  547. }
  548. },
  549. {
  550. path: 'detail',
  551. name: 'humanitydetail',
  552. component: () => import('./views/cause/humanity/Detail.vue'),
  553. meta: {
  554. title: '人道救助'
  555. }
  556. }
  557. ]
  558. },
  559. {
  560. path: 'cells',
  561. name: 'cells',
  562. component: () => import('./views/cause/Cells.vue'),
  563. meta: {
  564. title: '造血干细胞捐献'
  565. },
  566. redirect: '/cause/cells/list',
  567. children: [
  568. {
  569. path: 'list',
  570. name: 'cellsList',
  571. component: () => import('./views/cause/cells/List.vue'),
  572. meta: {
  573. title: '造血干细胞捐献'
  574. }
  575. },
  576. {
  577. path: 'detail',
  578. name: 'cellsdetail',
  579. component: () => import('./views/cause/cells/Detail.vue'),
  580. meta: {
  581. title: '造血干细胞捐献'
  582. }
  583. }
  584. ]
  585. },
  586. {
  587. path: 'free',
  588. name: 'free',
  589. component: () => import('./views/cause/Free.vue'),
  590. meta: {
  591. title: '无偿献血'
  592. },
  593. redirect: '/cause/free/list',
  594. children: [
  595. {
  596. path: 'list',
  597. name: 'freeList',
  598. component: () => import('./views/cause/free/List.vue'),
  599. meta: {
  600. title: '无偿献血'
  601. }
  602. },
  603. {
  604. path: 'detail',
  605. name: 'freedetail',
  606. component: () => import('./views/cause/free/Detail.vue'),
  607. meta: {
  608. title: '无偿献血'
  609. }
  610. }
  611. ]
  612. },
  613. {
  614. path: 'remains',
  615. name: 'remains',
  616. component: () => import('./views/cause/Remains.vue'),
  617. meta: {
  618. title: '遗体和人体器官捐献'
  619. },
  620. redirect: '/cause/remains/list',
  621. children: [
  622. {
  623. path: 'list',
  624. name: 'remainsList',
  625. component: () => import('./views/cause/remains/List.vue'),
  626. meta: {
  627. title: '遗体和人体器官捐献'
  628. }
  629. },
  630. {
  631. path: 'detail',
  632. name: 'remainsdetail',
  633. component: () => import('./views/cause/remains/Detail.vue'),
  634. meta: {
  635. title: '遗体和人体器官捐献'
  636. }
  637. }
  638. ]
  639. },
  640. {
  641. path: 'teenagers',
  642. name: 'teenagers',
  643. component: () => import('./views/cause/Teenagers.vue'),
  644. meta: {
  645. title: '红十字青少年'
  646. },
  647. redirect: '/cause/teenagers/list',
  648. children: [
  649. {
  650. path: 'list',
  651. name: 'teenagersList',
  652. component: () => import('./views/cause/teenagers/List.vue'),
  653. meta: {
  654. title: '红十字青少年'
  655. }
  656. },
  657. {
  658. path: 'detail',
  659. name: 'teenagersdetail',
  660. component: () => import('./views/cause/teenagers/Detail.vue'),
  661. meta: {
  662. title: '红十字青少年'
  663. }
  664. }
  665. ]
  666. },
  667. {
  668. path: 'service',
  669. name: 'service',
  670. component: () => import('./views/cause/Service.vue'),
  671. meta: {
  672. title: '志愿服务'
  673. },
  674. redirect: '/cause/service/list',
  675. children: [
  676. {
  677. path: 'list',
  678. name: 'serviceList',
  679. component: () => import('./views/cause/service/List.vue'),
  680. meta: {
  681. title: '志愿服务'
  682. }
  683. },
  684. {
  685. path: 'detail',
  686. name: 'servicedetail',
  687. component: () => import('./views/cause/service/Detail.vue'),
  688. meta: {
  689. title: '志愿服务'
  690. }
  691. }
  692. ]
  693. }
  694. ]
  695. },
  696. {
  697. path: '/popularScience',
  698. name: 'popularScience',
  699. component: () => import('./views/PopularScience.vue'),
  700. meta: {
  701. title: '红会科普'
  702. },
  703. redirect: '/popularScience/list',
  704. children: [
  705. {
  706. path: 'list',
  707. name: 'list',
  708. component: () => import('./views/popularScience/List.vue'),
  709. meta: {
  710. title: '红会科普'
  711. }
  712. },
  713. {
  714. path: 'detail',
  715. name: 'detail',
  716. component: () => import('./views/popularScience/Detail.vue'),
  717. meta: {
  718. title: '红会科普'
  719. }
  720. }
  721. ]
  722. },
  723. {
  724. path: '/news',
  725. name: 'news',
  726. component: () => import('./views/News.vue'),
  727. meta: {
  728. title: '红会新闻'
  729. },
  730. redirect: '/news/list',
  731. children: [
  732. {
  733. path: 'list',
  734. name: 'newslist',
  735. component: () => import('./views/news/List.vue'),
  736. meta: {
  737. title: '红会新闻'
  738. }
  739. },
  740. {
  741. path: 'detail',
  742. name: 'newsdetail',
  743. component: () => import('./views/news/Detail.vue'),
  744. meta: {
  745. title: '红会新闻'
  746. }
  747. }
  748. ]
  749. },
  750. {
  751. path: '/publicity',
  752. name: 'publicity',
  753. component: () => import('./views/Publicity.vue'),
  754. meta: {
  755. title: '信息公示'
  756. },
  757. redirect: '/publicity/list',
  758. children: [
  759. {
  760. path: 'list',
  761. name: 'publicitylist',
  762. component: () => import('./views/publicity/List.vue'),
  763. meta: {
  764. title: '信息公示'
  765. }
  766. },
  767. {
  768. path: 'detail',
  769. name: 'publicitydetail',
  770. component: () => import('./views/publicity/Detail.vue'),
  771. meta: {
  772. title: '信息公示'
  773. }
  774. }
  775. ]
  776. },
  777. {
  778. path: '/regulations',
  779. name: 'regulations',
  780. component: () => import('./views/Regulations.vue'),
  781. meta: {
  782. title: '政策法规'
  783. },
  784. redirect: '/regulations/list',
  785. children: [
  786. {
  787. path: 'list',
  788. name: 'regulationsList',
  789. component: () => import('./views/regulations/List.vue'),
  790. meta: {
  791. title: '政策法规'
  792. }
  793. },
  794. {
  795. path: 'detail',
  796. name: 'regulationsdetail',
  797. component: () => import('./views/regulations/Detail.vue'),
  798. meta: {
  799. title: '政策法规'
  800. }
  801. }
  802. ]
  803. },
  804. {
  805. path: '/help',
  806. name: 'help',
  807. component: () => import('./views/Help.vue'),
  808. meta: {
  809. title: '我要求助'
  810. },
  811. redirect: '/help/list',
  812. children: [
  813. {
  814. path: 'list',
  815. name: 'helpList',
  816. component: () => import('./views/help/List.vue'),
  817. meta: {
  818. title: '我要求助'
  819. }
  820. },
  821. {
  822. path: 'detail',
  823. name: 'helpdetail',
  824. component: () => import('./views/help/Detail.vue'),
  825. meta: {
  826. title: '我要求助'
  827. }
  828. }
  829. ]
  830. },
  831. {
  832. path: '/directories',
  833. name: 'directories',
  834. component: () => import('./views/Directories.vue'),
  835. meta: {
  836. title: '造血干细胞捐献名录'
  837. },
  838. redirect: '/directories/list',
  839. children: [
  840. {
  841. path: 'list',
  842. name: 'directoriesList',
  843. component: () => import('./views/directories/List.vue'),
  844. meta: {
  845. title: '造血干细胞捐献名录'
  846. }
  847. },
  848. {
  849. path: 'detail',
  850. name: 'directoriesdetail',
  851. component: () => import('./views/directories/Detail.vue'),
  852. meta: {
  853. title: '造血干细胞捐献名录'
  854. }
  855. }
  856. ]
  857. },
  858. {
  859. path: '/organs',
  860. name: 'organs',
  861. component: () => import('./views/Organs.vue'),
  862. meta: {
  863. title: '器官/遗体捐献名录'
  864. },
  865. redirect: '/organs/list',
  866. children: [
  867. {
  868. path: 'list',
  869. name: 'organsList',
  870. component: () => import('./views/organs/List.vue'),
  871. meta: {
  872. title: '器官/遗体捐献名录'
  873. }
  874. },
  875. {
  876. path: 'detail',
  877. name: 'organsdetail',
  878. component: () => import('./views/organs/Detail.vue'),
  879. meta: {
  880. title: '器官/遗体捐献名录'
  881. }
  882. }
  883. ]
  884. },
  885. {
  886. path: '*',
  887. redirect: '/home'
  888. }
  889. ]
  890. })