diff --git a/src/views/flow/components/ServiceFlowSubForm.vue b/src/views/flow/components/ServiceFlowSubForm.vue index 8bf9188..ee61635 100644 --- a/src/views/flow/components/ServiceFlowSubForm.vue +++ b/src/views/flow/components/ServiceFlowSubForm.vue @@ -111,7 +111,6 @@ const disabled = computed(() => { */ function add(record_) { baseInfo.value = record_ - console.log("🌊 ~ add ~ baseInfo.value:", baseInfo.value) edit({ mainId: record_.mainId }); } diff --git a/src/views/flow/components/ServiceFlowSubList.vue b/src/views/flow/components/ServiceFlowSubList.vue index 9be7ba2..d162276 100644 --- a/src/views/flow/components/ServiceFlowSubList.vue +++ b/src/views/flow/components/ServiceFlowSubList.vue @@ -160,6 +160,7 @@ const formData = reactive>({ categoryId: '', typeId: '', directiveId: '', + subId: '', }); //注册table数据 const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ @@ -277,7 +278,7 @@ function handleIzEnabled(record, izEnabled_) { */ function handleDirective(record: Recordable) { title.value = '服务指令' - formData.directiveId = null + formData.directiveId = record.directiveId opeType.value = 'directive' visible.value = true opeObj.value = record @@ -288,7 +289,7 @@ function handleDirective(record: Recordable) { */ function handleNode(record: Recordable) { title.value = '下一节点' - formData.subId = null + formData.subId = record.subId opeType.value = 'node' visible.value = true opeObj.value = record