fixing filter register & show rang

This commit is contained in:
Warunee Tamkoo 2024-09-04 14:37:39 +07:00
parent 2531a90e57
commit 6ee3227f16
6 changed files with 54 additions and 46 deletions

View file

@ -62,6 +62,8 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
isShowRetire: false,
isProbation: false,
isAll: true,
nodeId: null,
node: null,
});
const labelOption = reactive({
@ -72,11 +74,6 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
node: "เลือกหน่วยงาน",
});
const nodeData = reactive<any>({
nodeId: null,
node: null,
});
return {
fetchType,
fetchLevel,
@ -89,6 +86,5 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
mode,
formFilter,
labelOption,
nodeData,
};
});