mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-17 04:25:06 +08:00
修改表单为外置表单
This commit is contained in:
9
yudao-admin-ui/src/api/oa/flow.js
Normal file
9
yudao-admin-ui/src/api/oa/flow.js
Normal file
@ -0,0 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function getStartForm(processKey) {
|
||||
return request({
|
||||
url: '/workflow/process/definition/getStartForm?processKey='+processKey,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -43,6 +43,14 @@ export function getLeavePage(query) {
|
||||
})
|
||||
}
|
||||
|
||||
export function createFormKeyLeave(data) {
|
||||
return request({
|
||||
url: '/oa/leave/form-key/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出请假申请 Excel
|
||||
export function exportLeaveExcel(query) {
|
||||
return request({
|
||||
|
@ -67,6 +67,14 @@ export function taskSteps(data) {
|
||||
})
|
||||
}
|
||||
|
||||
export function getTaskFormKey(data) {
|
||||
return request({
|
||||
url: '/workflow/task/formKey',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function processHistorySteps(id) {
|
||||
return request({
|
||||
url: '/workflow/task/process/history-steps?id='+id,
|
||||
|
Reference in New Issue
Block a user