Merge branch 'develop' of https://github.com/Frappet/bma-ehr-frontend into develop
This commit is contained in:
commit
f49177f59f
2 changed files with 18 additions and 14 deletions
|
|
@ -525,9 +525,10 @@ async function onClickDownloadFile(id: string, fileName: string, type: string) {
|
|||
)
|
||||
"
|
||||
>
|
||||
<q-item-section class="text-blue"
|
||||
>ดาวน์โหลดไฟล์ .docx</q-item-section
|
||||
>
|
||||
<q-item-section avatar
|
||||
><q-icon color="blue" name="mdi-file-word"
|
||||
/></q-item-section>
|
||||
<q-item-section>ไฟล์ .DOCX</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
|
|
@ -540,9 +541,10 @@ async function onClickDownloadFile(id: string, fileName: string, type: string) {
|
|||
)
|
||||
"
|
||||
>
|
||||
<q-item-section class="text-red"
|
||||
>ดาวน์โหลดไฟล์ .pdf</q-item-section
|
||||
>
|
||||
<q-item-section avatar
|
||||
><q-icon color="red" name="mdi-file-pdf"
|
||||
/></q-item-section>
|
||||
<q-item-section>ไฟล์ .PDF</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
|
|
|
|||
|
|
@ -462,14 +462,15 @@ async function onClickDownloadFile(id: string, fileName: string, type: string) {
|
|||
@click="
|
||||
onClickDownloadFile(
|
||||
formData.id,
|
||||
formData.leaveTypeName,
|
||||
'ยกเลิก' + formData.leaveTypeName,
|
||||
typeDocx
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section class="text-blue"
|
||||
>ดาวน์โหลดไฟล์ .docx</q-item-section
|
||||
>
|
||||
<q-item-section avatar
|
||||
><q-icon color="blue" name="mdi-file-word"
|
||||
/></q-item-section>
|
||||
<q-item-section>ไฟล์ .DOCX</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
|
|
@ -477,14 +478,15 @@ async function onClickDownloadFile(id: string, fileName: string, type: string) {
|
|||
@click="
|
||||
onClickDownloadFile(
|
||||
formData.id,
|
||||
formData.leaveTypeName,
|
||||
'ยกเลิก' + formData.leaveTypeName,
|
||||
typePdf
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section class="text-red"
|
||||
>ดาวน์โหลดไฟล์ .pdf</q-item-section
|
||||
>
|
||||
<q-item-section avatar
|
||||
><q-icon color="red" name="mdi-file-pdf"
|
||||
/></q-item-section>
|
||||
<q-item-section>ไฟล์ .PDF</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue