|
@@ -112,7 +112,7 @@
|
|
|
<span :class="{ active: type == 2 }" @click="type = 2"
|
|
|
>阶段选择</span
|
|
|
>
|
|
|
- <span :class="{ active: type == 1 }" @click="type = 1"
|
|
|
+ <span :class="{ active: type == 1 }" @click="getCTwo"
|
|
|
>课程分析</span
|
|
|
>
|
|
|
</div>
|
|
@@ -917,6 +917,10 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
+ getCTwo(){
|
|
|
+ this.type = 1;
|
|
|
+ this.getCourseDetail2();
|
|
|
+ },
|
|
|
getCourseDetail2() {
|
|
|
const loading = this.$loading.service({
|
|
|
background: "rgba(255, 255, 255, 0.7)",
|
|
@@ -1104,11 +1108,12 @@ export default {
|
|
|
// },
|
|
|
},
|
|
|
created() {
|
|
|
- if(this.tType == 1 || this.tType == 4){
|
|
|
- this.getCourseDetail2();
|
|
|
- }else{
|
|
|
- this.getCourseDetail1();
|
|
|
- }
|
|
|
+ // if(this.tType == 1 || this.tType == 4){
|
|
|
+ // this.getCourseDetail2();
|
|
|
+ // }else{
|
|
|
+ // this.getCourseDetail1();
|
|
|
+ // }
|
|
|
+ this.getCourseDetail1();
|
|
|
this.getUser();
|
|
|
document.scrollingElement.scrollTop = 0;
|
|
|
// this.getSName();
|