|
@@ -81,12 +81,12 @@
|
|
|
@node-drag-start="nodeDragStart"
|
|
|
>
|
|
|
<MiniMap style="background-color: grey" v-show="!printStauts" />
|
|
|
- <template #edge-custom="props">
|
|
|
- <CustomConnectionLine v-bind="props" />
|
|
|
- </template>
|
|
|
- <template #connection-line="props">
|
|
|
- <CustomConnectionLine v-bind="props" />
|
|
|
- </template>
|
|
|
+ <!-- <template #edge-custom="props">-->
|
|
|
+ <!-- <CustomConnectionLine v-bind="props" />-->
|
|
|
+ <!-- </template>-->
|
|
|
+ <!-- <template #connection-line="props">-->
|
|
|
+ <!-- <CustomConnectionLine v-bind="props" />-->
|
|
|
+ <!-- </template>-->
|
|
|
<template #node-custom="props">
|
|
|
<CustomNode v-bind="props" />
|
|
|
</template>
|
|
@@ -344,6 +344,7 @@ const { onDragOver, onDrop, onDragLeave, isDragOver, onDragStart } =
|
|
|
// onConnect(addEdges);
|
|
|
const onConnectMethod = (edge) => {
|
|
|
edge.type = "custom";
|
|
|
+ edge.markerEnd = "arrowclosed";
|
|
|
addEdges(edge);
|
|
|
};
|
|
|
|
|
@@ -503,8 +504,6 @@ const errArray = ref([]);
|
|
|
provide("errArray", errArray);
|
|
|
// 保存中间的工序列表
|
|
|
const saveFlow = async () => {
|
|
|
- console.log("saveFlow", flowData);
|
|
|
- return;
|
|
|
const { code, msg } = await saveProcessInRoute({
|
|
|
processRouteId: route.fullPath.split("/")[4],
|
|
|
routeData: JSON.stringify({ ...flowData }),
|