|
@@ -16640,9 +16640,7 @@ export default {
|
|
});
|
|
});
|
|
this.fileC[i] = c.filter((el) => {
|
|
this.fileC[i] = c.filter((el) => {
|
|
return el.type == 12;
|
|
return el.type == 12;
|
|
- });
|
|
|
|
- console.log('this.fileC[i]',this.fileC[i]);
|
|
|
|
-
|
|
|
|
|
|
+ });
|
|
if (this.tType == 2) {
|
|
if (this.tType == 2) {
|
|
if (this.fileC[i].length) {
|
|
if (this.fileC[i].length) {
|
|
let yym1 = this.fileC[i].filter(e=>{
|
|
let yym1 = this.fileC[i].filter(e=>{
|
|
@@ -16779,7 +16777,6 @@ export default {
|
|
this.isClickNav = "";
|
|
this.isClickNav = "";
|
|
this.showType = "";
|
|
this.showType = "";
|
|
}
|
|
}
|
|
- console.log('_chapterData',_chapterData);
|
|
|
|
|
|
|
|
if (this.tType == 2) {
|
|
if (this.tType == 2) {
|
|
_chapterData.forEach((e,i)=>{
|
|
_chapterData.forEach((e,i)=>{
|
|
@@ -16847,7 +16844,6 @@ export default {
|
|
this.fileC[i] = c.filter((el) => {
|
|
this.fileC[i] = c.filter((el) => {
|
|
return el.type == 12;
|
|
return el.type == 12;
|
|
});
|
|
});
|
|
- console.log('this.fileC[i]',this.fileC[i]);
|
|
|
|
|
|
|
|
if (this.tType == 2) {
|
|
if (this.tType == 2) {
|
|
if (this.fileC[i].length) {
|
|
if (this.fileC[i].length) {
|
|
@@ -20416,7 +20412,7 @@ export default {
|
|
console.log("获取分屏数出错:", e);
|
|
console.log("获取分屏数出错:", e);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- doSplitScreenBehavior() {
|
|
|
|
|
|
+ doSplitScreenBehavior() {
|
|
if (
|
|
if (
|
|
this.splitScreenData.isOpen &&
|
|
this.splitScreenData.isOpen &&
|
|
this.splitScreenData.uid != this.splitScreenData.myUid
|
|
this.splitScreenData.uid != this.splitScreenData.myUid
|
|
@@ -20425,17 +20421,21 @@ export default {
|
|
if (behavior) {
|
|
if (behavior) {
|
|
if (behavior.code === 99) {
|
|
if (behavior.code === 99) {
|
|
//初始化
|
|
//初始化
|
|
- this.fullDialogVisible = false;
|
|
|
|
|
|
+ this.fullDialogVisible = false;
|
|
if(this.$refs.choseWorksDetailDialogRef.show){
|
|
if(this.$refs.choseWorksDetailDialogRef.show){
|
|
this.$refs.choseWorksDetailDialogRef.close();
|
|
this.$refs.choseWorksDetailDialogRef.close();
|
|
}
|
|
}
|
|
if(this.$refs.statisticalAnalysisRef.show){
|
|
if(this.$refs.statisticalAnalysisRef.show){
|
|
this.$refs.statisticalAnalysisRef.close();
|
|
this.$refs.statisticalAnalysisRef.close();
|
|
}
|
|
}
|
|
- } else if (behavior.code === 0) {
|
|
|
|
|
|
+ }
|
|
|
|
+ if (behavior.code === 0) {
|
|
//开启内容列表弹窗
|
|
//开启内容列表弹窗
|
|
this.checkFileFull1(behavior.form.t, behavior.form.f);
|
|
this.checkFileFull1(behavior.form.t, behavior.form.f);
|
|
- } else if (behavior.code === 1) {
|
|
|
|
|
|
+ }else{
|
|
|
|
+ this.fullDialogVisible = false;
|
|
|
|
+ }
|
|
|
|
+ if (behavior.code === 1) {
|
|
//关于选择题的作业详细的操作
|
|
//关于选择题的作业详细的操作
|
|
// toolIndex:toolIndex,courseType:this.courseType,taskCount:this.taskCount,type:0
|
|
// toolIndex:toolIndex,courseType:this.courseType,taskCount:this.taskCount,type:0
|
|
if(this.courseType!==behavior.form.courseType || this.taskCount!==behavior.form.taskCount){
|
|
if(this.courseType!==behavior.form.courseType || this.taskCount!==behavior.form.taskCount){
|
|
@@ -20450,7 +20450,10 @@ export default {
|
|
this.$refs.choseWorksDetailDialogRef.open({toolType:behavior.form.toolType,toolIndex:behavior.form.toolIndex,tType: this.tType,lookWorks:behavior.form.lookWorks})
|
|
this.$refs.choseWorksDetailDialogRef.open({toolType:behavior.form.toolType,toolIndex:behavior.form.toolIndex,tType: this.tType,lookWorks:behavior.form.lookWorks})
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- }else if(behavior.code === 2){
|
|
|
|
|
|
+ }else{
|
|
|
|
+ this.$refs.choseWorksDetailDialogRef.close()
|
|
|
|
+ }
|
|
|
|
+ if(behavior.code === 2){
|
|
if(this.$refs.statisticalAnalysisRef.show){
|
|
if(this.$refs.statisticalAnalysisRef.show){
|
|
this.$refs.statisticalAnalysisRef.splitScreenFn({type:behavior.form.type})
|
|
this.$refs.statisticalAnalysisRef.splitScreenFn({type:behavior.form.type})
|
|
}else{
|
|
}else{
|
|
@@ -20460,7 +20463,9 @@ export default {
|
|
toolIndex: behavior.form.toolIndex
|
|
toolIndex: behavior.form.toolIndex
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }else{
|
|
|
|
+ this.$refs.statisticalAnalysisRef.close();
|
|
|
|
+ }
|
|
if(behavior.form.taskCount!=="" && behavior.form.courseType !==""){
|
|
if(behavior.form.taskCount!=="" && behavior.form.courseType !==""){
|
|
if(this.courseType !=behavior.form.courseType){
|
|
if(this.courseType !=behavior.form.courseType){
|
|
this.courseType = behavior.form.courseType;
|
|
this.courseType = behavior.form.courseType;
|
|
@@ -20482,6 +20487,8 @@ export default {
|
|
this.navId = behavior.form.navId
|
|
this.navId = behavior.form.navId
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ this.getCourseDetail()
|
|
|
|
+
|
|
this.setContent2(false)
|
|
this.setContent2(false)
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|