Merge branch 'develop' into nice

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-25 16:36:11 +07:00
commit 9768e6e38e
2 changed files with 9 additions and 4 deletions

View file

@ -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 () => {
<div class="col-12 row">
<div class="col-12 text-top2">
ทดลองปฏหนาทราชการตองเขารวมในการปฐมนเทศและอบรมหลกสตรตาง
ภายในระยะเวลาทดลองปฏหนาทราชการ งน
ภายในระยะเวลาทดลองปฏหนาทราชการ งน
</div>
<div class="col-12 text-top2 row items-center">
<q-icon name="mdi-label" color="grey-4" class="q-pr-sm" />

View file

@ -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,