From a4d0446d7c1c1e56641fd4e887ad4d0ecd0534ca Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 05 三月 2026 17:43:55 +0800
Subject: [PATCH] 排班管理页面完成70%
---
src/views/personnelManagement/attendanceCheckin/index.vue | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/src/views/personnelManagement/attendanceCheckin/index.vue b/src/views/personnelManagement/attendanceCheckin/index.vue
index f2d8776..9a3acfa 100644
--- a/src/views/personnelManagement/attendanceCheckin/index.vue
+++ b/src/views/personnelManagement/attendanceCheckin/index.vue
@@ -60,6 +60,15 @@
</el-descriptions>
</el-card> -->
<div class="attendance-operation">
+ <el-button @click="handleBack"
+ type="default"
+ size="small"
+ style="margin-right: 16px">
+ <el-icon>
+ <ArrowLeft />
+ </el-icon>
+ 杩斿洖鎺掔彮绠$悊
+ </el-button>
<!-- 鏌ヨ鏉′欢锛堢鐞嗗憳鑰冨嫟鏃ユ姤锛� -->
<el-form :model="searchForm"
:inline="true"
@@ -170,6 +179,7 @@
<script setup>
import { ref, reactive, computed, onMounted, onBeforeUnmount } from "vue";
+ import { useRouter } from "vue-router";
import { ElMessage, ElMessageBox } from "element-plus";
import {
createPersonalAttendanceRecord,
@@ -178,9 +188,10 @@
} from "@/api/personnelManagement/personalAttendanceRecords.js";
import Pagination from "@/components/Pagination/index.vue";
import { deptTreeSelect } from "@/api/system/user.js";
- import { Refresh, Search } from "@element-plus/icons-vue";
+ import { Refresh, Search, ArrowLeft } from "@element-plus/icons-vue";
const { proxy } = getCurrentInstance();
+ const router = useRouter();
const tableLoading = ref(false);
// 鍒嗛〉鍙傛暟
const page = reactive({
@@ -445,6 +456,13 @@
fetchDeptOptions();
});
+ // 杩斿洖鎺掔彮绠$悊椤甸潰
+ const handleBack = () => {
+ router.push({
+ path: "/personnelManagement/classsSheduling/index",
+ });
+ };
+
onBeforeUnmount(() => {
if (timer) {
clearInterval(timer);
--
Gitblit v1.9.3