index.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. import { createRouter, createWebHashHistory } from "vue-router";
  2. const routes = [
  3. {
  4. path: "/",
  5. name: "Program",
  6. component: () => import("../views/Program.vue"),
  7. },
  8. {
  9. path: "/Channel",
  10. name: "Channel",
  11. component: () => import("../views/Channel.vue"),
  12. },
  13. {
  14. path: "/heightlight",
  15. name: "Heightlight",
  16. component: () => import("../views/Heightlight.vue"),
  17. },
  18. {
  19. path: "/realData",
  20. name: "RealData",
  21. component: () => import("../views/RealData.vue"),
  22. },
  23. {
  24. path: "/liveChannel",
  25. name: "LiveChannel",
  26. component: () => import("../views/LiveChannel.vue"),
  27. },
  28. {
  29. path: "/boutiqueColumn",
  30. name: "boutiqueColumn",
  31. component: () => import("../views/BoutiqueColumn/BoutiqueColumn.vue"),
  32. },
  33. {
  34. path: "/activity",
  35. name: "Activity",
  36. component: () => import("../views/Activity/Activity.vue"),
  37. },
  38. {
  39. path: "/jugou",
  40. name: "Jugou",
  41. component: () => import("../views/Jugou/Jugou.vue"),
  42. },
  43. {
  44. path: "/radio",
  45. name: "Radio",
  46. component: () => import("../views/Radio/Radio.vue"),
  47. },
  48. {
  49. path: "/hardAdvertisement",
  50. name: "HardAdvertisement",
  51. component: () => import("../views/HardAdvertisement/HardAdvertisement.vue"),
  52. },
  53. {
  54. path: "/advertisingEye",
  55. name: "AdvertisingEye",
  56. component: () => import("../views/AdvertisingEye/AdvertisingEye.vue"),
  57. },
  58. {
  59. path: "/channelRanking",
  60. name: "ChannelRanking",
  61. component: () => import("../views/ChannelRanking/ChannelRanking.vue"),
  62. },
  63. {
  64. path: "/reportForm",
  65. name: "ReportForm",
  66. component: () => import("../views/ReportForm/ReportForm.vue"),
  67. },
  68. {
  69. path: "/radioBroadcast",
  70. name: "RadioBroadcast",
  71. component: () => import("../views/RadioBroadcast.vue")
  72. },
  73. {
  74. path: "/country",
  75. component: () => import("../views/Country/Index.vue"),
  76. children: [
  77. {
  78. path: "", // 频道全天节目
  79. component: ()=> import("../views/ChannelEPG/Channel.vue")
  80. },
  81. {
  82. path: "/country/customRanking", // 自定义时间段排行
  83. component: ()=> import("../views/CustomRanking/CustomRanking.vue")
  84. },
  85. {
  86. path: "/country/channelList", // 多维度筛选 频道时段排名
  87. component: ()=> import("../views/ChannelList/ChannelList.vue")
  88. },
  89. {
  90. path: "/country/singleDay", // 单天频道点分钟
  91. component: ()=> import("../views/SingleDay/SingleDay.vue")
  92. },
  93. {
  94. path: "/country/average", // 平均频道点分钟
  95. component: ()=> import("../views/Average/Average.vue")
  96. },
  97. {
  98. path: "/country/subRegion", // 频道分地收视(全国)
  99. component: ()=> import("../views/SubRegion/SubRegion.vue")
  100. },
  101. {
  102. path: "/country/channelRegion", // 频道分地区收视
  103. component: ()=> import("../views/ChannelRegion/ChannelRegion.vue")
  104. },
  105. {
  106. path: "/country/flowChannel", // 频道实时流入流出
  107. component: ()=> import("../views/FlowChannel/FlowChannel.vue")
  108. },
  109. {
  110. path: "/country/program", // 节目点分钟
  111. component: ()=> import("../views/Program/Program.vue")
  112. },
  113. {
  114. path: "/country/compete", // 节目竞争一览
  115. component: ()=> import("../views/Compete/Compete.vue")
  116. },
  117. {
  118. path: "/country/specificProgramQuery", // 具体节目剧目查询
  119. component: ()=> import("../views/SpecificProgramQuery/SpecificProgramQuery.vue")
  120. },
  121. {
  122. path: "/country/specificProgram", // 具体节目剧目排行
  123. component: ()=> import("../views/SpecificProgram/SpecificProgram.vue")
  124. },
  125. {
  126. path: "/country/abstractProgramQuery", // 抽象节目剧目查询
  127. component: ()=> import("../views/AbstractProgramQuery/AbstractProgramQuery.vue")
  128. },
  129. {
  130. path: "/country/abstractProgram", // 抽象节目剧目排行
  131. component: ()=> import("../views/AbstractProgram/AbstractProgram.vue")
  132. },
  133. {
  134. path: "/country/flow", // 单期节目流入流出
  135. component: ()=> import("../views/Flow/Flow.vue")
  136. },
  137. {
  138. path: "/country/abstract", // 抽象节目剧目分地区收视(全国)
  139. component: ()=> import("../views/Abstract/Abstract.vue")
  140. },
  141. {
  142. path: "/country/overlap", // 节目剧目重叠度
  143. component: ()=> import("../views/Overlap/Overlap.vue")
  144. },
  145. {
  146. path: "/country/scheduling", // 电视剧排播信息及表现(全国)
  147. component: ()=> import("../views/Scheduling/Scheduling.vue")
  148. },
  149. ],
  150. },
  151. ];
  152. // 实时/单期 节目流入流出 共计2个 可以使用同一模块
  153. // 具体/抽象 节目剧目 查询/排行 共计4个,可以使用一个模块
  154. const router = createRouter({
  155. history: createWebHashHistory(process.env.BASE_URL),
  156. routes,
  157. });
  158. export default router;