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.
53 lines
1.1 KiB
53 lines
1.1 KiB
4 years ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询企业管理列表
|
||
|
export function listEnterpriseManager(query) {
|
||
|
return request({
|
||
|
url: '/system/enterpriseManager/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询企业管理详细
|
||
|
export function getEnterpriseManager(enterpriseid) {
|
||
|
return request({
|
||
|
url: '/system/enterpriseManager/' + enterpriseid,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增企业管理
|
||
|
export function addEnterpriseManager(data) {
|
||
|
return request({
|
||
|
url: '/system/enterpriseManager',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改企业管理
|
||
|
export function updateEnterpriseManager(data) {
|
||
|
return request({
|
||
|
url: '/system/enterpriseManager',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除企业管理
|
||
|
export function delEnterpriseManager(enterpriseid) {
|
||
|
return request({
|
||
|
url: '/system/enterpriseManager/' + enterpriseid,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出企业管理
|
||
|
export function exportEnterpriseManager(query) {
|
||
|
return request({
|
||
|
url: '/system/enterpriseManager/export',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|