แก้ไฟล์ "ก.พ.7/ก.ก.1" เป็น "ทปอ. สามัญ" เฉพาะที่เป็น ทะเบียนประวัติอิเล็กทรอนิกส์

This commit is contained in:
Warunee Tamkoo 2025-11-17 16:00:47 +07:00
parent de5d7a1002
commit 2224bd3465

View file

@ -417,7 +417,7 @@ async function onClickDownloadKp7(type: string) {
? config.API.profilshort(profileId.value, "profile-employee")
: config.API.profilshort(profileId.value, "profile");
const fileName = type === "FULL" ? "ก.พ.7/ก.ก.1" : "ประวัติแบบย่อ";
const fileName = type === "FULL" ? "ทปอ. สามัญ" : "ประวัติแบบย่อ";
await http
.get(url)
.then(async (res) => {
@ -891,7 +891,7 @@ onMounted(async () => {
<q-menu>
<q-list style="min-width: 130px">
<q-item clickable v-close-popup @click="onClickDownloadKp7('FULL')">
<q-item-section class="text-blue">..7/..1</q-item-section>
<q-item-section class="text-blue">ทปอ. สาม</q-item-section>
</q-item>
<q-item
clickable