52 lines
1.1 KiB
JavaScript
52 lines
1.1 KiB
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询活动参与表列表
|
||
|
export function listActivityTakeInfo(query) {
|
||
|
return request({
|
||
|
url: '/activityInfo/activityTakeInfo/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询活动参与表详细
|
||
|
export function getActivityTakeInfo(id) {
|
||
|
return request({
|
||
|
url: '/activityInfo/activityTakeInfo/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询活动参与表详细
|
||
|
export function getTakePartsInfoByacId(id) {
|
||
|
return request({
|
||
|
url: '/activityInfo/activityTakeInfo/ByacId/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
// 新增活动参与表
|
||
|
export function addActivityTakeInfo(data) {
|
||
|
return request({
|
||
|
url: '/activityInfo/activityTakeInfo',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改活动参与表
|
||
|
export function updateActivityTakeInfo(data) {
|
||
|
return request({
|
||
|
url: '/activityInfo/activityTakeInfo',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除活动参与表
|
||
|
export function delActivityTakeInfo(id) {
|
||
|
return request({
|
||
|
url: '/activityInfo/activityTakeInfo/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|