diff --git a/src/views/index/approvalPreview/components/parameter.vue b/src/views/index/approvalPreview/components/parameter.vue index 2e22aeaf..d92e70af 100644 --- a/src/views/index/approvalPreview/components/parameter.vue +++ b/src/views/index/approvalPreview/components/parameter.vue @@ -52,6 +52,7 @@ onMounted(() => { node.value = { id: approveContents.id, type: approveContents.type, + name: approveContents.name, }; // console.log('node', node.value); const { paramData = {} } = approveContents; diff --git a/src/views/simulation/parameter/index.vue b/src/views/simulation/parameter/index.vue index be42025c..24068ccc 100644 --- a/src/views/simulation/parameter/index.vue +++ b/src/views/simulation/parameter/index.vue @@ -252,11 +252,13 @@ const dataType: any = { interface Props { pageParams: any; // 审核页面传参:当前节点信息 pageType: string; // 页面类型:approve-审核预览 + name?: any; } const props = withDefaults(defineProps(), { pageParams: {}, pageType: '', + name: '', }); const actionList = ref([