UI รายงานทะเบียนประวัติ
This commit is contained in:
parent
64f60eead9
commit
e0f1f5ee71
5 changed files with 1257 additions and 323 deletions
33
src/modules/21_report/store.ts
Normal file
33
src/modules/21_report/store.ts
Normal 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,
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue