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.
103 lines
2.2 KiB
103 lines
2.2 KiB
import request from '@/utils/request'
|
|
|
|
// 流程抄送 -- 获取菜单 分页列表
|
|
export function pageList(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowcc/listPage',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|
|
// 流程抄送 -- 新增
|
|
export function save(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowcc/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|
|
// 流程抄送 -- 初始化应用
|
|
export function fetchSid(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowcc/fetchDetailsBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 流程抄送 -- 删除
|
|
export function delBySids(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowcc/delBySids',
|
|
method: 'DELETE',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|
|
// 流程审批权限 -- 新增
|
|
export function saveByPower(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowpower/save',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|
|
// 流程审批权限 -- 初始化
|
|
export function initByPower(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowpower/listPage',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 流程审批权限 -- 回显
|
|
export function fetchSidByPower(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowpower/fetchDetailsBySid/' + data,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 流程审批权限 -- 删除
|
|
export function delByPower(data) {
|
|
return request({
|
|
url: '/portal/v1/sysflowpower/delBySids',
|
|
method: 'DELETE',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据流程flowKey获取该流程的环节名称
|
|
export function selecTaskByProId(data) {
|
|
return request({
|
|
url: '/flowable/v1/flowable/proUrl/selecTaskByProId',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 查询角色列表
|
|
export function roleList(data) {
|
|
return request({
|
|
url: '/portal/v1/sysrole/listAll',
|
|
method: 'post',
|
|
data: data,
|
|
headers: { 'Content-Type': 'application/json' }
|
|
})
|
|
}
|
|
|
|
// 获取所有分公司
|
|
export function selectOrgSidList(data) {
|
|
return request({
|
|
url: '/portal/v1/sysorganization/selectOrgSidList',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|