diff --git a/src/components/Pages/Gangguan/Rekap/RGangguan_ALL.vue b/src/components/Pages/Gangguan/Rekap/RGangguan_ALL.vue index 0cbd505..1ff01ca 100755 --- a/src/components/Pages/Gangguan/Rekap/RGangguan_ALL.vue +++ b/src/components/Pages/Gangguan/Rekap/RGangguan_ALL.vue @@ -345,7 +345,7 @@

- + - --> + (dialogDetail.value = false) const loadingData = ref(false) const loadingSubData = ref(false) +const calculateCustomSummary = (options: any) => { + if (options.name == 'persenSelesai') { + console.log(options.component.persen_selesai) + + switch (options.summaryProcess) { + case 'start': + // Initializing "totalValue" here + options.totalValue = 1 + break + case 'calculate': + // Modifying "totalValue" here + break + case 'finalize': + // Assigning the final value to "totalValue" here + break + } + } +} + const resetData = () => { data.value = [] dataSub.value = []