fix error
This commit is contained in:
@@ -86,15 +86,16 @@ import {
|
||||
} from 'devextreme-vue/data-grid'
|
||||
import { useQuery } from '@vue/apollo-composable'
|
||||
import { dummyData } from '@/utils/dummy'
|
||||
import { queries } from '@/utils/api/api.graphql'
|
||||
|
||||
const position = { of: '#data' }
|
||||
const showIndicator = ref(true)
|
||||
const shading = ref(true)
|
||||
const showPane = ref(true)
|
||||
const data = ref < a ny[]> ([])
|
||||
const data = ref<any[]>([])
|
||||
|
||||
const { onResult, onError, loading, refetch } = useQuery(
|
||||
q ueries.gangguan.daftar.diselesaikanMobileAPKT,
|
||||
queries.gangguan.daftar.diselesaikanMobileAPKT,
|
||||
{
|
||||
dateFrom: new Date('2023-10-01').toISOString().slice(0, 10),
|
||||
dateTo: new Date('2023-10-01').toISOString().slice(0, 10),
|
||||
@@ -136,5 +137,4 @@ const filters = ref()
|
||||
onMounted(() => {
|
||||
data.value = dummyData.gangguan.daftar.daftarGangguanDiselesaikanMobileAPKT
|
||||
})
|
||||
</script>
|
||||
@/utils/api/graphql
|
||||
</script>
|
Reference in New Issue
Block a user