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.
50 lines
1.0 KiB
50 lines
1.0 KiB
2 years ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 分页条件查询省重点企业
|
||
|
export function listEnterprise(query) {
|
||
|
return request({
|
||
|
url: '/bKeyEnterprise',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增省重点企业
|
||
|
export function addEnterprise(data) {
|
||
|
return request({
|
||
|
url: '/bKeyEnterprise',
|
||
|
method: 'post',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
//修改省重点企业
|
||
|
export function updateEnterprise(data) {
|
||
|
return request({
|
||
|
url: '/bKeyEnterprise',
|
||
|
method: 'put',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
//删除省重点企业
|
||
|
export function deleteEnterprise(data) {
|
||
|
return request({
|
||
|
url: '/bKeyEnterprise',
|
||
|
method: 'delete',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
//导入省重点企业
|
||
|
export function exportEnterprise(data) {
|
||
|
return request({
|
||
|
url: '/bKeyEnterprise/common/importExcel',
|
||
|
method: 'post',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
//通过主键查询单条省重点企业
|
||
|
export function getEnterprise(id) {
|
||
|
return request({
|
||
|
url: `/bKeyEnterprise/${id}`,
|
||
|
method: 'get',
|
||
|
})
|
||
|
}
|