Refactor RKeluhan_PerFungsiBidang.vue to update getDetail function and remove unused variables
This commit is contained in:
@ -774,6 +774,51 @@ export const queries = {
|
||||
}
|
||||
}
|
||||
`,
|
||||
keluhanPenyelesaianPerFungsiBidangDetail: gql`
|
||||
query detailRekapitulasiKeluhanPerBidang(
|
||||
$dateFrom: Date!
|
||||
$dateTo: Date!
|
||||
$idUlp: Int!
|
||||
$idUid: Int!
|
||||
$idUp3: Int!
|
||||
$isSelesai: Int!
|
||||
$namaFungsiBidang: String
|
||||
) {
|
||||
detailRekapitulasiKeluhanPerBidang(
|
||||
dateFrom: $dateFrom
|
||||
dateTo: $dateTo
|
||||
namaFungsiBidang: $namaFungsiBidang
|
||||
idUlp: $idUlp
|
||||
idUid: $idUid
|
||||
idUp3: $idUp3
|
||||
isSelesai: $isSelesai
|
||||
) {
|
||||
id
|
||||
nama_regional
|
||||
id_uid
|
||||
nama_uid
|
||||
id_up3
|
||||
nama_up3
|
||||
id_ulp
|
||||
nama_ulp
|
||||
no_laporan
|
||||
waktu_lapor
|
||||
waktu_response
|
||||
waktu_recovery
|
||||
durasi_response_time
|
||||
durasi_recovery_time
|
||||
status_akhir
|
||||
idpel_nometer
|
||||
nama_pelapor
|
||||
alamat_pelapor
|
||||
no_telp_pelapor
|
||||
keterangan_pelapor
|
||||
uraian
|
||||
respon_pelanggan
|
||||
is_selesai
|
||||
}
|
||||
}
|
||||
`,
|
||||
keluhanPenyelesaianPerFungsiBidangULP: gql`
|
||||
query rekapitulasiKeluhanPenyelesaianPerFungsiBidangUlp(
|
||||
$dateFrom: Date!
|
||||
@ -2683,9 +2728,13 @@ export const queries = {
|
||||
nama_ulp
|
||||
mom_bulan_ini
|
||||
mom_bulan_kemarin
|
||||
count_mom_bulan_ini
|
||||
count_mom_bulan_kemarin
|
||||
persen_mom
|
||||
yoy_tahun_ini
|
||||
yoy_tahun_kemarin
|
||||
count_yoy_tahun_ini
|
||||
count_yoy_tahun_kemarin
|
||||
persen_yoy
|
||||
}
|
||||
}
|
||||
@ -2950,9 +2999,13 @@ export const queries = {
|
||||
nama_ulp
|
||||
mom_bulan_ini
|
||||
mom_bulan_kemarin
|
||||
count_mom_bulan_ini
|
||||
count_mom_bulan_kemarin
|
||||
persen_mom
|
||||
yoy_tahun_ini
|
||||
yoy_tahun_kemarin
|
||||
count_yoy_tahun_ini
|
||||
count_yoy_tahun_kemarin
|
||||
persen_yoy
|
||||
}
|
||||
}
|
||||
@ -2984,9 +3037,13 @@ export const queries = {
|
||||
nama_ulp
|
||||
mom_bulan_ini
|
||||
mom_bulan_kemarin
|
||||
count_mom_bulan_ini
|
||||
count_mom_bulan_kemarin
|
||||
persen_mom
|
||||
yoy_tahun_ini
|
||||
yoy_tahun_kemarin
|
||||
count_yoy_tahun_ini
|
||||
count_yoy_tahun_kemarin
|
||||
persen_yoy
|
||||
}
|
||||
}
|
||||
@ -3045,6 +3102,7 @@ export const queries = {
|
||||
bulan: $bulan
|
||||
tahun: $tahun
|
||||
) {
|
||||
id
|
||||
nama_regional
|
||||
id_uid
|
||||
nama_uid
|
||||
@ -3058,6 +3116,10 @@ export const queries = {
|
||||
yoy_tahun_ini
|
||||
yoy_tahun_kemarin
|
||||
persen_yoy
|
||||
count_yoy_tahun_ini
|
||||
count_yoy_tahun_kemarin
|
||||
count_mom_bulan_ini
|
||||
count_mom_bulan_kemarin
|
||||
}
|
||||
}
|
||||
`,
|
||||
@ -3092,6 +3154,10 @@ export const queries = {
|
||||
yoy_tahun_ini
|
||||
yoy_tahun_kemarin
|
||||
persen_yoy
|
||||
count_yoy_tahun_ini
|
||||
count_yoy_tahun_kemarin
|
||||
count_mom_bulan_ini
|
||||
count_mom_bulan_kemarin
|
||||
}
|
||||
}
|
||||
`,
|
||||
|
Reference in New Issue
Block a user