feat: create login filterPresets
This commit is contained in:
@ -363,7 +363,6 @@ import InputText from '@/components/InputText.vue'
|
||||
import { queries, requestGraphQl } from '@/utils/api/api.graphql'
|
||||
import { exportToPDF, exportToXLSX, exportToDOCX } from '@/report/Gangguan/Daftar/DGangguan_DKPL'
|
||||
import BufferDialog from '@/components/Dialogs/BufferDialog.vue'
|
||||
import { readDataJson } from '@/utils/storage'
|
||||
|
||||
const data = ref<any[]>([])
|
||||
const dataSelected = ref<any>()
|
||||
@ -391,6 +390,9 @@ const filterData = async (params: any) => {
|
||||
idUid: uid ? uid.id : 0,
|
||||
idUp3: up3 ? up3.id : 0
|
||||
}
|
||||
|
||||
console.log(query)
|
||||
|
||||
loading.value = true
|
||||
await requestGraphQl(queries.gangguan.daftar.dataDialihkanKePoskoLain, query)
|
||||
.then((result) => {
|
||||
@ -435,8 +437,6 @@ const reportMeta = ref({
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
// console.log(readDataJson('filterPresets'))
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
data.value = [
|
||||
{
|
||||
|
Reference in New Issue
Block a user