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 @@