ฟิลเตอร์วินัย ออกคำสั่ง

This commit is contained in:
STW_TTTY\stwtt 2024-07-10 17:39:16 +07:00
parent 68e241693a
commit 5528e68bc1
6 changed files with 272 additions and 38 deletions

View file

@ -221,7 +221,7 @@ export const useInvestigateFactStore = defineStore(
update(() => {
const needle = val.toLowerCase();
if (type === "filtercomplainantType") {
if (type === "filterrespondentType") {
respondentTypeOps.value = mainStore.complainantoptionsMain.filter(
(v: any) => v.name.toLowerCase().indexOf(needle) > -1
);