From a403c2ad67bb70b245b72d4497f3908ec0a072c7 Mon Sep 17 00:00:00 2001
From: andy <1042025947@qq.com>
Date: Fri, 27 Mar 2026 10:26:21 +0800
Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89=E7=9B=B8=E5=85=B3=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/shift.js | 11 ++
src/api/system/shiftGroup.js | 11 ++
src/views/restaurant/statistics/index.vue | 2 +
src/views/system/shift/index.vue | 166 ++++++++++++++++++++++
src/views/system/user/index.vue | 2 +-
5 files changed, 191 insertions(+), 1 deletion(-)
create mode 100644 src/api/system/shift.js
create mode 100644 src/api/system/shiftGroup.js
create mode 100644 src/views/system/shift/index.vue
diff --git a/src/api/system/shift.js b/src/api/system/shift.js
new file mode 100644
index 0000000..f715ec1
--- /dev/null
+++ b/src/api/system/shift.js
@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+// 查询员工管理列表
+export function listShift(query) {
+ return request({
+ url: '/system/shift/list',
+ method: 'get',
+ params: query
+ })
+}
+
diff --git a/src/api/system/shiftGroup.js b/src/api/system/shiftGroup.js
new file mode 100644
index 0000000..6a75da3
--- /dev/null
+++ b/src/api/system/shiftGroup.js
@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+// 查询员工管理列表
+export function listGroupDetail(query) {
+ return request({
+ url: '/system/shift/group/list',
+ method: 'get',
+ params: query
+ })
+}
+
diff --git a/src/views/restaurant/statistics/index.vue b/src/views/restaurant/statistics/index.vue
index 6b25a73..12f0d58 100644
--- a/src/views/restaurant/statistics/index.vue
+++ b/src/views/restaurant/statistics/index.vue
@@ -75,6 +75,8 @@
+
+
diff --git a/src/views/system/shift/index.vue b/src/views/system/shift/index.vue
new file mode 100644
index 0000000..d177892
--- /dev/null
+++ b/src/views/system/shift/index.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上班卡
+ 下班卡
+ 未知
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 4b440e4..c204522 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -186,7 +186,7 @@
-
+