index.ts 308 B

123456789101112131415
  1. import request from '@/config/axios'
  2. export const saveBpmSimpleModel = async (data) => {
  3. return await request.post({
  4. url: '/bpm/simple/save',
  5. data: data
  6. })
  7. }
  8. export const getBpmSimpleModel = async (modelId) => {
  9. return await request.get({
  10. url: '/bpm/simple/get?modelId=' + modelId
  11. })
  12. }