หน้ารายการประเมิน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-03 17:03:25 +07:00
parent 0b4a87e293
commit 9f247273c1
12 changed files with 334 additions and 89 deletions

View file

@ -8,6 +8,9 @@ const props = defineProps({
pdfSrc: {
type: String,
},
urlDownloadFile: {
type: String,
},
});
const modalPerview = ref<boolean>(false);
@ -18,7 +21,14 @@ const store = useEvaluateStore();
<template>
<div class="col-12 row">
<q-space />
<q-btn flat round color="primary" icon="download">
<q-btn
flat
round
color="primary"
icon="download"
target="_blank"
:href="props.urlDownloadFile"
>
<q-tooltip>ดาวนโหลด</q-tooltip>
</q-btn>
<q-btn

View file

@ -8,6 +8,9 @@ const props = defineProps({
pdfSrc: {
type: String,
},
urlDownloadFile: {
type: String,
},
});
const modalPerview = ref<boolean>(false);
</script>
@ -15,7 +18,14 @@ const modalPerview = ref<boolean>(false);
<template>
<div class="col-12 row">
<q-space />
<q-btn flat round color="primary" icon="download">
<q-btn
flat
round
color="primary"
icon="download"
target="_blank"
:href="props.urlDownloadFile"
>
<q-tooltip>ดาวนโหลด</q-tooltip>
</q-btn>
<q-btn