check statusjson ประกาศเกษียณอายุราชการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-08-23 13:55:11 +07:00
parent 393f94297e
commit e183754ccf
5 changed files with 169 additions and 137 deletions

View file

@ -39,17 +39,11 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
} else rows.value = []
}
const fetchOption = (op: any) => {
console.log(agency.value);
console.log(op);
if (agency.value !== null) {
typeOc.value = agency.value
optionsTypeOc.value = op.filter((e: any) => e.id == agency.value
)
} else { optionsTypeOc.value = op, typeOc.value = op[2].id }
console.log(optionsTypeOc.value);
}
const filtertypeInsignia = async () => {
typeinsignia.value = "all"