Remove unused code and comments
This commit is contained in:
@@ -774,7 +774,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'
|
||||
@@ -927,7 +926,118 @@ const filters = ref({
|
||||
|
||||
onMounted(() => {
|
||||
if (import.meta.env.DEV) {
|
||||
data.value = dummyData.keluhan.rekap.rekapitulasiKeluhanPerTanggal
|
||||
data.value = [
|
||||
{
|
||||
id_uid: 32,
|
||||
nama_uid: 'WILAYAH SULAWESI SELATAN, TENGGARA DAN BARAT',
|
||||
tanggal_lapor: '02/12/2023',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 17635,
|
||||
avg_durasi_response: 17635,
|
||||
min_durasi_response: 17635,
|
||||
max_durasi_response: 17635,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 1,
|
||||
total_durasi_recovery: 7802160,
|
||||
avg_durasi_recovery: 7802160,
|
||||
min_durasi_recovery: 7802160,
|
||||
max_durasi_recovery: 7802160,
|
||||
total_dibawah_sla_recovery: 0,
|
||||
total_diatas_sla_recovery: 1
|
||||
},
|
||||
{
|
||||
id_uid: 32,
|
||||
nama_uid: 'WILAYAH SULAWESI SELATAN, TENGGARA DAN BARAT',
|
||||
tanggal_lapor: '02/12/2023',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 17635,
|
||||
avg_durasi_response: 17635,
|
||||
min_durasi_response: 17635,
|
||||
max_durasi_response: 17635,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 1,
|
||||
total_durasi_recovery: 7802160,
|
||||
avg_durasi_recovery: 7802160,
|
||||
min_durasi_recovery: 7802160,
|
||||
max_durasi_recovery: 7802160,
|
||||
total_dibawah_sla_recovery: 0,
|
||||
total_diatas_sla_recovery: 1
|
||||
},
|
||||
{
|
||||
id_uid: 32,
|
||||
nama_uid: 'WILAYAH SULAWESI SELATAN, TENGGARA DAN BARAT',
|
||||
tanggal_lapor: '02/12/2023',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 17635,
|
||||
avg_durasi_response: 17635,
|
||||
min_durasi_response: 17635,
|
||||
max_durasi_response: 17635,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 1,
|
||||
total_durasi_recovery: 7802160,
|
||||
avg_durasi_recovery: 7802160,
|
||||
min_durasi_recovery: 7802160,
|
||||
max_durasi_recovery: 7802160,
|
||||
total_dibawah_sla_recovery: 0,
|
||||
total_diatas_sla_recovery: 1
|
||||
},
|
||||
{
|
||||
id_uid: 32,
|
||||
nama_uid: 'WILAYAH SULAWESI SELATAN, TENGGARA DAN BARAT',
|
||||
tanggal_lapor: '02/12/2023',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 17635,
|
||||
avg_durasi_response: 17635,
|
||||
min_durasi_response: 17635,
|
||||
max_durasi_response: 17635,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 1,
|
||||
total_durasi_recovery: 7802160,
|
||||
avg_durasi_recovery: 7802160,
|
||||
min_durasi_recovery: 7802160,
|
||||
max_durasi_recovery: 7802160,
|
||||
total_dibawah_sla_recovery: 0,
|
||||
total_diatas_sla_recovery: 1
|
||||
},
|
||||
{
|
||||
id_uid: 32,
|
||||
nama_uid: 'WILAYAH SULAWESI SELATAN, TENGGARA DAN BARAT',
|
||||
tanggal_lapor: '02/12/2023',
|
||||
total: 1,
|
||||
total_selesai: 1,
|
||||
persen_selesai: 100,
|
||||
total_inproses: 0,
|
||||
persen_inproses: 0,
|
||||
total_durasi_response: 17635,
|
||||
avg_durasi_response: 17635,
|
||||
min_durasi_response: 17635,
|
||||
max_durasi_response: 17635,
|
||||
total_dibawah_sla_response: 0,
|
||||
total_diatas_sla_response: 1,
|
||||
total_durasi_recovery: 7802160,
|
||||
avg_durasi_recovery: 7802160,
|
||||
min_durasi_recovery: 7802160,
|
||||
max_durasi_recovery: 7802160,
|
||||
total_dibawah_sla_recovery: 0,
|
||||
total_diatas_sla_recovery: 1
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user