From 38ddb9c4a3987c96fa113b486eaa48fb1a58b8f3 Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Sun, 7 May 2023 10:40:14 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BA=BA=E5=91=98=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E8=AF=B7=E6=B1=82api=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/plugin/workflow/user.js | 13 +++++++++++++ .../workflow/components/wf-user-select/index.vue | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/api/plugin/workflow/user.js diff --git a/src/api/plugin/workflow/user.js b/src/api/plugin/workflow/user.js new file mode 100644 index 0000000..3ae6acb --- /dev/null +++ b/src/api/plugin/workflow/user.js @@ -0,0 +1,13 @@ +import request from '@/router/axios'; + +const prefix = '/api/blade-workflow/process/user' + +export const getUser = (id) => { + return request({ + url: `${prefix}/detail`, + method: 'get', + params: { + id + } + }) +} diff --git a/src/views/plugin/workflow/components/wf-user-select/index.vue b/src/views/plugin/workflow/components/wf-user-select/index.vue index d7f7de0..35263d0 100644 --- a/src/views/plugin/workflow/components/wf-user-select/index.vue +++ b/src/views/plugin/workflow/components/wf-user-select/index.vue @@ -16,7 +16,7 @@