UI รายงานทะเบียนประวัติ

This commit is contained in:
setthawutttty 2025-02-18 16:20:01 +07:00
parent 64f60eead9
commit e0f1f5ee71
5 changed files with 1257 additions and 323 deletions

View file

@ -0,0 +1,33 @@
import { defineStore } from "pinia";
import { ref, reactive } from "vue";
import type { DataOption } from "@/modules/04_registryPerson/interface/index/Main";
import type {
DataType,
DataLevel,
} from "@/modules/04_registryPerson/interface/response/Main";
import type { FormFilter } from "@/modules/21_report/interface/Main";
export const useReportStore = defineStore("reportStore", () => {
const formFilter = reactive<FormFilter>({
page: 1,
pageSize: 12,
keyword: "",
type: "officer",
posType: "",
posLevel: "",
retireYear: "",
rangeYear: { min: 0, max: 60 },
isShowRetire: false,
isProbation: false,
isAll: true,
nodeId: null,
node: null,
searchType: "fullName",
retireType: null,
});
return {
formFilter,
};
});