From 0b8f48fb610c8a2e3f9fb633241fcf46a78da69d Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: 星期二, 30 四月 2024 22:46:10 +0800
Subject: [PATCH] fix: 更新时有岗位会被赋值为空的bug

---
 src/api/workflow/model/index.ts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/api/workflow/model/index.ts b/src/api/workflow/model/index.ts
index f58cdd3..56f7fed 100644
--- a/src/api/workflow/model/index.ts
+++ b/src/api/workflow/model/index.ts
@@ -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
+  });
+};
\ No newline at end of file

--
Gitblit v1.9.3