Browse Source

name名称更改

ydf 2 years ago
parent
commit
a1832f1011
1 changed files with 19 additions and 3 deletions
  1. 19 3
      src/router/index.ts

+ 19 - 3
src/router/index.ts

@@ -13,6 +13,22 @@ const routes: Array<RouteRecordRaw> = [
13 13
     component: () => import("@/views/login/index.vue")
14 14
   },
15 15
   {
16
+    path: "/basic",
17
+    name: "basic",
18
+    redirect: "/basic/index",
19
+    component: layout,
20
+    children: [
21
+      {
22
+        path: "basicDetail",
23
+        name: "基本信息详情",
24
+        component: () => import("@/views/basicInfo/detail.vue"),
25
+        props(route){
26
+          return route.query
27
+        }
28
+      }
29
+    ]
30
+  },
31
+  {
16 32
     path: "/InformationFilling",
17 33
     name: "InformationFilling",
18 34
     redirect: "/InformationFilling/outWarehouseInfo",
@@ -20,7 +36,7 @@ const routes: Array<RouteRecordRaw> = [
20 36
     children: [
21 37
       {
22 38
         path: "outWarehouseInfoDetail",
23
-        name: "outWarehouseInfoDetail",
39
+        name: "出库信息填报详情",
24 40
         component: () => import("@/views/InformationFilling/outWarehouseInfo/detail.vue"),
25 41
         props(route) {
26 42
           return route.query;
@@ -28,7 +44,7 @@ const routes: Array<RouteRecordRaw> = [
28 44
       },
29 45
       {
30 46
         path: "enterWarehouseInfoDetail",
31
-        name: "enterWarehouseInfoDetail",
47
+        name: "入库信息填报详情",
32 48
         component: () => import("@/views/InformationFilling/enterWarehouseInfo/detail.vue"),
33 49
         props(route) {
34 50
           return route.query;
@@ -36,7 +52,7 @@ const routes: Array<RouteRecordRaw> = [
36 52
       },
37 53
       {
38 54
         path: "outIssueDetail",
39
-        name: "outIssueDetail",
55
+        name: "出库信息下发详情",
40 56
         component: () => import("@/views/InformationFilling/outIssue/detail.vue"),
41 57
         props(route) {
42 58
           return route.query;