Fix Dialog Consultation (#124)

This commit is contained in:
Muhammad Rifai
2025-10-20 23:41:23 +07:00
committed by GitHub
parent ae2a924177
commit 25d0091a19
48 changed files with 3517 additions and 9 deletions
+23
View File
@@ -0,0 +1,23 @@
import * as base from './_crud-base'
const path = '/api/v1/consultation'
export function create(data: any) {
return base.create(path, data)
}
export function getList(params: any = null) {
return base.getList(path, params)
}
export function getDetail(id: number | string) {
return base.getDetail(path, id)
}
export function update(id: number | string, data: any) {
return base.update(path, id, data)
}
export function remove(id: number | string) {
return base.remove(path, id)
}
+1 -1
View File
@@ -38,4 +38,4 @@ export async function getValueLabelList(params: any = null): Promise<{ value: st
}))
}
return data
}
}