⚡ enhance (soapi): adjust type-code
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ const schema = EarlySchema
|
||||
const payload = ref({
|
||||
encounter_id: 0,
|
||||
time: '',
|
||||
typeCode: 'early',
|
||||
typeCode: 'early-medic',
|
||||
value: '',
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user