From cdbbca43c4466d36e9cef08b81cb0fe689c6da25 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: 星期四, 14 十一月 2024 16:23:16 +0800 Subject: [PATCH] chore: 锁定vue-json-pretty版本 --- src/api/workflow/model/index.ts | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/api/workflow/model/index.ts b/src/api/workflow/model/index.ts index f58cdd3..1ca8b19 100644 --- a/src/api/workflow/model/index.ts +++ b/src/api/workflow/model/index.ts @@ -22,7 +22,7 @@ */ export const getInfo = (id: string): AxiosPromise<ModelForm> => { return request({ - url: '/workflow/model/getInfo/'+id, + url: '/workflow/model/getInfo/' + id, method: 'get' }); }; @@ -89,3 +89,16 @@ method: 'post' }); }; + +/** + * 澶嶅埗妯″瀷 + * @param data + * @returns {*} + */ +export const copyModel = (data: ModelForm): AxiosPromise<void> => { + return request({ + url: '/workflow/model/copyModel', + method: 'post', + data: data + }); +}; -- Gitblit v1.9.3