fix 修复代码缩进,类型名称错误
This commit is contained in:
@ -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<DefinitionConfigVO> => {
|
||||
return request({
|
||||
@ -40,9 +39,9 @@ export const deldefinitionConfig = (id: string | number | Array<string | number>
|
||||
/**
|
||||
* 查询流程定义配置排除当前查询的流程定义
|
||||
* @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'
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user