แก้โหลดไฟล์/วินัยเเก้ เพิ่มฟิล dna
This commit is contained in:
parent
e79fc99618
commit
bb42009f3b
7 changed files with 71 additions and 36 deletions
|
|
@ -219,16 +219,45 @@ onMounted(() => {
|
|||
:loading="isLoadPDF"
|
||||
flat
|
||||
round
|
||||
:disable="!reportType || !nodeId"
|
||||
color="primary"
|
||||
icon="download"
|
||||
:disable="!reportType || !nodeId"
|
||||
@click.stop.pervent="
|
||||
genReportXLSX(
|
||||
detailReport,
|
||||
`${optionReport.find((e) => e.id === reportType)?.name}`
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-menu>
|
||||
<q-list style="min-width: 150px">
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
@click.stop.pervent="
|
||||
genReportXLSX(
|
||||
detailReport,
|
||||
`${optionReport.find((e) => e.id === reportType)?.name}`,
|
||||
'pdf'
|
||||
)
|
||||
"
|
||||
>
|
||||
<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-item
|
||||
clickable
|
||||
v-close-popup
|
||||
@click.stop.pervent="
|
||||
genReportXLSX(
|
||||
detailReport,
|
||||
`${optionReport.find((e) => e.id === reportType)?.name}`
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar
|
||||
><q-icon color="green" name="mdi-file-excel"
|
||||
/></q-item-section>
|
||||
<q-item-section>ไฟล์ .xlsx</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
</q-btn>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue