diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09264724641d0221f050492062058564f56be17c..45498648667e1bdcae4d9737397a274bc6c9ae67 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,14 +27,20 @@ importers: specifier: ^6.1.2 version: 6.1.2 '@computing/opendesign-icons': - specifier: file:lib\opendesign-icons-1.0.3.tgz - version: file:lib/opendesign-icons-1.0.3.tgz + specifier: file:lib\opendesign-icons-1.0.5.tgz + version: file:lib/opendesign-icons-1.0.5.tgz '@computing/opendesign2': - specifier: file:lib\opendesign2-2.0.11.tgz - version: file:lib/opendesign2-2.0.11.tgz(element-plus@2.8.0(vue@3.3.4)) + specifier: file:lib\opendesign2-2.0.23.tgz + version: file:lib/opendesign2-2.0.23.tgz(element-plus@2.9.8(vue@3.3.4)) '@dagrejs/dagre': specifier: 1.1.2 version: 1.1.2 + '@element-plus/icons-vue': + specifier: ^2.3.1 + version: 2.3.1(vue@3.3.4) + '@microsoft/fetch-event-source': + specifier: ^2.0.1 + version: 2.0.1 axios: specifier: 1.7.9 version: 1.7.9 @@ -51,8 +57,8 @@ importers: specifier: ^5.5.1 version: 5.5.1 element-plus: - specifier: 2.8.0 - version: 2.8.0(vue@3.3.4) + specifier: ^2.8.3 + version: 2.9.8(vue@3.3.4) highlight.js: specifier: 11.10.0 version: 11.10.0 @@ -62,6 +68,12 @@ importers: marked: specifier: '4.3' version: 4.3.0 + monaco-editor: + specifier: ^0.52.2 + version: 0.52.2 + monaco-yaml: + specifier: ^5.3.1 + version: 5.3.1(monaco-editor@0.52.2) pinia: specifier: 2.1.6 version: 2.1.6(typescript@4.9.5)(vue@3.3.4) @@ -92,15 +104,6 @@ importers: xss: specifier: 1.0.14 version: 1.0.14 - xterm: - specifier: 4.17.0 - version: 4.17.0 - xterm-addon-attach: - specifier: 0.5.0 - version: 0.5.0(xterm@4.17.0) - xterm-addon-fit: - specifier: 0.6.0 - version: 0.6.0(xterm@4.17.0) devDependencies: '@eslint/js': specifier: 9.16.0 @@ -709,15 +712,15 @@ packages: '@codemirror/view@6.35.2': resolution: {integrity: sha512-u04R04XFCYCNaHoNRr37WUUAfnxKPwPdqV+370NiO6i85qB1J/qCD/WbbMJsyJfRWhXIJXAe2BG/oTzAggqv4A==} - '@computing/opendesign-icons@file:lib/opendesign-icons-1.0.3.tgz': - resolution: {integrity: sha512-fPc0ktjXFcDg2SODP8DIJaa0fHqsTXeR7FdmddaazPSVLE86f6vI7S0y0AucCj7r6EET+Vv4UpMzxmcweP6Asw==, tarball: file:lib/opendesign-icons-1.0.3.tgz} - version: 1.0.3 + '@computing/opendesign-icons@file:lib/opendesign-icons-1.0.5.tgz': + resolution: {integrity: sha512-rLm+KRWNgTAIyiPpw+PEHzlAvLfFjWcU/z1bYQtA4oOSUANYF1ZPcil3jK9qTLI/HJNvvSJ/U+21F0f+yGEzAg==, tarball: file:lib/opendesign-icons-1.0.5.tgz} + version: 1.0.5 - '@computing/opendesign2@file:lib/opendesign2-2.0.11.tgz': - resolution: {integrity: sha512-/VMvfeygSenedb7zHH3SvUgQqH5RgC1w9p0/XkDVRVYSge4Nv9PkwTxdf/HHlqs8LeH1WQwKNRJWU9/+n4vaTw==, tarball: file:lib/opendesign2-2.0.11.tgz} - version: 2.0.11 + '@computing/opendesign2@file:lib/opendesign2-2.0.23.tgz': + resolution: {integrity: sha512-lkI3Rc5B+LvPU+2nGf4Nw6vcMpnTGlSX/1NcCD7gaN3Hp2bczIRIgrPXt9uhQRU0rhq3/BqCR9D9FiDYZ5n32Q==, tarball: file:lib/opendesign2-2.0.23.tgz} + version: 2.0.23 peerDependencies: - element-plus: '>=2.2.34' + element-plus: '>=2.6.0' '@ctrl/tinycolor@3.6.1': resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} @@ -984,6 +987,9 @@ packages: '@lezer/yaml@1.0.3': resolution: {integrity: sha512-GuBLekbw9jDBDhGur82nuwkxKQ+a3W5H0GfaAthDXcAu+XdpS43VlnxA9E9hllkpSP5ellRDKjLLj7Lu9Wr6xA==} + '@microsoft/fetch-event-source@2.0.1': + resolution: {integrity: sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==} + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1030,51 +1036,61 @@ packages: resolution: {integrity: sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.28.1': resolution: {integrity: sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.28.1': resolution: {integrity: sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.28.1': resolution: {integrity: sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loongarch64-gnu@4.28.1': resolution: {integrity: sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': resolution: {integrity: sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.28.1': resolution: {integrity: sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.28.1': resolution: {integrity: sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.28.1': resolution: {integrity: sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.28.1': resolution: {integrity: sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.28.1': resolution: {integrity: sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==} @@ -1550,6 +1566,9 @@ packages: resolution: {integrity: sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==} engines: {node: '>=12'} + dayjs@1.11.13: + resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} + dayjs@1.11.9: resolution: {integrity: sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==} @@ -1588,8 +1607,8 @@ packages: electron-to-chromium@1.5.71: resolution: {integrity: sha512-dB68l59BI75W1BUGVTAEJy45CEVuEGy9qPVVQ8pnHyHMn36PLPPoE1mjLH+lo9rKulO3HC2OhbACI/8tCqJBcA==} - element-plus@2.8.0: - resolution: {integrity: sha512-7ngapVlVlQAjocVqD4MUKvKXlBneT9DSDk2mmBOSLRFWNm/HLDT15ozmsvUBfy18sajnyUeSIHTtINE8gfrGMg==} + element-plus@2.9.8: + resolution: {integrity: sha512-srViUaUdfblBKGMeuEPiXxxKlH5aUmKqEwmhb/At9Sj91DbU6od/jYN1955cTnzt3wTSA7GfnZF7UiRX9sdRHg==} peerDependencies: vue: ^3.2.0 @@ -1891,6 +1910,9 @@ packages: engines: {node: '>=6'} hasBin: true + jsonc-parser@3.3.1: + resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} + keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} @@ -1972,6 +1994,28 @@ packages: mitt@3.0.1: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} + monaco-editor@0.52.2: + resolution: {integrity: sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==} + + monaco-languageserver-types@0.4.0: + resolution: {integrity: sha512-QQ3BZiU5LYkJElGncSNb5AKoJ/LCs6YBMCJMAz9EA7v+JaOdn3kx2cXpPTcZfKA5AEsR0vc97sAw+5mdNhVBmw==} + + monaco-marker-data-provider@1.2.4: + resolution: {integrity: sha512-4DsPgsAqpTyUDs3humXRBPUJoihTv+L6v9aupQWD80X2YXaCXUd11mWYeSCYHuPgdUmjFaNWCEOjQ6ewf/QA1Q==} + + monaco-types@0.1.0: + resolution: {integrity: sha512-aWK7SN9hAqNYi0WosPoMjenMeXJjwCxDibOqWffyQ/qXdzB/86xshGQobRferfmNz7BSNQ8GB0MD0oby9/5fTQ==} + + monaco-worker-manager@2.0.1: + resolution: {integrity: sha512-kdPL0yvg5qjhKPNVjJoym331PY/5JC11aPJXtCZNwWRvBr6jhkIamvYAyiY5P1AWFmNOy0aRDRoMdZfa71h8kg==} + peerDependencies: + monaco-editor: '>=0.30.0' + + monaco-yaml@5.3.1: + resolution: {integrity: sha512-1MN8i1Tnc8d8RugQGqv5jp+Ce2xtNhrnbm0ZZbe5ceExj9C2PkKZfHJhY9kbdUS4G7xSVwKlVdMTmLlStepOtw==} + peerDependencies: + monaco-editor: '>=0.36' + ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} @@ -2032,6 +2076,9 @@ packages: parse5@7.1.2: resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -2365,6 +2412,22 @@ packages: terser: optional: true + vscode-jsonrpc@8.2.0: + resolution: {integrity: sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==} + engines: {node: '>=14.0.0'} + + vscode-languageserver-protocol@3.17.5: + resolution: {integrity: sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==} + + vscode-languageserver-textdocument@1.0.12: + resolution: {integrity: sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==} + + vscode-languageserver-types@3.17.5: + resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} + + vscode-uri@3.1.0: + resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==} + vue-codemirror@6.1.1: resolution: {integrity: sha512-rTAYo44owd282yVxKtJtnOi7ERAcXTeviwoPXjIc6K/IQYUsoDkzPvw/JDFtSP6T7Cz/2g3EHaEyeyaQCKoDMg==} peerDependencies: @@ -2470,25 +2533,14 @@ packages: engines: {node: '>= 0.10.0'} hasBin: true - xterm-addon-attach@0.5.0: - resolution: {integrity: sha512-L6ThPjF/fVt+gJS2+2h2rEEAXNxIRmCU8/RCM6rYR08K9GtPiHmYcnpRT7WNJf31yFLpWVA8dKcItfP3C0ZKlA==} - deprecated: This package is now deprecated. Move to @xterm/addon-attach instead. - peerDependencies: - xterm: ^4.0.0 - - xterm-addon-fit@0.6.0: - resolution: {integrity: sha512-9/7A+1KEjkFam0yxTaHfuk9LEvvTSBi0PZmEkzJqgafXPEXL9pCMAVV7rB09sX6ATRDXAdBpQhZkhKj7CGvYeg==} - deprecated: This package is now deprecated. Move to @xterm/addon-fit instead. - peerDependencies: - xterm: ^5.0.0 - - xterm@4.17.0: - resolution: {integrity: sha512-WGXlIHvLvZKtwMdFaL6kUwp+c9abd2Pcakp/GmuefBuOtGCu9fP9tBDPKyL/A17N+5tt44EYk3YsBbvkPBubMw==} - deprecated: This package is now deprecated. Move to @xterm/xterm instead. - yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yaml@2.7.1: + resolution: {integrity: sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==} + engines: {node: '>= 14'} + hasBin: true + yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -3239,11 +3291,11 @@ snapshots: style-mod: 4.1.2 w3c-keyname: 2.2.8 - '@computing/opendesign-icons@file:lib/opendesign-icons-1.0.3.tgz': {} + '@computing/opendesign-icons@file:lib/opendesign-icons-1.0.5.tgz': {} - '@computing/opendesign2@file:lib/opendesign2-2.0.11.tgz(element-plus@2.8.0(vue@3.3.4))': + '@computing/opendesign2@file:lib/opendesign2-2.0.23.tgz(element-plus@2.9.8(vue@3.3.4))': dependencies: - element-plus: 2.8.0(vue@3.3.4) + element-plus: 2.9.8(vue@3.3.4) '@ctrl/tinycolor@3.6.1': {} @@ -3447,6 +3499,8 @@ snapshots: '@lezer/highlight': 1.2.1 '@lezer/lr': 1.4.2 + '@microsoft/fetch-event-source@2.0.1': {} + '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -4107,6 +4161,8 @@ snapshots: d3-selection: 3.0.0 d3-transition: 3.0.1(d3-selection@3.0.0) + dayjs@1.11.13: {} + dayjs@1.11.9: {} debug@4.3.6: @@ -4142,7 +4198,7 @@ snapshots: electron-to-chromium@1.5.71: {} - element-plus@2.8.0(vue@3.3.4): + element-plus@2.9.8(vue@3.3.4): dependencies: '@ctrl/tinycolor': 3.6.1 '@element-plus/icons-vue': 2.3.1(vue@3.3.4) @@ -4152,7 +4208,7 @@ snapshots: '@types/lodash-es': 4.17.12 '@vueuse/core': 9.13.0(vue@3.3.4) async-validator: 4.2.5 - dayjs: 1.11.9 + dayjs: 1.11.13 escape-html: 1.0.3 lodash: 4.17.21 lodash-es: 4.17.21 @@ -4474,6 +4530,8 @@ snapshots: json5@2.2.3: {} + jsonc-parser@3.3.1: {} + keyv@4.5.4: dependencies: json-buffer: 3.0.1 @@ -4544,6 +4602,39 @@ snapshots: mitt@3.0.1: {} + monaco-editor@0.52.2: {} + + monaco-languageserver-types@0.4.0: + dependencies: + monaco-types: 0.1.0 + vscode-languageserver-protocol: 3.17.5 + vscode-uri: 3.1.0 + + monaco-marker-data-provider@1.2.4: + dependencies: + monaco-types: 0.1.0 + + monaco-types@0.1.0: {} + + monaco-worker-manager@2.0.1(monaco-editor@0.52.2): + dependencies: + monaco-editor: 0.52.2 + + monaco-yaml@5.3.1(monaco-editor@0.52.2): + dependencies: + jsonc-parser: 3.3.1 + monaco-editor: 0.52.2 + monaco-languageserver-types: 0.4.0 + monaco-marker-data-provider: 1.2.4 + monaco-types: 0.1.0 + monaco-worker-manager: 2.0.1(monaco-editor@0.52.2) + path-browserify: 1.0.1 + prettier: 3.4.2 + vscode-languageserver-textdocument: 1.0.12 + vscode-languageserver-types: 3.17.5 + vscode-uri: 3.1.0 + yaml: 2.7.1 + ms@2.1.2: {} nanoid@3.3.7: {} @@ -4604,6 +4695,8 @@ snapshots: dependencies: entities: 4.5.0 + path-browserify@1.0.1: {} + path-exists@4.0.0: {} path-exists@5.0.0: {} @@ -4882,6 +4975,19 @@ snapshots: sass: 1.62.0 terser: 5.37.0 + vscode-jsonrpc@8.2.0: {} + + vscode-languageserver-protocol@3.17.5: + dependencies: + vscode-jsonrpc: 8.2.0 + vscode-languageserver-types: 3.17.5 + + vscode-languageserver-textdocument@1.0.12: {} + + vscode-languageserver-types@3.17.5: {} + + vscode-uri@3.1.0: {} + vue-codemirror@6.1.1(codemirror@6.0.1(@lezer/common@1.2.3))(vue@3.3.4): dependencies: '@codemirror/commands': 6.7.1 @@ -5000,18 +5106,10 @@ snapshots: commander: 2.20.3 cssfilter: 0.0.10 - xterm-addon-attach@0.5.0(xterm@4.17.0): - dependencies: - xterm: 4.17.0 - - xterm-addon-fit@0.6.0(xterm@4.17.0): - dependencies: - xterm: 4.17.0 - - xterm@4.17.0: {} - yallist@3.1.1: {} + yaml@2.7.1: {} + yocto-queue@0.1.0: {} yocto-queue@1.1.1: {} diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue index 51c9663e760119c5c376834cbf5e0d8ea647a4f3..fc9144b63628b9f503177c49e270b43dfec79c8c 100644 --- a/src/views/createapp/components/workFlow.vue +++ b/src/views/createapp/components/workFlow.vue @@ -35,6 +35,7 @@ import { import yaml from 'js-yaml'; import $bus from 'src/bus/index'; import CustomLoading from '../../customLoading/index.vue'; +import EditFlowName from './workFlowConfig/editFlowName.vue'; const { t } = useI18n(); const copilotAside = ref(); @@ -44,6 +45,8 @@ const activeNames = ref([]); const activeName = ref(); const workFlowItemName = ref(); const isAddWorkFlow = ref(false); +const isEditFlowName = ref(false); +const editFlowNameId = ref(); const editData = ref(); const dialogType = ref(''); const isEditYaml = ref(false); @@ -158,7 +161,15 @@ const addWorkFlow = () => { isAddWorkFlow.value = true; }; // 关闭工作流弹出 -const handleClose = () => { +const handleClose = (flowId?: string) => { + if(isEditFlowName.value){ + api.querySingleAppData({ id: route.query.appId }).then((res) => { + //workflowList 数据更新 + workFlowList.value = res[1]?.result.workflows; + choiceFlowId(workFlowList.value.find(item => item.id === flowId)); + }) + } + isEditFlowName.value = false; isAddWorkFlow.value = false; }; // 删除节点 @@ -378,6 +389,11 @@ const queryFlow = (deal: string) => { }); } }; +const openEditFlowDialog = (item) => { + editFlowNameId.value = item.id; + editFlow(item); + isEditFlowName.value = true; +} // 点击编辑工作流--查询当前工作流数据-后续添加回显 const editFlow = (item) => { loading.value = true; @@ -895,7 +911,7 @@ defineExpose({ @click="choiceFlowId(item)" >
{{ item.name }}
- +
+ + diff --git a/src/views/customLoading/index.vue b/src/views/customLoading/index.vue index 418ea2836d87a4d786a2dccbc418418bfa78d2e1..82c6c8ec588c8e9bbef868bb729936c89ccadf4f 100644 --- a/src/views/customLoading/index.vue +++ b/src/views/customLoading/index.vue @@ -22,7 +22,7 @@ const props = defineProps({ right: 0; top: 0; bottom: 0; - z-index: 9999; + z-index: 99; } .loadingNone { display: none;