From 0b3436dfe135d4110b197188f8d22ed935c868d4 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期三, 04 九月 2024 15:20:37 +0800
Subject: [PATCH] 1.考勤模块路由创建

---
 src/router/index.js |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index c2f9b6b..0d8c277 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -642,7 +642,56 @@
         meta: { code: '0804', title: '娴佽浆璁剧疆', icon: '', keepAlive: true }
       }
     ]
+  },
+
+  {
+    path: '/attendanceModule',
+    component: Layout,
+    redirect: '/attendanceModule/attendanceSettings',
+    name: '鑰冨嫟妯″潡',
+    code: '11',
+    meta: { code: '11', title: '鑰冨嫟妯″潡', icon: 'kqmk' },
+    alwaysShow: true, // 褰揷hildren鍙湁涓�涓椂锛屼篃鏄剧ず鐖惰彍鍗�
+    children: [
+      {
+        path: 'attendanceSettings',
+        name: 'attendanceSettings',
+        code: '1101',
+        component: () => import('@/views/attendanceModule/attendanceSettings'),
+        meta: { code: '1101', title: '鑰冨嫟璁剧疆', icon: '', keepAlive: true }
+      },
+      {
+        path: 'attendanceClockIn',
+        name: 'attendanceClockIn',
+        code: '1102',
+        component: () => import('@/views/attendanceModule/attendanceClockIn'),
+        meta: { code: '1102', title: '鑰冨嫟鎵撳崱', icon: '', keepAlive: true }
+      },
+      {
+        path: 'attendanceRecord',
+        name: 'attendanceRecord',
+        code: '1103',
+        component: () => import('@/views/attendanceModule/attendanceRecord'),
+        meta: { code: '1103', title: '鑰冨嫟璁板綍', icon: '', keepAlive: true }
+      },
+      {
+        path: 'attendanceDay',
+        name: 'attendanceDay',
+        code: '1104',
+        component: () => import('@/views/attendanceModule/attendanceDay'),
+        meta: { code: '1104', title: '鏃ヨ鏃跺伐璧�', icon: '', keepAlive: true }
+      },
+      {
+        path: 'attendanceMonth',
+        name: 'attendanceMonth',
+        code: '1105',
+        component: () => import('@/views/attendanceModule/attendanceMonth'),
+        meta: { code: '1105', title: '鏈堣鏃跺伐璧�', icon: '', keepAlive: true }
+      }
+
+    ]
   }
+
 ]
 
 const createRouter = () => new Router({

--
Gitblit v1.9.3