模型基础信息
This commit is contained in:
@@ -15,6 +15,16 @@ export const listWFForm = (data: any) => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询所有流程表单
|
||||
*/
|
||||
export const listAllWFForm = () => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/listAll',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id查询表单详细信息
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getAreaTree(data: any) {
|
||||
return request({
|
||||
url: '/user-boot/dept/getAreaTree',
|
||||
@@ -22,6 +23,7 @@ export function addDept(data: any) {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function updateDept(data: any) {
|
||||
return request({
|
||||
url: '/user-boot/dept/update',
|
||||
@@ -46,3 +48,14 @@ export function selectPid(data: any) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 部门信息树
|
||||
*/
|
||||
export function deptTreeSelector() {
|
||||
return request({
|
||||
url: '/user-boot/dept/deptTreeSelector',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -153,3 +153,12 @@ export function getUserByRoleType(data:any) {
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取部门下所有用户
|
||||
export function listAllUserByDeptId(data:any) {
|
||||
return request({
|
||||
url: '/user-boot/user/listAllUserByDeptId?deptId=' + data,
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
47
src/api/workflow-boot/model.ts
Normal file
47
src/api/workflow-boot/model.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import createAxios from '@/utils/request'
|
||||
import { WORKFLOW_BOOT } from '@/utils/constantRequest'
|
||||
|
||||
const MAPPING_PATH = WORKFLOW_BOOT + '/flw/model'
|
||||
|
||||
/**
|
||||
* 新增流程
|
||||
*/
|
||||
export const addModel = (data:any) => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/add',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取执行监听器选择器
|
||||
*/
|
||||
export const executionListenerSelector = () => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/executionListenerSelector',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取自定义事件执行监听器选择器
|
||||
*/
|
||||
export const executionListenerSelectorForCustomEvent = () => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/executionListenerSelectorForCustomEvent',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取任务监听器选择器
|
||||
*/
|
||||
export const taskListenerSelector = () => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/taskListenerSelector',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
41
src/api/workflow-boot/template.ts
Normal file
41
src/api/workflow-boot/template.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
import createAxios from '@/utils/request'
|
||||
import { WORKFLOW_BOOT } from '@/utils/constantRequest'
|
||||
|
||||
const MAPPING_PATH = WORKFLOW_BOOT + '/flw/templateSn'
|
||||
|
||||
/**
|
||||
* 新增流程
|
||||
*/
|
||||
export const addModel = (data:any) => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/add',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取流水号模板列表选择器
|
||||
*/
|
||||
export const flwTemplateSnSelector = (data:any) => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/flwTemplateSnSelector',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取打印模板列表选择器
|
||||
*/
|
||||
export const flwTemplatePrintSelector = (data:any) => {
|
||||
return createAxios({
|
||||
url: MAPPING_PATH + '/flwTemplatePrintSelector',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user