fix: ระบบพัฒนา เพิ่มปุ่มลบ/ระบบวินัย เพิ่ม ค้นหาขั้นสูง
This commit is contained in:
parent
9c5e958715
commit
852be66d2e
12 changed files with 1182 additions and 75 deletions
|
|
@ -12,7 +12,7 @@ import type {
|
|||
import type {
|
||||
DataResult,
|
||||
DataResultList,
|
||||
} from "@/modules/11_discipline/interface/response/result";
|
||||
} from "@/modules/11_discipline/interface/response/Result";
|
||||
|
||||
const mixin = useCounterMixin();
|
||||
const storeMain = useDisciplineMainStore();
|
||||
|
|
@ -42,7 +42,7 @@ export const useDisciplineResultStore = defineStore(
|
|||
"offenseDetails",
|
||||
"disciplinaryFaultLevel",
|
||||
"disciplinaryCaseFault",
|
||||
"createdAt",
|
||||
"disciplinaryDate",
|
||||
"resultDisciplineType",
|
||||
"resultTitleType",
|
||||
"resultOc",
|
||||
|
|
@ -114,11 +114,11 @@ export const useDisciplineResultStore = defineStore(
|
|||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "createdAt",
|
||||
name: "disciplinaryDate",
|
||||
align: "left",
|
||||
label: "วันที่สอบสวน",
|
||||
sortable: true,
|
||||
field: "createdAt",
|
||||
field: "disciplinaryDate",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
},
|
||||
|
|
@ -273,6 +273,12 @@ export const useDisciplineResultStore = defineStore(
|
|||
respondentType: e.respondentType
|
||||
? storeMain.convertComplaintType(e.respondentType)
|
||||
: "-",
|
||||
disciplinaryDate:
|
||||
e.disciplinaryDateStart && e.disciplinaryDateEnd
|
||||
? `${date2Thai(e.disciplinaryDateStart)} - ${date2Thai(
|
||||
e.disciplinaryDateEnd
|
||||
)}`
|
||||
: "-",
|
||||
offenseDetails: e.offenseDetails
|
||||
? storeMain.convertFault(e.offenseDetails)
|
||||
: "-",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue