diff --git a/src/components/flow/flowFileUpload.vue b/src/components/flow/flowFileUpload.vue index cb0aa258..12c4103b 100644 --- a/src/components/flow/flowFileUpload.vue +++ b/src/components/flow/flowFileUpload.vue @@ -79,7 +79,7 @@ const emits = defineEmits(['update']); const visible = ref(false); const fileList = ref([]); const rowInfo = ref({}); -const uploalLocal = ref('local'); +const uploalLocal = ref('online'); const uploadRef = ref(); const selectOnlineFileFun = () => { diff --git a/src/views/task/execution/components/leftTaskTree/index.vue b/src/views/task/execution/components/leftTaskTree/index.vue index 8759e197..f0f58304 100644 --- a/src/views/task/execution/components/leftTaskTree/index.vue +++ b/src/views/task/execution/components/leftTaskTree/index.vue @@ -609,7 +609,8 @@ const createRunFun = async (data: any) => { // info.id = new Date().getTime(); ElMessage.success('创建成功'); if (flag != 'createRun') { - taskTreeRef.value.insertAfter(runInfo, rightClickNode.value); + // taskTreeRef.value.insertAfter(runInfo, rightClickNode.value); + taskTreeRef.value.append(runInfo, rightClickNode.value); } else { taskTreeRef.value.append(runInfo, rightClickNode.value); } diff --git a/src/views/task/execution/components/leftTaskTree/operateComponent/createRunDiv.vue b/src/views/task/execution/components/leftTaskTree/operateComponent/createRunDiv.vue index b5bf486c..c9b7da96 100644 --- a/src/views/task/execution/components/leftTaskTree/operateComponent/createRunDiv.vue +++ b/src/views/task/execution/components/leftTaskTree/operateComponent/createRunDiv.vue @@ -79,7 +79,7 @@ @@ -138,6 +138,7 @@ const handleCloseFun = () => { emits('close'); }; +const disabled = ref(false); // 确认事件 const createSuccessFun = () => { if (!runInfoFormData.templateName) { @@ -147,6 +148,8 @@ const createSuccessFun = () => { return; } + ElMessage.success('算例对应文件夹创建中!'); + disabled.value = true; if (operateType.value != 'editRun') { emits('comfirm', { info: runInfoFormData, @@ -310,6 +313,8 @@ watch( // 获取任务下所有的算例信息 onMounted(async () => { + disabled.value = false; + // runInfoFormData.templateName = props.divInfo.flowTemplate; }); diff --git a/src/views/task/execution/components/runDetailPage/index.vue b/src/views/task/execution/components/runDetailPage/index.vue index e27b5a83..937a4f09 100644 --- a/src/views/task/execution/components/runDetailPage/index.vue +++ b/src/views/task/execution/components/runDetailPage/index.vue @@ -227,7 +227,7 @@
启动 {