You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.6 KiB
83 lines
1.6 KiB
import request from '@/utils/request'
|
|
|
|
// 查询【请填写功能名称】列表
|
|
export function listConnection(query) {
|
|
return request({
|
|
url: '/system/connection/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询【请填写功能名称】详细
|
|
export function getConnection(id) {
|
|
return request({
|
|
url: '/system/connection/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增【请填写功能名称】
|
|
export function addConnection(data) {
|
|
return request({
|
|
url: '/system/connection',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改【请填写功能名称】
|
|
export function updateConnection(data) {
|
|
return request({
|
|
url: '/system/connection',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除【请填写功能名称】
|
|
export function delConnection(id) {
|
|
return request({
|
|
url: '/system/connection/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 导出【请填写功能名称】
|
|
export function exportConnection(query) {
|
|
return request({
|
|
url: '/system/connection/export',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function getAllWarehouse(query) {
|
|
return request({
|
|
url: '/system/warehouse/getAllWarehouse',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
export function getHospitalData(query) {
|
|
return request({
|
|
url: '/system/hospital/getAllHospital',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
export function getAllDeliver(query) {
|
|
return request({
|
|
url: '/system/deliver/getAllDeliver',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
export function getProductData(query) {
|
|
return request({
|
|
url: '/system/product/getAllProduct',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|