| | |
| | | <script setup lang="ts"> |
| | | import { ref } from 'vue' |
| | | import { onActivated, ref } from 'vue' |
| | | import EditMonthModal from './components/EditMonthModal.vue' |
| | | import CopyScheduleModal from './components/CopyScheduleModal.vue' |
| | | import { exportScheduling, getSchedulingPageList, getShiftListNoPage } from '@/service/api/attendance' |
| | |
| | | getList() |
| | | }) |
| | | |
| | | onActivated(() => { |
| | | if (window.sessionStorage.getItem('operationsAttendancePlanNeedRefresh') === '1') { |
| | | window.sessionStorage.removeItem('operationsAttendancePlanNeedRefresh') |
| | | getList() |
| | | } |
| | | }) |
| | | |
| | | function changePage(page: number, size: number) { |
| | | pageParams.value.pageNum = page |
| | | pageParams.value.pageSize = size |