模型基础信息

This commit is contained in:
2024-05-06 13:57:06 +08:00
parent d7fbf3fe64
commit 917dc4e665
67 changed files with 9894 additions and 1104 deletions

View File

@@ -15,6 +15,16 @@ export const listWFForm = (data: any) => {
})
}
/**
* 查询所有流程表单
*/
export const listAllWFForm = () => {
return createAxios({
url: MAPPING_PATH + '/listAll',
method: 'GET'
})
}
/**
* 根据id查询表单详细信息
*/

View File

@@ -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'
})
}

View File

@@ -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'
})
}

View 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'
})
}

View 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
})
}