1
schangxiang@126.com
2024-09-10 c34f8f93417c5a0125f9c55ba3d347411995ac13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import request from '@/api/api.js'
import qs from 'qs'
 
 
// 获取班组数据 api/ShiftInfoService/page
export function getShiftInfo (data) {
  return request({
    url: `/api/shiftinfo/page?${qs.stringify(data)}`,
    method: 'get'
  })
}
 
// 新增班次 /shiftinfo/add
export function addShiftInfo(data) {
  return request({
    url:  `/api/shiftinfo/add`,
    method: 'post',
    data
  })
}
 
// 编辑班次 /shiftinfo/edit
export function editShiftInfo(data) {
  return request({
    url: '/api/shiftinfo/edit',
    method: 'post',
    data
  })
}