แก้ฟิล
This commit is contained in:
parent
3070383469
commit
386e1a9811
2 changed files with 15 additions and 15 deletions
|
|
@ -6,9 +6,9 @@ interface DataResult {
|
||||||
disciplinaryFaultLevel: string; //ระดับโทษความผิด
|
disciplinaryFaultLevel: string; //ระดับโทษความผิด
|
||||||
disciplinaryCaseFault: string; //กรณีความผิด
|
disciplinaryCaseFault: string; //กรณีความผิด
|
||||||
status: string; //สถานะ
|
status: string; //สถานะ
|
||||||
disciplineType: string; //สถานะ
|
resultDisciplineType: string; //สถานะ
|
||||||
titleType: string; //สถานะ
|
resultTitleType: string; //สถานะ
|
||||||
oc: string; //สถานะ
|
resultOc: string; //สถานะ
|
||||||
createdAt: Date | null; //วันที่ส่งเรื่องสอบสวน
|
createdAt: Date | null; //วันที่ส่งเรื่องสอบสวน
|
||||||
}
|
}
|
||||||
interface DataResultList {
|
interface DataResultList {
|
||||||
|
|
|
||||||
|
|
@ -47,9 +47,9 @@ export const useDisciplineResultStore = defineStore(
|
||||||
"disciplinaryFaultLevel",
|
"disciplinaryFaultLevel",
|
||||||
"disciplinaryCaseFault",
|
"disciplinaryCaseFault",
|
||||||
"createdAt",
|
"createdAt",
|
||||||
"disciplineType",
|
"resultDisciplineType",
|
||||||
"titleType",
|
"resultTitleType",
|
||||||
"oc",
|
"resultOc",
|
||||||
"status",
|
"status",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
@ -126,29 +126,29 @@ export const useDisciplineResultStore = defineStore(
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disciplineType",
|
name: "resultDisciplineType",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ประเภทวินัย",
|
label: "ประเภทวินัย",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "disciplineType",
|
field: "resultDisciplineType",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "titleType",
|
name: "resultTitleType",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ประเภทของเรื่อง",
|
label: "ประเภทของเรื่อง",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "titleType",
|
field: "resultTitleType",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "oc",
|
name: "resultOc",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "หน่วยงาน/ส่วนราชการ",
|
label: "หน่วยงาน/ส่วนราชการ",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "oc",
|
field: "resultOc",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
|
@ -268,9 +268,9 @@ export const useDisciplineResultStore = defineStore(
|
||||||
: "-",
|
: "-",
|
||||||
status: e.status && convertStatus(e.status),
|
status: e.status && convertStatus(e.status),
|
||||||
createdAt: e.createdAt && date2Thai(e.createdAt),
|
createdAt: e.createdAt && date2Thai(e.createdAt),
|
||||||
disciplineType: e.disciplineType ? e.disciplineType : '-',
|
resultDisciplineType: e.resultDisciplineType ? e.resultDisciplineType : '-',
|
||||||
titleType: e.titleType ? e.titleType : '-',
|
resultTitleType: e.resultTitleType ? e.resultTitleType : '-',
|
||||||
oc: e.oc ? e.oc : '-'
|
resultOc: e.resultOc ? e.resultOc : '-'
|
||||||
}));
|
}));
|
||||||
rows.value = datalist;
|
rows.value = datalist;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue