index.js 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. import {
  2. createWebHistory,
  3. createWebHashHistory,
  4. createMemoryHistory,
  5. createRouter,
  6. } from "vue-router";
  7. import Login from "../views/index/Login.vue";
  8. const router = createRouter({
  9. history: createWebHashHistory(),
  10. routes: [
  11. {
  12. path: "/index",
  13. name: "index",
  14. meta: {
  15. title: "海事总台",
  16. },
  17. component: () => import("../views/index/Index.vue"),
  18. },
  19. {
  20. path: "/login",
  21. name: "login",
  22. meta: {
  23. title: "登录",
  24. },
  25. component: Login,
  26. },
  27. {
  28. path: "/marineManage/marineNotice",
  29. name: "marineNotice",
  30. meta: {
  31. title: "海事公告",
  32. keepAlive: true,
  33. },
  34. component: () => import("../views/marineManage/marineNotice.vue"),
  35. },
  36. {
  37. path: "/shipManage/shipList",
  38. name: "shipList",
  39. meta: {
  40. title: "船舶列表",
  41. keepAlive: true,
  42. },
  43. component: () => import("../views/shipManage/shipList.vue"),
  44. },
  45. {
  46. path: "/shipManage/shipDetail",
  47. name: "shipDetail",
  48. meta: {
  49. title: "船舶详情",
  50. },
  51. component: () => import("../views/shipManage/shipDetail.vue"),
  52. },
  53. {
  54. path: "/shipOwnerManage/shipOwnerDetail",
  55. name: "shipOwnerDetail",
  56. meta: {
  57. title: "船员详情",
  58. },
  59. component: () => import("../views/shipOwnerManage/shipOwnerDetail.vue"),
  60. },
  61. {
  62. path: "/shipOwnerManage/shipOwnerList",
  63. name: "shipOwnerList",
  64. meta: {
  65. title: "船员列表",
  66. },
  67. component: () => import("../views/shipOwnerManage/shipOwnerList.vue"),
  68. },
  69. {
  70. path: "/crewManage/crewDetail",
  71. name: "crewDetail",
  72. meta: {
  73. title: "船员详情",
  74. },
  75. component: () => import("../views/crewManage/crewDetail.vue"),
  76. },
  77. {
  78. path: "/workStation/certsManage",
  79. name: "certsManage",
  80. meta: {
  81. title: "证书管理",
  82. },
  83. component: () => import("../views/workStation/certsManage.vue"),
  84. },
  85. {
  86. path: "/workStation/oilPriceManage",
  87. name: "oilPriceManage",
  88. meta: {
  89. title: "油价管理",
  90. },
  91. component: () => import("../views/workStation/oilPriceManage.vue"),
  92. },
  93. {
  94. path: "/workStation/legalAidManage",
  95. name: "legalAidManage",
  96. meta: {
  97. title: "法律援助管理",
  98. },
  99. component: () => import("../views/workStation/legalAidManage.vue"),
  100. },
  101. {
  102. path: "/workStation/insuranceManage",
  103. name: "insuranceManage",
  104. meta: {
  105. title: "保险管理",
  106. },
  107. component: () => import("../views/workStation/insuranceManage.vue"),
  108. },
  109. {
  110. path: "/shipSecurityManage/shipCheckTemplateDetail",
  111. name: "shipCheckTemplateDetail",
  112. meta: {
  113. title: "船舶安检模板",
  114. },
  115. component: () =>
  116. import("../views/shipSecurityManage/shipCheckTemplateDetail.vue"),
  117. },
  118. {
  119. path: "/shipSecurityManage/shipCheckTemplateList",
  120. name: "shipCheck",
  121. meta: {
  122. title: "船舶安检模板列表",
  123. },
  124. component: () =>
  125. import("../views/shipSecurityManage/shipCheckTemplateList.vue"),
  126. },
  127. {
  128. path: "/shipSecurityManage/checkShipList",
  129. name: "checkShipList",
  130. meta: {
  131. title: "船舶安检列表",
  132. },
  133. component: () => import("../views/shipSecurityManage/checkShipList.vue"),
  134. },
  135. {
  136. path: "/shipSecurityManage/checkShip",
  137. name: "checkShip",
  138. meta: {
  139. title: "发起船舶安检",
  140. },
  141. component: () => import("../views/shipSecurityManage/checkShip.vue"),
  142. },
  143. {
  144. path: "/shipSecurityManage/checkShipExamineList",
  145. name: "checkShipExamineList",
  146. meta: {
  147. title: "安检审核列表",
  148. },
  149. component: () =>
  150. import("../views/shipSecurityManage/checkShipExamineList.vue"),
  151. },
  152. {
  153. path: "/shipSecurityManage/checkShipExamine",
  154. name: "checkShipExamine",
  155. meta: {
  156. title: "船舶安检审核",
  157. },
  158. component: () =>
  159. import("../views/shipSecurityManage/checkShipExamine.vue"),
  160. },
  161. {
  162. path: "/shipSecurityManage/checkSingleShip",
  163. name: "checkSingleShip",
  164. meta: {
  165. title: "发起船舶安检审核",
  166. },
  167. component: () =>
  168. import("../views/shipSecurityManage/checkSingleShip.vue"),
  169. },
  170. {
  171. path: "/shipSecurityManage/shipCheckHistoryList",
  172. name: "shipCheckHistoryList",
  173. meta: {
  174. title: "历史船舶安检",
  175. },
  176. component: () =>
  177. import("../views/shipSecurityManage/shipCheckHistoryList.vue"),
  178. },
  179. {
  180. path: "/fireSafetyManage/fireSafetyTemplateList",
  181. name: "fireSafetyTemplateList",
  182. meta: {
  183. title: "消防模板列表",
  184. },
  185. component: () =>
  186. import("../views/fireSafetyManage/fireSafetyTemplateList.vue"),
  187. },
  188. {
  189. path: "/fireSafetyManage/fireSafetyTemplateDetail",
  190. name: "fireSafetyTemplateDetail",
  191. meta: {
  192. title: "消防安检模板详情",
  193. },
  194. component: () =>
  195. import("../views/fireSafetyManage/fireSafetyTemplateDetail.vue"),
  196. },
  197. {
  198. path: "/fireSafetyManage/checkFireSafetyExamineList",
  199. name: "checkFireSafetyExamineList",
  200. meta: {
  201. title: "消防安检审核列表",
  202. },
  203. component: () =>
  204. import("../views/fireSafetyManage/checkFireSafetyExamineList.vue"),
  205. },
  206. {
  207. path: "/fireSafetyManage/checkFireSafetyExamine",
  208. name: "checkFireSafetyExamine",
  209. meta: {
  210. title: "消防安检审核",
  211. },
  212. component: () =>
  213. import("../views/fireSafetyManage/checkFireSafetyExamine.vue"),
  214. },
  215. {
  216. path: "/fireSafetyManage/fireSafetyHistoryCheckList",
  217. name: "fireSafetyHistoryCheckList",
  218. meta: {
  219. title: "历史消防安检列表",
  220. },
  221. component: () =>
  222. import("../views/fireSafetyManage/fireSafetyHistoryCheckList.vue"),
  223. },
  224. {
  225. path: "/workStation/newEnergyPolicyManage",
  226. name: "newEnergyPolicyManage",
  227. meta: {
  228. title: "新能源政策管理",
  229. },
  230. component: () => import("../views/workStation/newEnergyPolicyManage.vue"),
  231. },
  232. {
  233. path: "/workStation/annualInspectionNoticeManage",
  234. name: "annualInspectionNoticeManage",
  235. meta: {
  236. title: "年检通知管理",
  237. },
  238. component: () =>
  239. import("../views/workStation/annualInspectionNoticeManage.vue"),
  240. },
  241. {
  242. path: "/workStation/crewSchoolTrainingNoticeManage",
  243. name: "crewSchoolTrainingNoticeManage",
  244. meta: {
  245. title: "学校培训公告管理",
  246. },
  247. component: () =>
  248. import("../views/workStation/crewSchoolTrainingNoticeManage.vue"),
  249. },
  250. {
  251. path: "/workStation/shipyardManage",
  252. name: "shipyardManage",
  253. meta: {
  254. title: "船厂管理",
  255. },
  256. component: () => import("../views/workStation/shipyardManage.vue"),
  257. },
  258. {
  259. path: "/workStation/terminalServiceStaffManage",
  260. name: "terminalServiceStaffManage",
  261. meta: {
  262. title: "码头服务人员管理",
  263. },
  264. component: () =>
  265. import("../views/workStation/terminalServiceStaffManage.vue"),
  266. },
  267. {
  268. path: "/workStation/crewSchoolInfoManage",
  269. name: "crewSchoolInfoManage",
  270. meta: {
  271. title: "学校信息管理",
  272. },
  273. component: () => import("../views/workStation/crewSchoolInfoManage.vue"),
  274. },
  275. ],
  276. });
  277. export default router;