Procházet zdrojové kódy

[SCREEN] ADD historicTaskScreen.vue route

sgw před 1 rokem
rodič
revize
25b3edad59
1 změnil soubory, kde provedl 22 přidání a 14 odebrání
  1. 22 14
      src/router/index.js

+ 22 - 14
src/router/index.js

@@ -4,46 +4,54 @@ import VueRouter from "vue-router";
 Vue.use(VueRouter);
 
 const routes = [
-    {
+	{
 		path: '/',
 		redirect: '/situationScreen'
-	}, 
+	},
 	{
 		path: "/situationScreen",
 		name: "situationScreen",
 		meta: {
-		    title: '任务大屏'
+			title: '任务大屏'
 		},
 		component: () => import("../views/situationScreen.vue")
-    },
-    {
+	},
+	{
 		path: "/taskScreen",
 		name: "taskScreen",
 		meta: {
-		    title: '任务大屏'
+			title: '任务大屏'
 		},
 		component: () => import("../views/taskScreen.vue")
-    },
-    {
+	},
+	{
+		path: "/historicTaskScreen",
+		name: "historicTaskScreen",
+		meta: {
+			title: '任务大屏'
+		},
+		component: () => import("../views/historicTaskScreen.vue")
+	},
+	{
 		path: "/monitorScreen",
 		name: "monitorScreen",
 		meta: {
-		    title: '监控大屏'
+			title: '监控大屏'
 		},
 		component: () => import("../views/monitorScreen.vue")
-    },
+	},
 	{
-        path: '/:pathMatch(.*)',
+		path: '/:pathMatch(.*)',
 		meta: {
-		    title: '404'
+			title: '404'
 		},
 		component: () => import("../views/404.vue")
 	}
-   
+
 ];
 
 const router = new VueRouter({
-    routes,
+	routes,
 });
 
 export default router;