diff --git a/automation/web/src/views/workflow/addWorkflow.vue b/automation/web/src/views/workflow/addWorkflow.vue index 34dd8fcdeb4a65b01cd7d1a81fb415df3eb0a781..7d8c649d43724a6dbd73226dbd5b9c0aa7ee7e7f 100644 --- a/automation/web/src/views/workflow/addWorkflow.vue +++ b/automation/web/src/views/workflow/addWorkflow.vue @@ -71,7 +71,9 @@ {{ i.value }} - + + + +添加基本参数 + {{ i.value }} - + + + + 添加输出参数 + + @@ -100,6 +105,7 @@ :edit-data="editData" > + @@ -110,6 +116,7 @@ import { useRouter } from 'vue-router'; import { CirclePlus } from '@element-plus/icons-vue'; import { tagList } from '@/api/tag'; import AddInParam from './form/AddInParam.vue'; +import AddOutParam from './form/AddOutParam.vue'; const AddTag = defineAsyncComponent(() => import('@/views/scriptLibrary/form/addTag.vue')); const router = useRouter(); @@ -182,7 +189,11 @@ const addInParam = () => { }; // 新建编排出参 -const addOutParam = () => {}; +const addOutParam = () => { + dialogTitle.value = '新建参数'; + dialogVisible.value = true; + rwType.value = 'add_in_param'; +}; // 关闭弹窗 const handleCloseDialog = () => { dialogVisible.value = false; diff --git a/automation/web/src/views/workflow/form/AddOutParam.vue b/automation/web/src/views/workflow/form/AddOutParam.vue new file mode 100644 index 0000000000000000000000000000000000000000..830edd0eed36e79c0c9da6993fd3f155fca7c493 --- /dev/null +++ b/automation/web/src/views/workflow/form/AddOutParam.vue @@ -0,0 +1,111 @@ + + +