Refactor form filters in multiple components

This commit is contained in:
Eko Haryadi
2024-02-26 08:52:56 +07:00
parent 05946bfd33
commit cbe6dbb262
8 changed files with 23 additions and 23 deletions

View File

@@ -8,12 +8,12 @@ const up3Placeholder = 'Semua Unit Pelaksanaan Pelayanan Pelanggan';
const ulpPlaceholder = 'Semua Unit Layanan Pelanggan';
const uppp = ref({ id: 0, name: up3Placeholder });
const uid = ref({ id: 0, name: uidPlaceholder });
const ulp = ref({ id: "", name: ulpPlaceholder });
const ulp = ref({ id: 0, name: ulpPlaceholder });
const emit = defineEmits(['update:filters'])
const data = ref({
uid: uid.value,
up3: uppp.value,
posko: ulp.value,
ulp: ulp.value,
periode: '',
group: 1
})