diff --git a/src/renderer/src/views/prepare/container/ai-pptistV2.vue b/src/renderer/src/views/prepare/container/ai-pptistV2.vue
index f92eca6..f199101 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模板选择
@@ -57,7 +57,7 @@
上一步
- 生成PPT
+ 生成PPT
@@ -177,6 +177,8 @@ const outlineCreatePPT = () => {
};
checkProgress();
+ }).finally(()=>{
+ createPPTLoading.value = false
})
};
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 4d5d64a..67d4dd6 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
@@ -137,6 +136,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 () => {