diff --git a/src/api/bpm/simple/index.ts b/src/api/bpm/simple/index.ts index b977dea0..28808565 100644 --- a/src/api/bpm/simple/index.ts +++ b/src/api/bpm/simple/index.ts @@ -1,15 +1,15 @@ import request from '@/config/axios' -export const saveBpmSimpleModel = async (data) => { +export const updateBpmSimpleModel = async (data) => { return await request.post({ - url: '/bpm/simple/save', + url: '/bpm/model/simple/update', data: data }) } export const getBpmSimpleModel = async (modelId) => { return await request.get({ - url: '/bpm/simple/get?modelId=' + modelId + url: '/bpm/model/simple/get?modelId=' + modelId }) -} \ No newline at end of file +} diff --git a/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue b/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue index a9cf18d1..cd47e896 100644 --- a/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue +++ b/src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue @@ -32,7 +32,7 @@