fix(rerirement): ปีงบ
This commit is contained in:
parent
e2c3c85a77
commit
878f136181
2 changed files with 57 additions and 100 deletions
|
|
@ -6,7 +6,6 @@ import http from "@/plugins/http";
|
|||
import config from "@/app.config";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { usePagination } from "@/composables/usePagination";
|
||||
import { calculateFiscalYear } from "@/utils/function";
|
||||
|
||||
import type { MainData } from "@/modules/05_placement/interface/index/Survey";
|
||||
|
||||
|
|
@ -15,7 +14,7 @@ const mixin = useCounterMixin();
|
|||
const { showLoader, hideLoader, messageError, date2Thai } = mixin;
|
||||
const { pagination, params, onRequest } = usePagination("", getData);
|
||||
|
||||
const year = ref<number | null>(calculateFiscalYear(new Date())); //ปีงบประมาณ
|
||||
const year = ref<number | null>(new Date().getFullYear());
|
||||
|
||||
const rows = ref<MainData[]>([]);
|
||||
const filterKeyword = ref<string>("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue