feat: create export doc monalisa keluhan

This commit is contained in:
kur0nek-o
2024-04-05 22:50:22 +07:00
parent 37fb255e03
commit 8ec4e70ee8
21 changed files with 1389 additions and 106 deletions

View File

@@ -295,7 +295,8 @@ import { provideApolloClient } from '@vue/apollo-composable'
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
import {
exportToPDF,
exportToXLSX
exportToXLSX,
exportToDOCX
} from '@/report/Monalisa/Keluhan/Rekap/MonalisaKR_LaporUlangKeluhan'
const client = apolloClient()
@@ -341,6 +342,7 @@ const onExporting = (e: any) => {
} else if (e.format === 'xlsx') {
exportToXLSX(reportMeta.value, e)
} else {
exportToDOCX(reportMeta.value, data.value)
}
}
const getDetail = async () => {