diff --git a/src/renderer/src/views/prepare/container/ai-pptistV2.vue b/src/renderer/src/views/prepare/container/ai-pptistV2.vue index 583d987..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模板选择
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 () => {