diff --git a/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP.vue b/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP.vue
new file mode 100644
index 0000000..c70cd0f
--- /dev/null
+++ b/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP.vue
@@ -0,0 +1,91 @@
+
+ filterData(filters)" class="mb-4">
+ filters = value" />
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Pages/Anomali/Table_64.vue b/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPP.vue
similarity index 97%
rename from src/components/Pages/Anomali/Table_64.vue
rename to src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPP.vue
index 47baed2..86dbfc2 100755
--- a/src/components/Pages/Anomali/Table_64.vue
+++ b/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPP.vue
@@ -83,9 +83,11 @@ const shading = ref(true);
const showPane = ref(true);
const data = ref([])
const filtersDetail = ref({}); // Declare the 'filters' variable
-watch(() => filtersDetail.value, (newValue) => { // Access the 'value' property of the 'filters' ref
- filterData(newValue)
-}, { immediate: true })
+
+// watch(() => filtersDetail.value, (newValue) => { // Access the 'value' property of the 'filters' ref
+// filterData(newValue)
+// }, { immediate: true })
+
const onExporting = (e: any) => {
if (e.format === 'pdf') {
const doc = new jsPDF()
@@ -119,6 +121,7 @@ const onSelectionChanged = ({ selectedRowsData }: any) => {
const data = selectedRowsData[0]
console.log(data)
}
+
const laporanAnomaliDetailPetugasPenangananPengaduanGangguan = gql`
query laporanAnomaliDetailPetugasPenangananPengaduanGangguan($dateFrom: Date!,
$dateTo: Date!, $jenisLaporan: Int, $idUid: Int, $idUp3: Int,$posko: String) {
diff --git a/src/components/Pages/Anomali/Table_63.vue b/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPT.vue
similarity index 63%
rename from src/components/Pages/Anomali/Table_63.vue
rename to src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPT.vue
index 50753a7..d2ec185 100755
--- a/src/components/Pages/Anomali/Table_63.vue
+++ b/src/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPT.vue
@@ -1,7 +1,4 @@
- filterData(filters)" class="mb-4">
- filters = value" />
-
Laporan Pengaduan Total
@@ -72,12 +69,10 @@
-
-
\ No newline at end of file
diff --git a/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU.vue b/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU.vue
new file mode 100755
index 0000000..cd86335
--- /dev/null
+++ b/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU.vue
@@ -0,0 +1,79 @@
+
+ filterData(filters)" class="mb-4">
+ filters = value" />
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Pages/Anomali/Keluhan/Table_66.vue b/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPP.vue
similarity index 96%
rename from src/components/Pages/Anomali/Keluhan/Table_66.vue
rename to src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPP.vue
index 456b5df..cc7b1f7 100755
--- a/src/components/Pages/Anomali/Keluhan/Table_66.vue
+++ b/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPP.vue
@@ -42,12 +42,15 @@ import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
-import { ref } from 'vue'
+import { computed, ref } from 'vue'
const position = { of: '#data' };
const showIndicator = ref(true);
const shading = ref(true);
const showPane = ref(true);
-const data = ref([])
+const props = defineProps({
+ data: Array as () => any[],
+})
+const data = computed(() => props.data)
const loading = ref(false)
const onExporting = (e: any) => {
diff --git a/src/components/Pages/Anomali/Keluhan/Table_65.vue b/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPT.vue
similarity index 71%
rename from src/components/Pages/Anomali/Keluhan/Table_65.vue
rename to src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPT.vue
index 4306252..3619708 100755
--- a/src/components/Pages/Anomali/Keluhan/Table_65.vue
+++ b/src/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPT.vue
@@ -1,7 +1,4 @@
- filterData(filters)" class="mb-4">
- filters = value" />
-
Laporan Pengaduan Total
@@ -75,14 +72,10 @@
-
-
\ No newline at end of file
diff --git a/src/components/Pages/Anomali/index.ts b/src/components/Pages/Anomali/index.ts
index de20872..68c18b8 100755
--- a/src/components/Pages/Anomali/index.ts
+++ b/src/components/Pages/Anomali/index.ts
@@ -1,7 +1,11 @@
export { default as Anomali_LAPPGU } from '@/components/Pages/Anomali/Gangguan/Anomali_LAPPGU.vue'
export { default as Anomali_LAPPGU_LPT } from '@/components/Pages/Anomali/Gangguan/Anomali_LAPPGU_LPT.vue'
export { default as Anomali_LAPPGU_LPP } from '@/components/Pages/Anomali/Gangguan/Anomali_LAPPGU_LPP.vue'
-export { default as AnomaliTable3 } from '@/components/Pages/Anomali/Table_63.vue'
-export { default as AnomaliTable4 } from '@/components/Pages/Anomali/Table_64.vue'
-export { default as AnomaliTable5 } from '@/components/Pages/Anomali/Keluhan/Table_65.vue'
-export { default as AnomaliTable6 } from '@/components/Pages/Anomali/Keluhan/Table_66.vue'
\ No newline at end of file
+
+export { default as Anomali_LAPPGP } from '@/components/Pages/Anomali/Gangguan/Anomali_LAPPGP.vue'
+export { default as Anomali_LAPPGP_LPT } from '@/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPT.vue'
+export { default as Anomali_LAPPGP_LPP } from '@/components/Pages/Anomali/Gangguan/Anomali_LAPPGP_LPP.vue'
+
+export { default as Anomali_LAPPKU } from '@/components/Pages/Anomali/Keluhan/Anomali_LAPPKU.vue'
+export { default as Anomali_LAPPKU_LPT } from '@/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPT.vue'
+export { default as Anomali_LAPPKU_LPP } from '@/components/Pages/Anomali/Keluhan/Anomali_LAPPKU_LPP.vue'
\ No newline at end of file
diff --git a/src/router/index.ts b/src/router/index.ts
index c973c60..c3fa744 100755
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -72,7 +72,7 @@ import {
MonalisaTable9
} from '@/components/Pages/Monalisa'
import { CicoTable1 } from '@/components/Pages/Cico'
-import { Anomali_LAPPGU, AnomaliTable3, AnomaliTable5 } from '@/components/Pages/Anomali'
+import { Anomali_LAPPGU, Anomali_LAPPKU, Anomali_LAPPGP } from '@/components/Pages/Anomali'
import { CttTable1 } from '@/components/Pages/Ctt'
import { MaterialTable1, MaterialTable2 } from '@/components/Pages/Material'
import { TransaksiTable1 } from '@/components/Pages/Transaksi'
@@ -565,7 +565,7 @@ export const routes: RouteRecordRaw[] = [
{
path: '2',
name: 'Laporan Anomali Penangan Pengaduan Gangguan Petugas',
- component: AnomaliTable3
+ component: Anomali_LAPPGP
},
{
path: ':pathMatch(.*)*',
@@ -580,7 +580,7 @@ export const routes: RouteRecordRaw[] = [
{
path: '1',
name: 'Laporan Anomali Penangan Pengaduan Keluhan Unit',
- component: AnomaliTable5
+ component: Anomali_LAPPKU
},
{
path: ':pathMatch(.*)*',