UI - สอบสวนความผิดทางวินัย

ปรับเลือกกรรมการ 1 คน
ปรับให้ขนาดพอดี
แก้ไข format วันที่
This commit is contained in:
AnandaTon 2023-10-26 13:41:56 +07:00
parent fc613bad9b
commit 4174a839f5
3 changed files with 21 additions and 66 deletions

View file

@ -6,6 +6,9 @@ import type {
DataOption,
directorType,
} from "@/modules/11_discipline/interface/index/Main";
import { useCounterMixin } from "@/stores/mixin";
const mixin = useCounterMixin();
const { date2Thai } = mixin;
export const useInvestigateDisStore = defineStore(
"DisciplineInvestigateDis",
@ -34,7 +37,7 @@ export const useInvestigateDisStore = defineStore(
fault: convertFault(e.fault),
penaltyLevel: convertPenaltyLevel(e.penaltyLevel),
caseFault: e.caseFault,
dateInvestigate: e.dateInvestigate,
dateInvestigate: date2Thai(new Date(e.dateInvestigate)),
status: convertSatatus(e.status),
active: activeStatus(e.active),
}));