mirror of https://gitee.com/lmlz_0/dc-ui.git
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.
44 lines
803 B
44 lines
803 B
import request from '@/utils/request'
|
|
|
|
// 查询流程达式列表
|
|
export function listExpression(query) {
|
|
return request({
|
|
url: '/system/expression/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询流程达式详细
|
|
export function getExpression(id) {
|
|
return request({
|
|
url: '/system/expression/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增流程达式
|
|
export function addExpression(data) {
|
|
return request({
|
|
url: '/system/expression',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改流程达式
|
|
export function updateExpression(data) {
|
|
return request({
|
|
url: '/system/expression',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除流程达式
|
|
export function delExpression(id) {
|
|
return request({
|
|
url: '/system/expression/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|