แก้ API ดาวน์โหลดไฟล์ของทะบียนประวัติ
This commit is contained in:
parent
dd1dd14d06
commit
24de3ccd48
3 changed files with 17 additions and 4 deletions
|
|
@ -304,7 +304,10 @@ function onClickDownloadKp7(type: string) {
|
|||
? empType.value
|
||||
? config.API.profileReportEmpId(profileId.value)
|
||||
: config.API.profileReportId(profileId.value)
|
||||
: empType.value
|
||||
? config.API.profileKp7ShortEmpId(profileId.value)
|
||||
: config.API.profileKp7ShortId(profileId.value);
|
||||
|
||||
const fileName = type === "FULL" ? "ก.พ.7/ก.ก.1" : "ประวัติแบบย่อ";
|
||||
http
|
||||
.get(url, {
|
||||
|
|
@ -746,6 +749,7 @@ onMounted(async () => {
|
|||
</q-btn-dropdown>
|
||||
|
||||
<q-btn
|
||||
v-if="empType !== '-temp'"
|
||||
unelevated
|
||||
round
|
||||
color="grey-4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue