同步最新bladex私服的Saber,并且集成好了工作流插件
包含表单设计器
https://git.nutflow.vip/blade-workflow/Saber
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
667 B
42 lines
667 B
|
4 years ago
|
import request from '@/router/axios';
|
||
|
|
|
||
|
|
const prefix = '/api/blade-workflow/process/draft'
|
||
|
|
|
||
|
|
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
|
||
|
|
})
|
||
|
|
}
|