zhangwencui
12 小时以前 a4d0446d7c1c1e56641fd4e887ad4d0ecd0534ca
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);