diff --git a/src/api/workflow/definitionConfig/index.ts b/src/api/workflow/definitionConfig/index.ts index 99e95d0..d34bf05 100644 --- a/src/api/workflow/definitionConfig/index.ts +++ b/src/api/workflow/definitionConfig/index.ts @@ -2,10 +2,9 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; import { DefinitionConfigVO, DefinitionConfigForm } from '@/api/workflow/definitionConfig/types'; - /** * 查询表单配置详细 - * @param id + * @param definitionId */ export const getByDefId = (definitionId: string | number): AxiosPromise => { return request({ @@ -40,9 +39,9 @@ export const deldefinitionConfig = (id: string | number | Array /** * 查询流程定义配置排除当前查询的流程定义 * @param tableName - * @param tableName + * @param definitionId */ -export const getByTableNameNotDefId = (tableName: string,definitionId: string ) => { +export const getByTableNameNotDefId = (tableName: string, definitionId: string | number) => { return request({ url: `/workflow/definitionConfig/getByTableNameNotDefId/${tableName}/${definitionId}`, method: 'get' diff --git a/src/api/workflow/definitionConfig/types.ts b/src/api/workflow/definitionConfig/types.ts index e3c93d3..0849fc2 100644 --- a/src/api/workflow/definitionConfig/types.ts +++ b/src/api/workflow/definitionConfig/types.ts @@ -35,7 +35,6 @@ export interface DefinitionConfigVO { * 表单管理 */ wfFormManageVo: FormManageVO; - } export interface DefinitionConfigForm extends BaseEntity { @@ -73,12 +72,9 @@ export interface DefinitionConfigForm extends BaseEntity { * 表单管理 */ wfFormManageVo: FormManageVO; - - } export interface DefinitionConfigQuery extends PageQuery { - /** * 表名 */ @@ -103,8 +99,4 @@ export interface DefinitionConfigQuery extends PageQuery { * 表单管理 */ wfFormManageVo: FormManageVO; - } - - - diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index 52e15a8..14de958 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -38,23 +38,20 @@ - -
- - 删除 - 部署流程文件 - -
-
- + @@ -80,10 +77,10 @@ - @@ -222,19 +221,25 @@ - + - + - + - + - +