feat: create export pdf and xlsx in rekapitulasi keluhan per fungsi bidang
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user