Refactor filters and input validation
This commit is contained in:
@ -1,6 +1,22 @@
|
||||
<template>
|
||||
<Filters @reset-form="data = []" @run-search="() => filterData(filters)" class="mb-4">
|
||||
<Type7 @update:filters="(value) => (filters = value)" />
|
||||
<Type7
|
||||
@update:filters="(value) => (filters = value)"
|
||||
:sla-options="[
|
||||
{
|
||||
id: 1,
|
||||
name: 'Dibawah / Sesuai SLA (<= 3 Jam)',
|
||||
min: '1',
|
||||
max: '180'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'Melebihi SLA (> 3 Jam)',
|
||||
min: '1',
|
||||
max: `${99999 * 60 * 24}`
|
||||
}
|
||||
]"
|
||||
/>
|
||||
</Filters>
|
||||
|
||||
<div id="data">
|
||||
|
Reference in New Issue
Block a user