MrShi
2024-01-31 e51fc2c088fb84f83d171dc4525b8f45104e4030
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import request from '../../utils/request'
 
// 查询
export function fetchList (data) {
  return request.post('/business/dispatchUnit/page', data, {
    trim: true
  })
}
 
// 创建
export function create (data) {
  return request.post('/business/dispatchUnit/create', data)
}
 
// 修改
export function updateById (data) {
  return request.post('/business/dispatchUnit/updateById', data)
}
 
// 根据ID查询
export function getById (id) {
  return request.get(`/business/dispatchUnit/${id}`)
}