feat: enhance SEP entry form
This commit is contained in:
No files matched your search
@@ -16,7 +16,7 @@ const recSepId = inject('rec_sep_id') as Ref<string>
|
|||||||
function handleSelection() {
|
function handleSelection() {
|
||||||
recSepId.value = record.sepNumber || ''
|
recSepId.value = record.sepNumber || ''
|
||||||
const pathUrl = `/integration/bpjs-vclaim/sep/${record.sepNumber || ''}/link?source-path=${route.path}`
|
const pathUrl = `/integration/bpjs-vclaim/sep/${record.sepNumber || ''}/link?source-path=${route.path}`
|
||||||
router.push({ path: pathUrl })
|
router.push(pathUrl)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ const props = defineProps<{
|
|||||||
cities: any[]
|
cities: any[]
|
||||||
districts: any[]
|
districts: any[]
|
||||||
specialists?: TreeItem[]
|
specialists?: TreeItem[]
|
||||||
sepNumber?: string
|
|
||||||
objects?: any
|
objects?: any
|
||||||
values?: any
|
values?: any
|
||||||
}>()
|
}>()
|
||||||
@@ -135,7 +134,7 @@ const onBack = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onSaveNumber = () => {
|
const onSaveNumber = () => {
|
||||||
emit('event', 'save-sep-number', { sepNumber: props.sepNumber })
|
emit('event', 'save-sep-number', { sepNumber: props?.objects?.sepNumber || '' })
|
||||||
}
|
}
|
||||||
|
|
||||||
// Submit handler
|
// Submit handler
|
||||||
@@ -311,6 +310,7 @@ onMounted(() => {
|
|||||||
</Label>
|
</Label>
|
||||||
<Field :errMessage="errors.sepDate">
|
<Field :errMessage="errors.sepDate">
|
||||||
<DatepickerSingle
|
<DatepickerSingle
|
||||||
|
v-if="!isDateReload"
|
||||||
id="sepDate"
|
id="sepDate"
|
||||||
v-model="sepDate"
|
v-model="sepDate"
|
||||||
v-bind="sepDateAttrs"
|
v-bind="sepDateAttrs"
|
||||||
@@ -773,7 +773,7 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex items-center space-x-2">
|
<div class="flex items-center space-x-2">
|
||||||
<RadioGroupItem
|
<RadioGroupItem
|
||||||
value="Tidak"
|
value="no"
|
||||||
id="cob-no"
|
id="cob-no"
|
||||||
/>
|
/>
|
||||||
<Label for="cob-no">Tidak</Label>
|
<Label for="cob-no">Tidak</Label>
|
||||||
|
|||||||
Reference in New Issue
Block a user