schangxiang@126.com
2024-06-11 d75c40cd7e8ab784b5d9caa289e22f2e7a9b6ea7
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
30
31
32
33
34
35
36
37
38
39
40
41
import { axios } from '@/utils/request'
 
/**
 * 查询设备基础信息表
 *
 * @author cxy
 */
export function EquipmentBaseInfoPage (parameter) {
  return axios({
    url: '/EquipmentBaseInfo/page',
    method: 'get',
    params: parameter
  })
}
 
// 获取班组数据 api/ShiftInfoService/page
export function getShiftInfo (parameter) {
  return axios({
    url: '/shiftinfo/page',
    method: 'get',
    params: parameter
  })
}
 
// 新增班次 /shiftinfo/add
export function addShiftInfo(data) {
  return axios({
    url: '/shiftinfo/add',
    method: 'post',
    data
  })
}
 
// 编辑班次 /shiftinfo/edit
export function editShiftInfo(data) {
  return axios({
    url: '/shiftinfo/edit',
    method: 'post',
    data
  })
}