2024-03-27 09:27:14 +08:00
|
|
|
import request from '@/config/axios'
|
|
|
|
|
|
|
|
|
2024-05-27 21:20:18 +08:00
|
|
|
export const updateBpmSimpleModel = async (data) => {
|
2024-03-27 09:27:14 +08:00
|
|
|
return await request.post({
|
2024-05-27 21:20:18 +08:00
|
|
|
url: '/bpm/model/simple/update',
|
2024-03-27 09:27:14 +08:00
|
|
|
data: data
|
|
|
|
})
|
2024-03-29 19:56:45 +08:00
|
|
|
}
|
|
|
|
|
2024-06-18 00:06:52 +08:00
|
|
|
export const getBpmSimpleModel = async (id) => {
|
2024-03-29 19:56:45 +08:00
|
|
|
return await request.get({
|
2024-06-18 00:06:52 +08:00
|
|
|
url: '/bpm/model/simple/get?id=' + id
|
2024-03-29 19:56:45 +08:00
|
|
|
})
|
2024-05-27 21:20:18 +08:00
|
|
|
}
|