Update table column names and formatting
This commit is contained in:
parent
40052b717c
commit
07cdfa7ec7
@ -41,7 +41,7 @@
|
|||||||
<DxColumn
|
<DxColumn
|
||||||
width="200"
|
width="200"
|
||||||
alignment="center"
|
alignment="center"
|
||||||
data-field="nama_uid"
|
data-field="nama_ulp"
|
||||||
caption="Nama Unit"
|
caption="Nama Unit"
|
||||||
css-class="custom-table-column"
|
css-class="custom-table-column"
|
||||||
cell-template="formatText"
|
cell-template="formatText"
|
||||||
|
@ -186,7 +186,7 @@
|
|||||||
data-type="number"
|
data-type="number"
|
||||||
caption="%"
|
caption="%"
|
||||||
css-class="custom-table-column"
|
css-class="custom-table-column"
|
||||||
cell-template="formatNumber"
|
cell-template="formatPercentage"
|
||||||
/>
|
/>
|
||||||
</DxColumn>
|
</DxColumn>
|
||||||
|
|
||||||
@ -198,7 +198,7 @@
|
|||||||
|
|
||||||
<template #formatPercentage="{ data }">
|
<template #formatPercentage="{ data }">
|
||||||
<p class="text-right cursor-pointer" @click="showData()">
|
<p class="text-right cursor-pointer" @click="showData()">
|
||||||
{{ isNumber(data.text) ? formatPercentage(data.text) : data.text }}
|
{{ parseFloat(data.text) ? formatPercentage(data.text) : '0%' }}
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
css-class="custom-table-column"
|
css-class="custom-table-column"
|
||||||
cell-template="formatText"
|
cell-template="formatText"
|
||||||
/>
|
/>
|
||||||
<!-- <DxColumn
|
<DxColumn
|
||||||
:width="170"
|
:width="170"
|
||||||
alignment="center"
|
alignment="center"
|
||||||
data-field="tipe_keluhan"
|
data-field="tipe_keluhan"
|
||||||
@ -69,7 +69,7 @@
|
|||||||
name="tipeKeluhan"
|
name="tipeKeluhan"
|
||||||
css-class="custom-table-column"
|
css-class="custom-table-column"
|
||||||
:group-index="0"
|
:group-index="0"
|
||||||
/> -->
|
/>
|
||||||
<DxColumn alignment="center" caption="Laporan" css-class="custom-table-column">
|
<DxColumn alignment="center" caption="Laporan" css-class="custom-table-column">
|
||||||
<DxColumn
|
<DxColumn
|
||||||
:width="150"
|
:width="150"
|
||||||
@ -1025,5 +1025,5 @@ onMounted(() => {
|
|||||||
if (import.meta.env.DEV) {
|
if (import.meta.env.DEV) {
|
||||||
data.value = dummyData.keluhan.rekap.rekapitulasiKeluhanPerJenisKeluhan
|
data.value = dummyData.keluhan.rekap.rekapitulasiKeluhanPerJenisKeluhan
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@ -586131,60 +586131,279 @@ export const dummyData = {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
rekapitulasiKeluhanPerJenisKeluhan: [
|
rekapitulasiKeluhanPerJenisKeluhan: [
|
||||||
{
|
{
|
||||||
"tipe_keluhan": "ULP BATURAJA",
|
"tipe_keluhan": "Umum",
|
||||||
"total": 83,
|
"nama_uid": "WILAYAH NUSA TENGGARA TIMUR",
|
||||||
"total_selesai": 83,
|
"total": 1,
|
||||||
"persen_selesai": 100,
|
"total_selesai": 0,
|
||||||
"total_inproses": 0,
|
"persen_selesai": 0.0,
|
||||||
"persen_inproses": 0,
|
"total_inproses": 1,
|
||||||
"avg_durasi_response": 25800.21686746988,
|
"persen_inproses": 100.0,
|
||||||
"min_durasi_response": 64,
|
"total_durasi_response": null,
|
||||||
"max_durasi_response": 173218,
|
"avg_durasi_response": null,
|
||||||
"total_dibawah_sla_response": 38,
|
"min_durasi_response": null,
|
||||||
"total_diatas_sla_response": 45,
|
"max_durasi_response": null,
|
||||||
"avg_durasi_recovery": 3379854.0361445784,
|
"total_dibawah_sla_response": 0,
|
||||||
"min_durasi_recovery": 1064,
|
"total_diatas_sla_response": 0,
|
||||||
"max_durasi_recovery": 5099979,
|
"total_durasi_recovery": 1064,
|
||||||
"total_dibawah_sla_recovery": 7,
|
"avg_durasi_recovery": 1064.0,
|
||||||
"total_diatas_sla_recovery": 76
|
"min_durasi_recovery": 1064,
|
||||||
},
|
"max_durasi_recovery": 1064,
|
||||||
{
|
"total_dibawah_sla_recovery": 1,
|
||||||
"tipe_keluhan": "ULP KIJANG",
|
"total_diatas_sla_recovery": 0
|
||||||
"total": 42,
|
},
|
||||||
"total_selesai": 42,
|
{
|
||||||
"persen_selesai": 100,
|
"tipe_keluhan": "Alat Pembatas tidak berfungsi ",
|
||||||
"total_inproses": 0,
|
"nama_uid": "DISTRIBUSI JAWA TIMUR",
|
||||||
"persen_inproses": 0,
|
"total": 10,
|
||||||
"avg_durasi_response": 1056.1904761904761,
|
"total_selesai": 0,
|
||||||
"min_durasi_response": 118,
|
"persen_selesai": 0.0,
|
||||||
"max_durasi_response": 3920,
|
"total_inproses": 10,
|
||||||
"total_dibawah_sla_response": 42,
|
"persen_inproses": 100.0,
|
||||||
"total_diatas_sla_response": 0,
|
"total_durasi_response": 143356,
|
||||||
"avg_durasi_recovery": 226031.88095238095,
|
"avg_durasi_response": 14335.6,
|
||||||
"min_durasi_recovery": 74,
|
"min_durasi_response": 185,
|
||||||
"max_durasi_recovery": 4995551,
|
"max_durasi_response": 42599,
|
||||||
"total_dibawah_sla_recovery": 40,
|
"total_dibawah_sla_response": 2,
|
||||||
"total_diatas_sla_recovery": 2
|
"total_diatas_sla_response": 8,
|
||||||
},
|
"total_durasi_recovery": 149627,
|
||||||
{
|
"avg_durasi_recovery": 14962.7,
|
||||||
"tipe_keluhan": "ULP BARABAI",
|
"min_durasi_recovery": 227,
|
||||||
"total": 40,
|
"max_durasi_recovery": 42778,
|
||||||
"total_selesai": 40,
|
"total_dibawah_sla_recovery": 3,
|
||||||
"persen_selesai": 100,
|
"total_diatas_sla_recovery": 7
|
||||||
"total_inproses": 0,
|
},
|
||||||
"persen_inproses": 0,
|
{
|
||||||
"avg_durasi_response": 858.9,
|
"tipe_keluhan": "Gagal Input Token",
|
||||||
"min_durasi_response": 62,
|
"nama_uid": "DISTRIBUSI LAMPUNG",
|
||||||
"max_durasi_response": 2169,
|
"total": 1,
|
||||||
"total_dibawah_sla_response": 40,
|
"total_selesai": 1,
|
||||||
"total_diatas_sla_response": 0,
|
"persen_selesai": 100.0,
|
||||||
"avg_durasi_recovery": 2238019.725,
|
"total_inproses": 0,
|
||||||
"min_durasi_recovery": 117,
|
"persen_inproses": 0.0,
|
||||||
"max_durasi_recovery": 5099482,
|
"total_durasi_response": 323,
|
||||||
"total_dibawah_sla_recovery": 17,
|
"avg_durasi_response": 323.0,
|
||||||
"total_diatas_sla_recovery": 23
|
"min_durasi_response": 323,
|
||||||
}
|
"max_durasi_response": 323,
|
||||||
|
"total_dibawah_sla_response": 1,
|
||||||
|
"total_diatas_sla_response": 0,
|
||||||
|
"total_durasi_recovery": 1319,
|
||||||
|
"avg_durasi_recovery": 1319.0,
|
||||||
|
"min_durasi_recovery": 1319,
|
||||||
|
"max_durasi_recovery": 1319,
|
||||||
|
"total_dibawah_sla_recovery": 1,
|
||||||
|
"total_diatas_sla_recovery": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Alat Pembatas tidak berfungsi ",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA BARAT",
|
||||||
|
"total": 4,
|
||||||
|
"total_selesai": 0,
|
||||||
|
"persen_selesai": 0.0,
|
||||||
|
"total_inproses": 4,
|
||||||
|
"persen_inproses": 100.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": 114174,
|
||||||
|
"avg_durasi_recovery": 28543.5,
|
||||||
|
"min_durasi_recovery": 2506,
|
||||||
|
"max_durasi_recovery": 46094,
|
||||||
|
"total_dibawah_sla_recovery": 1,
|
||||||
|
"total_diatas_sla_recovery": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Alat Pembatas tidak berfungsi ",
|
||||||
|
"nama_uid": "WILAYAH KALIMANTAN SELATAN DAN TENGAH",
|
||||||
|
"total": 2,
|
||||||
|
"total_selesai": 0,
|
||||||
|
"persen_selesai": 0.0,
|
||||||
|
"total_inproses": 2,
|
||||||
|
"persen_inproses": 100.0,
|
||||||
|
"total_durasi_response": 417,
|
||||||
|
"avg_durasi_response": 417.0,
|
||||||
|
"min_durasi_response": 417,
|
||||||
|
"max_durasi_response": 417,
|
||||||
|
"total_dibawah_sla_response": 1,
|
||||||
|
"total_diatas_sla_response": 0,
|
||||||
|
"total_durasi_recovery": 1661,
|
||||||
|
"avg_durasi_recovery": 830.5,
|
||||||
|
"min_durasi_recovery": 482,
|
||||||
|
"max_durasi_recovery": 1179,
|
||||||
|
"total_dibawah_sla_recovery": 2,
|
||||||
|
"total_diatas_sla_recovery": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "PD",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA TIMUR",
|
||||||
|
"total": 1,
|
||||||
|
"total_selesai": 1,
|
||||||
|
"persen_selesai": 100.0,
|
||||||
|
"total_inproses": 0,
|
||||||
|
"persen_inproses": 0.0,
|
||||||
|
"total_durasi_response": 8693,
|
||||||
|
"avg_durasi_response": 8693.0,
|
||||||
|
"min_durasi_response": 8693,
|
||||||
|
"max_durasi_response": 8693,
|
||||||
|
"total_dibawah_sla_response": 0,
|
||||||
|
"total_diatas_sla_response": 1,
|
||||||
|
"total_durasi_recovery": 9510,
|
||||||
|
"avg_durasi_recovery": 9510.0,
|
||||||
|
"min_durasi_recovery": 9510,
|
||||||
|
"max_durasi_recovery": 9510,
|
||||||
|
"total_dibawah_sla_recovery": 0,
|
||||||
|
"total_diatas_sla_recovery": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Alat Pembatas tidak berfungsi ",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA TENGAH & DIY",
|
||||||
|
"total": 2,
|
||||||
|
"total_selesai": 0,
|
||||||
|
"persen_selesai": 0.0,
|
||||||
|
"total_inproses": 2,
|
||||||
|
"persen_inproses": 100.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": 2226,
|
||||||
|
"avg_durasi_recovery": 1113.0,
|
||||||
|
"min_durasi_recovery": 13,
|
||||||
|
"max_durasi_recovery": 2213,
|
||||||
|
"total_dibawah_sla_recovery": 2,
|
||||||
|
"total_diatas_sla_recovery": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Alat Ukur Prabayar tidak berfungsi ",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA BARAT",
|
||||||
|
"total": 2,
|
||||||
|
"total_selesai": 2,
|
||||||
|
"persen_selesai": 100.0,
|
||||||
|
"total_inproses": 0,
|
||||||
|
"persen_inproses": 0.0,
|
||||||
|
"total_durasi_response": 9595,
|
||||||
|
"avg_durasi_response": 4797.5,
|
||||||
|
"min_durasi_response": 4752,
|
||||||
|
"max_durasi_response": 4843,
|
||||||
|
"total_dibawah_sla_response": 0,
|
||||||
|
"total_diatas_sla_response": 2,
|
||||||
|
"total_durasi_recovery": 9868,
|
||||||
|
"avg_durasi_recovery": 4934.0,
|
||||||
|
"min_durasi_recovery": 4892,
|
||||||
|
"max_durasi_recovery": 4976,
|
||||||
|
"total_dibawah_sla_recovery": 0,
|
||||||
|
"total_diatas_sla_recovery": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Gagal Input Token",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA TIMUR",
|
||||||
|
"total": 7,
|
||||||
|
"total_selesai": 7,
|
||||||
|
"persen_selesai": 100.0,
|
||||||
|
"total_inproses": 0,
|
||||||
|
"persen_inproses": 0.0,
|
||||||
|
"total_durasi_response": 6715,
|
||||||
|
"avg_durasi_response": 959.2857142857143,
|
||||||
|
"min_durasi_response": 16,
|
||||||
|
"max_durasi_response": 5516,
|
||||||
|
"total_dibawah_sla_response": 6,
|
||||||
|
"total_diatas_sla_response": 1,
|
||||||
|
"total_durasi_recovery": 18280,
|
||||||
|
"avg_durasi_recovery": 2611.4285714285716,
|
||||||
|
"min_durasi_recovery": 451,
|
||||||
|
"max_durasi_recovery": 6701,
|
||||||
|
"total_dibawah_sla_recovery": 5,
|
||||||
|
"total_diatas_sla_recovery": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Gagal Input Token",
|
||||||
|
"nama_uid": "WILAYAH SUMATERA UTARA",
|
||||||
|
"total": 1,
|
||||||
|
"total_selesai": 1,
|
||||||
|
"persen_selesai": 100.0,
|
||||||
|
"total_inproses": 0,
|
||||||
|
"persen_inproses": 0.0,
|
||||||
|
"total_durasi_response": 24723,
|
||||||
|
"avg_durasi_response": 24723.0,
|
||||||
|
"min_durasi_response": 24723,
|
||||||
|
"max_durasi_response": 24723,
|
||||||
|
"total_dibawah_sla_response": 0,
|
||||||
|
"total_diatas_sla_response": 1,
|
||||||
|
"total_durasi_recovery": 25761,
|
||||||
|
"avg_durasi_recovery": 25761.0,
|
||||||
|
"min_durasi_recovery": 25761,
|
||||||
|
"max_durasi_recovery": 25761,
|
||||||
|
"total_dibawah_sla_recovery": 0,
|
||||||
|
"total_diatas_sla_recovery": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Instalasi / Wiring tidak berfungsi",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA BARAT",
|
||||||
|
"total": 1,
|
||||||
|
"total_selesai": 1,
|
||||||
|
"persen_selesai": 100.0,
|
||||||
|
"total_inproses": 0,
|
||||||
|
"persen_inproses": 0.0,
|
||||||
|
"total_durasi_response": 1925,
|
||||||
|
"avg_durasi_response": 1925.0,
|
||||||
|
"min_durasi_response": 1925,
|
||||||
|
"max_durasi_response": 1925,
|
||||||
|
"total_dibawah_sla_response": 0,
|
||||||
|
"total_diatas_sla_response": 1,
|
||||||
|
"total_durasi_recovery": 5959,
|
||||||
|
"avg_durasi_recovery": 5959.0,
|
||||||
|
"min_durasi_recovery": 5959,
|
||||||
|
"max_durasi_recovery": 5959,
|
||||||
|
"total_dibawah_sla_recovery": 0,
|
||||||
|
"total_diatas_sla_recovery": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Sudah Bayar Belum Disambung",
|
||||||
|
"nama_uid": "DISTRIBUSI JAWA BARAT",
|
||||||
|
"total": 4,
|
||||||
|
"total_selesai": 3,
|
||||||
|
"persen_selesai": 75.0,
|
||||||
|
"total_inproses": 1,
|
||||||
|
"persen_inproses": 25.0,
|
||||||
|
"total_durasi_response": 6977,
|
||||||
|
"avg_durasi_response": 1744.25,
|
||||||
|
"min_durasi_response": 108,
|
||||||
|
"max_durasi_response": 5649,
|
||||||
|
"total_dibawah_sla_response": 3,
|
||||||
|
"total_diatas_sla_response": 1,
|
||||||
|
"total_durasi_recovery": 36752,
|
||||||
|
"avg_durasi_recovery": 9188.0,
|
||||||
|
"min_durasi_recovery": 1076,
|
||||||
|
"max_durasi_recovery": 16320,
|
||||||
|
"total_dibawah_sla_recovery": 1,
|
||||||
|
"total_diatas_sla_recovery": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tipe_keluhan": "Umum",
|
||||||
|
"nama_uid": "DISTRIBUSI BALI",
|
||||||
|
"total": 2,
|
||||||
|
"total_selesai": 1,
|
||||||
|
"persen_selesai": 50.0,
|
||||||
|
"total_inproses": 1,
|
||||||
|
"persen_inproses": 50.0,
|
||||||
|
"total_durasi_response": 3497,
|
||||||
|
"avg_durasi_response": 1748.5,
|
||||||
|
"min_durasi_response": 653,
|
||||||
|
"max_durasi_response": 2844,
|
||||||
|
"total_dibawah_sla_response": 1,
|
||||||
|
"total_diatas_sla_response": 1,
|
||||||
|
"total_durasi_recovery": 3796,
|
||||||
|
"avg_durasi_recovery": 1898.0,
|
||||||
|
"min_durasi_recovery": 685,
|
||||||
|
"max_durasi_recovery": 3111,
|
||||||
|
"total_dibawah_sla_recovery": 2,
|
||||||
|
"total_diatas_sla_recovery": 0
|
||||||
|
}
|
||||||
],
|
],
|
||||||
rekapitulasiKeluhanPerKelompokKeluhan: [
|
rekapitulasiKeluhanPerKelompokKeluhan: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user