zhangtao
parent
c786ba0a10
commit
f6ca223ce0
@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询计划企业列表
|
||||
export function listEnterprise(query) {
|
||||
return request({
|
||||
url: '/pharmaceuticals/bPlanEnterprise/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询计划企业详细
|
||||
export function getEnterprise(id) {
|
||||
return request({
|
||||
url: '/system/enterprise/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增计划企业
|
||||
export function addEnterprise(data) {
|
||||
return request({
|
||||
url: '/system/enterprise',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改计划企业
|
||||
export function updateEnterprise(data) {
|
||||
return request({
|
||||
url: '/system/enterprise',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除计划企业
|
||||
export function delEnterprise(id) {
|
||||
return request({
|
||||
url: '/system/enterprise/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue