update 优化表单绑定逻辑,移除流程定义配置表单,添加模型复制
This commit is contained in:
@ -89,3 +89,16 @@ export const modelDeploy = (id: string): AxiosPromise<void> => {
|
||||
method: 'post'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 复制模型
|
||||
* @param data
|
||||
* @returns {*}
|
||||
*/
|
||||
export const copyModel = (data: ModelForm): AxiosPromise<void> => {
|
||||
return request({
|
||||
url: '/workflow/model/copyModel',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
@ -40,7 +40,6 @@ export interface TaskVO extends BaseEntity {
|
||||
multiInstance?: boolean;
|
||||
businessKey?: string;
|
||||
wfNodeConfigVo?: NodeConfigVO;
|
||||
wfDefinitionConfigVo?: DefinitionConfigVO;
|
||||
}
|
||||
|
||||
export interface VariableVo {
|
||||
|
@ -22,28 +22,8 @@ export default {
|
||||
taskId: routerJumpVo.taskId
|
||||
}
|
||||
});
|
||||
}else if (routerJumpVo.wfDefinitionConfigVo && routerJumpVo.wfDefinitionConfigVo.wfFormManageVo && routerJumpVo.wfDefinitionConfigVo.wfFormManageVo.formType === 'static') {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `${routerJumpVo.wfDefinitionConfigVo.wfFormManageVo.router}`,
|
||||
query: {
|
||||
id: routerJumpVo.businessKey,
|
||||
type: routerJumpVo.type,
|
||||
taskId: routerJumpVo.taskId
|
||||
}
|
||||
});
|
||||
}else if (routerJumpVo.wfDefinitionConfigVo && routerJumpVo.wfDefinitionConfigVo.wfFormManageVo && routerJumpVo.wfDefinitionConfigVo.wfFormManageVo.formType === 'dynamic') {
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `${routerJumpVo.wfDefinitionConfigVo.wfFormManageVo.router}`,
|
||||
query: {
|
||||
id: routerJumpVo.businessKey,
|
||||
type: routerJumpVo.type,
|
||||
taskId: routerJumpVo.taskId
|
||||
}
|
||||
});
|
||||
} else {
|
||||
proxy?.$modal.msgError('请到流程定义菜单配置路由!');
|
||||
}else {
|
||||
proxy?.$modal.msgError('请到模型配置菜单!');
|
||||
}
|
||||
}
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
import { NodeConfigVO } from '@/api/workflow/nodeConfig/types';
|
||||
import { DefinitionConfigVO } from '@/api/workflow/definitionConfig/types';
|
||||
|
||||
export interface RouterJumpVo {
|
||||
wfDefinitionConfigVo: DefinitionConfigVO;
|
||||
wfNodeConfigVo: NodeConfigVO;
|
||||
businessKey: string;
|
||||
taskId: string;
|
||||
|
Reference in New Issue
Block a user