Fix filter update in Keluhan and Gangguan components

This commit is contained in:
Dede Fuji Abdul
2024-03-04 16:20:04 +07:00
parent d3ae911579
commit 9cb4551bb9
59 changed files with 295 additions and 325 deletions

View File

@@ -1,6 +1,6 @@
<template>
<Filters @reset-form="data = []" @run-search="() => filterData(filters)" class="mb-4">
<Type6 @update:filters="(value) => (filters = value)" />
<Type6 @update:filters="(value) => filters = value" />
</Filters>
<div id="data">
@@ -324,13 +324,9 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
dataDetail.value = data
}
const showData = () => {
showDetail.value = true
}
const showData = () => showDetail.value = true
const closeDetail = () => {
showDetail.value = false
}
const closeDetail = () => showDetail.value = false
const { onResult, onError, loading, refetch } = useQuery(queries.gangguan.daftar.melaporLebihDariSatuKali, {
minJmlLapor: 1,