Merge branch 'dev-eko-vm' of https://gitea.callysta-engineering.com/APKT/eis into dev-bagus

This commit is contained in:
kur0nek-o 2024-02-27 10:46:05 +07:00
commit b8931eca0a
35 changed files with 116 additions and 151 deletions

View File

@ -20,12 +20,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const up3 = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: "", name: ulpPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: up3.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
minJmlLapor: 1,
maxJmlLapor: 1
@ -40,14 +40,14 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
up3.value = value;
selectedUp3Ulp(value);
ulp.value = { id: "", name: ulpPlaceholder };
ulp.value = { id: 0, name: ulpPlaceholder };
data.value.up3 = value;
};
const setUlp = (value: any) => {
ulp.value = value;
selectedUlp(value);
data.value.posko = value;
data.value.ulp = value;
};
onMounted(() => {
emit('update:filters', data.value)

View File

@ -21,7 +21,7 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const up3 = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: "", name: ulpPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const sla = [
@ -37,7 +37,7 @@ const sla = [
const data = ref({
uid: uid.value,
up3: up3.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
minTime: 1,
maxTime: 1
@ -52,14 +52,14 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
up3.value = value;
selectedUp3Ulp(value);
ulp.value = { id: "", name: ulpPlaceholder };
ulp.value = { id: 0, name: ulpPlaceholder };
data.value.up3 = value;
};
const setUlp = (value: any) => {
ulp.value = value;
selectedUlp(value);
data.value.posko = value;
data.value.ulp = value;
};
const setMin = (value: any) => {
console.log(value)

View File

@ -9,12 +9,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: "", name: ulpPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
minDurasiResponseTime: 1,
maxDurasiResponseTime: 1
@ -29,14 +29,14 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value;
selectedUp3Ulp(value);
ulp.value = { id: "", name: ulpPlaceholder };
ulp.value = { id: 0, name: ulpPlaceholder };
data.value.up3 = value;
};
const setUlp = (value: any) => {
ulp.value = value;
selectedUlp(value);
data.value.posko = value;
data.value.ulp = value;
};
const triggerInput = ref(false)
const sla = [

View File

@ -2,50 +2,41 @@
import Select from '@/components/Select.vue'
import DatePicker from '@/components/DatePicker.vue'
import InlineRadioGroup from '@/components/Form/InlineRadioGroup.vue'
import {
selectedUid,
selectedUp3Ulp,
selectedUlp,
fetchUid,
itemsUid,
itemsUp3,
itemsUlp
} from './reference'
import { onMounted, ref } from 'vue'
const uidPlaceholder = 'Semua Unit Induk Distribusi/Wilayah'
const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan'
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan'
const uppp = ref({ id: 0, name: up3Placeholder })
const uid = ref({ id: 0, name: uidPlaceholder })
const up3 = ref({ id: 0, name: up3Placeholder })
const ulp = ref({ id: '', name: ulpPlaceholder })
import { selectedUid, selectedUp3Ulp, selectedUlp, fetchUid, itemsUid, itemsUp3, itemsUlp } from './reference';
import { onMounted, ref } from 'vue';
const uidPlaceholder = 'Semua Unit Induk Distribusi/Wilayah';
const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const up3 = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
up3: up3.value,
ulp: ulp.value,
periode: '',
group: 1
})
const setUid = (value: any) => {
uid.value = value
selectedUid(value)
uppp.value = { id: 0, name: up3Placeholder }
data.value.uid = value
}
uid.value = value;
selectedUid(value);
up3.value = { id: 0, name: up3Placeholder };
data.value.uid = value;
};
const setUp3 = (value: any) => {
uppp.value = value
selectedUp3Ulp(value)
ulp.value = { id: '', name: ulpPlaceholder }
data.value.up3 = value
}
up3.value = value;
selectedUp3Ulp(value);
ulp.value = { id: 0, name: ulpPlaceholder };
data.value.up3 = value;
};
const setUlp = (value: any) => {
ulp.value = value
selectedUlp(value)
data.value.posko = value
}
ulp.value = value;
selectedUlp(value);
data.value.ulp = value;
};
onMounted(() => {
emit('update:filters', data.value)
fetchUid()
@ -54,65 +45,38 @@ onMounted(() => {
<template>
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block"
>Unit Induk Distribusi/Wilayah:</label
>
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Unit Induk Distribusi/Wilayah:</label>
<Select @update:selected="setUid($event)" :data="itemsUid" :placeholder="uidPlaceholder" />
</div>
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block"
>Unit Pelaksanaan Pelayanan Pelanggan:</label
>
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Unit Pelaksanaan Pelayanan Pelanggan:</label>
<Select
@update:selected="setUp3($event)"
:data="itemsUp3"
:selected="up3"
:placeholder="up3Placeholder"
/>
<Select @update:selected="setUp3($event)" :data="itemsUp3" :selected="up3" :placeholder="up3Placeholder" />
</div>
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Unit Layanan Pelanggan:</label>
<Select
@update:selected="setUlp($event)"
:selected="ulp"
:data="itemsUlp"
:placeholder="ulpPlaceholder"
/>
<Select @update:selected="setUlp($event)" :data="itemsUlp" :placeholder="ulpPlaceholder" />
</div>
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Periode Tanggal:</label>
<DatePicker
@update:date-value="
(value) => {
data.periode = value
}
"
/>
<DatePicker @update:date-value="(value) => {
data.periode = value
}
" />
</div>
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block"
>Group By Kode Unit Distribusi:</label
>
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Group By Kode Unit Distribusi:</label>
<InlineRadioGroup
@update:group-value="
(value) => {
data.group = value
console.log('data.group', value)
}
"
:radio-items="[
{ id: 1, title: 'Tidak' },
{ id: 2, title: 'Ya, Grupkan' }
]"
/>
<InlineRadioGroup @update:group-value="(value) => {
data.group = value
console.log('data.group', value)
}" :radio-items="[{ id: 1, title: 'Tidak' }, { id: 2, title: 'Ya, Grupkan' }]" />
</div>
</template>

View File

@ -8,12 +8,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: "", name: ulpPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
group: 1
})

View File

@ -11,7 +11,7 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const poskoPlaceholder = 'Semua Posko';
const up3 = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const posko = ref({ id: "", name: poskoPlaceholder });
const posko = ref({ id: 0, name: poskoPlaceholder });
const emit = defineEmits(['update:filters'])
const jenisTransakasi = [
{ id: 1, value: 'Koreksi Transaksi Individual',label: 'Koreksi Transaksi Individual' },

View File

@ -46,7 +46,7 @@ const data = ref({
regional: regional.value,
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
bulan: bulan.value,
tahun: tahun.value
@ -77,7 +77,7 @@ const setUp3 = (value: any) => {
const setUlp = (value: any) => {
ulp.value = value
selectedUp3Ulp(value)
data.value.posko = value
data.value.ulp = value
}
const setMonth = (value: any) => {
bulan.value = value

View File

@ -8,12 +8,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: "", name: ulpPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
jenisLaporan : ''
})
@ -27,14 +27,14 @@ const setUid = (value: any) => {
const setUp3 = (value: any) => {
uppp.value = value;
selectedUp3Ulp(value);
ulp.value = { id: "", name: ulpPlaceholder };
ulp.value = { id: 0, name: ulpPlaceholder };
data.value.up3 = value;
};
const setUlp = (value: any) => {
ulp.value = value;
selectedUlp(value);
data.value.posko = value;
data.value.ulp = value;
};
onMounted(() => {
emit('update:filters', data.value)

View File

@ -171,7 +171,8 @@ const shading = ref(true)
const showPane = ref(true)
const dataDetail = ref<any>()
const data = ref<any[]>([])
const showDetail = ref(false)
const showDetail = ref(false)
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()

View File

@ -101,7 +101,7 @@ const filterData = (params: any) => {
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
})
onResult((queryResult) => {

View File

@ -105,7 +105,7 @@ const { onResult, onError, loading, refetch } = useQuery(rekapitulasiPemakaianMa
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
idUid: 0,
idUp3: 0,
posko: ''
posko: 0
})
const filterData = (params: any) => {
const dateValue = params.periode.split(' s/d ')
@ -117,7 +117,7 @@ const filterData = (params: any) => {
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
})
onResult((queryResult) => {
if (queryResult.data != undefined) {

View File

@ -109,8 +109,8 @@ const bulanSekarang = ref(new Date().getMonth())
const tahunLalu = ref(tahunSekarang.value - 1)
const MONALISAJUMLAHKALIGANGGUAN = gql`
query DaftarMonalisaJumlahKaliGangguan(
$regional: String
$posko: String
$regional: Int
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -135,8 +135,8 @@ const MONALISAJUMLAHKALIGANGGUAN = gql`
}
`
const { onResult, onError, loading, refetch } = useQuery(MONALISAJUMLAHKALIGANGGUAN, {
regional: '',
posko: '',
regional: 0,
posko: 0,
idUid: 0,
idUp3: 0,
bulan: bulanSekarang.value,
@ -150,7 +150,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : bulanSekarang.value,

View File

@ -109,7 +109,7 @@ const onExporting = (e: any) => {
const monalisaDispatchingTimeGangguan = gql`
query DaftarmonalisaDispatchingTimeGangguan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -148,7 +148,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -70,7 +70,7 @@ const dataDetail = ref<any>()
const showDetail = ref(false)
const monalisaRecoveryTimeGangguan = gql`
query DaftarmonalisaRecoveryTimeGangguan($regional:regional, $posko: String, $idUid: Int, $idUp3: Int,$bulan: Int, $tahun: Int) {
query DaftarmonalisaRecoveryTimeGangguan($regional:regional, $posko: Int, $idUid: Int, $idUp3: Int,$bulan: Int, $tahun: Int) {
monalisaRecoveryTimeGangguan(
regional:$regional
posko: $posko
@ -90,7 +90,7 @@ const monalisaRecoveryTimeGangguan = gql`
}
`;
const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeGangguan, {
regional: "",
regional: 0,
posko: 0,
idUid: 0,
idUp3: 0,
@ -105,7 +105,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -80,7 +80,7 @@ const showDetail = ref(false)
const monalisaResponseTimeKeluhan = gql`
query DaftarmonalisaResponseTimeKeluhan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -119,7 +119,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -115,7 +115,7 @@ const showDetail = ref(false)
const monalisaJumlahDurasiRptRctGangguan = gql`
query DaftarmonalisaJumlahDurasiRptRctGangguan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -158,7 +158,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -69,7 +69,7 @@ const showDetail = ref(false)
const monalisaGangguanPerJenisGangguan = gql`
query DaftarmonalisaGangguanPerJenisGangguan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -103,7 +103,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -80,7 +80,7 @@ const showDetail = ref(false)
const monalisaRekapitulasiLaporUlangGangguan = gql`
query DaftarmonalisaRekapitulasiLaporUlangGangguan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -119,7 +119,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -80,7 +80,7 @@ const showDetail = ref(false)
const monalisaRekapitulasiEnsGangguan = gql`
query DaftarmonalisaRekapitulasiEnsGangguan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -119,7 +119,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -66,7 +66,7 @@ const showDetail = ref(false)
const monalisaGangguanBelumSelesai = gql`
query DaftarmonalisaGangguanBelumSelesai(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -103,7 +103,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -98,7 +98,7 @@ const tahunLalu = ref(tahunSekarang.value - 1)
const MONALISAJUMLAHKALIKELUHAN = gql`
query DaftarMonalisaJumlahKaliKeluhan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -138,7 +138,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : bulanSekarang.value,

View File

@ -98,7 +98,7 @@ const onExporting = (e: any) => {
const monalisaDispatchingTimeKeluhan = gql`
query DaftarmonalisaDispatchingTimeKeluhan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -137,7 +137,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -95,7 +95,7 @@ const onExporting = (e: any) => {
}
}
const monalisaRecoveryTimeKeluhan = gql`
query DaftarmonalisaRecoveryTimeKeluhan($regional:regional, $posko: String, $idUid: Int, $idUp3: Int,$bulan: Int, $tahun: Int) {
query DaftarmonalisaRecoveryTimeKeluhan($regional:regional, $posko: Int, $idUid: Int, $idUp3: Int,$bulan: Int, $tahun: Int) {
monalisaRecoveryTimeKeluhan(
regional:$regional
posko: $posko
@ -115,7 +115,7 @@ const monalisaRecoveryTimeKeluhan = gql`
}
`;
const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeKeluhan, {
regional: "",
regional: 0,
posko: 0,
idUid: 0,
idUp3: 0,
@ -130,7 +130,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -135,7 +135,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const monalisaJumlahDurasiRptRctKeluhan = gql`
query DaftarmonalisaJumlahDurasiRptRctKeluhan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -178,7 +178,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -85,7 +85,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const monalisaKeluhanPerJenisKeluhan = gql`
query DaftarmonalisaKeluhanPerJenisKeluhan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -119,7 +119,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -102,7 +102,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const monalisaRekapitulasiLaporUlangKeluhan = gql`
query DaftarmonalisaRekapitulasiLaporUlangKeluhan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -141,7 +141,7 @@ const filterData = (params: any) => {
tahunLalu.value = tahun.id - 1;
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -144,7 +144,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const monalisaRekapitulasiKeluhanBelumSelesai = gql`
query DaftarmonalisaRekapitulasiKeluhanBelumSelesai(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -178,7 +178,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -155,7 +155,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const penurunanJumlahKomplainBulanan = gql`
query DaftarpenurunanJumlahKomplainBulanan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -205,7 +205,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -110,7 +110,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const agingComplaintBulanan = gql`
query DaftaragingComplaintBulanan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -148,7 +148,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -96,7 +96,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const agingComplaintBulanan = gql`
query DaftaragingComplaintBulanan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -132,7 +132,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -98,7 +98,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const kepatuhandanAkurasiDalamPelaporanBulanan = gql`
query DaftarkepatuhandanAkurasiDalamPelaporanBulanan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -134,7 +134,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -105,7 +105,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const penurunanJumlahKomplainKumulatif = gql`
query DaftarpenurunanJumlahKomplainKumulatif(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -155,7 +155,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -106,7 +106,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const agingComplaintKumulatif = gql`
query DaftaragingComplaintKumulatif(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -144,7 +144,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -97,7 +97,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const kepatuhandanAkurasiDalamPelaporanKumulatif = gql`
query DaftarkepatuhandanAkurasiDalamPelaporanKumulatif(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -133,7 +133,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,

View File

@ -99,7 +99,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const kepatuhandanAkurasiDalamPelaporanBulanan = gql`
query DaftarkepatuhandanAkurasiDalamPelaporanBulanan(
$regional: String
$posko: String
$posko: Int
$idUid: Int
$idUp3: Int
$bulan: Int
@ -135,7 +135,7 @@ const filterData = (params: any) => {
refetch({
regional: regional,
posko: posko ? posko.id : "",
posko: posko ? posko.id : 0,
idUid: idUid ? idUid.id : 0,
idUp3: idUp3 ? idUp3.id : 0,
bulan: bulan ? bulan.id : 10,