From 3867a9603ffc07df58a6f4420861df790e2b9436 Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Tue, 24 Dec 2024 09:58:31 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=8A=A5=E9=94=99=E5=90=8E=E5=8F=8A?= =?UTF-8?q?=E6=97=B6=E5=9B=9E=E8=BD=ACloading=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/prepare/container/ai-pptistV2.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/src/views/prepare/container/ai-pptistV2.vue b/src/renderer/src/views/prepare/container/ai-pptistV2.vue index f92eca6..ac1ce0c 100644 --- a/src/renderer/src/views/prepare/container/ai-pptistV2.vue +++ b/src/renderer/src/views/prepare/container/ai-pptistV2.vue @@ -177,6 +177,8 @@ const outlineCreatePPT = () => { }; checkProgress(); + }).finally(()=>{ + createPPTLoading.value = false }) }; From c290c170d3ed647ccd8cf1f3b219f2d46ec3e11f Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Tue, 24 Dec 2024 10:01:34 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=8A=A5=E9=94=99=E5=90=8E=E5=8F=8A?= =?UTF-8?q?=E6=97=B6=E5=9B=9E=E8=BD=ACloading=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/prepare/container/ai-pptistV2.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/views/prepare/container/ai-pptistV2.vue b/src/renderer/src/views/prepare/container/ai-pptistV2.vue index ac1ce0c..583d987 100644 --- a/src/renderer/src/views/prepare/container/ai-pptistV2.vue +++ b/src/renderer/src/views/prepare/container/ai-pptistV2.vue @@ -57,7 +57,7 @@
上一步 - 生成PPT + 生成PPT
From 4f32927b497b25fe7405aff423c24336ee805dfd Mon Sep 17 00:00:00 2001 From: lyc Date: Tue, 24 Dec 2024 10:21:13 +0800 Subject: [PATCH 3/3] =?UTF-8?q?edit=20=E6=A1=86=E6=9E=B6=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/prepare/container/ai-pptistV2.vue | 4 ++-- .../src/views/teachingDesign/container/left.vue | 3 +++ .../src/views/teachingDesign/container/right.vue | 13 +++++++++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/views/prepare/container/ai-pptistV2.vue b/src/renderer/src/views/prepare/container/ai-pptistV2.vue index f92eca6..f619798 100644 --- a/src/renderer/src/views/prepare/container/ai-pptistV2.vue +++ b/src/renderer/src/views/prepare/container/ai-pptistV2.vue @@ -10,8 +10,8 @@
{{ outputText }}
- 从新生成 - 下一步 + {{ outputText ? '重新生产' : '生成大纲' }} + 下一步
ppt模板选择
diff --git a/src/renderer/src/views/teachingDesign/container/left.vue b/src/renderer/src/views/teachingDesign/container/left.vue index a6d8585..f0343b4 100644 --- a/src/renderer/src/views/teachingDesign/container/left.vue +++ b/src/renderer/src/views/teachingDesign/container/left.vue @@ -93,6 +93,9 @@ emitter.on('onGetMain', (item) => { const emit = defineEmits(['']) const onSelect = (item) =>{ actId.value = item.id + item.child.forEach(el =>{ + el.aiShow = false + }) emitter.emit('changeMode', item) } diff --git a/src/renderer/src/views/teachingDesign/container/right.vue b/src/renderer/src/views/teachingDesign/container/right.vue index 2afef2d..d0683dd 100644 --- a/src/renderer/src/views/teachingDesign/container/right.vue +++ b/src/renderer/src/views/teachingDesign/container/right.vue @@ -14,8 +14,7 @@ 一键研读 - 生成大纲 - 生成PPT + 生成PPT
@@ -136,6 +135,16 @@ emitter.on('changeMode', (item) => { getTempResult(item.id) }) +const onCreate = () =>{ + let isAnswer = resultList.value.every(item => !item.answer) + if(isAnswer){ + ElMessage.warning('请先进行研读') + return + } + pptDialog.value = true +} + + // 一键研读 const getCompletion = async () => {