enhance (soapi): adjust type-code

This commit is contained in:
Abizrh
2025-11-21 15:34:48 +07:00
parent 671390f159
commit 2da2961f03
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -59,7 +59,13 @@ const {
fetchData: getMyList,
} = usePaginatedList({
fetchFn: async ({ page, search }) => {
const result = await getList({ 'encounter-id': props.encounter.id, includes: 'encounter', search, page })
const result = await getList({
'encounter-id': props.encounter.id,
'type-code': 'dev-record',
includes: 'encounter',
search,
page,
})
if (result.success) {
data.value = result.body.data
}
+1 -1
View File
@@ -21,7 +21,7 @@ const schema = EarlySchema
const payload = ref({
encounter_id: 0,
time: '',
typeCode: 'early',
typeCode: 'early-medic',
value: '',
})