瀏覽代碼

更改路由

Lijy 1 年之前
父節點
當前提交
072ffe54ec

+ 10 - 5
fhKeeper/formulahousekeeper/timesheet-workshop-h5/src/router/index.js

@@ -33,7 +33,8 @@ const router = new Router({
         }
     },
     {
-        path: "/todayPlan",
+        // path: "/todayPlan",
+        path: "/plan/today",
         component: () => import("@/views/planView/todayPlan/todayPlan"),
         meta: {
             title: "今日计划",
@@ -50,7 +51,8 @@ const router = new Router({
         }
     },
     {
-        path: "/tomorrowPlan",
+        // path: "/tomorrowPlan",
+        path: "/plan/tomorrow",
         component: () => import("@/views/planView/tomorrowPlan/tomorrowPlan"),
         meta: {
             title: "明日计划",
@@ -58,7 +60,8 @@ const router = new Router({
         }
     },
     {
-        path: "/InsertionPlan",
+        // path: "/InsertionPlan",
+        path: "/plan/orderInsert",
         component: () => import("@/views/planView/InsertionPlan/InsertionPlan"),
         meta: {
             title: "插单计划",
@@ -75,7 +78,8 @@ const router = new Router({
         }
     },
     {
-        path: "/statisticsView",
+        // path: "/statisticsView",
+        path: "/statistic",
         component: () => import("@/views/statisticsView/statisticsView"),
         meta: {
             title: "数据统计",
@@ -99,7 +103,8 @@ const router = new Router({
         }
     },
     {
-        path: "/workView",
+        // path: "/workView",
+        path: "/report",
         component: () => import("@/views/workView/workView"),
         meta: {
             title: "报工",

+ 6 - 4
fhKeeper/formulahousekeeper/timesheet-workshop-h5/src/views/index/index.vue

@@ -184,19 +184,20 @@ export default {
                 {
                     name: '今日计划',
                     moudelName: '今日计划',
-                    url: '/todayPlan',
+                    // url: '/todayPlan',
+                    url: '/plan/today',
                     icon: 'balance-list-o'
                 },
                 {
                     name: '明日计划',
                     moudelName: '明日计划',
-                    url: '/tomorrowPlan',
+                    url: '/plan/tomorrow',
                     icon: 'balance-list-o'
                 },
                 {
                     name: '插单计划',
                     moudelName: '插单计划',
-                    url: '/InsertionPlan',
+                    url: '/plan/orderInsert',
                     icon: 'balance-list-o'
                 },
                 {
@@ -215,7 +216,8 @@ export default {
                 {
                     name: '报工',
                     moudelName: '查看报工',
-                    url: '/workView',
+                    // url: '/workView',
+                    url: '/report',
                     icon: 'balance-list-o'
                 },
             ]