import request from '@/utils/request' // 创建排班信息 export function createGroupTeamScheduling(data) { return request({ url: '/base/group-team-scheduling/create', method: 'post', data: data }) } // 更新排班信息 export function updateGroupTeamScheduling(data) { return request({ url: '/base/group-team-scheduling/update', method: 'put', data: data }) } // 删除排班信息 export function deleteGroupTeamScheduling(id) { return request({ url: '/base/group-team-scheduling/delete?id=' + id, method: 'delete' }) } // 获得排班信息 export function getGroupTeamScheduling(id) { return request({ url: '/base/group-team-scheduling/get?id=' + id, method: 'get' }) } // 获得排班信息分页 export function getGroupTeamSchedulingPage(query) { return request({ url: '/base/group-team-scheduling/page', method: 'get', params: query }) } // 导出排班信息 Excel export function exportGroupTeamSchedulingExcel(query) { return request({ url: '/base/group-team-scheduling/export-excel', method: 'get', params: query, responseType: 'blob' }) }