mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-02 16:37:49 +00:00
增加初始化参数
This commit is contained in:
@@ -113,4 +113,52 @@ export const findWorkflowStep = (params) => {
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// @Tags ExaWfLeave
|
||||
// @Summary 创建ExaWfLeave
|
||||
// @Security ApiKeyAuth
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
|
||||
// @Router /workflowProcess/startWorkflow [post]
|
||||
export const startWorkflow = (data, params = { businessType: data.wf.businessType }) => {
|
||||
return service({
|
||||
url: "/workflowProcess/startWorkflow",
|
||||
method: 'post',
|
||||
data,
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// @Tags WorkflowProcess
|
||||
// @Summary 我发起的工作流
|
||||
// @Security ApiKeyAuth
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
|
||||
// @Router /workflowProcess/getMyStated [get]
|
||||
export const getMyStated = () => {
|
||||
return service({
|
||||
url: "/workflowProcess/getMyStated",
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// @Tags WorkflowProcess
|
||||
// @Summary 我发起的工作流
|
||||
// @Security ApiKeyAuth
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
|
||||
// @Router /workflowProcess/getMyNeed [get]
|
||||
export const getMyNeed = () => {
|
||||
return service({
|
||||
url: "/workflowProcess/getMyNeed",
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user