同步最新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.
72 lines
1.1 KiB
72 lines
1.1 KiB
|
3 years ago
|
import request from '@/axios';
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export const getList = (current, size, params) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/list',
|
||
|
|
method: 'get',
|
||
|
|
params: {
|
||
|
|
...params,
|
||
|
|
current,
|
||
|
|
size
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const build = (ids) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/gen-code',
|
||
|
|
method: 'post',
|
||
|
|
params: {
|
||
|
|
ids,
|
||
|
|
system: 'saber'
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
export const remove = (ids) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/remove',
|
||
|
|
method: 'post',
|
||
|
|
params: {
|
||
|
|
ids,
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const add = (row) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/submit',
|
||
|
|
method: 'post',
|
||
|
|
data: row
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const update = (row) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/submit',
|
||
|
|
method: 'post',
|
||
|
|
data: row
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const copy = (id) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/copy',
|
||
|
|
method: 'post',
|
||
|
|
params: {
|
||
|
|
id,
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
export const getCode = (id) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-develop/code/detail',
|
||
|
|
method: 'get',
|
||
|
|
params: {
|
||
|
|
id,
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|