Merge pull request #1511 from Frappet/fix/recruiting

fix(qualify):set default yearly
This commit is contained in:
Warunee Tamkoo 2025-11-18 14:41:01 +07:00 committed by GitHub
commit 1f52c9772a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,6 @@ import { useRouter, useRoute } from "vue-router";
import http from "@/plugins/http";
import config from "@/app.config";
import { useCounterMixin } from "@/stores/mixin";
import { calculateFiscalYear } from "@/utils/function";
import type {
RequestPosition,
@ -75,7 +74,7 @@ const checkDocument = ref<boolean>(false);
const checkDisability = ref<boolean>(false);
const announcementExam = ref<boolean>(true);
const round = ref<number>(1);
const yearly = ref<number>(calculateFiscalYear(new Date()));
const yearly = ref<number>(new Date().getFullYear());
const nameRaw = ref<number | null>(null);
const roundRaw = ref<number | null>(null);
const yearlyRaw = ref<number | null>(null);