ปรับ แสดงผล
This commit is contained in:
parent
49565e2fb9
commit
85677820e4
1 changed files with 43 additions and 40 deletions
|
|
@ -490,6 +490,9 @@ const evaluator = ref<any>({
|
||||||
posTypeName: "",
|
posTypeName: "",
|
||||||
posLevelName: "",
|
posLevelName: "",
|
||||||
org: "",
|
org: "",
|
||||||
|
posmasterAct: "",
|
||||||
|
isPosmasterAct: false,
|
||||||
|
posmasterAct: [],
|
||||||
});
|
});
|
||||||
async function fetchProfileEvaluator(id: string) {
|
async function fetchProfileEvaluator(id: string) {
|
||||||
showLoader();
|
showLoader();
|
||||||
|
|
@ -503,6 +506,8 @@ async function fetchProfileEvaluator(id: string) {
|
||||||
evaluator.value.position = data.position;
|
evaluator.value.position = data.position;
|
||||||
evaluator.value.posTypeName = data.posTypeName;
|
evaluator.value.posTypeName = data.posTypeName;
|
||||||
evaluator.value.posLevelName = data.posLevelName;
|
evaluator.value.posLevelName = data.posLevelName;
|
||||||
|
evaluator.value.isPosmasterAct = data.isPosmasterAct;
|
||||||
|
evaluator.value.posmasterAct = data.posmasterAct[0];
|
||||||
evaluator.value.org = findOrgName(data);
|
evaluator.value.org = findOrgName(data);
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
@ -1047,56 +1052,54 @@ onMounted(async () => {
|
||||||
/>
|
/>
|
||||||
<q-separator />
|
<q-separator />
|
||||||
|
|
||||||
<q-card>
|
<q-card-section class="q-pa-md">
|
||||||
<div class="q-pa-md">
|
<div class="q-pb-md">
|
||||||
<span class="text-teal text-weight-bold text-body2">{{
|
<span class="text-teal text-weight-bold text-body2">{{
|
||||||
evaluator.fullName
|
evaluator.fullName
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
<q-card-section class="q-pa-md">
|
<div class="col-12 column justify-center no-wrap">
|
||||||
<div class="row">
|
<div class="row text-grey-6">
|
||||||
<div class="col-12 column justify-center no-wrap">
|
<div class="col-3">ตำแหน่งในสายงาน</div>
|
||||||
<div class="row text-grey-6">
|
<div class="col-3">ตำแหน่งประเภท</div>
|
||||||
<div class="col-3">ตำแหน่งในสายงาน</div>
|
<div class="col-3">ตำแหน่งทางการบริหาร</div>
|
||||||
<div class="col-3">ตำแหน่งประเภท</div>
|
<div class="col-3">สังกัด</div>
|
||||||
<div class="col-3">ตำแหน่งทางการบริหาร</div>
|
</div>
|
||||||
<div class="col-3">สังกัด</div>
|
<div class="row">
|
||||||
|
<div class="col-3">
|
||||||
|
{{ evaluator.position ? evaluator.position : "-" }}
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col-3">
|
||||||
<div class="col-3">
|
{{ evaluator.posTypeName ? evaluator.posTypeName : "-" }}
|
||||||
{{ evaluator.position ? evaluator.position : "-" }}
|
{{
|
||||||
</div>
|
evaluator.posLevelName ? ` (${evaluator.posLevelName})` : "-"
|
||||||
<div class="col-3">
|
}}
|
||||||
{{ evaluator.posTypeName ? evaluator.posTypeName : "-" }}
|
|
||||||
{{
|
|
||||||
evaluator.posLevelName
|
|
||||||
? ` (${evaluator.posLevelName})`
|
|
||||||
: "-"
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
<div class="col-3">
|
|
||||||
{{
|
|
||||||
evaluator.posExecutiveName
|
|
||||||
? evaluator.posExecutiveName
|
|
||||||
: "-"
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
<div class="col-3">
|
|
||||||
{{ evaluator.org ? evaluator.org : "-" }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-3">
|
||||||
<div class="row q-mt-md text-grey-6">
|
{{
|
||||||
<div class="col-12">รักษาการในตำแหน่ง/การรักษาราชการแทน</div>
|
evaluator.posExecutiveName ? evaluator.posExecutiveName : "-"
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col-3">
|
||||||
<div class="col-12">-</div>
|
{{ evaluator.org ? evaluator.org : "-" }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row q-mt-md text-grey-6">
|
||||||
|
<div class="col-12">รักษาการในตำแหน่ง/การรักษาราชการแทน</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12" v-if="evaluator.isPosmasterAct">
|
||||||
|
{{
|
||||||
|
`${evaluator.posmasterAct.prefix}${evaluator.posmasterAct.firstName} ${evaluator.posmasterAct.lastName} (${evaluator.posmasterAct.posNo})`
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
<div class="col-12" v-else>-</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</div>
|
||||||
</q-card>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
<!-- <q-dialog v-model="modalScore" persistent>
|
<!-- <q-dialog v-model="modalScore" persistent>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue