avtar บรรจุ แต่งตั้ง
This commit is contained in:
parent
b77a9c47a0
commit
1c271edc5a
6 changed files with 74 additions and 49 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue