จัดโค้ดวินัย
This commit is contained in:
parent
71d3b54ef0
commit
7262000680
37 changed files with 492 additions and 697 deletions
|
|
@ -33,6 +33,10 @@ export const useInvestigateFactStore = defineStore(
|
|||
"DisciplineInvestigateFact",
|
||||
() => {
|
||||
const tabMenu = ref<string>("investigatefacts");
|
||||
const rows = ref<InvestigatefactsDataRowType[]>();
|
||||
const respondentTypeOps = ref<DataOption[]>(
|
||||
mainStore.complainantoptionsMain
|
||||
);
|
||||
|
||||
const daysExtendOps = ref<DataNumberOption[]>([
|
||||
{ id: 15, name: "15 วัน" },
|
||||
|
|
@ -189,11 +193,7 @@ export const useInvestigateFactStore = defineStore(
|
|||
});
|
||||
}
|
||||
|
||||
const rows = ref<InvestigatefactsDataRowType[]>();
|
||||
|
||||
const respondentTypeOps = ref<DataOption[]>(
|
||||
mainStore.complainantoptionsMain
|
||||
);
|
||||
function filterSelector(val: string, update: Function, type: string) {
|
||||
console.log(val);
|
||||
update(() => {
|
||||
|
|
@ -206,6 +206,7 @@ export const useInvestigateFactStore = defineStore(
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
async function fecthList(data: ListData[]) {
|
||||
rows.value = await data.map((e: ListData) => {
|
||||
return {
|
||||
|
|
@ -219,8 +220,8 @@ export const useInvestigateFactStore = defineStore(
|
|||
dateInvestigate:
|
||||
e.investigationDateStart && e.investigationDateEnd
|
||||
? `${date2Thai(e.investigationDateStart)} - ${date2Thai(
|
||||
e.investigationDateEnd
|
||||
)}`
|
||||
e.investigationDateEnd
|
||||
)}`
|
||||
: "-",
|
||||
investigationStatusResult: mainStore.convertStatusResult(
|
||||
e.investigationStatusResult
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue