Update RKeluhan_ALL.ts and Anomali_LAPPGP_LPP.vue files

This commit is contained in:
Dede Fuji Abdul 2024-05-02 18:58:26 +07:00
parent f4cb0eb70e
commit 0ff0c43609
5 changed files with 8877 additions and 8964 deletions

File diff suppressed because it is too large Load Diff

View File

@ -998,34 +998,34 @@ const getDetail = async () => {
dateTo: dateValue[1]
? dateValue[1].split('-').reverse().join('-')
: new Date().toISOString().slice(0, 10),
idUlp: 0,
idUid: 0,
idUp3: 0,
namaRegional: selected?.nama_regional ? selected?.nama_regional : '',
// idUlp: 0,
// idUid: 0,
// idUp3: 0,
// namaRegional: selected?.nama_regional ? selected?.nama_regional : '',
media: parameterRequest.value?.media,
isMarking: props.marking,
idPetugas: selected?.id_regu ? selected?.id_regu : 0
namaPetugas: selected?.nama_petugas ? selected?.nama_petugas : ''
}
if (props.dataGroup.data == 'nama_uid') {
query = {
...query,
idUid: selected?.id_uid ? selected?.id_uid : 0
}
} else if (props.dataGroup.data == 'nama_up3') {
query = {
...query,
idUid: selected?.id_uid ? selected?.id_uid : 0,
idUp3: selected?.id_up3 ? selected?.id_up3 : 0
}
} else if (props.dataGroup.data == 'nama_ulp') {
query = {
...query,
idUid: selected?.id_uid ? selected?.id_uid : 0,
idUp3: selected?.id_up3 ? selected?.id_up3 : 0,
idUlp: selected?.id_ulp ? selected?.id_ulp : 0
}
}
// if (props.dataGroup.data == 'nama_uid') {
// query = {
// ...query,
// idUid: selected?.id_uid ? selected?.id_uid : 0
// }
// } else if (props.dataGroup.data == 'nama_up3') {
// query = {
// ...query,
// idUid: selected?.id_uid ? selected?.id_uid : 0,
// idUp3: selected?.id_up3 ? selected?.id_up3 : 0
// }
// } else if (props.dataGroup.data == 'nama_ulp') {
// query = {
// ...query,
// idUid: selected?.id_uid ? selected?.id_uid : 0,
// idUp3: selected?.id_up3 ? selected?.id_up3 : 0,
// idUlp: selected?.id_ulp ? selected?.id_ulp : 0
// }
// }
loadingSubData.value = true
emit('update:loadingSubData', loadingSubData.value)
@ -1049,12 +1049,12 @@ const getDetail = async () => {
dataSub.value =
result.data.data.subDetailAnomaliPenangananPengaduanGangguanPetugasSkipStep
}
dataSub.value = dataSub.value.map((item: any) => {
return {
...item,
nama_petugas: selected?.nama_petugas
}
})
// dataSub.value = dataSub.value.map((item: any) => {
// return {
// ...item,
// nama_petugas: selected?.nama_petugas
// }
// })
} else {
dataSub.value = []
}

View File

@ -75,7 +75,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="anomali_pln_mobile_marking"
data-field="petugas_pln_mobile_marking"
data-type="number"
caption="Marking"
css-class="custom-table-column"
@ -84,7 +84,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="anomali_pln_mobile_non_marking"
data-field="petugas_pln_mobile_nonmarking"
data-type="number"
caption="Non Marking"
css-class="custom-table-column"
@ -97,7 +97,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="anomali_cc123_marking"
data-field="petugas_cc123_marking"
data-type="number"
caption="Marking"
css-class="custom-table-column"
@ -106,7 +106,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="anomali_cc123_non_marking"
data-field="petugas_cc123_nonmarking"
data-type="number"
caption="Non Marking"
css-class="custom-table-column"
@ -119,7 +119,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="total_anomali_marking"
data-field="petugas_anomali_marking"
data-type="number"
caption="Marking"
css-class="custom-table-column"
@ -128,7 +128,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="total_anomali_non_marking"
data-field="petugas_anomali_nonmarking"
data-type="number"
caption="Non Marking"
css-class="custom-table-column"
@ -147,7 +147,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="persen_anomali_pln_mobile_marking"
data-field="persen_pln_mobile_marking"
data-type="number"
caption="Marking"
css-class="custom-table-column"
@ -156,7 +156,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="persen_anomali_pln_mobile_non_marking"
data-field="persen_pln_mobile_non_marking"
data-type="number"
caption="Non Marking"
css-class="custom-table-column"
@ -169,7 +169,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="persen_anomali_cc123_marking"
data-field="persen_cc123_marking"
data-type="number"
caption="Marking"
css-class="custom-table-column"
@ -178,7 +178,7 @@
<DxColumn
:width="150"
alignment="center"
data-field="persen_anomali_cc123_non_marking"
data-field="persen_cc123_nonmarking"
data-type="number"
caption="Non Marking"
css-class="custom-table-column"
@ -346,8 +346,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="anomali_pln_mobile_marking"
name="anomali_pln_mobile_marking"
column="petugas_pln_mobile_marking"
name="petugas_pln_mobile_marking"
summary-type="custom"
css-class="!text-right cursor-pointer"
:customize-text="(e: any) => formatNumber(e.value)"
@ -355,8 +355,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="anomali_pln_mobile_non_marking"
name="anomali_pln_mobile_non_marking"
column="petugas_pln_mobile_nonmarking"
name="petugas_pln_mobile_nonmarking"
summary-type="custom"
css-class="!text-right cursor-pointer"
:customize-text="(e: any) => formatNumber(e.value)"
@ -364,8 +364,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="anomali_cc123_marking"
name="anomali_cc123_marking"
column="petugas_cc123_marking"
name="petugas_cc123_marking"
summary-type="custom"
css-class="!text-right cursor-pointer"
:customize-text="(e: any) => formatNumber(e.value)"
@ -373,8 +373,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="anomali_cc123_non_marking"
name="anomali_cc123_non_marking"
column="petugas_cc123_nonmarking"
name="petugas_cc123_nonmarking"
summary-type="custom"
css-class="!text-right cursor-pointer"
:customize-text="(e: any) => formatNumber(e.value)"
@ -382,8 +382,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="total_anomali_marking"
name="total_anomali_marking"
column="petugas_anomali_marking"
name="petugas_anomali_marking"
summary-type="custom"
css-class="!text-right cursor-pointer"
:customize-text="(e: any) => formatNumber(e.value)"
@ -391,8 +391,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="total_anomali_non_marking"
name="total_anomali_non_marking"
column="petugas_anomali_nonmarking"
name="petugas_anomali_nonmarking"
summary-type="custom"
css-class="!text-right cursor-pointer"
:customize-text="(e: any) => formatNumber(e.value)"
@ -400,8 +400,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="persen_anomali_pln_mobile_marking"
name="persen_anomali_pln_mobile_marking"
column="persen_pln_mobile_marking"
name="persen_pln_mobile_marking"
summary-type="custom"
css-class="!text-right"
:customize-text="(e: any) => formatPercentage(e.value)"
@ -409,8 +409,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="persen_anomali_pln_mobile_non_marking"
name="persen_anomali_pln_mobile_non_marking"
column="persen_pln_mobile_non_marking"
name="persen_pln_mobile_non_marking"
summary-type="custom"
css-class="!text-right"
:customize-text="(e: any) => formatPercentage(e.value)"
@ -418,8 +418,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="persen_anomali_cc123_marking"
name="persen_anomali_cc123_marking"
column="persen_cc123_marking"
name="persen_cc123_marking"
summary-type="custom"
css-class="!text-right"
:customize-text="(e: any) => formatPercentage(e.value)"
@ -427,8 +427,8 @@
<DxGroupItem
:show-in-group-footer="false"
:align-by-column="true"
column="persen_anomali_cc123_non_marking"
name="persen_anomali_cc123_non_marking"
column="persen_cc123_nonmarking"
name="persen_cc123_nonmarking"
summary-type="custom"
css-class="!text-right"
:customize-text="(e: any) => formatPercentage(e.value)"
@ -549,17 +549,17 @@ const onCellClicked = (e: any) => {
console.log('columnIndex', e)
console.log('columnValue', e.data.aggregates[e.column.columnIndex])
if (e.column.dataField == 'anomali_pln_mobile_marking') {
if (e.column.dataField == 'petugas_pln_mobile_marking') {
setParameterRequest({ media: 'PLN Mobile', marking: 1 })
} else if (e.column.dataField == 'anomali_pln_mobile_non_marking') {
} else if (e.column.dataField == 'petugas_pln_mobile_nonmarking') {
setParameterRequest({ media: 'PLN Mobile', marking: 2 })
} else if (e.column.dataField == 'anomali_cc123_marking') {
} else if (e.column.dataField == 'petugas_cc123_marking') {
setParameterRequest({ media: 'Call PLN 123', marking: 1 })
} else if (e.column.dataField == 'anomali_cc123_non_marking') {
} else if (e.column.dataField == 'petugas_cc123_nonmarking') {
setParameterRequest({ media: 'Call PLN 123', marking: 2 })
} else if (e.column.dataField == 'total_anomali_marking') {
} else if (e.column.dataField == 'petugas_anomali_marking') {
setParameterRequest({ media: '', marking: 1 })
} else if (e.column.dataField == 'total_anomali_non_marking') {
} else if (e.column.dataField == 'petugas_anomali_nonmarking') {
setParameterRequest({ media: '', marking: 2 })
} else {
setParameterRequest({ media: null, marking: null })
@ -577,16 +577,16 @@ const resetData = () => {
}
let total_petugas = 0
let anomali_pln_mobile_marking = 0
let anomali_pln_mobile_non_marking = 0
let anomali_cc123_marking = 0
let anomali_cc123_non_marking = 0
let total_anomali_marking = 0
let total_anomali_non_marking = 0
let persen_anomali_pln_mobile_marking = 0
let persen_anomali_pln_mobile_non_marking = 0
let persen_anomali_cc123_marking = 0
let persen_anomali_cc123_non_marking = 0
let petugas_pln_mobile_marking = 0
let petugas_pln_mobile_nonmarking = 0
let petugas_cc123_marking = 0
let petugas_cc123_nonmarking = 0
let petugas_anomali_marking = 0
let petugas_anomali_nonmarking = 0
let persen_pln_mobile_marking = 0
let persen_pln_mobile_non_marking = 0
let persen_cc123_marking = 0
let persen_cc123_nonmarking = 0
let persen_anomali_marking = 0
let persen_anomali_non_marking = 0
@ -599,141 +599,141 @@ const calculateCustomSummary = (options: any) => {
}
}
if (options.name === 'anomali_pln_mobile_marking') {
if (options.name === 'petugas_pln_mobile_marking') {
if (options.summaryProcess === 'calculate') {
anomali_pln_mobile_marking += options.value
petugas_pln_mobile_marking += options.value
} else if (options.summaryProcess === 'finalize') {
options.totalValue = anomali_pln_mobile_marking
options.totalValue = petugas_pln_mobile_marking
}
}
if (options.name === 'anomali_pln_mobile_non_marking') {
if (options.name === 'petugas_pln_mobile_nonmarking') {
if (options.summaryProcess === 'calculate') {
anomali_pln_mobile_non_marking += options.value
petugas_pln_mobile_nonmarking += options.value
} else if (options.summaryProcess === 'finalize') {
options.totalValue = anomali_pln_mobile_non_marking
options.totalValue = petugas_pln_mobile_nonmarking
}
}
if (options.name === 'anomali_cc123_marking') {
if (options.name === 'petugas_cc123_marking') {
if (options.summaryProcess === 'calculate') {
anomali_cc123_marking += options.value
petugas_cc123_marking += options.value
} else if (options.summaryProcess === 'finalize') {
options.totalValue = anomali_cc123_marking
options.totalValue = petugas_cc123_marking
}
}
if (options.name === 'anomali_cc123_non_marking') {
if (options.name === 'petugas_cc123_nonmarking') {
if (options.summaryProcess === 'calculate') {
anomali_cc123_non_marking += options.value
petugas_cc123_nonmarking += options.value
} else if (options.summaryProcess === 'finalize') {
options.totalValue = anomali_cc123_non_marking
options.totalValue = petugas_cc123_nonmarking
}
}
if (options.name === 'total_anomali_marking') {
if (options.name === 'petugas_anomali_marking') {
if (options.summaryProcess === 'start') {
anomali_pln_mobile_marking = 0
anomali_cc123_marking = 0
petugas_pln_mobile_marking = 0
petugas_cc123_marking = 0
} else if (options.summaryProcess === 'finalize') {
options.totalValue = anomali_pln_mobile_marking + anomali_cc123_marking
options.totalValue = petugas_pln_mobile_marking + petugas_cc123_marking
}
}
if (options.name === 'total_anomali_non_marking') {
if (options.name === 'petugas_anomali_nonmarking') {
if (options.summaryProcess === 'start') {
anomali_pln_mobile_non_marking = 0
anomali_cc123_non_marking = 0
petugas_pln_mobile_nonmarking = 0
petugas_cc123_nonmarking = 0
} else if (options.summaryProcess === 'finalize') {
options.totalValue = anomali_pln_mobile_non_marking + anomali_cc123_non_marking
options.totalValue = petugas_pln_mobile_nonmarking + petugas_cc123_nonmarking
}
}
if (options.name === 'persen_anomali_pln_mobile_marking') {
if (options.name === 'persen_pln_mobile_marking') {
if (options.summaryProcess === 'start') {
anomali_pln_mobile_marking = 0
petugas_pln_mobile_marking = 0
total_petugas = 0
} else if (options.summaryProcess === 'calculate') {
persen_anomali_pln_mobile_marking =
!isFinite(anomali_pln_mobile_marking / total_petugas) || anomali_pln_mobile_marking == 0
persen_pln_mobile_marking =
!isFinite(petugas_pln_mobile_marking / total_petugas) || petugas_pln_mobile_marking == 0
? 0
: (anomali_pln_mobile_marking / total_petugas) * 100
: (petugas_pln_mobile_marking / total_petugas) * 100
} else if (options.summaryProcess === 'finalize') {
options.totalValue =
!isFinite(anomali_pln_mobile_marking / total_petugas) || anomali_pln_mobile_marking == 0
!isFinite(petugas_pln_mobile_marking / total_petugas) || petugas_pln_mobile_marking == 0
? 0
: (anomali_pln_mobile_marking / total_petugas) * 100
: (petugas_pln_mobile_marking / total_petugas) * 100
}
}
if (options.name === 'persen_anomali_pln_mobile_non_marking') {
if (options.name === 'persen_pln_mobile_non_marking') {
if (options.summaryProcess === 'start') {
anomali_pln_mobile_non_marking = 0
petugas_pln_mobile_nonmarking = 0
total_petugas = 0
} else if (options.summaryProcess === 'calculate') {
persen_anomali_pln_mobile_non_marking =
!isFinite(anomali_pln_mobile_non_marking / total_petugas) ||
anomali_pln_mobile_non_marking == 0
persen_pln_mobile_non_marking =
!isFinite(petugas_pln_mobile_nonmarking / total_petugas) ||
petugas_pln_mobile_nonmarking == 0
? 0
: (anomali_pln_mobile_non_marking / total_petugas) * 100
: (petugas_pln_mobile_nonmarking / total_petugas) * 100
} else if (options.summaryProcess === 'finalize') {
options.totalValue =
!isFinite(anomali_pln_mobile_non_marking / total_petugas) ||
anomali_pln_mobile_non_marking == 0
!isFinite(petugas_pln_mobile_nonmarking / total_petugas) ||
petugas_pln_mobile_nonmarking == 0
? 0
: (anomali_pln_mobile_non_marking / total_petugas) * 100
: (petugas_pln_mobile_nonmarking / total_petugas) * 100
}
}
if (options.name === 'persen_anomali_cc123_marking') {
if (options.name === 'persen_cc123_marking') {
if (options.summaryProcess === 'start') {
anomali_cc123_marking = 0
petugas_cc123_marking = 0
total_petugas = 0
} else if (options.summaryProcess === 'calculate') {
persen_anomali_cc123_marking =
!isFinite(anomali_cc123_marking / total_petugas) || anomali_cc123_marking == 0
persen_cc123_marking =
!isFinite(petugas_cc123_marking / total_petugas) || petugas_cc123_marking == 0
? 0
: (anomali_cc123_marking / total_petugas) * 100
: (petugas_cc123_marking / total_petugas) * 100
} else if (options.summaryProcess === 'finalize') {
options.totalValue =
!isFinite(anomali_cc123_marking / total_petugas) || anomali_cc123_marking == 0
!isFinite(petugas_cc123_marking / total_petugas) || petugas_cc123_marking == 0
? 0
: (anomali_cc123_marking / total_petugas) * 100
: (petugas_cc123_marking / total_petugas) * 100
}
}
if (options.name === 'persen_anomali_cc123_non_marking') {
if (options.name === 'persen_cc123_nonmarking') {
if (options.summaryProcess === 'start') {
anomali_cc123_non_marking = 0
petugas_cc123_nonmarking = 0
total_petugas = 0
} else if (options.summaryProcess === 'calculate') {
persen_anomali_cc123_non_marking =
!isFinite(anomali_cc123_non_marking / total_petugas) || anomali_cc123_non_marking == 0
persen_cc123_nonmarking =
!isFinite(petugas_cc123_nonmarking / total_petugas) || petugas_cc123_nonmarking == 0
? 0
: (anomali_cc123_non_marking / total_petugas) * 100
: (petugas_cc123_nonmarking / total_petugas) * 100
} else if (options.summaryProcess === 'finalize') {
options.totalValue =
!isFinite(anomali_cc123_non_marking / total_petugas) || anomali_cc123_non_marking == 0
!isFinite(petugas_cc123_nonmarking / total_petugas) || petugas_cc123_nonmarking == 0
? 0
: (anomali_cc123_non_marking / total_petugas) * 100
: (petugas_cc123_nonmarking / total_petugas) * 100
}
}
if (options.name === 'persen_anomali_marking') {
if (options.summaryProcess === 'start') {
persen_anomali_pln_mobile_marking = 0
persen_anomali_cc123_marking = 0
persen_pln_mobile_marking = 0
persen_cc123_marking = 0
} else if (options.summaryProcess === 'finalize') {
options.totalValue = persen_anomali_pln_mobile_marking + persen_anomali_cc123_marking
options.totalValue = persen_pln_mobile_marking + persen_cc123_marking
}
}
if (options.name === 'persen_anomali_non_marking') {
if (options.summaryProcess === 'start') {
persen_anomali_cc123_non_marking = 0
persen_anomali_pln_mobile_non_marking = 0
persen_cc123_nonmarking = 0
persen_pln_mobile_non_marking = 0
} else if (options.summaryProcess === 'finalize') {
options.totalValue = persen_anomali_pln_mobile_non_marking + persen_anomali_cc123_non_marking
options.totalValue = persen_pln_mobile_non_marking + persen_cc123_nonmarking
}
}
}
@ -809,15 +809,17 @@ const getDetail = async () => {
} else {
dataSub.value = []
}
console.log('group by', props.grouping[groupIndex.value].data)
dataSub.value = dataSub.value.map((e: any) => ({
...e,
nama_unit: groupDialog.value
? props.grouping[groupIndex.value].data == 'nama_uid'
? e.nama_uid
? e.nama_uid || e.nama_unit
: props.grouping[groupIndex.value].data == 'nama_up3'
? e.nama_up3
? e.nama_up3 || e.nama_unit
: 'Semua Unit'
: e.nama_ulp
: e.nama_unit
}))
emit('update:dataSub', dataSub.value)
emit('update:data-group', props.grouping[groupIndex.value])

View File

@ -1,17 +1,4 @@
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import {
Document,
AlignmentType,
Packer,
Paragraph,
Table,
TableCell,
TableRow,
VerticalAlign,
TextRun,
WidthType,
PageOrientation
} from 'docx'
import { saveAs } from 'file-saver'
import { jsPDF } from 'jspdf'
import autoTable from 'jspdf-autotable'

View File

@ -4379,27 +4379,18 @@ export const queries = {
query subDetailAnomaliPenangananPengaduanGangguanPetugasBerulang(
$dateFrom: Date!
$dateTo: Date!
$namaRegional: String!
$idUlp: Int!
$idUid: Int!
$idUp3: Int!
$media: String
$isMarking: Int!
$idPetugas: Int!
$namaPetugas: String
) {
subDetailAnomaliPenangananPengaduanGangguanPetugasBerulang(
dateFrom: $dateFrom
dateTo: $dateTo
namaRegional: $namaRegional
idUlp: $idUlp
idUid: $idUid
idUp3: $idUp3
media: $media
isMarking: $isMarking
idPetugas: $idPetugas
namaPetugas: $namaPetugas
) {
id
nama_regional
id_uid
nama_uid
id_up3
@ -4407,8 +4398,7 @@ export const queries = {
id_ulp
nama_ulp
no_laporan
no_laporan_referensi
referensi_marking
no_laporan_laporulang
waktu_lapor
waktu_response
waktu_recovery
@ -4424,12 +4414,6 @@ export const queries = {
no_telp_pelapor
keterangan_pelapor
media
diselesaikan_oleh
status_akhir
kode_gangguan
jenis_gangguan
penyebab
tindakan
}
}
`,
@ -4454,29 +4438,13 @@ export const queries = {
media: $media
isMarking: $isMarking
) {
id_regu
id_uid
nama_uid
id_up3
nama_up3
id_ulp
nama_ulp
id_posko
nama_posko
nama_petugas
id
nama_unit
nama_petugas
wo_cc123
wo_pln_mobile
wo_loket
wo_anomali
wo_total
wo_lainnya
anomali_pln_mobile_marking
anomali_pln_mobile_non_marking
anomali_cc123_marking
anomali_cc123_non_marking
total_anomali_cc123
total_anomali_pln_mobile
total_anomali
persen_anomali_cc123
persen_anomali_pln_mobile
persen_anomali
@ -4507,16 +4475,18 @@ export const queries = {
id_ulp
nama_ulp
total_petugas
anomali_pln_mobile_marking
anomali_pln_mobile_non_marking
anomali_cc123_marking
anomali_cc123_non_marking
total_anomali_marking
total_anomali_non_marking
persen_anomali_pln_mobile_marking
persen_anomali_pln_mobile_non_marking
persen_anomali_cc123_marking
persen_anomali_cc123_non_marking
petugas_pln_mobile_marking
petugas_pln_mobile_nonmarking
petugas_cc123_marking
petugas_cc123_nonmarking
petugas_anomali_marking
petugas_anomali_nonmarking
persen_pln_mobile_marking
persen_pln_mobile_nonmarking
persen_cc123_marking
persen_cc123_nonmarking
persen_anomali_marking
persen_anomali_non_marking
}
@ -4526,27 +4496,18 @@ export const queries = {
query subDetailAnomaliPenangananPengaduanGangguanPetugasRatingNegatif(
$dateFrom: Date!
$dateTo: Date!
$namaRegional: String!
$idUlp: Int!
$idUid: Int!
$idUp3: Int!
$media: String
$isMarking: Int!
$idPetugas: Int!
$namaPetugas: String
) {
subDetailAnomaliPenangananPengaduanGangguanPetugasRatingNegatif(
dateFrom: $dateFrom
dateTo: $dateTo
namaRegional: $namaRegional
idUlp: $idUlp
idUid: $idUid
idUp3: $idUp3
media: $media
isMarking: $isMarking
idPetugas: $idPetugas
namaPetugas: $namaPetugas
) {
id
nama_regional
id_uid
nama_uid
id_up3
@ -4554,7 +4515,7 @@ export const queries = {
id_ulp
nama_ulp
no_laporan
referensi_marking
no_laporan_laporulang
waktu_lapor
waktu_response
waktu_recovery
@ -4576,6 +4537,9 @@ export const queries = {
jenis_gangguan
penyebab
tindakan
jumlah_lapor
marking
is_anomali
rating
feedback
ulasan
@ -4603,29 +4567,13 @@ export const queries = {
media: $media
isMarking: $isMarking
) {
id_regu
id_uid
nama_uid
id_up3
nama_up3
id_ulp
nama_ulp
id_posko
nama_posko
nama_petugas
id
nama_unit
nama_petugas
wo_cc123
wo_pln_mobile
wo_loket
wo_anomali
wo_total
wo_lainnya
anomali_pln_mobile_marking
anomali_pln_mobile_non_marking
anomali_cc123_marking
anomali_cc123_non_marking
total_anomali_cc123
total_anomali_pln_mobile
total_anomali
persen_anomali_cc123
persen_anomali_pln_mobile
persen_anomali
@ -4656,16 +4604,16 @@ export const queries = {
id_ulp
nama_ulp
total_petugas
anomali_pln_mobile_marking
anomali_pln_mobile_non_marking
anomali_cc123_marking
anomali_cc123_non_marking
total_anomali_marking
total_anomali_non_marking
persen_anomali_pln_mobile_marking
persen_anomali_pln_mobile_non_marking
persen_anomali_cc123_marking
persen_anomali_cc123_non_marking
petugas_pln_mobile_marking
petugas_pln_mobile_nonmarking
petugas_cc123_marking
petugas_cc123_nonmarking
petugas_anomali_marking
petugas_anomali_nonmarking
persen_pln_mobile_marking
persen_pln_mobile_nonmarking
persen_cc123_marking
persen_cc123_nonmarking
persen_anomali_marking
persen_anomali_non_marking
}
@ -4675,27 +4623,18 @@ export const queries = {
query subDetailAnomaliPenangananPengaduanGangguanPetugasSkipStep(
$dateFrom: Date!
$dateTo: Date!
$namaRegional: String!
$idUlp: Int!
$idUid: Int!
$idUp3: Int!
$media: String
$isMarking: Int!
$idPetugas: Int!
$namaPetugas: String
) {
subDetailAnomaliPenangananPengaduanGangguanPetugasSkipStep(
dateFrom: $dateFrom
dateTo: $dateTo
namaRegional: $namaRegional
idUlp: $idUlp
idUid: $idUid
idUp3: $idUp3
media: $media
isMarking: $isMarking
idPetugas: $idPetugas
namaPetugas: $namaPetugas
) {
id
nama_regional
id_uid
nama_uid
id_up3
@ -4703,7 +4642,7 @@ export const queries = {
id_ulp
nama_ulp
no_laporan
referensi_marking
no_laporan_laporulang
waktu_lapor
waktu_response
waktu_recovery
@ -4725,6 +4664,9 @@ export const queries = {
jenis_gangguan
penyebab
tindakan
jumlah_lapor
marking
is_anomali
}
}
`,
@ -4749,29 +4691,13 @@ export const queries = {
media: $media
isMarking: $isMarking
) {
id_regu
id_uid
nama_uid
id_up3
nama_up3
id_ulp
nama_ulp
id_posko
nama_posko
nama_petugas
id
nama_unit
nama_petugas
wo_cc123
wo_pln_mobile
wo_loket
wo_anomali
wo_total
wo_lainnya
anomali_pln_mobile_marking
anomali_pln_mobile_non_marking
anomali_cc123_marking
anomali_cc123_non_marking
total_anomali_cc123
total_anomali_pln_mobile
total_anomali
persen_anomali_cc123
persen_anomali_pln_mobile
persen_anomali
@ -4802,16 +4728,16 @@ export const queries = {
id_ulp
nama_ulp
total_petugas
anomali_pln_mobile_marking
anomali_pln_mobile_non_marking
anomali_cc123_marking
anomali_cc123_non_marking
total_anomali_marking
total_anomali_non_marking
persen_anomali_pln_mobile_marking
persen_anomali_pln_mobile_non_marking
persen_anomali_cc123_marking
persen_anomali_cc123_non_marking
petugas_pln_mobile_marking
petugas_pln_mobile_nonmarking
petugas_cc123_marking
petugas_cc123_nonmarking
petugas_anomali_marking
petugas_anomali_nonmarking
persen_pln_mobile_marking
persen_pln_mobile_nonmarking
persen_cc123_marking
persen_cc123_nonmarking
persen_anomali_marking
persen_anomali_non_marking
}