avtar บรรจุ แต่งตั้ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-06 15:13:07 +07:00
parent b77a9c47a0
commit 1c271edc5a
6 changed files with 74 additions and 49 deletions

View file

@ -179,6 +179,16 @@ const getRequest = async (id: string) => {
await fetchData();
});
};
// const downloadFile = (response: any, name: string) => {
// const link = document.createElement("a");
// var fileName = name;
// link.href = response;
// link.setAttribute("target", "_blank");
// link.setAttribute("download", fileName);
// document.body.appendChild(link);
// link.click();
// document.body.removeChild(link);
// };
//
const filterKeyword = ref<string>("");
@ -377,6 +387,10 @@ const paginationLabel = (start: string, end: string, total: string) => {
icon="mdi-file-download"
:href="props.row.period_doc"
>
<!-- @click="
downloadFile(props.row.period_doc, props.row.period_name)
" -->
<q-tooltip>ดาวนโหลดเอกสารประกอบ </q-tooltip>
</q-btn>
</q-td>