diff --git a/src/modules/05_placement/components/probation/FormAssign.vue b/src/modules/05_placement/components/probation/FormAssign.vue index 577f8c854..b352842e0 100644 --- a/src/modules/05_placement/components/probation/FormAssign.vue +++ b/src/modules/05_placement/components/probation/FormAssign.vue @@ -781,7 +781,7 @@ async function getAssign() { })); reportPersonIdOp.value = dataPerson ?? []; if (reportPersonIdOp.value.length !== 0) { - reportPersonId.value = data.assign.reportPersonId + reportPersonId.value = data.assign.reportPersonId; } position.value = data.profile.positionName; date_start.value = data.assign.date_start; @@ -1225,7 +1225,7 @@ onMounted(async () => { dense label="ผู้บันทึกแบบประเมินผล (คณะกรรมการ)" bg-color="white" - :rules="[(val:string) => !!val || 'กรุณาเลือกผู้บันทึกแบบประเมินผล (คณะกรรมการ)']" + :rules="[(val:any) => val && val.length > 0 || 'กรุณาเลือกผู้บันทึกแบบประเมินผล (คณะกรรมการ)']" hide-bottom-space :options="reportPersonIdOp" class="col-xs-12 col-sm-6" @@ -2399,7 +2399,7 @@ onMounted(async () => {
ผู้ทดลองปฏิบัติหน้าที่ราชการต้องเข้าร่วมในการปฐมนิเทศและอบรมหลักสูตรต่าง - ๆ ภายในระยะเวลาทดลองปฏิบัติหน้าที่ราชการ ดังนี้ + ๆ ภายในระยะเวลาทดลองปฏิบัติหน้าที่ราชการ ดังนี้
diff --git a/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue b/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue index b38844a24..6eeb340ac 100644 --- a/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue +++ b/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue @@ -172,7 +172,12 @@ async function fetchlistprofile(id: string) { organization: e.root, position: e.position, positionNumber: e.posNo, - positionType: `${e.posTypeName} (${e.posLevelName})`, + positionType: + e.posTypeName && e.posLevelName !== null + ? `${e.posTypeName} ${ + e.posLevelName ? `(${e.posLevelName})` : "" + }` + : "-", positionLevel: e.posLevelName, reason: e.reason, remove: e.remove,