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; const before = null;
let typeTh = 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() await new CallAPI()

View file

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