1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
| import Layout from "@/layout/custom.vue";
| import type { RouteRecordRaw } from "vue-router";
| import Demo from "@/views/demo/index.vue";
|
| const routes: Array<RouteRecordRaw> = [
| {
| path: "/",
| name: "root",
| component: Layout,
| redirect: { name: "Demo" },
| children: [
| {
| path: "demo",
| name: "Demo",
| component: Demo,
| meta: {
| title: "主页"
| }
| },
| {
| path: "calibration",
| name: "Calibration",
| component: () => import("@/views/calibration/index.vue"),
| meta: {
| title: "校准"
| }
| },
| {
| path: "setting",
| name: "Setting",
| component: () => import("@/views/setting/index.vue"),
| meta: {
| title: "校准"
| }
| },
| {
| path: "params",
| name: "Params",
| component: () => import("@/views/setting/params.vue"),
| meta: {
| title: "参数设置"
| }
| },
| {
| path: "adjust",
| name: "Adjust",
| component: () => import("@/views/setting/adjust.vue"),
| meta: {
| title: "调整截距"
| }
| },
| {
| path: "weight",
| name: "Weight",
| component: () => import("@/views/setting/weight.vue"),
| meta: {
| title: "重量校准"
| }
| },
| {
| path: "maint",
| name: "Maint",
| component: () => import("@/views/setting/maint.vue"),
| meta: {
| title: "仪器维护"
| }
| },
| {
| path: "analy",
| name: "Analy",
| component: () => import("@/views/analy/index.vue"),
| meta: {
| title: "分析"
| }
| },
| {
| path: "system",
| name: "System",
| component: () => import("@/views/system/index.vue"),
| meta: {
| title: "系统设置"
| }
| },
| {
| path: "tools",
| name: "Tools",
| component: () => import("@/views/tools/index.vue"),
| meta: {
| title: "工具"
| }
| },
| {
| path: "about",
| name: "About",
| component: () => import("@/views/about/index.vue"),
| meta: {
| title: "关于",
| noCache: true
| }
| }
| ]
| }
| ];
|
| export default routes;
|
|