This commit is contained in:
Bright 2025-06-16 17:52:30 +07:00
parent 6c08461207
commit 951592c758
2 changed files with 4 additions and 4 deletions

View file

@ -551,11 +551,11 @@ export class EvaluationController {
});
const before = null;
let typeTh =
evaluation.type == "EXPERT"
requestBody.type == "EXPERT"
? "ชำนาญการ"
: evaluation.type == "EXPERTISE"
: requestBody.type == "EXPERTISE"
? "เชียวชาญ"
: evaluation.type == "SPECIAL_EXPERT"
: requestBody.type == "SPECIAL_EXPERT"
? "ชำนาญการพิเศษ"
: "";
await new CallAPI()

View file

@ -341,7 +341,7 @@ export class ReoportController {
// ตำแหน่งเดิม,
posAndPosLevel: (evaluation.position ? `${evaluation.position}` : "") + (evaluation.positionLevel ? `${evaluation.positionLevel}` : ""),
// ตำแหน่งใหม่
posAndTypeTh: (evaluation.assignedPosition ? `${evaluation.assignedPosition}` : "" ) + (evaluation.assignedPosLevel ? `${evaluation.assignedPosLevel}` : ""),
posAndTypeTh: (evaluation.assignedPosition ? `${evaluation.assignedPosition}` : "" ) + (evaluation.assignedPosLevel ? `${evaluation.assignedPosLevel}` : `${typeTh??""}`),
posLevel: evaluation.assignedPosLevel ?? "-", //ระดับที่ขอประเมิน
posNo: evaluation.posNo ? Extension.ToThaiNumber(evaluation.posNo) : "",
posNoWithSym: evaluation.posNo ? `(${Extension.ToThaiNumber(evaluation.posNo)})` : "",