From d5a9e9e7f33c0c8469c33bebc1d0268453e868e9 Mon Sep 17 00:00:00 2001
From: ssc <273702440@qq.com>
Date: Mon, 3 Apr 2023 08:48:46 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E8=B5=B7=E5=89=8D=E6=9F=A5?=
=?UTF-8?q?=E7=9C=8B=E6=B5=81=E7=A8=8B=E5=9B=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/plugin/workflow/process.js | 22 +++++++++++++
src/views/plugin/workflow/process/start.vue | 34 +++++++++++++++++++--
2 files changed, 54 insertions(+), 2 deletions(-)
diff --git a/src/api/plugin/workflow/process.js b/src/api/plugin/workflow/process.js
index 75e87a7..c94739b 100644
--- a/src/api/plugin/workflow/process.js
+++ b/src/api/plugin/workflow/process.js
@@ -140,6 +140,28 @@ export const detail = (params) => {
})
}
+/**
+ * 获取模型xml - 根据processDefId
+ */
+ export const getXmlByProcessDefId = (params) => {
+ return request({
+ url: `${prefix}/getXmlByProcessDefId`,
+ method: 'get',
+ params
+ })
+}
+
+/**
+ * 获取模型xml - 根据processDefKey
+ */
+ export const getXmlByProcessDefKey = (params) => {
+ return request({
+ url: `${prefix}/getXmlByProcessDefKey`,
+ method: 'get',
+ params
+ })
+}
+
/**
* 发起流程
*/
diff --git a/src/views/plugin/workflow/process/start.vue b/src/views/plugin/workflow/process/start.vue
index 9fd7f53..28da9ae 100644
--- a/src/views/plugin/workflow/process/start.vue
+++ b/src/views/plugin/workflow/process/start.vue
@@ -40,6 +40,11 @@
size="small"
icon="el-icon-video-play"
@click="dynamicRoute(row, 'start')">发起
+ 流程图
@@ -52,11 +57,22 @@
@reset="searchReset">
+
+
+
+