feat/prescription-56: wip

This commit is contained in:
2025-10-31 07:56:36 +07:00
parent 67ee129f4b
commit 66872c95f8
9 changed files with 394 additions and 87 deletions

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
import * as base from './_crud-base'
const path = '/api/v1/prescription'
const name = 'prescription'
export function create(data: any) {
return base.create(path, data)
@@ -10,8 +11,8 @@ export function getList(params: any = null) {
return base.getList(path, params)
}
export function getDetail(id: number | string) {
return base.getDetail(path, id)
export function getDetail(id: number | string, params?: any) {
return base.getDetail(path, id, name, params)
}
export function update(id: number | string, data: any) {