Selaa lähdekoodia

新增基础数据管理菜单

duy 2 kuukautta sitten
vanhempi
commit
00a4942dd0

+ 20 - 0
src/router/modules/base.js

@@ -420,6 +420,26 @@ export default [
                     },
                 ],
             },
+               {
+                path: '/tentative/basic',
+                name: 'tentative-basic',
+                redirect: '/tentative/basic',
+                meta: { title: '基础数据管理' },
+                children: [
+                    {
+                        path: '/tentative/basic/code',
+                        name: 'tentative-basic-code',
+                        meta: { title: '编号管理' },
+                        component: () => import('~src/views/tentative/basic/code.vue'),
+                    },
+                      {
+                        path: '/tentative/basic/rule',
+                        name: 'tentative-basic-rule',
+                        meta: { title: '规范管理' },
+                        component: () => import('~src/views/tentative/basic/rule.vue'),
+                    },
+                ],
+            },
         ],
     },
     {

+ 3 - 0
src/views/tentative/basic/code.vue

@@ -0,0 +1,3 @@
+<template>
+    <div>111111111111</div>
+</template>

+ 3 - 0
src/views/tentative/basic/rule.vue

@@ -0,0 +1,3 @@
+<template>
+    <div>222222222</div>
+</template>