MrShi
2024-01-29 bb0474b0368c0520f0ac12674eb8a5c2ca942170
company/src/api/business/dispatchUnit.js
@@ -11,3 +11,23 @@
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 createSolution (data) {
    return request.post('/business/dispatchUnit/createSolution', data)
}
// 修改信息
export function editDispatchUnit (data) {
    return request.post('/business/dispatchUnit/editDispatchUnit', data)
}