feat: create export pdf and xlsx in rekapitulasi keluhan per fungsi bidang

This commit is contained in:
kur0nek-o
2024-04-02 12:27:00 +07:00
parent 57beb6eb2d
commit 740d1188cc
5 changed files with 810 additions and 56 deletions

View File

@ -6,7 +6,7 @@
:report-button="true"
class="mb-4"
>
<Type9 @update:filters="(value) => updateFilters(value)" />
<Type9 @update:filters="(value) => (filters = value)" />
</Filters>
<div id="data">
@ -998,11 +998,6 @@ const closeDialog = () => {
dialogDetail.value = false
}
const updateFilters = (value: any) => {
filters.value = value
reportMeta.value.groupBy = value.groupBy
}
const onExporting = (e: any) => {
if (e.format === 'pdf') {
exportToPDF(reportMeta.value, data.value)