เพิ่ม filter dateAppoint
This commit is contained in:
parent
e3e9d31fb6
commit
78de1bd91e
5 changed files with 111 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
{ id: "perm", name: "ลูกจ้างประจำ" },
|
||||
// { id: "temp", name: "ลูกจ้างชั่วคราว" },
|
||||
]);
|
||||
const citizenId = ref<string>('')
|
||||
const citizenId = ref<string>("");
|
||||
const posTypeOps = ref<DataOption[]>([]);
|
||||
const posTypeMain = ref<DataType[]>([]);
|
||||
const posLevelOps = ref<DataOption[]>([]);
|
||||
|
|
@ -73,6 +73,7 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
node: null,
|
||||
searchType: "fullName",
|
||||
retireType: null,
|
||||
dateAppoint: "",
|
||||
});
|
||||
|
||||
const labelOption = reactive({
|
||||
|
|
@ -130,6 +131,11 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
{ id: "RETIRE_RESIGN_EMP", name: "ให้ออกจากราชการ" },
|
||||
]);
|
||||
|
||||
const displayOrderOps = ref<DataOption[]>([
|
||||
{ id: "ASC", name: "เรียงตามวันที่บรรจุแต่งตั้ง (ล่าสุด-เก่า)" },
|
||||
{ id: "DESC", name: "เรียงตามวันที่บรรจุแต่งตั้ง (เก่า-ล่าสุด)" },
|
||||
]);
|
||||
|
||||
return {
|
||||
fetchType,
|
||||
fetchLevel,
|
||||
|
|
@ -148,6 +154,7 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
convertTypeRetired,
|
||||
retireTypeOps,
|
||||
retireTypeEmpOps,
|
||||
citizenId
|
||||
citizenId,
|
||||
displayOrderOps,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue