fix
This commit is contained in:
parent
6c08461207
commit
951592c758
2 changed files with 4 additions and 4 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -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)})` : "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue