|
@@ -228,6 +228,7 @@
|
|
|
<div v-if="t.tool == 26">课程设计</div>
|
|
|
<div v-if="t.tool == 62">交互视频</div>
|
|
|
<div v-if="t.tool == 71">AI智能体</div>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -240,7 +241,7 @@
|
|
|
<div class="body_student" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
<div class="new_topFixed" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }"></div>
|
|
|
<div class="new_top" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
- <div class="courseIndex" :style="{width: orgArray.includes(org) ? '100%' : 'calc(100% - 745px)'}">
|
|
|
+ <div class="courseIndex" :style="{width: (orgArray.includes(org) || oidArray.includes(oid)) ? '100%' : 'calc(100% - 745px)'}">
|
|
|
<div>任务{{ taskCount + 1 }}</div>
|
|
|
<el-tooltip
|
|
|
effect="light"
|
|
@@ -12359,10 +12360,71 @@ export default {
|
|
|
},
|
|
|
classRoomHelperWidth: '85px',
|
|
|
orgArray:['1973f6c7-1561-11ee-91d8-005056b86db5','777559d2-7239-11ee-b98c-005056b86db5','884c5665-a453-46f3-b7b6-01d575290aa9','0fec3a8a-ad04-11ed-b13d-005056b86db5','c9a6de59-8b4f-4be1-8565-a08081f649d3'],
|
|
|
- oidArray:['f297fbdc-f0a0-11ee-b534-005056b86db5','45facc0a-1211-11ec-80ad-005056b86db5']
|
|
|
+ oidArray:['f297fbdc-f0a0-11ee-b534-005056b86db5','45facc0a-1211-11ec-80ad-005056b86db5'],
|
|
|
+ toolsList:{
|
|
|
+ 58: "模拟驾驶",
|
|
|
+ 59: "路径搜索",
|
|
|
+ 60: "深度学习",
|
|
|
+ 10: "倒计时",
|
|
|
+ 65: "挑人",
|
|
|
+ 7: "思维网格",
|
|
|
+ 1: "电子白板",
|
|
|
+ 52: "文档",
|
|
|
+ 3: "思维导图",
|
|
|
+ 48: "表格",
|
|
|
+ 49: "学生分组",
|
|
|
+ 4: "卷调查",
|
|
|
+ 45: "选择题",
|
|
|
+ 15: "问答",
|
|
|
+ 16: "作业提交",
|
|
|
+ 50: "批量上传",
|
|
|
+ 41: "选择匹配",
|
|
|
+ 47: "排序",
|
|
|
+ 40: "个人评价",
|
|
|
+ 18: "训练平台",
|
|
|
+ 21: "AIoT Blockly",
|
|
|
+ 23: "AI Python",
|
|
|
+ 24: "AI Blockly",
|
|
|
+ 32: "源码编辑",
|
|
|
+ 57: "CocoPi",
|
|
|
+ 63: "海龟编程",
|
|
|
+ 28: "翻译",
|
|
|
+ 31: "数字画板",
|
|
|
+ 39: "GeoGebra",
|
|
|
+ 66: "公式编辑",
|
|
|
+ 67: "分子结构",
|
|
|
+ 68: "时间轴",
|
|
|
+ 69: "英语写作",
|
|
|
+ 70: "英语口语",
|
|
|
+ 25: "目标管理",
|
|
|
+ 26: "课程设计",
|
|
|
+ 62: "交互视频",
|
|
|
+ 71: "AI智能体"
|
|
|
+}
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ insertMemorandum(_html){//保存行为操作
|
|
|
+ return;
|
|
|
+ //variable
|
|
|
+ //btn
|
|
|
+ let params = [{
|
|
|
+ uid:this.userid,
|
|
|
+ courseId:this.id,
|
|
|
+ content:_html
|
|
|
+ }]
|
|
|
+
|
|
|
+ this.ajax.post(this.$store.state.api+'insert_systemOperation_countdownBehavior',params).then(res=>{
|
|
|
+ if(res.data==1){
|
|
|
+ console.log('保存操作成功')
|
|
|
+ }else{
|
|
|
+ console.log('保存操作失败')
|
|
|
+ }
|
|
|
+ }).catch(e=>{
|
|
|
+ console.log('保存操作失败')
|
|
|
+ console.log(e)
|
|
|
+ })
|
|
|
+ },
|
|
|
gx(){
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
@@ -12633,10 +12695,21 @@ export default {
|
|
|
a.scrollTop = a.scrollTop - 150;
|
|
|
}, 0);
|
|
|
}
|
|
|
+ let flag = this.courseType == i;
|
|
|
+ let flag2 = this.taskCount == j
|
|
|
if (l) {
|
|
|
this.courseType = i;
|
|
|
// this.navId = l;
|
|
|
this.taskCount = j;
|
|
|
+ if(flag){
|
|
|
+ if(flag2){
|
|
|
+ this.insertMemorandum(`选择<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
|
+ }else{
|
|
|
+ this.insertMemorandum(`选择<span class="variable">任务${this.taskCount+1}${this.navList[this.courseType].task[this.taskCount].taskName?':'+this.navList[this.courseType].task[this.taskCount].taskName:''}</span>→<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.insertMemorandum(`选择<span class="variable">阶段${this.courseType+1}${this.navList[this.courseType].dyName?':'+this.navList[this.courseType].dyName:''}</span>→<span class="variable">任务${this.taskCount+1}${this.navList[this.courseType].task[this.taskCount].taskName?':'+this.navList[this.courseType].task[this.taskCount].taskName:''}</span>→<span class="variable">工具${w+1}:${this.toolsList[this.navList[i].task[j].tool[k].tool]}</span>`)
|
|
|
+ }
|
|
|
this.selectPz();
|
|
|
this.getHomeWork();
|
|
|
this.getCourseDetail(2);
|
|
@@ -16117,7 +16190,9 @@ export default {
|
|
|
this.getCourseDetail(2);
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
+
|
|
|
openTask(s, n, i,ctype) {
|
|
|
+ console.log(s, n, i,ctype)
|
|
|
if (this.IsFollow && this.tType == 2) {
|
|
|
this.$message.error("已经开启跟随模式,请认真跟堂听讲");
|
|
|
return;
|
|
@@ -16163,9 +16238,19 @@ export default {
|
|
|
this.navList[s].task[n].isOpen = !this.navList[s].task[n].isOpen;
|
|
|
return;
|
|
|
}
|
|
|
+ let flag = this.courseType==s;
|
|
|
+
|
|
|
+
|
|
|
this.courseType = s;
|
|
|
+
|
|
|
this.navId = i;
|
|
|
this.taskCount = n;
|
|
|
+ if(flag){
|
|
|
+ this.insertMemorandum(`进入<span class="variable">任务${this.taskCount+1}${this.navList[this.courseType].task[this.taskCount].taskName?':'+this.navList[this.courseType].task[this.taskCount].taskName:''}</span>`)
|
|
|
+ }else{
|
|
|
+ this.insertMemorandum(`进入<span class="variable">阶段${this.courseType+1}${this.navList[this.courseType].dyName?':'+this.navList[this.courseType].dyName:''}</span>→<span class="variable">任务${this.taskCount+1}${this.navList[this.courseType].task[this.taskCount].taskName?':'+this.navList[this.courseType].task[this.taskCount].taskName:''}</span>`)
|
|
|
+ }
|
|
|
+
|
|
|
if(ctype == 2){
|
|
|
this.navList[s].task[n].isOpen = true
|
|
|
}else{
|
|
@@ -17351,6 +17436,7 @@ export default {
|
|
|
// this.isClickNav = "video" + i;
|
|
|
this.isClickNav = i;
|
|
|
this.$forceUpdate();
|
|
|
+ this.insertMemorandum(`查看文件<span class="variable">任务${this.taskCount+1}:${this.vChapterData[this.taskCount].find(i=>i.url==u).name}</span>`)
|
|
|
},
|
|
|
lookText(i, t) {
|
|
|
this.isClickNav = "";
|
|
@@ -17360,6 +17446,7 @@ export default {
|
|
|
this.showType = 1;
|
|
|
// this.isClickNav = "text" + t;
|
|
|
this.isClickNav = t;
|
|
|
+ this.insertMemorandum(`查看文件<span class="variable">任务${this.taskCount+1}:${this.vChapterData[this.taskCount][t].name}.doc</span>`)
|
|
|
},
|
|
|
lookTools(i, t) {
|
|
|
this.chapTools = this.chapToolList[i][t];
|
|
@@ -17414,6 +17501,7 @@ export default {
|
|
|
this.pptImgUrl1 = f.url;
|
|
|
this.isClickNav = i;
|
|
|
this.$forceUpdate();
|
|
|
+ this.insertMemorandum(`查看文件<span class="variable">任务${this.taskCount+1}:${this.vChapterData[this.taskCount][i].name}</span>`)
|
|
|
},
|
|
|
async downFile(f, i) {
|
|
|
this.isClickNav = "";
|
|
@@ -17448,6 +17536,7 @@ export default {
|
|
|
}
|
|
|
// this.isClickNav = "word" + i;
|
|
|
this.isClickNav = i;
|
|
|
+ this.insertMemorandum(`查看文件<span class="variable">任务${this.taskCount+1}:${this.vChapterData[this.taskCount][i].name}</span>`)
|
|
|
},
|
|
|
downFileList(i) {
|
|
|
window.open(this.noImgList[i].url);
|
|
@@ -18373,6 +18462,7 @@ export default {
|
|
|
].toolChoose[i].videoJson;
|
|
|
this.dialogVisibleVideo = true;
|
|
|
}
|
|
|
+ this.insertMemorandum(`点击工作区<span class="variable">工具${index+1}:${this.toolsList[t]}</span>`)
|
|
|
},
|
|
|
teacherWorkSubmit(t, i, index, s) {
|
|
|
this.sStudent = s;
|