|
@@ -14564,11 +14564,11 @@ export default {
|
|
|
type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
- if ((this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") && type == "aiTeacher2") {
|
|
|
- this.openAiDialog(clickType, 'aiTeacher')
|
|
|
- }else {
|
|
|
+ // if ((this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") && type == "aiTeacher2") {
|
|
|
+ // this.openAiDialog(clickType, 'aiTeacher')
|
|
|
+ // }else {
|
|
|
this.openAiDialog(clickType, type, callback, index, tindex)
|
|
|
- }
|
|
|
+ // }
|
|
|
})
|
|
|
.catch(() => {
|
|
|
|
|
@@ -17893,13 +17893,16 @@ Language: Please use the same language as the user requirement, if the user spea
|
|
|
|
|
|
#Context
|
|
|
## 要求
|
|
|
-${msg}
|
|
|
+${msg}
|
|
|
|
|
|
## 补充描述
|
|
|
课程简要描述:${_this.courseText}
|
|
|
任务名:${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].task}
|
|
|
+${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") ? 'index:'+(_tindex2+1) : ''}
|
|
|
${_this.unitJson[0].chapterInfo[0].taskJson[_tindex2].taskDetail2 ? '任务描述:' + _this.unitJson[0].chapterInfo[0].taskJson[_tindex2].taskDetail2.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}
|
|
|
-${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") ? '#任务簇:'+_this.cpote.cpote4.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}`
|
|
|
+${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") ? '#目标层:'+_this.cpote.cpote3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}
|
|
|
+${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") ? '#任务簇:'+_this.cpote.cpote4.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}
|
|
|
+`
|
|
|
|
|
|
// ## 补充参考资料
|
|
|
// - 补充资料:${url.join(",")}
|