新增添加页面和路由
Showing
2 changed files
with
15 additions
and
0 deletions
... | @@ -36,6 +36,12 @@ const constantRoutes = [ | ... | @@ -36,6 +36,12 @@ const constantRoutes = [ |
36 | component: () => import("@/views/panel/create/index"), | 36 | component: () => import("@/views/panel/create/index"), |
37 | }, | 37 | }, |
38 | { | 38 | { |
39 | path: "/add", | ||
40 | name: "添加", | ||
41 | code: "0-6", | ||
42 | component: () => import("@/views/panel/add/index"), | ||
43 | }, | ||
44 | { | ||
39 | path: "/modify", | 45 | path: "/modify", |
40 | name: "更正", | 46 | name: "更正", |
41 | code: "0-3", | 47 | code: "0-3", | ... | ... |
... | @@ -76,6 +76,10 @@ export default { | ... | @@ -76,6 +76,10 @@ export default { |
76 | select: false, | 76 | select: false, |
77 | }, | 77 | }, |
78 | { | 78 | { |
79 | path:"/add", | ||
80 | select: false, | ||
81 | }, | ||
82 | { | ||
79 | path:"/modify", | 83 | path:"/modify", |
80 | select: false, | 84 | select: false, |
81 | }, | 85 | }, |
... | @@ -215,6 +219,11 @@ export default { | ... | @@ -215,6 +219,11 @@ export default { |
215 | icon: "fa fa-address-card-o", | 219 | icon: "fa fa-address-card-o", |
216 | path: "/create", | 220 | path: "/create", |
217 | }, | 221 | }, |
222 | { | ||
223 | name: "添加", | ||
224 | icon: "fa fa-address-card-o", | ||
225 | path: "/add", | ||
226 | }, | ||
218 | { name: "更正", icon: "fa fa-address-card-o", path: "/modify" }, | 227 | { name: "更正", icon: "fa fa-address-card-o", path: "/modify" }, |
219 | { | 228 | { |
220 | name: "变更", | 229 | name: "变更", | ... | ... |
-
Please register or sign in to post a comment