Remove unused code and comments

This commit is contained in:
Dede Fuji Abdul
2024-03-27 13:10:22 +07:00
parent 4bcddbf2f1
commit 9446c89b09
26 changed files with 2878 additions and 586864 deletions

View File

@@ -350,7 +350,6 @@ import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import { useQuery } from '@vue/apollo-composable'
import { queries } from '@/utils/api/api.graphql'
import { dummyData } from '@/utils/dummy'
import { formatNumber, formatPercentage, isNumber } from '@/utils/numbers'
import { jsPDF } from 'jspdf'
import autoTable from 'jspdf-autotable'
@@ -623,7 +622,119 @@ const reportMeta = ref({
onMounted(() => {
if (import.meta.env.DEV) {
data.value = dummyData.keluhan.daftar.daftarKeluhanDialihkanKeUnitLain
data.value = [
{
no_laporan: 'K5523020400288',
pembuat_laporan: 'CC.55.ANISA',
waktu_lapor: '04/02/2023 11:18:57',
waktu_dialihkan: '04/02/2023 12:49:36',
waktu_response: '04/02/2023 12:50:21',
waktu_recovery: '04/02/2023 13:06:53',
durasi_response_time: 5484,
durasi_recovery_time: 992,
id_unit_lama: 227,
nama_unit_lama: 'ULP MEDAN SELATAN',
id_unit_baru: 5,
nama_unit_baru: 'ULP DENAI',
status_akhir: 'Selesai',
idpel_nometer: '',
nama_pelapor: 'IBU ELVIRA ',
alamat_pelapor:
'JL PASAR 3 GG PISANG NO.22 RT0/RW0 KEL BANDAR KALIFA KEC PERCUT SEI TUAN KAB DELI SERDANG SUMATRA UTARA',
no_telp_pelapor: '087882621344',
keterangan_pelapor:
'1 APP PRABAYAR TERTERA GAGAL. TIDAK BISA MEMASUKKAN PULSA. (PTL TIDAK PADAM ). SETELAH UPDATE VKRN 43. NO TOKEN : 38665587538675472633. SISA PULSA : 43.20 KWH PELANGGAN MENGHUBUNGI KEMBALI. UPDATE CC.52.ETA',
media: 'Call PLN 123'
},
{
no_laporan: 'K5423021005925',
pembuat_laporan: 'CC.54.HENDI',
waktu_lapor: '10/02/2023 20:24:35',
waktu_dialihkan: '10/02/2023 21:02:39',
waktu_response: '10/02/2023 21:36:20',
waktu_recovery: '10/02/2023 21:42:37',
durasi_response_time: 4305,
durasi_recovery_time: 377,
id_unit_lama: 233,
nama_unit_lama: 'ULP PURWOKERTO KOTA',
id_unit_baru: 236,
nama_unit_baru: 'ULP BANJARNEGARA',
status_akhir: 'Selesai',
idpel_nometer: '',
nama_pelapor: 'BP EKO BUDIYANTO',
alamat_pelapor:
'ALAMAT LOKASI : DN TANJUNG TIRTA RT 5 RW 1 KEL DS TANJUNG TIRTA KEC PUNGGELAN KAB BANJARNEGARA JATENG, ACUAN LOKASI : DEKAT KELURAHAN',
no_telp_pelapor: '08121512224',
keterangan_pelapor:
'MOHON UNTUK DITINDAKLANJUTI PROSES PS NON PELANGGAN ( L/ 5500 VA ) MELALUI PLN 123 DENGAN NO AGENDA 522040132302100027 DAN NO REG 5220429004905 DIPERUNTUKAN UNTUK PENERANGAN BTS SELAMA 14 HARI MULAI PADA TGL 11/2/23 - 24/2/23 PUKUL 12:00 WIB PEMOHON MENGAKU SEBAGAI PIHAK YANG BERTANGGUNG JAWAB',
media: 'Call PLN 123'
},
{
no_laporan: 'K5423021005015',
pembuat_laporan: 'PLNMOBILE',
waktu_lapor: '10/02/2023 18:01:21',
waktu_dialihkan: '10/02/2023 18:04:07',
waktu_response: '10/02/2023 18:13:47',
waktu_recovery: '01/01/1970 00:00:00',
durasi_response_time: 746,
durasi_recovery_time: 33136328,
id_unit_lama: 227,
nama_unit_lama: 'ULP MEDAN SELATAN',
id_unit_baru: 225,
nama_unit_baru: 'ULP MEDAN KOTA',
status_akhir: 'Dalam Proses Bidang Unit',
idpel_nometer: '',
nama_pelapor: 'Ervina Vina4',
alamat_pelapor: 'JL PSR MERAH GG SETIA UJUNG KEL BINJAI No.0 RT.0 RW.0 M DENAI',
no_telp_pelapor: '6285276706679',
keterangan_pelapor:
'MUTASI_K (G9923021098935:app) - sudah beli token.tapi gagal terus tolong PLN tindak lanjutin lebih cepat.terima kasih',
media: 'PLN Mobile'
},
{
no_laporan: 'K5423021004276',
pembuat_laporan: 'PLNMOBILE',
waktu_lapor: '10/02/2023 16:20:21',
waktu_dialihkan: '11/02/2023 06:28:29',
waktu_response: '11/02/2023 13:39:37',
waktu_recovery: '11/02/2023 16:28:03',
durasi_response_time: 76756,
durasi_recovery_time: 10106,
id_unit_lama: 62,
nama_unit_lama: 'ULP KAYU AGUNG',
id_unit_baru: 82,
nama_unit_baru: 'ULP TUGU MULYO',
status_akhir: 'Selesai',
idpel_nometer: '',
nama_pelapor: 'call center bmg',
alamat_pelapor:
'Desa Gading Raja Desa SP2 Kecamatan Padamaran Kabupaten Ogan Komering Ilir, Sumatera Selatan',
no_telp_pelapor: '6281225199487',
keterangan_pelapor: 'Seal in MCB KWH NA or Seal Papan OKA NA',
media: 'PLN Mobile'
},
{
no_laporan: 'K5423021001969',
pembuat_laporan: 'PLNMOBILE',
waktu_lapor: '10/02/2023 10:49:02',
waktu_dialihkan: '10/02/2023 10:53:35',
waktu_response: '10/02/2023 11:21:09',
waktu_recovery: '10/02/2023 12:15:16',
durasi_response_time: 1927,
durasi_recovery_time: 3247,
id_unit_lama: 238,
nama_unit_lama: 'UP3 TANJUNG PRIOK',
id_unit_baru: 194,
nama_unit_baru: 'UP3 BANDENGAN',
status_akhir: 'Selesai',
idpel_nometer: '',
nama_pelapor: 'muhammad alinafia',
alamat_pelapor: 'blok a no 55',
no_telp_pelapor: '6282123607797',
keterangan_pelapor: 'K5423021001925',
media: 'PLN Mobile'
}
]
}
})
</script>