Merge branch 'dev-eko-vm' of https://gitea.callysta-engineering.com/APKT/eis into dev-bagus
This commit is contained in:
commit
b8931eca0a
@ -20,12 +20,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
|||||||
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
||||||
const up3 = ref({ id: 0, name: up3Placeholder });
|
const up3 = ref({ id: 0, name: up3Placeholder });
|
||||||
const uid = ref({ id: 0, name: uidPlaceholder });
|
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 emit = defineEmits(['update:filters'])
|
||||||
const data = ref({
|
const data = ref({
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: up3.value,
|
up3: up3.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
minJmlLapor: 1,
|
minJmlLapor: 1,
|
||||||
maxJmlLapor: 1
|
maxJmlLapor: 1
|
||||||
@ -40,14 +40,14 @@ const setUid = (value: any) => {
|
|||||||
const setUp3 = (value: any) => {
|
const setUp3 = (value: any) => {
|
||||||
up3.value = value;
|
up3.value = value;
|
||||||
selectedUp3Ulp(value);
|
selectedUp3Ulp(value);
|
||||||
ulp.value = { id: "", name: ulpPlaceholder };
|
ulp.value = { id: 0, name: ulpPlaceholder };
|
||||||
data.value.up3 = value;
|
data.value.up3 = value;
|
||||||
};
|
};
|
||||||
|
|
||||||
const setUlp = (value: any) => {
|
const setUlp = (value: any) => {
|
||||||
ulp.value = value;
|
ulp.value = value;
|
||||||
selectedUlp(value);
|
selectedUlp(value);
|
||||||
data.value.posko = value;
|
data.value.ulp = value;
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
emit('update:filters', data.value)
|
emit('update:filters', data.value)
|
||||||
|
@ -21,7 +21,7 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
|||||||
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
||||||
const up3 = ref({ id: 0, name: up3Placeholder });
|
const up3 = ref({ id: 0, name: up3Placeholder });
|
||||||
const uid = ref({ id: 0, name: uidPlaceholder });
|
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 emit = defineEmits(['update:filters'])
|
||||||
|
|
||||||
const sla = [
|
const sla = [
|
||||||
@ -37,7 +37,7 @@ const sla = [
|
|||||||
const data = ref({
|
const data = ref({
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: up3.value,
|
up3: up3.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
minTime: 1,
|
minTime: 1,
|
||||||
maxTime: 1
|
maxTime: 1
|
||||||
@ -52,14 +52,14 @@ const setUid = (value: any) => {
|
|||||||
const setUp3 = (value: any) => {
|
const setUp3 = (value: any) => {
|
||||||
up3.value = value;
|
up3.value = value;
|
||||||
selectedUp3Ulp(value);
|
selectedUp3Ulp(value);
|
||||||
ulp.value = { id: "", name: ulpPlaceholder };
|
ulp.value = { id: 0, name: ulpPlaceholder };
|
||||||
data.value.up3 = value;
|
data.value.up3 = value;
|
||||||
};
|
};
|
||||||
|
|
||||||
const setUlp = (value: any) => {
|
const setUlp = (value: any) => {
|
||||||
ulp.value = value;
|
ulp.value = value;
|
||||||
selectedUlp(value);
|
selectedUlp(value);
|
||||||
data.value.posko = value;
|
data.value.ulp = value;
|
||||||
};
|
};
|
||||||
const setMin = (value: any) => {
|
const setMin = (value: any) => {
|
||||||
console.log(value)
|
console.log(value)
|
||||||
|
@ -9,12 +9,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
|||||||
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
||||||
const uppp = ref({ id: 0, name: up3Placeholder });
|
const uppp = ref({ id: 0, name: up3Placeholder });
|
||||||
const uid = ref({ id: 0, name: uidPlaceholder });
|
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 emit = defineEmits(['update:filters'])
|
||||||
const data = ref({
|
const data = ref({
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: uppp.value,
|
up3: uppp.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
minDurasiResponseTime: 1,
|
minDurasiResponseTime: 1,
|
||||||
maxDurasiResponseTime: 1
|
maxDurasiResponseTime: 1
|
||||||
@ -29,14 +29,14 @@ const setUid = (value: any) => {
|
|||||||
const setUp3 = (value: any) => {
|
const setUp3 = (value: any) => {
|
||||||
uppp.value = value;
|
uppp.value = value;
|
||||||
selectedUp3Ulp(value);
|
selectedUp3Ulp(value);
|
||||||
ulp.value = { id: "", name: ulpPlaceholder };
|
ulp.value = { id: 0, name: ulpPlaceholder };
|
||||||
data.value.up3 = value;
|
data.value.up3 = value;
|
||||||
};
|
};
|
||||||
|
|
||||||
const setUlp = (value: any) => {
|
const setUlp = (value: any) => {
|
||||||
ulp.value = value;
|
ulp.value = value;
|
||||||
selectedUlp(value);
|
selectedUlp(value);
|
||||||
data.value.posko = value;
|
data.value.ulp = value;
|
||||||
};
|
};
|
||||||
const triggerInput = ref(false)
|
const triggerInput = ref(false)
|
||||||
const sla = [
|
const sla = [
|
||||||
|
@ -2,50 +2,41 @@
|
|||||||
import Select from '@/components/Select.vue'
|
import Select from '@/components/Select.vue'
|
||||||
import DatePicker from '@/components/DatePicker.vue'
|
import DatePicker from '@/components/DatePicker.vue'
|
||||||
import InlineRadioGroup from '@/components/Form/InlineRadioGroup.vue'
|
import InlineRadioGroup from '@/components/Form/InlineRadioGroup.vue'
|
||||||
import {
|
import { selectedUid, selectedUp3Ulp, selectedUlp, fetchUid, itemsUid, itemsUp3, itemsUlp } from './reference';
|
||||||
selectedUid,
|
import { onMounted, ref } from 'vue';
|
||||||
selectedUp3Ulp,
|
const uidPlaceholder = 'Semua Unit Induk Distribusi/Wilayah';
|
||||||
selectedUlp,
|
const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
||||||
fetchUid,
|
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
||||||
itemsUid,
|
const up3 = ref({ id: 0, name: up3Placeholder });
|
||||||
itemsUp3,
|
const uid = ref({ id: 0, name: uidPlaceholder });
|
||||||
itemsUlp
|
const ulp = ref({ id: 0, name: ulpPlaceholder });
|
||||||
} 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 })
|
|
||||||
const emit = defineEmits(['update:filters'])
|
const emit = defineEmits(['update:filters'])
|
||||||
const data = ref({
|
const data = ref({
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: uppp.value,
|
up3: up3.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
group: 1
|
group: 1
|
||||||
})
|
})
|
||||||
const setUid = (value: any) => {
|
const setUid = (value: any) => {
|
||||||
uid.value = value
|
uid.value = value;
|
||||||
selectedUid(value)
|
selectedUid(value);
|
||||||
uppp.value = { id: 0, name: up3Placeholder }
|
up3.value = { id: 0, name: up3Placeholder };
|
||||||
data.value.uid = value
|
data.value.uid = value;
|
||||||
}
|
};
|
||||||
|
|
||||||
const setUp3 = (value: any) => {
|
const setUp3 = (value: any) => {
|
||||||
uppp.value = value
|
up3.value = value;
|
||||||
selectedUp3Ulp(value)
|
selectedUp3Ulp(value);
|
||||||
ulp.value = { id: '', name: ulpPlaceholder }
|
ulp.value = { id: 0, name: ulpPlaceholder };
|
||||||
data.value.up3 = value
|
data.value.up3 = value;
|
||||||
}
|
};
|
||||||
|
|
||||||
const setUlp = (value: any) => {
|
const setUlp = (value: any) => {
|
||||||
ulp.value = value
|
ulp.value = value;
|
||||||
selectedUlp(value)
|
selectedUlp(value);
|
||||||
data.value.posko = value
|
data.value.ulp = value;
|
||||||
}
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
emit('update:filters', data.value)
|
emit('update:filters', data.value)
|
||||||
fetchUid()
|
fetchUid()
|
||||||
@ -54,65 +45,38 @@ onMounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
|
<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"
|
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Unit Induk Distribusi/Wilayah:</label>
|
||||||
>Unit Induk Distribusi/Wilayah:</label
|
|
||||||
>
|
|
||||||
|
|
||||||
<Select @update:selected="setUid($event)" :data="itemsUid" :placeholder="uidPlaceholder" />
|
<Select @update:selected="setUid($event)" :data="itemsUid" :placeholder="uidPlaceholder" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
|
<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"
|
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Unit Pelaksanaan Pelayanan Pelanggan:</label>
|
||||||
>Unit Pelaksanaan Pelayanan Pelanggan:</label
|
|
||||||
>
|
|
||||||
|
|
||||||
<Select
|
<Select @update:selected="setUp3($event)" :data="itemsUp3" :selected="up3" :placeholder="up3Placeholder" />
|
||||||
@update:selected="setUp3($event)"
|
|
||||||
:data="itemsUp3"
|
|
||||||
:selected="up3"
|
|
||||||
:placeholder="up3Placeholder"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
|
<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>
|
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Unit Layanan Pelanggan:</label>
|
||||||
|
|
||||||
<Select
|
<Select @update:selected="setUlp($event)" :data="itemsUlp" :placeholder="ulpPlaceholder" />
|
||||||
@update:selected="setUlp($event)"
|
|
||||||
:selected="ulp"
|
|
||||||
:data="itemsUlp"
|
|
||||||
:placeholder="ulpPlaceholder"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
|
<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>
|
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Periode Tanggal:</label>
|
||||||
|
|
||||||
<DatePicker
|
<DatePicker @update:date-value="(value) => {
|
||||||
@update:date-value="
|
data.periode = value
|
||||||
(value) => {
|
}
|
||||||
data.periode = value
|
" />
|
||||||
}
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sm:grid sm:grid-cols-2 lg:grid-cols-3 sm:items-center">
|
<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"
|
<label class="text-gray-800 font-semibold mb-2 sm:mb-0 block">Group By Kode Unit Distribusi:</label>
|
||||||
>Group By Kode Unit Distribusi:</label
|
|
||||||
>
|
|
||||||
|
|
||||||
<InlineRadioGroup
|
<InlineRadioGroup @update:group-value="(value) => {
|
||||||
@update:group-value="
|
data.group = value
|
||||||
(value) => {
|
console.log('data.group', value)
|
||||||
data.group = value
|
}" :radio-items="[{ id: 1, title: 'Tidak' }, { id: 2, title: 'Ya, Grupkan' }]" />
|
||||||
console.log('data.group', value)
|
|
||||||
}
|
|
||||||
"
|
|
||||||
:radio-items="[
|
|
||||||
{ id: 1, title: 'Tidak' },
|
|
||||||
{ id: 2, title: 'Ya, Grupkan' }
|
|
||||||
]"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -8,12 +8,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
|||||||
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
||||||
const uppp = ref({ id: 0, name: up3Placeholder });
|
const uppp = ref({ id: 0, name: up3Placeholder });
|
||||||
const uid = ref({ id: 0, name: uidPlaceholder });
|
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 emit = defineEmits(['update:filters'])
|
||||||
const data = ref({
|
const data = ref({
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: uppp.value,
|
up3: uppp.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
group: 1
|
group: 1
|
||||||
})
|
})
|
||||||
|
@ -11,7 +11,7 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
|||||||
const poskoPlaceholder = 'Semua Posko';
|
const poskoPlaceholder = 'Semua Posko';
|
||||||
const up3 = ref({ id: 0, name: up3Placeholder });
|
const up3 = ref({ id: 0, name: up3Placeholder });
|
||||||
const uid = ref({ id: 0, name: uidPlaceholder });
|
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 emit = defineEmits(['update:filters'])
|
||||||
const jenisTransakasi = [
|
const jenisTransakasi = [
|
||||||
{ id: 1, value: 'Koreksi Transaksi Individual',label: 'Koreksi Transaksi Individual' },
|
{ id: 1, value: 'Koreksi Transaksi Individual',label: 'Koreksi Transaksi Individual' },
|
||||||
|
@ -46,7 +46,7 @@ const data = ref({
|
|||||||
regional: regional.value,
|
regional: regional.value,
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: uppp.value,
|
up3: uppp.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
bulan: bulan.value,
|
bulan: bulan.value,
|
||||||
tahun: tahun.value
|
tahun: tahun.value
|
||||||
@ -77,7 +77,7 @@ const setUp3 = (value: any) => {
|
|||||||
const setUlp = (value: any) => {
|
const setUlp = (value: any) => {
|
||||||
ulp.value = value
|
ulp.value = value
|
||||||
selectedUp3Ulp(value)
|
selectedUp3Ulp(value)
|
||||||
data.value.posko = value
|
data.value.ulp = value
|
||||||
}
|
}
|
||||||
const setMonth = (value: any) => {
|
const setMonth = (value: any) => {
|
||||||
bulan.value = value
|
bulan.value = value
|
||||||
|
@ -8,12 +8,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
|
|||||||
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
|
||||||
const uppp = ref({ id: 0, name: up3Placeholder });
|
const uppp = ref({ id: 0, name: up3Placeholder });
|
||||||
const uid = ref({ id: 0, name: uidPlaceholder });
|
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 emit = defineEmits(['update:filters'])
|
||||||
const data = ref({
|
const data = ref({
|
||||||
uid: uid.value,
|
uid: uid.value,
|
||||||
up3: uppp.value,
|
up3: uppp.value,
|
||||||
posko: ulp.value,
|
ulp: ulp.value,
|
||||||
periode: '',
|
periode: '',
|
||||||
jenisLaporan : ''
|
jenisLaporan : ''
|
||||||
})
|
})
|
||||||
@ -27,14 +27,14 @@ const setUid = (value: any) => {
|
|||||||
const setUp3 = (value: any) => {
|
const setUp3 = (value: any) => {
|
||||||
uppp.value = value;
|
uppp.value = value;
|
||||||
selectedUp3Ulp(value);
|
selectedUp3Ulp(value);
|
||||||
ulp.value = { id: "", name: ulpPlaceholder };
|
ulp.value = { id: 0, name: ulpPlaceholder };
|
||||||
data.value.up3 = value;
|
data.value.up3 = value;
|
||||||
};
|
};
|
||||||
|
|
||||||
const setUlp = (value: any) => {
|
const setUlp = (value: any) => {
|
||||||
ulp.value = value;
|
ulp.value = value;
|
||||||
selectedUlp(value);
|
selectedUlp(value);
|
||||||
data.value.posko = value;
|
data.value.ulp = value;
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
emit('update:filters', data.value)
|
emit('update:filters', data.value)
|
||||||
|
@ -171,7 +171,8 @@ const shading = ref(true)
|
|||||||
const showPane = ref(true)
|
const showPane = ref(true)
|
||||||
const dataDetail = ref<any>()
|
const dataDetail = ref<any>()
|
||||||
const data = ref<any[]>([])
|
const data = ref<any[]>([])
|
||||||
const showDetail = ref(false)
|
const showDetail = ref(false)
|
||||||
|
|
||||||
const onExporting = (e: any) => {
|
const onExporting = (e: any) => {
|
||||||
if (e.format === 'pdf') {
|
if (e.format === 'pdf') {
|
||||||
const doc = new jsPDF()
|
const doc = new jsPDF()
|
||||||
|
@ -101,7 +101,7 @@ const filterData = (params: any) => {
|
|||||||
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
|
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
|
|
||||||
})
|
})
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
|
@ -105,7 +105,7 @@ const { onResult, onError, loading, refetch } = useQuery(rekapitulasiPemakaianMa
|
|||||||
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
|
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
|
||||||
idUid: 0,
|
idUid: 0,
|
||||||
idUp3: 0,
|
idUp3: 0,
|
||||||
posko: ''
|
posko: 0
|
||||||
})
|
})
|
||||||
const filterData = (params: any) => {
|
const filterData = (params: any) => {
|
||||||
const dateValue = params.periode.split(' s/d ')
|
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),
|
dateTo: dateValue[1]? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
})
|
})
|
||||||
onResult((queryResult) => {
|
onResult((queryResult) => {
|
||||||
if (queryResult.data != undefined) {
|
if (queryResult.data != undefined) {
|
||||||
|
@ -109,8 +109,8 @@ const bulanSekarang = ref(new Date().getMonth())
|
|||||||
const tahunLalu = ref(tahunSekarang.value - 1)
|
const tahunLalu = ref(tahunSekarang.value - 1)
|
||||||
const MONALISAJUMLAHKALIGANGGUAN = gql`
|
const MONALISAJUMLAHKALIGANGGUAN = gql`
|
||||||
query DaftarMonalisaJumlahKaliGangguan(
|
query DaftarMonalisaJumlahKaliGangguan(
|
||||||
$regional: String
|
$regional: Int
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -135,8 +135,8 @@ const MONALISAJUMLAHKALIGANGGUAN = gql`
|
|||||||
}
|
}
|
||||||
`
|
`
|
||||||
const { onResult, onError, loading, refetch } = useQuery(MONALISAJUMLAHKALIGANGGUAN, {
|
const { onResult, onError, loading, refetch } = useQuery(MONALISAJUMLAHKALIGANGGUAN, {
|
||||||
regional: '',
|
regional: 0,
|
||||||
posko: '',
|
posko: 0,
|
||||||
idUid: 0,
|
idUid: 0,
|
||||||
idUp3: 0,
|
idUp3: 0,
|
||||||
bulan: bulanSekarang.value,
|
bulan: bulanSekarang.value,
|
||||||
@ -150,7 +150,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : bulanSekarang.value,
|
bulan: bulan ? bulan.id : bulanSekarang.value,
|
||||||
|
@ -109,7 +109,7 @@ const onExporting = (e: any) => {
|
|||||||
const monalisaDispatchingTimeGangguan = gql`
|
const monalisaDispatchingTimeGangguan = gql`
|
||||||
query DaftarmonalisaDispatchingTimeGangguan(
|
query DaftarmonalisaDispatchingTimeGangguan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -148,7 +148,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -70,7 +70,7 @@ const dataDetail = ref<any>()
|
|||||||
const showDetail = ref(false)
|
const showDetail = ref(false)
|
||||||
|
|
||||||
const monalisaRecoveryTimeGangguan = gql`
|
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(
|
monalisaRecoveryTimeGangguan(
|
||||||
regional:$regional
|
regional:$regional
|
||||||
posko: $posko
|
posko: $posko
|
||||||
@ -90,7 +90,7 @@ const monalisaRecoveryTimeGangguan = gql`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeGangguan, {
|
const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeGangguan, {
|
||||||
regional: "",
|
regional: 0,
|
||||||
posko: 0,
|
posko: 0,
|
||||||
idUid: 0,
|
idUid: 0,
|
||||||
idUp3: 0,
|
idUp3: 0,
|
||||||
@ -105,7 +105,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -80,7 +80,7 @@ const showDetail = ref(false)
|
|||||||
const monalisaResponseTimeKeluhan = gql`
|
const monalisaResponseTimeKeluhan = gql`
|
||||||
query DaftarmonalisaResponseTimeKeluhan(
|
query DaftarmonalisaResponseTimeKeluhan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -119,7 +119,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -115,7 +115,7 @@ const showDetail = ref(false)
|
|||||||
const monalisaJumlahDurasiRptRctGangguan = gql`
|
const monalisaJumlahDurasiRptRctGangguan = gql`
|
||||||
query DaftarmonalisaJumlahDurasiRptRctGangguan(
|
query DaftarmonalisaJumlahDurasiRptRctGangguan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -158,7 +158,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -69,7 +69,7 @@ const showDetail = ref(false)
|
|||||||
const monalisaGangguanPerJenisGangguan = gql`
|
const monalisaGangguanPerJenisGangguan = gql`
|
||||||
query DaftarmonalisaGangguanPerJenisGangguan(
|
query DaftarmonalisaGangguanPerJenisGangguan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -103,7 +103,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -80,7 +80,7 @@ const showDetail = ref(false)
|
|||||||
const monalisaRekapitulasiLaporUlangGangguan = gql`
|
const monalisaRekapitulasiLaporUlangGangguan = gql`
|
||||||
query DaftarmonalisaRekapitulasiLaporUlangGangguan(
|
query DaftarmonalisaRekapitulasiLaporUlangGangguan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -119,7 +119,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -80,7 +80,7 @@ const showDetail = ref(false)
|
|||||||
const monalisaRekapitulasiEnsGangguan = gql`
|
const monalisaRekapitulasiEnsGangguan = gql`
|
||||||
query DaftarmonalisaRekapitulasiEnsGangguan(
|
query DaftarmonalisaRekapitulasiEnsGangguan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -119,7 +119,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -66,7 +66,7 @@ const showDetail = ref(false)
|
|||||||
const monalisaGangguanBelumSelesai = gql`
|
const monalisaGangguanBelumSelesai = gql`
|
||||||
query DaftarmonalisaGangguanBelumSelesai(
|
query DaftarmonalisaGangguanBelumSelesai(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -103,7 +103,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -98,7 +98,7 @@ const tahunLalu = ref(tahunSekarang.value - 1)
|
|||||||
const MONALISAJUMLAHKALIKELUHAN = gql`
|
const MONALISAJUMLAHKALIKELUHAN = gql`
|
||||||
query DaftarMonalisaJumlahKaliKeluhan(
|
query DaftarMonalisaJumlahKaliKeluhan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -138,7 +138,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : bulanSekarang.value,
|
bulan: bulan ? bulan.id : bulanSekarang.value,
|
||||||
|
@ -98,7 +98,7 @@ const onExporting = (e: any) => {
|
|||||||
const monalisaDispatchingTimeKeluhan = gql`
|
const monalisaDispatchingTimeKeluhan = gql`
|
||||||
query DaftarmonalisaDispatchingTimeKeluhan(
|
query DaftarmonalisaDispatchingTimeKeluhan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -137,7 +137,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -95,7 +95,7 @@ const onExporting = (e: any) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const monalisaRecoveryTimeKeluhan = gql`
|
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(
|
monalisaRecoveryTimeKeluhan(
|
||||||
regional:$regional
|
regional:$regional
|
||||||
posko: $posko
|
posko: $posko
|
||||||
@ -115,7 +115,7 @@ const monalisaRecoveryTimeKeluhan = gql`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeKeluhan, {
|
const { onResult, onError, loading, refetch } = useQuery(monalisaRecoveryTimeKeluhan, {
|
||||||
regional: "",
|
regional: 0,
|
||||||
posko: 0,
|
posko: 0,
|
||||||
idUid: 0,
|
idUid: 0,
|
||||||
idUp3: 0,
|
idUp3: 0,
|
||||||
@ -130,7 +130,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -135,7 +135,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const monalisaJumlahDurasiRptRctKeluhan = gql`
|
const monalisaJumlahDurasiRptRctKeluhan = gql`
|
||||||
query DaftarmonalisaJumlahDurasiRptRctKeluhan(
|
query DaftarmonalisaJumlahDurasiRptRctKeluhan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -178,7 +178,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -85,7 +85,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const monalisaKeluhanPerJenisKeluhan = gql`
|
const monalisaKeluhanPerJenisKeluhan = gql`
|
||||||
query DaftarmonalisaKeluhanPerJenisKeluhan(
|
query DaftarmonalisaKeluhanPerJenisKeluhan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -119,7 +119,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -102,7 +102,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const monalisaRekapitulasiLaporUlangKeluhan = gql`
|
const monalisaRekapitulasiLaporUlangKeluhan = gql`
|
||||||
query DaftarmonalisaRekapitulasiLaporUlangKeluhan(
|
query DaftarmonalisaRekapitulasiLaporUlangKeluhan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -141,7 +141,7 @@ const filterData = (params: any) => {
|
|||||||
tahunLalu.value = tahun.id - 1;
|
tahunLalu.value = tahun.id - 1;
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -144,7 +144,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const monalisaRekapitulasiKeluhanBelumSelesai = gql`
|
const monalisaRekapitulasiKeluhanBelumSelesai = gql`
|
||||||
query DaftarmonalisaRekapitulasiKeluhanBelumSelesai(
|
query DaftarmonalisaRekapitulasiKeluhanBelumSelesai(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -178,7 +178,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -155,7 +155,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const penurunanJumlahKomplainBulanan = gql`
|
const penurunanJumlahKomplainBulanan = gql`
|
||||||
query DaftarpenurunanJumlahKomplainBulanan(
|
query DaftarpenurunanJumlahKomplainBulanan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -205,7 +205,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -110,7 +110,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const agingComplaintBulanan = gql`
|
const agingComplaintBulanan = gql`
|
||||||
query DaftaragingComplaintBulanan(
|
query DaftaragingComplaintBulanan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -148,7 +148,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -96,7 +96,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const agingComplaintBulanan = gql`
|
const agingComplaintBulanan = gql`
|
||||||
query DaftaragingComplaintBulanan(
|
query DaftaragingComplaintBulanan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -132,7 +132,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -98,7 +98,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const kepatuhandanAkurasiDalamPelaporanBulanan = gql`
|
const kepatuhandanAkurasiDalamPelaporanBulanan = gql`
|
||||||
query DaftarkepatuhandanAkurasiDalamPelaporanBulanan(
|
query DaftarkepatuhandanAkurasiDalamPelaporanBulanan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -134,7 +134,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -105,7 +105,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const penurunanJumlahKomplainKumulatif = gql`
|
const penurunanJumlahKomplainKumulatif = gql`
|
||||||
query DaftarpenurunanJumlahKomplainKumulatif(
|
query DaftarpenurunanJumlahKomplainKumulatif(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -155,7 +155,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -106,7 +106,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const agingComplaintKumulatif = gql`
|
const agingComplaintKumulatif = gql`
|
||||||
query DaftaragingComplaintKumulatif(
|
query DaftaragingComplaintKumulatif(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -144,7 +144,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -97,7 +97,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const kepatuhandanAkurasiDalamPelaporanKumulatif = gql`
|
const kepatuhandanAkurasiDalamPelaporanKumulatif = gql`
|
||||||
query DaftarkepatuhandanAkurasiDalamPelaporanKumulatif(
|
query DaftarkepatuhandanAkurasiDalamPelaporanKumulatif(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -133,7 +133,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
@ -99,7 +99,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
|
|||||||
const kepatuhandanAkurasiDalamPelaporanBulanan = gql`
|
const kepatuhandanAkurasiDalamPelaporanBulanan = gql`
|
||||||
query DaftarkepatuhandanAkurasiDalamPelaporanBulanan(
|
query DaftarkepatuhandanAkurasiDalamPelaporanBulanan(
|
||||||
$regional: String
|
$regional: String
|
||||||
$posko: String
|
$posko: Int
|
||||||
$idUid: Int
|
$idUid: Int
|
||||||
$idUp3: Int
|
$idUp3: Int
|
||||||
$bulan: Int
|
$bulan: Int
|
||||||
@ -135,7 +135,7 @@ const filterData = (params: any) => {
|
|||||||
|
|
||||||
refetch({
|
refetch({
|
||||||
regional: regional,
|
regional: regional,
|
||||||
posko: posko ? posko.id : "",
|
posko: posko ? posko.id : 0,
|
||||||
idUid: idUid ? idUid.id : 0,
|
idUid: idUid ? idUid.id : 0,
|
||||||
idUp3: idUp3 ? idUp3.id : 0,
|
idUp3: idUp3 ? idUp3.id : 0,
|
||||||
bulan: bulan ? bulan.id : 10,
|
bulan: bulan ? bulan.id : 10,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user