update 调整流程定义配置逻辑

This commit is contained in:
gssong
2024-04-06 21:06:59 +08:00
parent 9f73ea2d32
commit b4b0eba228
7 changed files with 183 additions and 63 deletions

View File

@ -36,3 +36,15 @@ export const deldefinitionConfig = (id: string | number | Array<string | number>
method: 'delete'
});
};
/**
* 查询流程定义配置排除当前查询的流程定义
* @param tableName
* @param tableName
*/
export const getByTableNameNotDefId = (tableName: string,definitionId: string ) => {
return request({
url: `/workflow/definitionConfig/getByTableNameNotDefId/${tableName}/${definitionId}`,
method: 'get'
});
};

View File

@ -7,9 +7,9 @@ export interface DefinitionConfigVO {
id: string | number;
/**
* 表单ID
* 表
*/
formId?: string | number;
tableName?: string;
/**
* 流程定义ID
@ -21,6 +21,11 @@ export interface DefinitionConfigVO {
*/
processKey: string;
/**
* 流程版本
*/
version?: string | number;
/**
* 备注
*/
@ -40,9 +45,9 @@ export interface DefinitionConfigForm extends BaseEntity {
id?: string | number;
/**
* 表单ID
* 表
*/
formId?: string | number;
tableName?: string;
/**
* 流程定义ID
@ -54,6 +59,11 @@ export interface DefinitionConfigForm extends BaseEntity {
*/
processKey?: string;
/**
* 流程版本
*/
version?: string | number;
/**
* 备注
*/
@ -70,9 +80,9 @@ export interface DefinitionConfigForm extends BaseEntity {
export interface DefinitionConfigQuery extends PageQuery {
/**
* 表单ID
* 表
*/
formId?: string | number;
tableName?: string;
/**
* 流程定义ID
@ -84,6 +94,11 @@ export interface DefinitionConfigQuery extends PageQuery {
*/
processKey?: string;
/**
* 流程版本
*/
version?: string | number;
/**
* 表单管理
*/

View File

@ -1,3 +1,4 @@
import { DefinitionConfigVO } from '@/api/workflow/definitionConfig/types';
export interface ProcessDefinitionQuery extends PageQuery {
key?: string;
name?: string;
@ -14,6 +15,7 @@ export interface ProcessDefinitionVO extends BaseEntity {
diagramResourceName: string;
deploymentId: string;
deploymentTime: string;
wfDefinitionConfigVo: DefinitionConfigVO;
}
export interface definitionXmlVO {

View File

@ -5,4 +5,10 @@ export interface RouterJumpVo {
businessKey: string;
taskId: string;
type: string;
}
export interface StartProcessBo {
businessKey: string | number;
tableName: string;
variables: any;
}