ปรับเเสดงข้อมูล
This commit is contained in:
parent
0a67bb00b7
commit
d7089cd067
1 changed files with 10 additions and 1 deletions
|
|
@ -413,6 +413,8 @@ const evaluator = ref<any>({
|
||||||
posTypeName: "",
|
posTypeName: "",
|
||||||
posLevelName: "",
|
posLevelName: "",
|
||||||
org: "",
|
org: "",
|
||||||
|
isPosmasterAct: false,
|
||||||
|
posmasterAct: [],
|
||||||
});
|
});
|
||||||
async function fetchProfileEvaluator(id: string) {
|
async function fetchProfileEvaluator(id: string) {
|
||||||
showLoader();
|
showLoader();
|
||||||
|
|
@ -426,6 +428,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) => {
|
||||||
|
|
@ -1091,8 +1095,13 @@ onMounted(async () => {
|
||||||
<div class="col-12">รักษาการในตำแหน่ง/การรักษาราชการแทน</div>
|
<div class="col-12">รักษาการในตำแหน่ง/การรักษาราชการแทน</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">-</div>
|
<div class="col-12" v-if="evaluator.isPosmasterAct">
|
||||||
|
{{
|
||||||
|
`${evaluator.posmasterAct.prefix}${evaluator.posmasterAct.firstName} ${evaluator.posmasterAct.lastName} (${evaluator.posmasterAct.posNo})`
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-12" v-else>-</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue