Remove unused code and comments
This commit is contained in:
@ -770,7 +770,6 @@ import { Workbook } from 'exceljs'
|
||||
import { useQuery } from '@vue/apollo-composable'
|
||||
import { formatWaktu } from '@/components/Form/FiltersType/reference'
|
||||
import { queries } from '@/utils/api/api.graphql'
|
||||
import { dummyData } from '@/utils/dummy'
|
||||
import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers'
|
||||
import { apolloClient } from '@/utils/api/api.graphql'
|
||||
import { provideApolloClient } from '@vue/apollo-composable'
|
||||
@ -923,7 +922,148 @@ const filters = ref({
|
||||
|
||||
onMounted(() => {
|
||||
if (import.meta.env.DEV) {
|
||||
data.value = dummyData.keluhan.rekap.rekapitulasiKeluhanPerKelompokKeluhan
|
||||
data.value = [
|
||||
{
|
||||
id: 0,
|
||||
nama_regional: 'REGIONAL SUMKAL',
|
||||
id_uid: 230,
|
||||
nama_uid: 'WILAYAH KALIMANTAN TIMUR',
|
||||
id_up3: 232,
|
||||
nama_up3: 'UP3 BALIKPAPAN',
|
||||
id_ulp: 23220,
|
||||
nama_ulp: 'ULP PETUNG',
|
||||
kelompok: 'Proses PD/TD, belum ada realisasinya ',
|
||||
total: 1,
|
||||
total_selesai: 0,
|
||||
persen_selesai: 0,
|
||||
total_inproses: 1,
|
||||
persen_inproses: 100,
|
||||
total_durasi_response: null,
|
||||
avg_durasi_response: null,
|
||||
min_durasi_response: null,
|
||||
max_durasi_response: null,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 0,
|
||||
total_durasi_recovery: 1341,
|
||||
avg_durasi_recovery: 1341,
|
||||
min_durasi_recovery: 1341,
|
||||
max_durasi_recovery: 1341,
|
||||
total_dibawah_sla_recovery: 1,
|
||||
total_diatas_sla_recovery: 0
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
nama_regional: 'REGIONAL SUMKAL',
|
||||
id_uid: 230,
|
||||
nama_uid: 'WILAYAH KALIMANTAN TIMUR',
|
||||
id_up3: 232,
|
||||
nama_up3: 'UP3 BALIKPAPAN',
|
||||
id_ulp: 23201,
|
||||
nama_ulp: 'ULP BALIKPAPAN UTARA',
|
||||
kelompok: 'Kondisi Jaringan Listrik ',
|
||||
total: 16,
|
||||
total_selesai: 10,
|
||||
persen_selesai: 62.5,
|
||||
total_inproses: 6,
|
||||
persen_inproses: 37.5,
|
||||
total_durasi_response: 6688,
|
||||
avg_durasi_response: 514.4615384615385,
|
||||
min_durasi_response: 27,
|
||||
max_durasi_response: 2492,
|
||||
total_dibawah_sla_response: 12,
|
||||
total_diatas_sla_response: 1,
|
||||
total_durasi_recovery: 16608,
|
||||
avg_durasi_recovery: 1038,
|
||||
min_durasi_recovery: 211,
|
||||
max_durasi_recovery: 3820,
|
||||
total_dibawah_sla_recovery: 16,
|
||||
total_diatas_sla_recovery: 0
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
nama_regional: 'REGIONAL SUMKAL',
|
||||
id_uid: 230,
|
||||
nama_uid: 'WILAYAH KALIMANTAN TIMUR',
|
||||
id_up3: 2300,
|
||||
nama_up3: 'CC123 KALTIM',
|
||||
id_ulp: 23000,
|
||||
nama_ulp: 'CONTACT CENTER 123 - KALTIM',
|
||||
kelompok: 'Token sudah dimasukan, namun Kwh tidak bertambah',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: null,
|
||||
avg_durasi_response: null,
|
||||
min_durasi_response: null,
|
||||
max_durasi_response: null,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 0,
|
||||
total_durasi_recovery: 0,
|
||||
avg_durasi_recovery: 0,
|
||||
min_durasi_recovery: 0,
|
||||
max_durasi_recovery: 0,
|
||||
total_dibawah_sla_recovery: 1,
|
||||
total_diatas_sla_recovery: 0
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
nama_regional: 'REGIONAL SUMKAL',
|
||||
id_uid: 230,
|
||||
nama_uid: 'WILAYAH KALIMANTAN TIMUR',
|
||||
id_up3: 232,
|
||||
nama_up3: 'UP3 BALIKPAPAN',
|
||||
id_ulp: 23201,
|
||||
nama_ulp: 'ULP BALIKPAPAN UTARA',
|
||||
kelompok: 'P2TL ',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 191,
|
||||
avg_durasi_response: 191,
|
||||
min_durasi_response: 191,
|
||||
max_durasi_response: 191,
|
||||
total_dibawah_sla_response: 1,
|
||||
total_diatas_sla_response: 0,
|
||||
total_durasi_recovery: 358,
|
||||
avg_durasi_recovery: 358,
|
||||
min_durasi_recovery: 358,
|
||||
max_durasi_recovery: 358,
|
||||
total_dibawah_sla_recovery: 1,
|
||||
total_diatas_sla_recovery: 0
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
nama_regional: 'REGIONAL SUMKAL',
|
||||
id_uid: 230,
|
||||
nama_uid: 'WILAYAH KALIMANTAN TIMUR',
|
||||
id_up3: 231,
|
||||
nama_up3: 'UP3 SAMARINDA',
|
||||
id_ulp: 23112,
|
||||
nama_ulp: 'ULP TENGGARONG',
|
||||
kelompok: 'Cater ',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 541,
|
||||
avg_durasi_response: 541,
|
||||
min_durasi_response: 541,
|
||||
max_durasi_response: 541,
|
||||
total_dibawah_sla_response: 1,
|
||||
total_diatas_sla_response: 0,
|
||||
total_durasi_recovery: 1037,
|
||||
avg_durasi_recovery: 1037,
|
||||
min_durasi_recovery: 1037,
|
||||
max_durasi_recovery: 1037,
|
||||
total_dibawah_sla_recovery: 1,
|
||||
total_diatas_sla_recovery: 0
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user