update:流程界面更新
This commit is contained in:
@@ -243,19 +243,19 @@ const formatNodeAndEdge = (edgeArr: any[], nodeArr: any[]) => {
|
||||
formatItem['extensionElements']['executeConfig'].executeType = 'exportWordScript';
|
||||
}
|
||||
|
||||
formatItem.type = formatItem['extensionElements']['executeConfig'].type;
|
||||
// if (node.nodeTypeValue === FLOW_APP_TYPE.HPC) {
|
||||
// // HPC节点异步回调为true
|
||||
// // formatItem.asyncCallback = true;
|
||||
// // formatItem.waitUser = node.exeMethod === 'serviceTask';
|
||||
// // HPC节点type为serviceTask
|
||||
// formatItem.type = 'serviceTask';
|
||||
// } else {
|
||||
// // 非HPC节点异步回调为false
|
||||
// // formatItem.asyncCallback = false;
|
||||
// // 非HPC节点type为userTask
|
||||
// formatItem.type = 'userTask';
|
||||
// }
|
||||
// formatItem.type = formatItem['extensionElements']['executeConfig'].type;
|
||||
if (node.nodeTypeValue === FLOW_APP_TYPE.HPC) {
|
||||
// HPC节点异步回调为true
|
||||
// formatItem.asyncCallback = true;
|
||||
// formatItem.waitUser = node.exeMethod === 'serviceTask';
|
||||
// HPC节点type为serviceTask
|
||||
formatItem.type = 'serviceTask';
|
||||
} else {
|
||||
// 非HPC节点异步回调为false
|
||||
// formatItem.asyncCallback = false;
|
||||
// 非HPC节点type为userTask
|
||||
formatItem.type = 'userTask';
|
||||
}
|
||||
|
||||
if (node.nodeTypeValue === FLOW_APP_TYPE.SCRIPT_NODE) {
|
||||
formatItem.type = 'serviceTask';
|
||||
|
||||
@@ -531,7 +531,6 @@ export const selectComponents = [
|
||||
// },
|
||||
{
|
||||
label: '上传',
|
||||
|
||||
englishLabel: null,
|
||||
tag: 'el-upload',
|
||||
tagIcon: 'upload',
|
||||
@@ -597,11 +596,12 @@ export const selectComponents = [
|
||||
];
|
||||
export const layoutComponents = [
|
||||
{
|
||||
layout: 'rowFormItem',
|
||||
englishLabel: null,
|
||||
tag: 'el-input',
|
||||
|
||||
tagIcon: 'row',
|
||||
type: 'default',
|
||||
tagType: 'VIEW',
|
||||
tagType: 'INPUT',
|
||||
justify: 'start',
|
||||
align: 'top',
|
||||
label: '行容器',
|
||||
|
||||
@@ -165,6 +165,7 @@ const initGraph = async () => {
|
||||
autoResize: true,
|
||||
// 画布的最小最大缩放级别
|
||||
scaling: { min: 0.5, max: 3 },
|
||||
mousewheel: true,
|
||||
// grid: true,
|
||||
// width: 800,
|
||||
// height: 800,
|
||||
|
||||
Reference in New Issue
Block a user