update 优化表单绑定逻辑,移除流程定义配置表单,添加模型复制

This commit is contained in:
gssong
2024-04-06 11:21:17 +08:00
parent 2d804c7ce0
commit 9f73ea2d32
7 changed files with 58 additions and 108 deletions

View File

@ -89,3 +89,16 @@ export const modelDeploy = (id: string): AxiosPromise<void> => {
method: 'post'
});
};
/**
* 复制模型
* @param data
* @returns {*}
*/
export const copyModel = (data: ModelForm): AxiosPromise<void> => {
return request({
url: '/workflow/model/copyModel',
method: 'post',
data: data
});
};