diff --git a/src/assets/images/dark_no_flow.png b/src/assets/images/dark_no_flow.png
new file mode 100644
index 0000000000000000000000000000000000000000..dde2b5816a9a0c7cb81166ea8da52b0ca6c776e2
Binary files /dev/null and b/src/assets/images/dark_no_flow.png differ
diff --git a/src/assets/images/light_no_flow.png b/src/assets/images/light_no_flow.png
new file mode 100644
index 0000000000000000000000000000000000000000..efafb14f68f3b835427e9ef9ac93ce5cc7796bbd
Binary files /dev/null and b/src/assets/images/light_no_flow.png differ
diff --git a/src/assets/styles/theme.scss b/src/assets/styles/theme.scss
index 582f07b880bc34d00de5dcfa1199229d48be70dc..69d0ce24a60825a7f92cd41f8dcb2b2d1922180d 100644
--- a/src/assets/styles/theme.scss
+++ b/src/assets/styles/theme.scss
@@ -3,6 +3,7 @@ body[theme='dark'] {
--o-shell-image: url('../../assets/images/dark_shell.png');
--o-sider: url('../../assets/images/dark_sider.png');
--o-sider-hover: url('../../assets/images/dark_sider-hover.png');
+ --no-work-flow: url('../../assets/images/dark_no_flow.png');
--o-button-color: #576372;
--o-button-border-color: #576372;
--o-button-disable-color: #626d7c;
@@ -24,6 +25,7 @@ body[theme='light'] {
--o-shell-image: url('../../assets/images/light_shell.png');
--o-sider: url('../../assets/images/light_sider.png');
--o-sider-hover: url('../../assets/images/light_sider-hover.png');
+ --no-work-flow: url('../../assets/images/light_no_flow.png');
--o-button-color: #c3cedf;
--o-button-border-color: #d3dce9;
--o-button-disable-color: #bfc7d7;
diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue
index e6e3b8d0d3dce78cbbac473f590ced359c7fde3c..4e1276eea0f9b1a6e4a57df93df3860dc82d870c 100644
--- a/src/views/createapp/components/workFlow.vue
+++ b/src/views/createapp/components/workFlow.vue
@@ -38,6 +38,7 @@ const debugDialogVisible = ref(false);
const isNodeAndLineConnect = ref(false);
const apiServiceList = ref([]);
const yamlContent = ref();
+const hasWorkFlow = ref(true);
const emits = defineEmits(['validateConnect']);
const hanleAsideVisible = () => {
if (!copilotAside.value) return;
@@ -482,7 +483,7 @@ defineExpose({
-
-
+
@@ -14,7 +14,7 @@
-
+
@@ -23,10 +23,8 @@
-
-
-
-
-
-
-

-

+
+
+
+
+

+

+
+
+
+
{{ props.data.name }}
+
-
{{ props.data.name }}
diff --git a/src/views/createapp/components/workFlowConfig/workFlowDialog.vue b/src/views/createapp/components/workFlowConfig/workFlowDialog.vue
index 49ad6b42c4f3036dae2c4b2a521e648c8b9b6ce0..a59a5c3b7f05ee96650eb2888fc9c6e53fccf067 100644
--- a/src/views/createapp/components/workFlowConfig/workFlowDialog.vue
+++ b/src/views/createapp/components/workFlowConfig/workFlowDialog.vue
@@ -9,10 +9,10 @@
label-position="left"
>
-
+
-
+
diff --git a/src/views/createapp/index.vue b/src/views/createapp/index.vue
index 7d6c2936aae1dd92dbea28d7e6ee1e556d625238..b76a3ca94706497bf04d51e4dcbbb4c952845ab0 100644
--- a/src/views/createapp/index.vue
+++ b/src/views/createapp/index.vue
@@ -115,8 +115,7 @@ const handleJumperAppCenter = () => {
取消
保存
预览
-
- 发布
+ 发布
@@ -130,13 +129,11 @@ const handleJumperAppCenter = () => {
::-webkit-scrollbar {
width: 3px !important;
height: 3px !important;
- // display: none;
}
/* 滚动条的滑块 */
::-webkit-scrollbar-thumb {
background-color: #c3cedf;
border-radius: 3px;
- // display: none;
}
diff --git a/src/views/styles/createApp.scss b/src/views/styles/createApp.scss
index 8004d8682da1b9d02ce90b3629cd3985a55b0c3f..a1749b21f4a845bcddf694c026af836b66a78cf6 100644
--- a/src/views/styles/createApp.scss
+++ b/src/views/styles/createApp.scss
@@ -337,3 +337,13 @@
.w320 {
width: 320px;
}
+
+.w96 {
+ width: 96px;
+}
+
+.workFlowDesc {
+ .el-textarea__inner {
+ height: 56px;
+ }
+}
diff --git a/src/views/styles/workFlowArrange.scss b/src/views/styles/workFlowArrange.scss
index a6897eafdfb7df188373f0965ef936843d43deef..523f9d64db7ba950dfcfb5ff3bcd70a914142cc0 100644
--- a/src/views/styles/workFlowArrange.scss
+++ b/src/views/styles/workFlowArrange.scss
@@ -135,7 +135,6 @@
.workFlowContainerRight {
position: relative;
.workFlowOps {
- position: absolute;
position: absolute;
left: 24px;
top: 24px;
@@ -161,6 +160,34 @@
}
}
}
+ .noWorkFlow {
+ position: absolute;
+ width: 320px;
+ height: 202px;
+ top: 50%;
+ left: 50%;
+ margin-top: -160px;
+ margin-left: -102px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 0px;
+ .noFlow {
+ height: 130px;
+ width: 100%;
+ background-image: var(--no-work-flow);
+ background-size: 100% 100%;
+ line-height: 130px;
+ }
+ .noFlowDesc {
+ width: 100%;
+ height: 16px;
+ margin-top: 8px;
+ margin-bottom: 16px;
+ text-align: center;
+ color: var(--o-text-color-secondary);
+ }
+ }
}
.addWorkFlow {
display: flex;