แก้ไข convertType หน้า Evaluation
This commit is contained in:
parent
93dc84f95e
commit
e8b98709bf
1 changed files with 9 additions and 1 deletions
|
|
@ -31,6 +31,14 @@ export const useEvalutuonStore = defineStore("EvalutuonStore", () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function convertType(val: string) {
|
||||||
|
if (val === "EXPERT") {
|
||||||
|
return "ชำนาญการ";
|
||||||
|
} else {
|
||||||
|
return "ชำนาญการพิเศษ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ตรวจสอบคุณสมบัติด้วยตนเอง -> CHECK_SPEC
|
// ตรวจสอบคุณสมบัติด้วยตนเอง -> CHECK_SPEC
|
||||||
// จัดเตรียมเอกสารเล่ม 1-> PREPARE_DOC_V1
|
// จัดเตรียมเอกสารเล่ม 1-> PREPARE_DOC_V1
|
||||||
// ตรวจสอบความถูกต้องของเอกสารเล่ม 1 -> CHECK_DOC_V1
|
// ตรวจสอบความถูกต้องของเอกสารเล่ม 1 -> CHECK_DOC_V1
|
||||||
|
|
@ -59,7 +67,7 @@ export const useEvalutuonStore = defineStore("EvalutuonStore", () => {
|
||||||
citizanId: data.CitizenId,
|
citizanId: data.CitizenId,
|
||||||
fullName: data.FullName,
|
fullName: data.FullName,
|
||||||
position: data.Position,
|
position: data.Position,
|
||||||
level: data.Type,
|
level: convertType(data.Type),
|
||||||
positionNumber: data.PosNo,
|
positionNumber: data.PosNo,
|
||||||
agency: data.Oc,
|
agency: data.Oc,
|
||||||
status: convertStatus(data.Step),
|
status: convertStatus(data.Step),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue