From deea4c4991b7954be1b1efc241dac677c1d5ad09 Mon Sep 17 00:00:00 2001 From: bestlee Date: Fri, 4 Sep 2026 17:30:03 +0800 Subject: [PATCH] =?UTF-8?q?PSSR=20=E6=A3=80=E6=9F=A5=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=8C=E6=AC=A1=E7=A1=AE=E8=AE=A4=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/my/initiateChange/index.vue | 5 +++++ .../my/initiateChange/modules/evaluation.vue | 6 +++--- src/views/my/initiateChange/modules/pssr.vue | 18 +++++++++++++----- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/views/my/initiateChange/index.vue b/src/views/my/initiateChange/index.vue index eea0484..4a8faa6 100644 --- a/src/views/my/initiateChange/index.vue +++ b/src/views/my/initiateChange/index.vue @@ -58,6 +58,7 @@ const confirmed = ref<{[key: string]: boolean}>({ // 变更预分析表单数据 const changePreForm = ref(null) +const changeApplyForm = ref(null) // **********************tab切换*********************** const TABS = [ @@ -83,6 +84,9 @@ const tabChange = (id: string) => { // return window.$message?.warning('请先填写变更内容描述'); // } } + if(tab.value==='form'){ + changeApplyForm.value = changeApplyRef.value?.form; + } if(tab.value === id) { return; } @@ -352,6 +356,7 @@ onMounted(() => { :isAiOpen="aiEnabled" :title="title" :currentId="currentId" + :formInfo="changeApplyForm" @save="saveDraft" @submit="submitConfirm" @confirmTab="confirmTab" diff --git a/src/views/my/initiateChange/modules/evaluation.vue b/src/views/my/initiateChange/modules/evaluation.vue index 6798208..d5daf7d 100644 --- a/src/views/my/initiateChange/modules/evaluation.vue +++ b/src/views/my/initiateChange/modules/evaluation.vue @@ -7,7 +7,7 @@ import { getColorWithOpacity } from "@/utils/common"; import Footer from './footer.vue'; const themeStore = useThemeStore(); -const props = defineProps(['type','isAiOpen','title','currentId']) +const props = defineProps(['type','isAiOpen','title','currentId','formInfo']) const emit = defineEmits(['save','submit','confirmTab']); const form = ref<{ content: string }>({ @@ -60,8 +60,8 @@ defineExpose({form}) '--border-color': getColorWithOpacity(themeStore.themeColor, 0.2) }" > - +
变更目的:{{ formInfo?.purposes?.join('、') || '' }}
+
预期效果:{{ formInfo?.effect || '' }}
- +
@@ -152,11 +152,19 @@ defineExpose({form}) - - - + + 确定删除吗? +