รายการอุทธรณ์ร้องทุกข์
This commit is contained in:
parent
58201d887d
commit
6c035d3234
5 changed files with 164 additions and 182 deletions
|
|
@ -28,7 +28,7 @@ export const useAppealComplainStore = defineStore(
|
|||
caseType: e.caseType,
|
||||
caseNumber: e.caseNumber,
|
||||
lastUpdatedAt: date2Thai(e.lastUpdatedAt),
|
||||
status: statusTothai(e.status),
|
||||
status: statusTothai(e.status)
|
||||
}));
|
||||
rows.value = dataList;
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ export const useAppealComplainStore = defineStore(
|
|||
rowsAdd.value = data
|
||||
}
|
||||
}
|
||||
const statusTothai = (val: string) => {
|
||||
function statusTothai(val: string){
|
||||
switch (val) {
|
||||
case "NEW":
|
||||
return "ใหม่";
|
||||
|
|
@ -96,24 +96,6 @@ export const useAppealComplainStore = defineStore(
|
|||
{ id: "DONE", name: "ปิดคำร้อง" },
|
||||
]);
|
||||
|
||||
// function filterSelector(val: string, update: Function, type: string) {
|
||||
// update(() => {
|
||||
// const needle = val.toLowerCase();
|
||||
// if (type === "yearSelect") {
|
||||
// complainantoptions.value = mainStore.complainantoptionsMain.filter(
|
||||
// (v: any) => v.name.toLowerCase().indexOf(needle) > -1
|
||||
// );
|
||||
// } else if (type === "filteragencytoptions") {
|
||||
// agencytoptions.value = consideredAgencytoptions.value.filter(
|
||||
// (v: any) => v.name.toLowerCase().indexOf(needle) > -1
|
||||
// );
|
||||
// } else if (type === "filtercomplainantOP") {
|
||||
// optionListName.value = optionListNameMain.value.filter(
|
||||
// (v: any) => v.name.toLowerCase().indexOf(needle) > -1
|
||||
// );
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
||||
return {
|
||||
rows,
|
||||
|
|
@ -126,7 +108,8 @@ export const useAppealComplainStore = defineStore(
|
|||
fiscalyearOP,
|
||||
getRow,
|
||||
rowsAdd,
|
||||
statusOptionsEdit
|
||||
statusOptionsEdit,
|
||||
statusTothai
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue