diff --git a/src/api/plugin/workflow/demo/leave.js b/src/api/plugin/workflow/demo/leave.js new file mode 100644 index 0000000..cfef9b8 --- /dev/null +++ b/src/api/plugin/workflow/demo/leave.js @@ -0,0 +1,25 @@ +import request from '@/router/axios'; + +const prefix = '/api/blade-workflow/process/leave' + +export const getList = (current, size, params) => { + return request({ + url: `${prefix}/list`, + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const remove = (ids) => { + return request({ + url: `${prefix}/remove`, + method: 'post', + params: { + ids, + } + }) +} \ No newline at end of file diff --git a/src/views/plugin/workflow/demo/leave/index.vue b/src/views/plugin/workflow/demo/leave/index.vue new file mode 100644 index 0000000..559a2f6 --- /dev/null +++ b/src/views/plugin/workflow/demo/leave/index.vue @@ -0,0 +1,325 @@ + + + + + diff --git a/src/views/plugin/workflow/util/status.js b/src/views/plugin/workflow/util/status.js new file mode 100644 index 0000000..14c8989 --- /dev/null +++ b/src/views/plugin/workflow/util/status.js @@ -0,0 +1,38 @@ +export default [ + { + label: '发起流程', + value: 1 + }, + { + label: '审核中', // 审核通过 + value: 2 + }, + { + label: '审核驳回', + value: 3 + }, + { + label: '流程终结', + value: 6 + }, + { + label: '流程结束', + value: 7 + }, + { + label: '审核中', // 到候选人/候选组 + value: 8 + }, + { + label: '审核中', // 节点被调度 + value: 14 + }, + { + label: '已撤销', + value: 17 + }, + { + label: '已删除', + value: 18 + }, +]