From b600fb34b56888e6cd4807047ec7bb3cb6b193aa Mon Sep 17 00:00:00 2001 From: QianRj <14974713+qianrj@user.noreply.gitee.com> Date: 星期三, 25 十二月 2024 22:27:32 +0800 Subject: [PATCH] fix: 修复用户管理界面修改按钮权限字符串错误 --- 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