diff --git a/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/educationalWisdom/CourseStatisticsBig.vue b/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/educationalWisdom/CourseStatisticsBig.vue
index 88bed62..860dbd5 100644
--- a/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/educationalWisdom/CourseStatisticsBig.vue
+++ b/src/views/superFusionPlatform/mainPlatform/moduleAndLayout/moduleCom/educationalWisdom/CourseStatisticsBig.vue
@@ -30,62 +30,25 @@
校本课程类别:{{type_count}}
-
- -
-
-

-
科技
-
-
- 45
-
-
- -
-
-

-
体育
-
-
- 15
-
-
- -
-
-

-
艺术
-
-
- 25
-
-
- -
-
-

-
创客
-
-
- 45
-
-
- -
-
-

-
美术
-
-
- 35
-
-
- -
-
-

-
体育
-
-
- 40
+
+
+

+
+
+
+
+

+
{{item.name}}
+
+
+ {{item.count}}
+
-
-
+
+
+

+
+
@@ -106,12 +69,14 @@
data() {
return {
bar_flag:false,
+ listFlag:false,
courseStatisticsBig: {
xAxisData:[],
style: {
height: ''
},
list:[],
+
isType:"manyBar",
legendData:[],
seriesData:[],
@@ -119,7 +84,9 @@
yAxisName:"课程总数"
},
course_count:"",
- type_count:""
+ type_count:"",
+ subjectList:[],
+ num:0,
}
},
created() {
@@ -130,6 +97,18 @@
this.getCourseStatistics();
},
methods: {
+ rightClick(){
+ if(this.num+1{
dom.push(item.xaxis);
});
data.list.forEach((itemIn)=>{
let count=[];
+ let _total=0;
groupIndex.push(itemIn.group_index);
itemIn.list.forEach((Item,)=>{
- count.push(Item.count)
+ count.push(Item.count);
+ _total+=parseInt(Item.count);
});
+ totalList.push({name:itemIn.group_index,count:_total});
series.push({name:itemIn.group_index,type:"bar",stack:"111",barMaxWidth: '20', data:count })
- })
+ });
+ this.listFlag=true;
+ for(var i=0,len=totalList.length;i