DetectionRouter.ts 1.42 KB
import { RouteRecordRaw } from "vue-router";

export const DetectionRouter: Array<RouteRecordRaw> = [
    {
        path: '/detection/order',
        component: () => import('@/views/detection/order/DetectionOrderPage.vue'),
        meta: {
            breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理' }]
        }
    },
    {
        path: '/detection/order/view',
        component: () => import('@/views/detection/order/DetectionOrderView.vue'),
        meta: {
            breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理', path: '/detection/order' }, { name: '检测工单详情' }]
        }
    },
    {
        path: '/detection/report',
        component: () => import('@/views/detection/report/DetectionReportPage.vue'),
        meta: {
            breadcrumbs: [{ name: '检测管理' }, { name: '检测报告管理' }]
        }
    },
    {
        path: '/detection/inspector',
        component: () => import('@/views/detection/inspector/DetectionInspectorPage.vue'),
        meta: {
            breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理' }]
        }
    },
    {
        path: '/detection/inspector/view',
        component: () => import('@/views/detection/inspector/DetectionInspectorView.vue'),
        meta: {
            breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理', path: '/detection/inspector' }, { name: '检测师详情' }]
        }
    },
];