联调 退役管理

This commit is contained in:
GGJ
2024-04-18 14:54:35 +08:00
parent 02ad259e30
commit 46ee3336c4
13 changed files with 974 additions and 177 deletions

View File

@@ -50,7 +50,7 @@ export const updateModelState = async (id: number, state: number) => {
return await createAxios({ url: '/process-boot/bpm/model/update-state', method: 'put', data: data })
}
export const save = async data => {
export const save = async (data: any) => {
return await createAxios({ url: '/process-boot/flowable/definition/save', method: 'POST', data: data })
}
@@ -70,3 +70,9 @@ export const assFormWithDeploy = async (data: any) => {
export const deleteDeploy = async (data: any) => {
return createAxios({ url: 'process-boot/flowable/definition/delete', method: 'POST', data })
}
export const flowRecord = async (data: any) => {
return createAxios({ url: '/process-boot/flowable/task/flowRecord', method: 'GET', params: data })
}
export const flowXmlAndNode = async (data: any) => {
return createAxios({ url: '/process-boot/flowable/task/flowXmlAndNode', method: 'GET', params: data })
}

View File

@@ -0,0 +1,41 @@
import createAxios from '@/utils/request'
//上传文件
export function uploadFile(data: any) {
return createAxios({
url: '/process-boot/rFlowProcess/uploadFile',
method: 'post',
data
})
}
//新增申请单
export function addFlow(data: any) {
return createAxios({
url: '/process-boot/rFlowProcess/add',
method: 'POST',
data
})
}
//更新申请单
export function update(data: any) {
return createAxios({
url: '/process-boot/rFlowProcess/update',
method: 'POST',
data
})
}
//提交申请单审核
export function createCheckflow(data: any) {
return createAxios({
url: '/process-boot/rFlowProcess/createCheckflow',
method: 'POST',
params: data
})
}
//提交申请单审核
export function getFileUrl(data: any) {
return createAxios({
url: '/process-boot/rFlowProcess/getFileUrl',
method: 'POST',
params: data
})
}