diff --git a/app/components/content/sep/list.vue b/app/components/content/sep/list.vue index 22597f22..2bfccd49 100644 --- a/app/components/content/sep/list.vue +++ b/app/components/content/sep/list.vue @@ -9,9 +9,17 @@ import { DropdownMenuContent, DropdownMenuItem, } from '~/components/pub/ui/dropdown-menu' +import { X, Check } from 'lucide-vue-next' const search = ref('') const dateRange = ref('12 Agustus 2025 - 32 Agustus 2025') +const open = ref(false) + +const sepData = { + no_sep: 'SP23311224', + kartu: '001234', + nama: 'Kenzie', +} interface SepData { tgl_sep: string @@ -136,6 +144,20 @@ function exportExcel() { // tambahkan logic untuk generate Excel } +function handleDelete() { + console.log('Data dihapus:', sepData) + open.value = false +} + +watch( + () => recAction.value, + () => { + if (recAction.value === 'showConfirmDel') { + open.value = true + } + }, +) + onMounted(() => { getSepList() }) @@ -150,7 +172,7 @@ provide('table_data_loader', isLoading)
-
+
@@ -194,5 +216,35 @@ provide('table_data_loader', isLoading)
+ + + + + + + + Hapus SEP + + + + Apakah anda yakin ingin menghapus SEP dengan data: + + +
+

No. SEP : {{ sepData.no_sep }}

+

No. Kartu BPJS : {{ sepData.kartu }}

+

Nama Pasien : {{ sepData.nama }}

+
+ + + + + +
+