| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- import request from '@/utils/request'
- // 查询处方列表
- export function listPrescribe(query) {
- return request({
- url: '/store/prescribe/list',
- method: 'get',
- params: query
- })
- }
- // 查询处方详细
- export function getPrescribe(prescribeId) {
- return request({
- url: '/store/prescribe/' + prescribeId,
- method: 'get'
- })
- }
- // 新增处方
- export function addPrescribe(data) {
- return request({
- url: '/store/prescribe',
- method: 'post',
- data: data
- })
- }
- // 修改处方
- export function updatePrescribe(data) {
- return request({
- url: '/store/prescribe',
- method: 'put',
- data: data
- })
- }
- // 删除处方
- export function delPrescribe(prescribeId) {
- return request({
- url: '/store/prescribe/' + prescribeId,
- method: 'delete'
- })
- }
- // 导出处方
- export function exportPrescribe(query) {
- return request({
- url: '/store/prescribe/export',
- method: 'get',
- params: query
- })
- }
|