add -- 添加“新建流程”页面,发起流程操作从“我的流程”页面分离。

This commit is contained in:
hewenqiang
2022-03-25 20:18:00 +08:00
parent 7005f04314
commit 581a6d8f02
11 changed files with 570 additions and 1 deletions

View File

@@ -1,5 +1,24 @@
import request from '@/utils/request'
// 查询流程列表
export function listProcess(query) {
return request({
url: '/workflow/process/list',
method: 'get',
params: query
})
}
// 部署流程实例
export function startProcess(processDefId, data) {
return request({
url: '/workflow/process/start/' + processDefId,
method: 'post',
data: data
})
}
// 我的发起的流程
export function myProcessList(query) {
return request({