liuying
2024-11-01 2af7049b8706232b9db59d5be5a08b49285024fc
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
  })
}