diff --git a/src/components/Pages/Keluhan/Rekap/RKeluhan_ALL.vue b/src/components/Pages/Keluhan/Rekap/RKeluhan_ALL.vue index ebaa4ba..105b842 100755 --- a/src/components/Pages/Keluhan/Rekap/RKeluhan_ALL.vue +++ b/src/components/Pages/Keluhan/Rekap/RKeluhan_ALL.vue @@ -45,7 +45,7 @@ { if (import.meta.env.DEV) { - data.value = dummyData.keluhan.rekap.rekapitulasiKeluhanAll + data.value = [ + { + id: 0, + nama_regional: 'REGIONAL JMB', + id_uid: 101, + nama_uid: 'DISTRIBUSI JAWA TENGAH & DIY', + id_up3: 52150, + nama_up3: 'UP3 MAGELANG', + id_ulp: 52156, + nama_ulp: 'ULP PARAKAN', + total: 1, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 1, + persen_inproses: 100, + total_durasi_response: 6869, + avg_durasi_response: 6869, + min_durasi_response: 6869, + max_durasi_response: 6869, + total_dibawah_sla_response: 0, + total_diatas_sla_response: 1, + total_durasi_recovery: 6918, + avg_durasi_recovery: 6918, + min_durasi_recovery: 6918, + max_durasi_recovery: 6918, + total_dibawah_sla_recovery: 0, + total_diatas_sla_recovery: 1 + }, + { + id: 1, + nama_regional: 'REGIONAL JMB', + id_uid: 103, + nama_uid: 'DISTRIBUSI JAWA TIMUR', + id_up3: 154, + nama_up3: 'UP3 SITUBONDO', + id_ulp: 51654, + nama_ulp: 'ULP WONOSARI', + total: 4, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 4, + persen_inproses: 100, + total_durasi_response: 12102, + avg_durasi_response: 4034, + min_durasi_response: 881, + max_durasi_response: 9125, + total_dibawah_sla_response: 1, + total_diatas_sla_response: 2, + total_durasi_recovery: 169068, + avg_durasi_recovery: 42267, + min_durasi_recovery: 0, + max_durasi_recovery: 70663, + total_dibawah_sla_recovery: 1, + total_diatas_sla_recovery: 3 + }, + { + id: 2, + nama_regional: 'REGIONAL SUMKAL', + id_uid: 110, + nama_uid: 'WILAYAH ACEH', + id_up3: 116, + nama_up3: 'UP3 SIGLI', + id_ulp: 11662, + nama_ulp: 'ULP MEUREUDU', + total: 1, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 1, + persen_inproses: 100, + total_durasi_response: 325, + avg_durasi_response: 325, + min_durasi_response: 325, + max_durasi_response: 325, + total_dibawah_sla_response: 1, + total_diatas_sla_response: 0, + total_durasi_recovery: 368, + avg_durasi_recovery: 368, + min_durasi_recovery: 368, + max_durasi_recovery: 368, + total_dibawah_sla_recovery: 1, + total_diatas_sla_recovery: 0 + }, + { + id: 3, + nama_regional: 'REGIONAL JMB', + id_uid: 287, + nama_uid: 'DISTRIBUSI BALI', + id_up3: 329, + nama_up3: 'UP3 BALI UTARA', + id_ulp: 55340, + nama_ulp: 'ULP GILIMANUK', + total: 5, + total_selesai: 4, + persen_selesai: 80, + total_inproses: 1, + persen_inproses: 20, + total_durasi_response: 3548, + avg_durasi_response: 709.6, + min_durasi_response: 302, + max_durasi_response: 1586, + total_dibawah_sla_response: 4, + total_diatas_sla_response: 1, + total_durasi_recovery: 5705, + avg_durasi_recovery: 1141, + min_durasi_recovery: 775, + max_durasi_recovery: 2078, + total_dibawah_sla_recovery: 5, + total_diatas_sla_recovery: 0 + }, + { + id: 4, + nama_regional: null, + id_uid: 0, + nama_uid: '', + id_up3: 0, + nama_up3: '', + id_ulp: 22450, + nama_ulp: 'ULP PANGKALAN BUN', + total: 2, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 2, + persen_inproses: 100, + total_durasi_response: 1005, + avg_durasi_response: 1005, + min_durasi_response: 1005, + max_durasi_response: 1005, + total_dibawah_sla_response: 1, + total_diatas_sla_response: 0, + total_durasi_recovery: 1815, + avg_durasi_recovery: 907.5, + min_durasi_recovery: 650, + max_durasi_recovery: 1165, + total_dibawah_sla_recovery: 2, + total_diatas_sla_recovery: 0 + }, + { + id: 5, + nama_regional: 'REGIONAL SUMKAL', + id_uid: 221, + nama_uid: 'WILAYAH KALIMANTAN SELATAN DAN TENGAH', + id_up3: 2220, + nama_up3: 'UP3 BARABAI', + id_ulp: 22230, + nama_ulp: 'ULP AMUNTAI', + total: 3, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 3, + persen_inproses: 100, + total_durasi_response: 1178, + avg_durasi_response: 392.6666666666667, + min_durasi_response: 155, + max_durasi_response: 580, + total_dibawah_sla_response: 3, + total_diatas_sla_response: 0, + total_durasi_recovery: 3042, + avg_durasi_recovery: 1014, + min_durasi_recovery: 295, + max_durasi_recovery: 2051, + total_dibawah_sla_recovery: 3, + total_diatas_sla_recovery: 0 + }, + { + id: 6, + nama_regional: 'REGIONAL JMB', + id_uid: 427, + nama_uid: 'DISTRIBUSI JAWA BARAT', + id_up3: 546, + nama_up3: 'UP3 TASIKMALAYA', + id_ulp: 53231, + nama_ulp: 'ULP CIAMIS', + total: 4, + total_selesai: 1, + persen_selesai: 25, + total_inproses: 3, + persen_inproses: 75, + total_durasi_response: 6122, + avg_durasi_response: 1530.5, + min_durasi_response: 46, + max_durasi_response: 3024, + total_dibawah_sla_response: 2, + total_diatas_sla_response: 2, + total_durasi_recovery: 6269, + avg_durasi_recovery: 1567.25, + min_durasi_recovery: 73, + max_durasi_recovery: 3076, + total_dibawah_sla_recovery: 4, + total_diatas_sla_recovery: 0 + }, + { + id: 7, + nama_regional: 'REGIONAL JMB', + id_uid: 103, + nama_uid: 'DISTRIBUSI JAWA TIMUR', + id_up3: 157, + nama_up3: 'UP3 SURABAYA UTARA', + id_ulp: 51101, + nama_ulp: 'ULP INDRAPURA', + total: 7, + total_selesai: 6, + persen_selesai: 85.71428571428571, + total_inproses: 1, + persen_inproses: 14.285714285714285, + total_durasi_response: 34744, + avg_durasi_response: 5790.666666666667, + min_durasi_response: 55, + max_durasi_response: 11082, + total_dibawah_sla_response: 2, + total_diatas_sla_response: 4, + total_durasi_recovery: 36971, + avg_durasi_recovery: 5281.571428571428, + min_durasi_recovery: 149, + max_durasi_recovery: 11304, + total_dibawah_sla_recovery: 3, + total_diatas_sla_recovery: 4 + }, + { + id: 8, + nama_regional: 'REGIONAL SUMKAL', + id_uid: 131, + nama_uid: 'WILAYAH SUMATERA BARAT', + id_up3: 13100, + nama_up3: 'UP3 PADANG', + id_ulp: 13105, + nama_ulp: 'ULP LUBUK ALUNG', + total: 1, + total_selesai: 1, + persen_selesai: 100, + total_inproses: 0, + persen_inproses: 0, + total_durasi_response: 459, + avg_durasi_response: 459, + min_durasi_response: 459, + max_durasi_response: 459, + total_dibawah_sla_response: 1, + total_diatas_sla_response: 0, + total_durasi_recovery: 7494, + avg_durasi_recovery: 7494, + min_durasi_recovery: 7494, + max_durasi_recovery: 7494, + total_dibawah_sla_recovery: 0, + total_diatas_sla_recovery: 1 + }, + { + id: 9, + nama_regional: 'REGIONAL JMB', + id_uid: 103, + nama_uid: 'DISTRIBUSI JAWA TIMUR', + id_up3: 153, + nama_up3: 'UP3 SIDOARJO', + id_ulp: 51182, + nama_ulp: 'ULP PORONG', + total: 12, + total_selesai: 9, + persen_selesai: 75, + total_inproses: 3, + persen_inproses: 25, + total_durasi_response: 13677, + avg_durasi_response: 1139.75, + min_durasi_response: 42, + max_durasi_response: 4213, + total_dibawah_sla_response: 8, + total_diatas_sla_response: 4, + total_durasi_recovery: 74952, + avg_durasi_recovery: 6246, + min_durasi_recovery: 358, + max_durasi_recovery: 30185, + total_dibawah_sla_recovery: 6, + total_diatas_sla_recovery: 6 + }, + { + id: 10, + nama_regional: 'REGIONAL SUMKAL', + id_uid: 110, + nama_uid: 'WILAYAH ACEH', + id_up3: 111, + nama_up3: 'UP3 BANDA ACEH', + id_ulp: 11110, + nama_ulp: 'ULP KOTA MERDUATI', + total: 2, + total_selesai: 1, + persen_selesai: 50, + total_inproses: 1, + persen_inproses: 50, + total_durasi_response: 866, + avg_durasi_response: 433, + min_durasi_response: 323, + max_durasi_response: 543, + total_dibawah_sla_response: 2, + total_diatas_sla_response: 0, + total_durasi_recovery: 3186, + avg_durasi_recovery: 1593, + min_durasi_recovery: 917, + max_durasi_recovery: 2269, + total_dibawah_sla_recovery: 2, + total_diatas_sla_recovery: 0 + }, + { + id: 11, + nama_regional: 'REGIONAL SUMKAL', + id_uid: 110, + nama_uid: 'WILAYAH ACEH', + id_up3: 112, + nama_up3: 'UP3 LHOKSEUMAWE', + id_ulp: 11220, + nama_ulp: 'ULP LHOKSEUMAWE', + total: 3, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 3, + persen_inproses: 100, + total_durasi_response: 6020, + avg_durasi_response: 2006.6666666666667, + min_durasi_response: 270, + max_durasi_response: 3526, + total_dibawah_sla_response: 1, + total_diatas_sla_response: 2, + total_durasi_recovery: 6125, + avg_durasi_recovery: 2041.6666666666667, + min_durasi_recovery: 321, + max_durasi_recovery: 3553, + total_dibawah_sla_recovery: 3, + total_diatas_sla_recovery: 0 + }, + { + id: 12, + nama_regional: 'REGIONAL SUMKAL', + id_uid: 171, + nama_uid: 'DISTRIBUSI LAMPUNG', + id_up3: 17171, + nama_up3: 'UP3 TANJUNGKARANG', + id_ulp: 17180, + nama_ulp: 'ULP TELUK BETUNG', + total: 7, + total_selesai: 2, + persen_selesai: 28.57142857142857, + total_inproses: 5, + persen_inproses: 71.42857142857143, + total_durasi_response: 2328, + avg_durasi_response: 388, + min_durasi_response: 92, + max_durasi_response: 866, + total_dibawah_sla_response: 6, + total_diatas_sla_response: 0, + total_durasi_recovery: 3159, + avg_durasi_recovery: 451.2857142857143, + min_durasi_recovery: 169, + max_durasi_recovery: 917, + total_dibawah_sla_recovery: 7, + total_diatas_sla_recovery: 0 + }, + { + id: 13, + nama_regional: 'REGIONAL JMB', + id_uid: 427, + nama_uid: 'DISTRIBUSI JAWA BARAT', + id_up3: 540, + nama_up3: 'UP3 GARUT', + id_ulp: 53293, + nama_ulp: 'ULP LELES', + total: 2, + total_selesai: 1, + persen_selesai: 50, + total_inproses: 1, + persen_inproses: 50, + total_durasi_response: 1870, + avg_durasi_response: 935, + min_durasi_response: 310, + max_durasi_response: 1560, + total_dibawah_sla_response: 1, + total_diatas_sla_response: 1, + total_durasi_recovery: 5002, + avg_durasi_recovery: 2501, + min_durasi_recovery: 1592, + max_durasi_recovery: 3410, + total_dibawah_sla_recovery: 2, + total_diatas_sla_recovery: 0 + }, + { + id: 14, + nama_regional: 'REGIONAL SULMAPANA', + id_uid: 32, + nama_uid: 'WILAYAH SULAWESI SELATAN, TENGGARA DAN BARAT', + id_up3: 32200, + nama_up3: 'UP3 WATAMPONE', + id_ulp: 32260, + nama_ulp: 'ULP ULOE', + total: 1, + total_selesai: 0, + persen_selesai: 0, + total_inproses: 1, + persen_inproses: 100, + total_durasi_response: 2074, + avg_durasi_response: 2074, + min_durasi_response: 2074, + max_durasi_response: 2074, + total_dibawah_sla_response: 0, + total_diatas_sla_response: 1, + total_durasi_recovery: 3031, + avg_durasi_recovery: 3031, + min_durasi_recovery: 3031, + max_durasi_recovery: 3031, + total_dibawah_sla_recovery: 1, + total_diatas_sla_recovery: 0 + } + ] } }) diff --git a/src/utils/api/api.graphql.ts b/src/utils/api/api.graphql.ts index 74a1f99..3741c55 100755 --- a/src/utils/api/api.graphql.ts +++ b/src/utils/api/api.graphql.ts @@ -553,6 +553,12 @@ export const queries = { idUid: $idUid idUp3: $idUp3 ) { + id + nama_regional + id_uid + nama_uid + id_up3 + nama_up3 id_ulp nama_ulp total @@ -560,11 +566,13 @@ export const queries = { persen_selesai total_inproses persen_inproses + total_durasi_response avg_durasi_response min_durasi_response max_durasi_response total_dibawah_sla_response total_diatas_sla_response + total_durasi_recovery avg_durasi_recovery min_durasi_recovery max_durasi_recovery