From 58ac70d485841eec26d13ce9a453b4991f774fbd Mon Sep 17 00:00:00 2001
From: ssc <273702440@qq.com>
Date: Mon, 16 May 2022 08:28:10 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B5=81=E7=A8=8B=E4=BB=A3=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/plugin/workflow/proxy.js | 57 ++++
src/views/plugin/workflow/ops/proxy.vue | 401 ++++++++++++++++++++++++
2 files changed, 458 insertions(+)
create mode 100644 src/api/plugin/workflow/proxy.js
create mode 100644 src/views/plugin/workflow/ops/proxy.vue
diff --git a/src/api/plugin/workflow/proxy.js b/src/api/plugin/workflow/proxy.js
new file mode 100644
index 0000000..962267c
--- /dev/null
+++ b/src/api/plugin/workflow/proxy.js
@@ -0,0 +1,57 @@
+import request from '@/router/axios'
+
+const prefix = '/api/blade-workflow/ops/proxy'
+
+export const getList = (current, size, params) => {
+ return request({
+ url: `${prefix}/list`,
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+export const getDetail = (params) => {
+ return request({
+ url: `${prefix}/detail`,
+ method: 'get',
+ params
+ })
+}
+
+export const remove = (ids) => {
+ return request({
+ url: `${prefix}/remove`,
+ method: 'post',
+ params: {
+ ids,
+ }
+ })
+}
+
+export const submit = (row) => {
+ return request({
+ url: `${prefix}/submit`,
+ method: 'post',
+ data: row
+ })
+}
+
+export const add = (row) => {
+ return request({
+ url: `${prefix}/submit`,
+ method: 'post',
+ data: row
+ })
+}
+
+export const update = (row) => {
+ return request({
+ url: `${prefix}/submit`,
+ method: 'post',
+ data: row
+ })
+}
diff --git a/src/views/plugin/workflow/ops/proxy.vue b/src/views/plugin/workflow/ops/proxy.vue
new file mode 100644
index 0000000..5b30c44
--- /dev/null
+++ b/src/views/plugin/workflow/ops/proxy.vue
@@ -0,0 +1,401 @@
+
+
+
+
+ {{getUserName(row.userId)}}
+
+
+ {{getUserName(row.proxyUserId)}}
+
+
+ 永久
+ {{row.startTime}} ~ {{row.endTime}}
+
+
+ 全部流程
+ {{row.processDefKey}}
+
+
+ 删 除
+
+
+
+
+
+
+
+
+