20200510-zlp-1
新增本一端园历 园历新增字段 结束时间和活动样式
This commit is contained in:
53
ruoyi-ui/src/api/benyi/calendar.js
Normal file
53
ruoyi-ui/src/api/benyi/calendar.js
Normal file
@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询园历管理(本一)列表
|
||||
export function listCalendar(query) {
|
||||
return request({
|
||||
url: '/system/calendar/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询园历管理(本一)详细
|
||||
export function getCalendar(id) {
|
||||
return request({
|
||||
url: '/system/calendar/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增园历管理(本一)
|
||||
export function addCalendar(data) {
|
||||
return request({
|
||||
url: '/system/calendar',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改园历管理(本一)
|
||||
export function updateCalendar(data) {
|
||||
return request({
|
||||
url: '/system/calendar',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除园历管理(本一)
|
||||
export function delCalendar(id) {
|
||||
return request({
|
||||
url: '/system/calendar/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出园历管理(本一)
|
||||
export function exportCalendar(query) {
|
||||
return request({
|
||||
url: '/system/calendar/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user