| 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}`) | 
| } | 
| export function check (data) { | 
|     return request.post('/business/dispatchUnit/check', data) | 
| } | 
| export function checkWorktype (data) { | 
|     return request.post('/business/dispatchUnit/checkWorktype', data) | 
| } | 
| // 添加工种 | 
| export function createSolution (data) { | 
|     return request.post('/business/dispatchUnit/createSolution', data) | 
| } | 
|   | 
| // 修改信息 | 
| export function editDispatchUnit (data) { | 
|     return request.post('/business/dispatchUnit/editDispatchUnit', data) | 
| } | 
|   | 
| // 数据列表 | 
| export function findListByDTO (data) { | 
|     return request.post('/business/dispatchUnit/findListByDTO', data) | 
| } |