|
@@ -16285,6 +16285,13 @@ export default {
|
|
|
this.aiCallBack = callback
|
|
|
|
|
|
} else if (type == "aiTeacher2") {
|
|
|
+ if(this.ttaskDetailLoading5.length){
|
|
|
+ let num = parseInt(this.ttaskDetailLoading5[0].split("task-")[1]) + 1
|
|
|
+ this.$message({
|
|
|
+ message: "教案任务"+num+"描述还未生成完,请前往查看,回答完毕后再次操作。",
|
|
|
+ type: "warning"
|
|
|
+ });
|
|
|
+ }
|
|
|
this.aitype = "aiTeacher2"
|
|
|
this.aiText = this.aiJson.teacherDetail2 ? this.aiJson.teacherDetail2 : '请根据<任务名>、<任务描述>,<课程简要描述>,为该任务设计详细的教案,教案需要包含该任务的教学目标,教学过程(包含分步骤的教师活动和学生活动,教师活动与学生活动应该一一对应),相关知识点的讲解,练习(练习需要包含示例答案)。'
|
|
|
} else if (type == "aiTeacher3") {
|