| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- import {
- createWebHistory,
- createWebHashHistory,
- createMemoryHistory,
- createRouter,
- } from "vue-router";
- const router = createRouter({
- history: createWebHashHistory(),
- routes: [
- {
- path: "/",
- name: "index",
- component: () => import("../views/index/Index.vue"),
- },
- {
- path: "/login",
- name: "login",
- meta: {
- title: "登录",
- },
- component: () => import("../views/index/Login.vue"),
- },
- {
- path: "/cargoOwnerManage/cargoOwnerCompanyDetail",
- name: "cargoOwnerCompanyDetail",
- meta: {
- title: "货主详情",
- },
- component: () =>
- import("../views/cargoOwnerManage/cargoOwnerCompanyDetail.vue"),
- },
- {
- path: "/cargoOwnerManage/cargoOwnerCompanyList",
- name: "cargoOwnerCompanyList",
- meta: {
- title: "货主列表",
- },
- component: () =>
- import("../views/cargoOwnerManage/cargoOwnerCompanyList.vue"),
- },
- {
- path: "/shipInfo/shipList",
- name: "shipList",
- meta: {
- title: "船舶列表",
- },
- component: () => import("../views/shipInfo/shipList.vue"),
- },
- {
- path: "/shipInfo/shipDetail",
- name: "shipDetail",
- meta: {
- title: "船舶详情",
- },
- component: () => import("../views/shipInfo/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: "/voyage/voyageAdd",
- name: "voyageAdd",
- meta: {
- title: "添加航次",
- },
- component: () => import("../views/voyage/voyageAdd.vue"),
- },
- {
- path: "/voyage/voyageDetail",
- name: "voyageDetail",
- meta: {
- title: "航次详情",
- },
- component: () => import("../views/voyage/voyageDetail.vue"),
- },
- {
- path: "/voyage/voyageList",
- name: "voyageList",
- meta: {
- title: "航次列表",
- },
- component: () => import("../views/voyage/voyageList.vue"),
- },
- {
- path: "/index/mediaCheck",
- name: "mediaCheck",
- meta: {
- title: "鉴图/视频",
- },
- component: () => import("../views/index/mediaCheck.vue"),
- },
- {
- path: "/agencyList",
- name: "agencyList",
- meta: {
- title: "代理列表",
- },
- component: () => import("../views/index/AgencyList.vue"),
- },
- {
- path: "/agencySubAccountList",
- name: "agencySubAccountList",
- meta: {
- title: "代理子账户列表",
- },
- component: () => import("../views/index/AgencySubAccountList.vue"),
- },
- {
- path: "/agencyManage/agencyCompanyList",
- name: "agencyCompanyList",
- meta: {
- title: "代理公司列表",
- },
- component: () => import("../views/agencyManage/agencyCompanyList.vue"),
- },
- {
- path: "/agencyManage/agencyCompanyDetail",
- name: "agencyCompanyDetail",
- meta: {
- title: "代理公司详情",
- },
- component: () => import("../views/agencyManage/agencyCompanyDetail.vue"),
- },
- {
- path: "/portsManage/portsList",
- name: "portsList",
- meta: {
- title: "港口列表",
- },
- component: () => import("../views/portsManage/portsList.vue"),
- },
- {
- path: "/portsManage/sailingSchedule",
- name: "sailingSchedule",
- meta: {
- title: "航期维护",
- },
- component: () => import("../views/portsManage/sailingSchedule.vue"),
- },
- {
- path: "/toolManage/blockChain",
- name: "blockChain",
- meta: {
- title: "汇很多科技区块链",
- },
- component: () => import("../views/toolManage/blockChain.vue"),
- },
- {
- path: "/toolManage/versions",
- name: "versions",
- meta: {
- title: "版本日志管理",
- },
- component: () => import("../views/toolManage/versions.vue"),
- },
- ],
- });
- export default router;
|