| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- import {
- createWebHistory,
- createWebHashHistory,
- createMemoryHistory,
- createRouter,
- } from "vue-router";
- import Login from "../views/index/Login.vue";
- const router = createRouter({
- history: createWebHashHistory(),
- routes: [
- {
- path: "/index",
- name: "index",
- meta: {
- title: "海事总台",
- },
- component: () => import("../views/index/Index.vue"),
- },
- {
- path: "/login",
- name: "login",
- meta: {
- title: "登录",
- },
- component: Login,
- },
- {
- path: "/marineManage/marineNotice",
- name: "marineNotice",
- meta: {
- title: "海事公告",
- keepAlive: true,
- },
- component: () => import("../views/marineManage/marineNotice.vue"),
- },
- {
- path: "/shipManage/shipList",
- name: "shipList",
- meta: {
- title: "船舶列表",
- keepAlive: true,
- },
- component: () => import("../views/shipManage/shipList.vue"),
- },
- {
- path: "/shipManage/shipDetail",
- name: "shipDetail",
- meta: {
- title: "船舶详情",
- },
- component: () => import("../views/shipManage/shipDetail.vue"),
- },
- {
- path: "/shipOwnerManage/shipOwnerDetail",
- name: "shipOwnerDetail",
- meta: {
- title: "船员详情",
- },
- component: () => import("../views/shipOwnerManage/shipOwnerDetail.vue"),
- },
- {
- path: "/shipOwnerManage/shipOwnerList",
- name: "shipOwnerList",
- meta: {
- title: "船员列表",
- },
- component: () => import("../views/shipOwnerManage/shipOwnerList.vue"),
- },
- {
- path: "/crewManage/crewDetail",
- name: "crewDetail",
- meta: {
- title: "船员详情",
- },
- component: () => import("../views/crewManage/crewDetail.vue"),
- },
- {
- path: "/workStation/certsManage",
- name: "certsManage",
- meta: {
- title: "证书管理",
- },
- component: () => import("../views/workStation/certsManage.vue"),
- },
- {
- path: "/workStation/oilPriceManage",
- name: "oilPriceManage",
- meta: {
- title: "油价管理",
- },
- component: () => import("../views/workStation/oilPriceManage.vue"),
- },
- {
- path: "/workStation/legalAidManage",
- name: "legalAidManage",
- meta: {
- title: "法律援助管理",
- },
- component: () => import("../views/workStation/legalAidManage.vue"),
- },
- {
- path: "/workStation/insuranceManage",
- name: "insuranceManage",
- meta: {
- title: "保险管理",
- },
- component: () => import("../views/workStation/insuranceManage.vue"),
- },
- {
- path: "/shipSecurityManage/shipCheckTemplateDetail",
- name: "shipCheckTemplateDetail",
- meta: {
- title: "船舶安检模板",
- },
- component: () =>
- import("../views/shipSecurityManage/shipCheckTemplateDetail.vue"),
- },
- {
- path: "/shipSecurityManage/shipCheckTemplateList",
- name: "shipCheck",
- meta: {
- title: "船舶安检模板列表",
- },
- component: () =>
- import("../views/shipSecurityManage/shipCheckTemplateList.vue"),
- },
- {
- path: "/shipSecurityManage/checkShipList",
- name: "checkShipList",
- meta: {
- title: "船舶安检列表",
- },
- component: () => import("../views/shipSecurityManage/checkShipList.vue"),
- },
- {
- path: "/shipSecurityManage/checkShip",
- name: "checkShip",
- meta: {
- title: "发起船舶安检",
- },
- component: () => import("../views/shipSecurityManage/checkShip.vue"),
- },
- {
- path: "/shipSecurityManage/checkShipExamineList",
- name: "checkShipExamineList",
- meta: {
- title: "安检审核列表",
- },
- component: () =>
- import("../views/shipSecurityManage/checkShipExamineList.vue"),
- },
- {
- path: "/shipSecurityManage/checkShipExamine",
- name: "checkShipExamine",
- meta: {
- title: "船舶安检审核",
- },
- component: () =>
- import("../views/shipSecurityManage/checkShipExamine.vue"),
- },
- {
- path: "/shipSecurityManage/checkSingleShip",
- name: "checkSingleShip",
- meta: {
- title: "发起船舶安检审核",
- },
- component: () =>
- import("../views/shipSecurityManage/checkSingleShip.vue"),
- },
- {
- path: "/shipSecurityManage/shipCheckHistoryList",
- name: "shipCheckHistoryList",
- meta: {
- title: "历史船舶安检",
- },
- component: () =>
- import("../views/shipSecurityManage/shipCheckHistoryList.vue"),
- },
- {
- path: "/fireSafetyManage/fireSafetyTemplateList",
- name: "fireSafetyTemplateList",
- meta: {
- title: "消防模板列表",
- },
- component: () =>
- import("../views/fireSafetyManage/fireSafetyTemplateList.vue"),
- },
- {
- path: "/fireSafetyManage/fireSafetyTemplateDetail",
- name: "fireSafetyTemplateDetail",
- meta: {
- title: "消防安检模板详情",
- },
- component: () =>
- import("../views/fireSafetyManage/fireSafetyTemplateDetail.vue"),
- },
- {
- path: "/fireSafetyManage/checkFireSafetyExamineList",
- name: "checkFireSafetyExamineList",
- meta: {
- title: "消防安检审核列表",
- },
- component: () =>
- import("../views/fireSafetyManage/checkFireSafetyExamineList.vue"),
- },
- {
- path: "/fireSafetyManage/checkFireSafetyExamine",
- name: "checkFireSafetyExamine",
- meta: {
- title: "消防安检审核",
- },
- component: () =>
- import("../views/fireSafetyManage/checkFireSafetyExamine.vue"),
- },
- {
- path: "/fireSafetyManage/fireSafetyHistoryCheckList",
- name: "fireSafetyHistoryCheckList",
- meta: {
- title: "历史消防安检列表",
- },
- component: () =>
- import("../views/fireSafetyManage/fireSafetyHistoryCheckList.vue"),
- },
- {
- path: "/workStation/newEnergyPolicyManage",
- name: "newEnergyPolicyManage",
- meta: {
- title: "新能源政策管理",
- },
- component: () => import("../views/workStation/newEnergyPolicyManage.vue"),
- },
- {
- path: "/workStation/annualInspectionNoticeManage",
- name: "annualInspectionNoticeManage",
- meta: {
- title: "年检通知管理",
- },
- component: () =>
- import("../views/workStation/annualInspectionNoticeManage.vue"),
- },
- {
- path: "/workStation/crewSchoolTrainingNoticeManage",
- name: "crewSchoolTrainingNoticeManage",
- meta: {
- title: "学校培训公告管理",
- },
- component: () =>
- import("../views/workStation/crewSchoolTrainingNoticeManage.vue"),
- },
- {
- path: "/workStation/shipyardManage",
- name: "shipyardManage",
- meta: {
- title: "船厂管理",
- },
- component: () => import("../views/workStation/shipyardManage.vue"),
- },
- {
- path: "/workStation/terminalServiceStaffManage",
- name: "terminalServiceStaffManage",
- meta: {
- title: "码头服务人员管理",
- },
- component: () =>
- import("../views/workStation/terminalServiceStaffManage.vue"),
- },
- {
- path: "/workStation/crewSchoolInfoManage",
- name: "crewSchoolInfoManage",
- meta: {
- title: "学校信息管理",
- },
- component: () => import("../views/workStation/crewSchoolInfoManage.vue"),
- },
- ],
- });
- export default router;
|