Commit 7efebbf9 by chenwq1

feat: 新加检测模板

1 parent ad8e3fb3
This diff could not be displayed because it is too large.
......@@ -6,8 +6,8 @@ PUBLISH_PATH = '/'
BASE_URL = '/
# 开发环境
VITE_API_BASE_URL = 'http://aus.test.glsx.com.cn/admin/rest'
# VITE_API_BASE_URL = 'http://192.168.1.125:6903/admin/rest'
# VITE_API_BASE_URL = 'http://aus.test.glsx.com.cn/admin/rest'
VITE_API_BASE_URL = 'http://192.168.1.69:6903/admin/rest'
#VITE_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwicmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJwYXNzd29yZCI6IiQyYSQxMCRlQ21jWmxPaFltVUxrNklibjR3RVgudjNpa0dzcnBpYjh0SlBlcGJ6NVl1SXFWbUpCVER4eSIsImlzcyI6ImF1c0FwcCIsImV4cCI6MTg0NTI4NTU3NiwiaWF0IjoxNzczMjg1NTc2LCJqdGkiOiIzMCIsImF1dGhvcml0aWVzIjpbIlJPTEVfU1VQRVIiXX0.q0Ou_W9goNWUgasZTULp4IDWlZhVHWbQ0jn49qdZeSw'
......
This diff could not be displayed because it is too large.
......@@ -2,45 +2,83 @@ import { RouteRecordRaw } from "vue-router";
export const DetectionRouter: Array<RouteRecordRaw> = [
{
path: '/detection/order',
component: () => import('@/views/detection/order/DetectionOrderPage.vue'),
path: "/detection/order",
component: () =>
import("@/views/detection/order/DetectionOrderPage.vue"),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理' }]
}
breadcrumbs: [{ name: "检测管理" }, { name: "检测工单管理" }],
},
},
{
path: '/detection/order/view',
component: () => import('@/views/detection/order/DetectionOrderView.vue'),
path: "/detection/order/view",
component: () =>
import("@/views/detection/order/DetectionOrderView.vue"),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理', path: '/detection/order' }, { name: '检测工单详情' }]
}
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测工单管理", path: "/detection/order" },
{ name: "检测工单详情" },
],
},
},
{
path: '/detection/order/edit',
component: () => import('@/views/detection/order/DetectionOrderEdit.vue'),
path: "/detection/order/edit",
component: () =>
import("@/views/detection/order/DetectionOrderEdit.vue"),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理', path: '/detection/order' }, { name: '编辑检测报告' }]
}
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测工单管理", path: "/detection/order" },
{ name: "编辑检测报告" },
],
},
},
{
path: '/detection/report',
component: () => import('@/views/detection/report/DetectionReportPage.vue'),
path: "/detection/report",
component: () =>
import("@/views/detection/report/DetectionReportPage.vue"),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测报告管理' }]
}
breadcrumbs: [{ name: "检测管理" }, { name: "检测报告管理" }],
},
},
{
path: '/detection/inspector',
component: () => import('@/views/detection/inspector/DetectionInspectorPage.vue'),
path: "/detection/template",
component: () =>
import("@/views/detection/template/DetectionTemplatePage.vue"),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理' }]
}
breadcrumbs: [{ name: "检测管理" }, { name: "检测模板管理" }],
},
},
{
path: '/detection/inspector/view',
component: () => import('@/views/detection/inspector/DetectionInspectorView.vue'),
path: "/detection/template/preview",
component: () =>
import("@/views/detection/template/DetectionTemplatePreview.vue"),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理', path: '/detection/inspector' }, { name: '检测师详情' }]
}
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测模板管理", path: "/detection/template" },
{ 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: "检测师详情" },
],
},
},
];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!