diff --git a/src/assets/images/debugBtn.png b/src/assets/images/debugBtn.png new file mode 100644 index 0000000000000000000000000000000000000000..cd9e7e5e8578dc8370129bbf7d57f92f9df21e19 Binary files /dev/null and b/src/assets/images/debugBtn.png differ diff --git a/src/assets/images/debugBtnDis.png b/src/assets/images/debugBtnDis.png new file mode 100644 index 0000000000000000000000000000000000000000..b92a4232f10a32a0e6c0af1c9f9b10ad5b80c595 Binary files /dev/null and b/src/assets/images/debugBtnDis.png differ diff --git a/src/views/createapp/components/CustomControl.vue b/src/views/createapp/components/CustomControl.vue index 5d4b54629417d9c63c7e89d0613c410548d756f9..adb8d13dd5a9bd5d0577492073552b62908edd3c 100644 --- a/src/views/createapp/components/CustomControl.vue +++ b/src/views/createapp/components/CustomControl.vue @@ -2,7 +2,7 @@
- {{ `${zommChangeValue * 100}%` }} + {{ `${Number((zommChangeValue * 100).toFixed(0))}%` }}
@@ -47,7 +47,7 @@ const props = withDefaults(defineProps(), {}); const zommChangeValue = ref(1); const dropDownVisible = ref(false); const handleSacl = zoomValue => { - zommChangeValue.value = zoomValue; + zommChangeValue.value = Number(zoomValue.toFixed(0)); props.handleChangeZoom(zoomValue); }; const handleVisibleChange = visible => { diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue index 2429054743d247ba6fb3b029b0f229a9d587de54..82c2749338b9c44a07ddc023a74c324a448ce1ba 100644 --- a/src/views/createapp/components/workFlow.vue +++ b/src/views/createapp/components/workFlow.vue @@ -1,6 +1,6 @@ - diff --git a/src/views/createapp/components/workFlowConfig/CustomSaENode.vue b/src/views/createapp/components/workFlowConfig/CustomSaENode.vue index 8195ea145636fac5a8ec0b3a5de3e380312aba7e..dde63133422ad667d7a12343e1d92755247d20ad 100644 --- a/src/views/createapp/components/workFlowConfig/CustomSaENode.vue +++ b/src/views/createapp/components/workFlowConfig/CustomSaENode.vue @@ -57,6 +57,7 @@ watch( .vue-flow__node { min-width: unset !important; padding: 0; + margin-top: -4px; .nodeSaEBorderBox { div { text-align: center; @@ -84,6 +85,10 @@ watch( } } +.vue-flow__node:has(.default){ + margin-top: 0px; +} + .nodeSaEBorder { width: 56px; height: 56px; diff --git a/src/views/createapp/components/workFlowConfig/useLayout.js b/src/views/createapp/components/workFlowConfig/useLayout.js index 1dd933ac0d73c746995c96fa9f3346ace6f44e19..9827bf7391b0652734a09b40731871abe11111e6 100644 --- a/src/views/createapp/components/workFlowConfig/useLayout.js +++ b/src/views/createapp/components/workFlowConfig/useLayout.js @@ -48,7 +48,11 @@ export function useLayout() { // set nodes with updated positions return nodes.map(node => { const nodeWithPosition = dagreGraph.node(node.id); - + console.log(nodeWithPosition,'nodeWithPosition',node); + let position = { x: nodeWithPosition.x, y: nodeWithPosition.y } + if(['1','2'].includes(node.id)){ + + } return { ...node, targetPosition: isHorizontal ? Position.Left : Position.Top, diff --git a/src/views/createapp/components/workFlowDebug.vue b/src/views/createapp/components/workFlowDebug.vue new file mode 100644 index 0000000000000000000000000000000000000000..086b837902c2163237a3fdf59e0fa19126258e65 --- /dev/null +++ b/src/views/createapp/components/workFlowDebug.vue @@ -0,0 +1,36 @@ + + diff --git a/src/views/createapp/index.vue b/src/views/createapp/index.vue index 081d7a05a91723da11baae73d66f49009fc3d909..8d4207958c52ed0d8fa218e284fbda8d75dd884b 100644 --- a/src/views/createapp/index.vue +++ b/src/views/createapp/index.vue @@ -1,5 +1,5 @@