diff --git a/src/components/Pages/Ctt/CTT_LaporanCttKwhPeriksa.vue b/src/components/Pages/Ctt/CTT_LaporanCttKwhPeriksa.vue index 3e168e2..0034d91 100755 --- a/src/components/Pages/Ctt/CTT_LaporanCttKwhPeriksa.vue +++ b/src/components/Pages/Ctt/CTT_LaporanCttKwhPeriksa.vue @@ -234,7 +234,13 @@ const onExporting = (e: any) => { } } +const resetData = () => { + data.value = [] + dataSub.value = [] +} + const filterData = async (params: any) => { + resetData() const { posko, uid, up3, ulp } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue index 8daefbc..c8a87f5 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_BM.vue @@ -329,7 +329,12 @@ const showDetail = () => (dialogDetail.value = true) const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] +} + const filterData = async (params: any) => { + resetData() const { posko, uid, up3, media } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_DKPL.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_DKPL.vue index 03110f2..171d77a 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_DKPL.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_DKPL.vue @@ -373,7 +373,12 @@ const dialogDetail = ref(false) const loading = ref(false) const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] +} + const filterData = async (params: any) => { + resetData() const { posko, uid, up3 } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_DMAPKT.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_DMAPKT.vue index 7286b1b..f9d986f 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_DMAPKT.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_DMAPKT.vue @@ -324,7 +324,12 @@ const showDetail = () => (dialogDetail.value = true) const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] +} + const filterData = async (params: any) => { + resetData() const dateValue = params.periode.split(' s/d ') const { posko, uid, up3 } = params diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_MLD1K.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_MLD1K.vue index 88b6b4e..91329ac 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_MLD1K.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_MLD1K.vue @@ -535,7 +535,13 @@ const onDataSubSelectionChanged = ({ selectedRowsData }: any) => { const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] + dataSub.value = [] +} + const filterData = async (params: any) => { + resetData() const { minJmlLapor, maxJmlLapor, posko, uid, up3 } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_RecoveryTime.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_RecoveryTime.vue index 97a6d04..b6628db 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_RecoveryTime.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_RecoveryTime.vue @@ -383,7 +383,12 @@ const showDetail = () => (dialogDetail.value = true) const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] +} + const filterData = async (params: any) => { + resetData() const { minTime, maxTime, posko, uid, up3 } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_ResponseTime.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_ResponseTime.vue index a0ae45d..f137eb2 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_ResponseTime.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_ResponseTime.vue @@ -360,7 +360,12 @@ const showDetail = () => (dialogDetail.value = true) const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] +} + const filterData = async (params: any) => { + resetData() const { minTime, maxTime, posko, uid, up3 } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Daftar/DGangguan_STIDP.vue b/src/components/Pages/Gangguan/Daftar/DGangguan_STIDP.vue index d98adb7..b3cf42c 100755 --- a/src/components/Pages/Gangguan/Daftar/DGangguan_STIDP.vue +++ b/src/components/Pages/Gangguan/Daftar/DGangguan_STIDP.vue @@ -328,7 +328,12 @@ const showDetail = () => (dialogDetail.value = true) const closeDialog = () => (dialogDetail.value = false) +const resetData = () => { + data.value = [] +} + const filterData = async (params: any) => { + resetData() const { posko, uid, up3 } = params const dateValue = params.periode.split(' s/d ') diff --git a/src/components/Pages/Gangguan/Rekap/RGangguan_RatingPerPosko.vue b/src/components/Pages/Gangguan/Rekap/RGangguan_RatingPerPosko.vue index ce7225f..36d0a6f 100755 --- a/src/components/Pages/Gangguan/Rekap/RGangguan_RatingPerPosko.vue +++ b/src/components/Pages/Gangguan/Rekap/RGangguan_RatingPerPosko.vue @@ -89,7 +89,7 @@ data-type="number" caption="Total" css-class="custom-table-column" - cell-template="formatNumber" + cell-template="formatNumberLaporanTotal" />