|
@@ -407,7 +407,7 @@
|
|
|
<div class="add_info_box" style="margin: 0 0 0 auto">
|
|
|
<button class="c_pub_button_add pub_btn_add_img" @click="addImg($event)">
|
|
|
上传补充资料
|
|
|
- <input type="file" accept=".docx,.doc,.ppt,.pptx,.md,.txt" style="display: none" v-if="inputShow" @change="
|
|
|
+ <input type="file" accept=".docx,.doc,.ppt,.pptx,.md,.txt,.pdf" style="display: none" v-if="inputShow" @change="
|
|
|
beforeUploadInfo2(
|
|
|
$event,
|
|
|
13
|
|
@@ -7610,7 +7610,7 @@ export default {
|
|
|
|
|
|
var bucket = new window.AWS.S3({ params: { Bucket: "ccrb" } }); //选择桶
|
|
|
var _this = this;
|
|
|
- var xianObj = ['DOCX','DOC','PPT','PPTX','MD','TXT']
|
|
|
+ var xianObj = ['DOCX','DOC','PPT','PPTX','MD','TXT','PDF']
|
|
|
if (
|
|
|
xianObj.indexOf(
|
|
|
file.name
|
|
@@ -7618,7 +7618,7 @@ export default {
|
|
|
[file.name.split(".").length - 1].toLocaleUpperCase()
|
|
|
) == -1
|
|
|
) {
|
|
|
- this.$message.error("请上传.doc,.docx,.ppt,.pptx,.md,.txt文件!");
|
|
|
+ this.$message.error("请上传.doc,.docx,.ppt,.pptx,.md,.txt,.pdf文件!");
|
|
|
this.inputShow = true;
|
|
|
// var a = _this.$refs.upload1.uploadFiles;
|
|
|
// a.splice(a.length - 1, a.length);
|
|
@@ -11038,7 +11038,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
let _unitJson = JSON.parse(res.data[0][0].chapters);
|
|
|
let fileInfo = []
|
|
|
- var xianObj = ['DOCX','DOC','PPT','PPTX','MD','TXT']
|
|
|
+ var xianObj = ['DOCX','DOC','PPT','PPTX','MD','TXT','PDF']
|
|
|
|
|
|
for(var i = 0; i < _unitJson.length; i++){
|
|
|
let tasks = _unitJson[i].chapterInfo[0].taskJson
|
|
@@ -13205,8 +13205,7 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
|
|
|
# Context
|
|
|
## 要求
|
|
|
-${msg} 以及##参考资料,
|
|
|
-然后根据Format example的要求返回要以数组的格式
|
|
|
+${msg} 以及##参考资料
|
|
|
|
|
|
## 参考资料
|
|
|
课程名字:${this.courseName}
|
|
@@ -13245,7 +13244,7 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
|
|
|
# Context
|
|
|
## 要求
|
|
|
-${msg} 以及#教学任务教案 内容要求参考#格式要求, 然后根据Format example的要求返回要以数组的格式
|
|
|
+${msg} 以及#教学任务教案 内容要求参考#格式要求
|
|
|
|
|
|
## 教学任务教案
|
|
|
${_text}
|
|
@@ -13253,15 +13252,14 @@ ${_text}
|
|
|
${this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" ? '#目标层\n'+this.cpote.cpote3.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')+'\n\n#任务簇\n'+this.cpote.cpote4.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','') : ''}
|
|
|
|
|
|
## 格式要求
|
|
|
-任务名:
|
|
|
+任务数量:${this.teacherText.length}个
|
|
|
任务描述:该描述是教师给与学生的指示(用于指导学生如何进行每个教学活动),对应到学生活动,你应该用友好,但是又清晰明确的口吻来撰写。
|
|
|
评价标准:至少3条评价标准,这个评价是教师用来评价学生表现的,需要包含评价维度,以及该维度中教师期待学生的表现,句式为学生应该能....
|
|
|
-平台工具:
|
|
|
-工具名:从工具列表中选择0~2个工具用于学生阶段性成果提交,工具列表:[电子白板,文档,思维导图,表格,作业提交,问答,选择题],仅在这几个工具里选择
|
|
|
+工具名:从工具列表中选择0~2个工具用于学生阶段性成果提交:工具列表:[电子白板,文档,思维导图,表格,作业提交]
|
|
|
工具指引:以友好,明确的口吻告诉学生该如何使用该工具
|
|
|
|
|
|
# Format example
|
|
|
-[{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[{"tool":"电子白板","detail":"工具描述"},{"tool":"思维大图","detail":"工具描述"}]},{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[]},{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[{"tool":"文档","detail":"工具描述"}]}]`
|
|
|
+[{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[{"tool":"工具名","detail":"工具描述"},{"tool":"工具名","detail":"工具描述"}]},{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[]},{"detail":"面向学生的任务描述","elist":[{"value":"评价名字1","detail":"评价维度1","score":5},{"value":"评价名字2","detail":"评价维度2","score":5},{"value":"评价名字3","detail":"评价维度3","score":5}],"toolChoose":[{"tool":"工具名","detail":"工具描述"}]}]`
|
|
|
this.loading = true
|
|
|
this.aiGet3(message, this.aiCallBack)
|
|
|
} else if (this.aitype == "aiDetail1") {
|
|
@@ -13297,7 +13295,7 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
|
|
|
# Context
|
|
|
## 要求
|
|
|
-${msg} 以及${this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5" ? '##任务大纲' : '##目标层,##任务簇'}, 然后根据Format example的要求返回要以数组的格式
|
|
|
+${msg} 以及${this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5" ? '##任务大纲' : '##目标层,##任务簇'}
|
|
|
|
|
|
${this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5" ? '## 任务大纲\n'+_text : ''}
|
|
|
|
|
@@ -13975,7 +13973,7 @@ ${mclass.length ? '面向年级:' + mclass.join(",") : ''}
|
|
|
## 教案
|
|
|
${this.teacherText[task].detail.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')}
|
|
|
|
|
|
-# formate example
|
|
|
+# Format example
|
|
|
{answerQ:"问题"}
|
|
|
`
|
|
|
}else if(type == 45){
|
|
@@ -13987,7 +13985,7 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
|
|
|
# Context
|
|
|
## 任务
|
|
|
-根据本任务的#教案,在考虑到面向学生年级(<面向年级>)以及相对应的学科(<课程学科>)的基础上生成5道单选题。题目的意义是测试学生对本教学任务知识点的掌握情况,你的题目应当是有意义的。然后根据Format example的要求返回要以数组的格式
|
|
|
+根据本任务的#教案,在考虑到面向学生年级(<面向年级>)以及相对应的学科(<课程学科>)的基础上生成5道单选题。题目的意义是测试学生对本教学任务知识点的掌握情况,你的题目应当是有意义的。
|
|
|
|
|
|
## 限制
|
|
|
- 生成题目禁止重复。
|
|
@@ -14004,7 +14002,7 @@ ${mclass.length ? '面向年级:' + mclass.join(",") : ''}
|
|
|
## 教案
|
|
|
${this.teacherText[task].detail.replaceAll('#','').replaceAll('*','').replaceAll('-','').replaceAll('\n','')}
|
|
|
|
|
|
-# formate example
|
|
|
+# Format example
|
|
|
[{"teststitle":"题目内容","testItem":4,"checkList":["选项1","选项2","选项3","选项4"],"timuList":[],"answer":0,"type":"1"},{"teststitle":"题目内容","testItem":"选项数量(数字)","checkList":["选项1","选项2","选项3","选项4"],"timuList":[],"answer":"答案(数字)","type":"1"}]
|
|
|
`
|
|
|
}
|