Update posko parameter to accept integer instead of string

This commit is contained in:
Eko Haryadi
2024-02-23 10:46:21 +07:00
parent ef73152128
commit c58904aa32
42 changed files with 144 additions and 163 deletions

View File

@ -123,7 +123,7 @@ const GET_DAFTAR_KELUHAN_DIPINDAHKAN_KE_POSKO_LAIN = gql`
query daftarKeluhanDipindahkanKePoskoLain(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -129,7 +129,7 @@ const GET_DATA = gql`
$maxJmlLapor: Int!
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -125,7 +125,7 @@ const GET_DATA = gql`
$dateTo: Date!
$minDurasiResponseTime: Int!
$maxDurasiResponseTime: Int!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -127,7 +127,7 @@ const GET_DATA = gql`
$dateTo: Date!
$minDurasiRecoveryTime: Int!
$maxDurasiRecoveryTime: Int!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -127,7 +127,7 @@ const GET_DATA = gql`
query daftarKeluhanSelesaiTanpaIdPelanggan(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -123,7 +123,7 @@ const GET_DATA = gql`
query daftarKeluhanBerdasarkanMedia(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
$media: String!

View File

@ -121,7 +121,7 @@ const GET_DATA = gql`
(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -126,7 +126,7 @@ query rekapitulasiKeluhanAll
(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -147,7 +147,7 @@ const GET_DATA = gql`
query rekapitulasiKeluhanPenyelesaianPerFungsiBidang(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -138,7 +138,7 @@ query rekapitulasiKeluhanPerJenisKeluhan
(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {
@ -176,7 +176,7 @@ query rekapitulasiKeluhanPerJenisKeluhan
const { onResult, onError, loading,refetch } = useQuery(GET_DATA, {
dateFrom: new Date("2023-10-01").toISOString().slice(0, 10),
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
posko: "",
posko: 0,
idUid: 0,
idUp3: 0,
})

View File

@ -138,7 +138,7 @@ query rekapitulasiKeluhanPerKelompokKeluhan
(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {
@ -176,7 +176,7 @@ query rekapitulasiKeluhanPerKelompokKeluhan
const { onResult, onError ,loading,refetch} = useQuery(GET_DATA, {
dateFrom: new Date("2023-10-01").toISOString().slice(0, 10),
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
posko: "",
posko: 0,
idUid: 0,
idUp3: 0,
})

View File

@ -145,7 +145,7 @@ const GET_DATA = gql`
query rekapitulasiKeluhanPerTanggal(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -144,7 +144,7 @@ const GET_DATA = gql`
query rekapitulasiKeluhanPerUnit(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -96,7 +96,7 @@ const GET_DATA = gql`
query rekapitulasiKeluhanBerdasarkanMedia(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {

View File

@ -131,7 +131,7 @@ query rekapitulasiKeluhanRatingPerUnit
(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {
@ -165,7 +165,7 @@ query rekapitulasiKeluhanRatingPerUnit
const { onResult, onError, loading, refetch } = useQuery(GET_DATA, {
dateFrom: new Date("2023-10-01").toISOString().slice(0, 10),
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
posko: "",
posko: 0,
idUid: 0,
idUp3: 0,
})