routes.js 1.42 KB
const baseRoutes = [
  {
    path: "/",
    redirect: "/index",
  },
  {
    path: "/index",
    name: "index",
    meta: {
      title: "找车",
    },
    component: () => import("../views/index.vue"),
  },
  {
    path: "/info",
    name: "info",
    meta: {
      title: "找车",
    },
    component: () => import("../views/info.vue"),
  },
  {
    path: "/search/equipment",
    name: "searchEquipment",
    meta: {
      title: "业务支撑查询系统",
    },
    component: () => import("../views/searchEquipment.vue"),
  },
  {
    path: "/search/pc/equipment",
    name: "searchEquipmentPc",
    meta: {
      title: "业务支撑查询系统",
    },
    component: () => import("../views/searchEquipmentPc.vue"),
  },
];
const tabRoutes = [
  {
    name: "replay",
    title: "轨迹回放",
    component: () => import("../views/replay.vue"),
  },
  {
    name: "resident",
    title: "常驻地",
    component: () => import("../views/resident.vue"),
  },
  {
    name: "monitor",
    title: "实时监控",
    component: () => import("../views/monitor.vue"),
  },
  {
    name: "freq",
    title: "设备调频",
    component: () => import("../views/monitor.vue"),
  },
  {
    name: "fence",
    title: "电子围栏",
    component: () => import("../views/monitor.vue"),
  },
  {
    name: "share",
    title: "分享找车",
    component: () => import("../views/monitor.vue"),
  },
];

export default {
  tabRoutes,
  baseRoutes,
};