37 lines
722 B
TypeScript
37 lines
722 B
TypeScript
import request from '@/utils/request'
|
|
|
|
/**
|
|
* 药品库列表
|
|
*/
|
|
export function medicineLists(params: any) {
|
|
return request.get({ url: '/doctor.medicine/lists', params })
|
|
}
|
|
|
|
/**
|
|
* 添加药品
|
|
*/
|
|
export function medicineAdd(params: any) {
|
|
return request.post({ url: '/doctor.medicine/add', params })
|
|
}
|
|
|
|
/**
|
|
* 编辑药品
|
|
*/
|
|
export function medicineEdit(params: any) {
|
|
return request.post({ url: '/doctor.medicine/edit', params })
|
|
}
|
|
|
|
/**
|
|
* 删除药品
|
|
*/
|
|
export function medicineDelete(params: any) {
|
|
return request.post({ url: '/doctor.medicine/delete', params })
|
|
}
|
|
|
|
/**
|
|
* 药品详情
|
|
*/
|
|
export function medicineDetail(params: any) {
|
|
return request.get({ url: '/doctor.medicine/detail', params })
|
|
}
|