แก้ตามเทส

This commit is contained in:
setthawutttty 2025-01-06 16:37:28 +07:00
parent 29f58ba8aa
commit 140a319718
3 changed files with 17 additions and 1 deletions

View file

@ -27,7 +27,7 @@ const modalView = ref<boolean>(false);
const numOfPages = ref<number>(0);
const page = ref<number>(1);
const pdfSrc = ref<any>();
const evaluationResult = ref<string>("");
/** ไปหน้าต่อไปของรายงาน */
function nextPage() {
if (page.value < numOfPages.value) {
@ -149,6 +149,7 @@ async function fetcheSigner(id: string) {
author.value = data.authorDoc2;
subject.value = data.subjectDoc2;
assignedPosition.value = data.assignedPosition;
evaluationResult.value = data.evaluationResult;
})
.catch(() => {})
.finally(() => {
@ -243,6 +244,17 @@ onMounted(async () => {
</div>
</q-card>
</div>
<div
v-if="evaluationResult !== 'PENDING'"
align="right"
:class="
evaluationResult == 'PASS'
? `full-width text-green`
: `full-width text-orange`
"
>
ผลการพจารณา : {{ evaluationResult == "PASS" ? "ผ่าน" : "ไม่ผ่าน" }}
</div>
</div>
</div>