Ver Fonte

[SCREEN] ADD historicTaskScreen.vue route

sgw há 1 ano atrás
pai
commit
25b3edad59
1 ficheiros alterados com 22 adições e 14 exclusões
  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;