outaozhen 5 lat temu
rodzic
commit
825d94d531
2 zmienionych plików z 19 dodań i 0 usunięć
  1. 17 0
      config/routes.js
  2. 2 0
      src/locales/zh-CN/menu.js

+ 17 - 0
config/routes.js

@@ -127,6 +127,23 @@ export default [
                 ]
               }
             ]
+          },
+          {
+            path: '/staff',
+            name: 'staff',
+            icon: 'peoples-two',
+            routes: [
+              {
+                path: '/staff',
+                redirect: '/staff/employee'
+              },
+              {
+                path: '/staff/employee',
+                name: 'employee',
+                icon: 'peoples-two',
+                component: './staff/Employee'
+              }
+            ]
           }
           // {
           //   path: '/admin',

+ 2 - 0
src/locales/zh-CN/menu.js

@@ -18,6 +18,8 @@ export default {
   'menu.product.cloud': '云版管理',
   'menu.product.cloud.curing': '养护云造价',
   'menu.product.cloud.build': '大司空云计价',
+  'menu.staff': '人资',
+  'menu.staff.employee': '部门与员工',
   'menu.login': '登录',
   'menu.register': '注册',
   'menu.register.result': '注册结果',