| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- 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: "//workStation/certsManage",
- name: "certsManage",
- meta: {
- title: "证书管理",
- },
- component: () => import("../views/workStation/certsManage.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"),
- },
- ],
- });
- export default router;
|