feat(encounter): provide cancel of encounter

This commit is contained in:
riefive
2025-11-11 15:00:09 +07:00
parent 0d97ba9d25
commit 4439a88b37
5 changed files with 189 additions and 6 deletions
+5
View File
@@ -28,6 +28,11 @@ export function remove(id: number | string) {
return base.remove(path, id, name)
}
export function cancel(id: number | string) {
let url = `${path}/${id}/cancel`
return base.update(url, id, {}, name)
}
export async function getValueLabelList(params: any = null): Promise<{ value: string; label: string }[]> {
let data: { value: string; label: string }[] = []
const result = await getList(params)