Bladeren bron

成绩分析-分数等级、分数段对比

wzl_h
guozhongbo 2 jaren geleden
bovenliggende
commit
f7ce680a63

+ 8
- 0
.idea/.gitignore Bestand weergeven

@@ -0,0 +1,8 @@
1
+# Default ignored files
2
+/shelf/
3
+/workspace.xml
4
+# Datasource local storage ignored files
5
+/dataSources/
6
+/dataSources.local.xml
7
+# Editor-based HTTP Client requests
8
+/httpRequests/

+ 6
- 0
.idea/misc.xml Bestand weergeven

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectRootManager">
4
+    <output url="file://$PROJECT_DIR$/out" />
5
+  </component>
6
+</project>

+ 8
- 0
.idea/modules.xml Bestand weergeven

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/schoolReportPDF.iml" filepath="$PROJECT_DIR$/.idea/schoolReportPDF.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 10
- 0
.idea/runConfigurations.xml Bestand weergeven

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="RunConfigurationProducerService">
4
+    <option name="ignoredProducers">
5
+      <set>
6
+        <option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
7
+      </set>
8
+    </option>
9
+  </component>
10
+</project>

+ 9
- 0
.idea/schoolReportPDF.iml Bestand weergeven

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>

+ 6
- 0
.idea/vcs.xml Bestand weergeven

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 13
- 0
css/scoreAnalysis/section_2_level.css Bestand weergeven

@@ -0,0 +1,13 @@
1
+.section_2_level .echarts_result_content {
2
+    margin-top: 3mm;
3
+    padding: 2mm 3mm;
4
+    line-height: 7mm;
5
+    background-color: #fff;
6
+  }
7
+  .section_2_level .echarts_result_content span {
8
+    display: inline-block;
9
+    margin-right: 2mm;
10
+    width: 2mm;
11
+    height: 2mm;
12
+    border-radius: 50%;
13
+  }

+ 1
- 0
js/index.js Bestand weergeven

@@ -24,6 +24,7 @@ $(function () {
24 24
         num: 33
25 25
       }));
26 26
     }
27
+    console.log(htmlName);
27 28
     $("." + htmlName + "_html_root").load("../sections/" + htmlName + ".html");
28 29
   });
29 30
 });

+ 1
- 1
js/scoreAnalysis/section_2_class_all.js Bestand weergeven

@@ -121,7 +121,7 @@ function initClassStdEcharts() {
121 121
   
122 122
 }
123 123
 $(function () {
124
-  initClassScoreEcharts();
124
+  // initClassScoreEcharts();
125 125
   initClassRateEcharts();
126 126
   initClassExamEcharts();
127 127
   initClassStdEcharts();

+ 95
- 0
js/scoreAnalysis/section_2_level.js Bestand weergeven

@@ -0,0 +1,95 @@
1
+//各班等级分析
2
+function initclassLevelEcharts(){
3
+    var xAxis_data = [
4
+        "全年级",
5
+        "八年级一班",
6
+        "八年级二班",
7
+        "八年级三班",
8
+        "八年级四班"
9
+      ];
10
+      var series_full_data = [12, 20, 15, 8, 7];
11
+      var series_max_data = [12, 20, 15, 8, 7];
12
+      var series_min_data = [12, 20, 15, 8, 7];
13
+      var series_avg_data = [12, 20, 15, 8, 7];
14
+      var series_data =[]
15
+      var option = {
16
+        color: ["#5C99FF", "#ff5f56", "#5EC5C8", "#f1982b", "#6e5eff"],
17
+        animation: false,
18
+        title: {
19
+          text: "%",
20
+          x: "left",
21
+          y: "top",
22
+          textStyle: {
23
+            color: "#5F6E82",
24
+            fontSize: $.UnitUtil.mm2px(3),
25
+            fontWeight: 500,
26
+          },
27
+        },
28
+        legend: {
29
+          itemWidth: $.UnitUtil.mm2px(2),
30
+          itemHeight: $.UnitUtil.mm2px(2),
31
+          top: "bottom",
32
+          data: ["A类","B类","C类","D类","E类"],
33
+        },
34
+        grid: {
35
+          top: $.UnitUtil.mm2px(10),
36
+          left: 0,
37
+          right: 0,
38
+          bottom: $.UnitUtil.mm2px(8),
39
+          containLabel: true,
40
+        },
41
+        xAxis: [
42
+          {
43
+            type: "category",
44
+            data: xAxis_data,
45
+            axisLabel: {
46
+              color: "#5F6E82", //更改坐标轴文字颜色
47
+              interval: 0
48
+            },
49
+            axisTick: {
50
+              alignWithLabel: true,
51
+            },
52
+            boundaryGap: true,
53
+            triggerEvent: true,
54
+            axisLine: {
55
+              show: true, //是否显示轴线
56
+              lineStyle: {
57
+                color: "#DADADA", //刻度线的颜色
58
+              },
59
+            },
60
+          },
61
+        ],
62
+        yAxis: [
63
+          {
64
+            type: "value",
65
+            axisTick: {
66
+              show: false, //刻度
67
+            },
68
+            axisLine: {
69
+              show: false, //是否显示轴线
70
+              lineStyle: {
71
+                color: "#DADADA", //刻度线的颜色
72
+              },
73
+            },
74
+            splitLine: {
75
+              //网格线
76
+              lineStyle: {
77
+                type: "dotted", //设置网格线类型 dotted:虚线   solid:实线
78
+              },
79
+              show: true, //隐藏或显示
80
+            },
81
+            axisLabel: {
82
+              color: "#5F6E82", //更改坐标轴文字颜色
83
+            },
84
+          },
85
+        ],
86
+        series: series_data
87
+      };
88
+      var myEcharts = echarts.init(document.querySelector(".section_2_level #classLevelEcharts"));
89
+      myEcharts.clear();
90
+      myEcharts.setOption(option);
91
+}
92
+
93
+$(function () {
94
+    initclassLevelEcharts();
95
+  });

+ 2
- 2
js/section_2.js Bestand weergeven

@@ -4,8 +4,8 @@ $(function() {
4 4
   console.log("section_2:parameter", parameter);
5 5
 
6 6
   var sectionsHtmlArr = [
7
-    "section_2_class_all",
8
-    "section_2_class_single",
7
+    // "section_2_class_all",
8
+    // "section_2_class_single",
9 9
     "section_2_level",
10 10
     "section_2_part",
11 11
     "section_2_lin_rank",

+ 91
- 2
sections/scoreAnalysis/section_2_level.html Bestand weergeven

@@ -5,14 +5,103 @@
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 7
     <title>校本PDF报告-第二章 成绩分析</title>
8
-    <link rel="stylesheet" href="./css/scoreAnalysis/section_2_level.css" />
8
+    <link rel="stylesheet" href="../../css/scoreAnalysis/section_2_level.css" />
9 9
   </head>
10 10
   <body>
11
-    <div class="page_root level2">
11
+    <div class="page_root section_2_level">
12 12
       <h2 class="section_title_2">2.分数等级对比</h2>
13 13
       <h3 class="section_title_3">2.1 总分等级对比</h3>
14 14
       <h4 class="section_title_4">2.1.1 各班等级分析</h4>
15 15
       <div id="classLevelEcharts" style="margin: 0 4mm 4mm; height: 80mm"></div>
16
+      <h4 class="section_title_4">2.1.2 各班等级比例分布</h4>
17
+      <table border="1" class="my_table">
18
+        <thead>
19
+          <tr>
20
+            <th rowspan="2">班级</th>
21
+            <th colspan="2">A类</th>
22
+            <th colspan="2">B类</th>
23
+            <th colspan="2">C类</th>
24
+            <th colspan="2">D类</th>
25
+            <th colspan="2">E类</th>
26
+          </tr>
27
+          <tr>
28
+            <th>人数</th>
29
+            <th>比例</th>
30
+            <th>人数</th>
31
+            <th>比例</th>
32
+            <th>人数</th>
33
+            <th>比例</th>
34
+            <th>人数</th>
35
+            <th>比例</th>
36
+            <th>人数</th>
37
+            <th>比例</th>
38
+          </tr>
39
+        </thead>
40
+        <tbody>
41
+          <tr>
42
+            <td><div class="my_cell">全部班级</div></td>
43
+            <td><div class="my_cell">5</div></td>
44
+            <td><div class="my_cell">4%</div></td>
45
+            <td><div class="my_cell">5</div></td>
46
+            <td><div class="my_cell">4%</div></td>
47
+            <td><div class="my_cell">5</div></td>
48
+            <td><div class="my_cell">4%</div></td>
49
+            <td><div class="my_cell">5</div></td>
50
+            <td><div class="my_cell">4%</div></td>
51
+            <td><div class="my_cell">5</div></td>
52
+            <td><div class="my_cell">4%</div></td>
53
+          </tr>
54
+          <tr>
55
+            <td><div class="my_cell">八年级一班</div></td>
56
+            <td><div class="my_cell">5</div></td>
57
+            <td><div class="my_cell">4%</div></td>
58
+            <td><div class="my_cell">5</div></td>
59
+            <td><div class="my_cell">4%</div></td>
60
+            <td><div class="my_cell">5</div></td>
61
+            <td><div class="my_cell">4%</div></td>
62
+            <td><div class="my_cell">5</div></td>
63
+            <td><div class="my_cell">4%</div></td>
64
+            <td><div class="my_cell">5</div></td>
65
+            <td><div class="my_cell">4%</div></td>
66
+          </tr>
67
+          <tr>
68
+            <td><div class="my_cell">八年级二班</div></td>
69
+            <td><div class="my_cell">5</div></td>
70
+            <td><div class="my_cell">4%</div></td>
71
+            <td><div class="my_cell">5</div></td>
72
+            <td><div class="my_cell">4%</div></td>
73
+            <td><div class="my_cell">5</div></td>
74
+            <td><div class="my_cell">4%</div></td>
75
+            <td><div class="my_cell">5</div></td>
76
+            <td><div class="my_cell">4%</div></td>
77
+            <td><div class="my_cell">5</div></td>
78
+            <td><div class="my_cell">4%</div></td>
79
+          </tr>
80
+          <tr>
81
+            <td><div class="my_cell">八年级三班</div></td>
82
+            <td><div class="my_cell">5</div></td>
83
+            <td><div class="my_cell">4%</div></td>
84
+            <td><div class="my_cell">5</div></td>
85
+            <td><div class="my_cell">4%</div></td>
86
+            <td><div class="my_cell">5</div></td>
87
+            <td><div class="my_cell">4%</div></td>
88
+            <td><div class="my_cell">5</div></td>
89
+            <td><div class="my_cell">4%</div></td>
90
+            <td><div class="my_cell">5</div></td>
91
+            <td><div class="my_cell">4%</div></td>
92
+          </tr>
93
+        </tbody>
94
+      </table>
95
+      <div class="echarts_result">
96
+        <div>上图各等级上线统计结果为:A类10人(15%),B类50人(30%),C类100人(35%),D类150人(40%),E类200人(30%):</div>
97
+        <div class="echarts_result_content">
98
+          <div><span class="bg_5699FF"></span>A类上线率最高的班级:八年级二班,A类上线率最低的班级:八年级二班</div>
99
+          <div><span class="bg_FF5F56"></span>B类上线率最高的班级:八年级三班,B类上线率最低的班级:八年级二班</div>
100
+          <div><span class="bg_5EC5C8"></span>C类上线率最高的班级:八年级四班,C类上线率最低的班级:八年级二班</div>
101
+          <div><span class="bg_F1982B"></span>D类上线率最高的班级:八年级一班,D类上线率最低的班级:八年级二班</div>
102
+          <div><span class="bg_F1982B"></span>E类上线率最高的班级:八年级一班,E类上线率最低的班级:八年级二班</div>
103
+        </div>
104
+      </div>
16 105
     </div>
17 106
     <script src="../../js/scoreAnalysis/section_2_level.js"></script>
18 107
   </body>

+ 85
- 1
sections/scoreAnalysis/section_2_lin_rank.html Bestand weergeven

@@ -7,7 +7,91 @@
7 7
   <title>校本PDF报告-第二章 成绩分析</title>
8 8
 </head>
9 9
 <body>
10
-  <div class="page_root"></div>
10
+  <div class="page_root section_2_lin_rank">
11
+    <h2 class="section_title_2">3.分数分段级对比</h2>
12
+      <h3 class="section_title_3">3.1 全科分数段统计</h3>
13
+      <h4 class="section_title_4">3.1.1 全年级各分数段分析</h4>
14
+      <div id="classscoreLevelEcharts" style="margin: 0 4mm 4mm; height: 80mm"></div>
15
+      <h4 class="section_title_4">3.1.2 各班分数段比例分布</h4>
16
+      <table border="1" class="my_table">
17
+        <thead>
18
+          <tr>
19
+            <th rowspan="2">班级</th>
20
+            <th colspan="2">A类</th>
21
+            <th colspan="2">B类</th>
22
+            <th colspan="2">C类</th>
23
+            <th colspan="2">D类</th>
24
+            <th colspan="2">E类</th>
25
+          </tr>
26
+          <tr>
27
+            <th>人数</th>
28
+            <th>比例</th>
29
+            <th>人数</th>
30
+            <th>比例</th>
31
+            <th>人数</th>
32
+            <th>比例</th>
33
+            <th>人数</th>
34
+            <th>比例</th>
35
+            <th>人数</th>
36
+            <th>比例</th>
37
+          </tr>
38
+        </thead>
39
+        <tbody>
40
+          <tr>
41
+            <td><div class="my_cell">全部班级</div></td>
42
+            <td><div class="my_cell">5</div></td>
43
+            <td><div class="my_cell">4%</div></td>
44
+            <td><div class="my_cell">5</div></td>
45
+            <td><div class="my_cell">4%</div></td>
46
+            <td><div class="my_cell">5</div></td>
47
+            <td><div class="my_cell">4%</div></td>
48
+            <td><div class="my_cell">5</div></td>
49
+            <td><div class="my_cell">4%</div></td>
50
+            <td><div class="my_cell">5</div></td>
51
+            <td><div class="my_cell">4%</div></td>
52
+          </tr>
53
+          <tr>
54
+            <td><div class="my_cell">八年级一班</div></td>
55
+            <td><div class="my_cell">5</div></td>
56
+            <td><div class="my_cell">4%</div></td>
57
+            <td><div class="my_cell">5</div></td>
58
+            <td><div class="my_cell">4%</div></td>
59
+            <td><div class="my_cell">5</div></td>
60
+            <td><div class="my_cell">4%</div></td>
61
+            <td><div class="my_cell">5</div></td>
62
+            <td><div class="my_cell">4%</div></td>
63
+            <td><div class="my_cell">5</div></td>
64
+            <td><div class="my_cell">4%</div></td>
65
+          </tr>
66
+          <tr>
67
+            <td><div class="my_cell">八年级二班</div></td>
68
+            <td><div class="my_cell">5</div></td>
69
+            <td><div class="my_cell">4%</div></td>
70
+            <td><div class="my_cell">5</div></td>
71
+            <td><div class="my_cell">4%</div></td>
72
+            <td><div class="my_cell">5</div></td>
73
+            <td><div class="my_cell">4%</div></td>
74
+            <td><div class="my_cell">5</div></td>
75
+            <td><div class="my_cell">4%</div></td>
76
+            <td><div class="my_cell">5</div></td>
77
+            <td><div class="my_cell">4%</div></td>
78
+          </tr>
79
+          <tr>
80
+            <td><div class="my_cell">八年级三班</div></td>
81
+            <td><div class="my_cell">5</div></td>
82
+            <td><div class="my_cell">4%</div></td>
83
+            <td><div class="my_cell">5</div></td>
84
+            <td><div class="my_cell">4%</div></td>
85
+            <td><div class="my_cell">5</div></td>
86
+            <td><div class="my_cell">4%</div></td>
87
+            <td><div class="my_cell">5</div></td>
88
+            <td><div class="my_cell">4%</div></td>
89
+            <td><div class="my_cell">5</div></td>
90
+            <td><div class="my_cell">4%</div></td>
91
+          </tr>
92
+        </tbody>
93
+      </table>
94
+  </div>
11 95
   <script src="../../js/scoreAnalysis/section_2_lin_rank.js"></script>
12 96
 </body>
13 97
 </html>

+ 86
- 1
sections/scoreAnalysis/section_2_part.html Bestand weergeven

@@ -7,7 +7,92 @@
7 7
   <title>校本PDF报告-第二章 成绩分析</title>
8 8
 </head>
9 9
 <body>
10
-  <div class="page_root"></div>
10
+  <div class="page_root section_2_part">
11
+    <h2 class="section_title_2">3.分数分段级对比</h2>
12
+    <h3 class="section_title_3">3.1 全科分数段统计</h3>
13
+    <h4 class="section_title_4">3.1.1 全年级各分数段分析</h4>
14
+    <div>当前设置分数段:<span>10</span>分/段</div>
15
+    <div id="classscoreLevelEcharts" style="margin: 0 4mm 4mm; height: 80mm"></div>
16
+    <h4 class="section_title_4">3.1.2 各班分数段比例分布</h4>
17
+    <table border="1" class="my_table">
18
+      <thead>
19
+        <tr>
20
+          <th rowspan="2">班级</th>
21
+          <th colspan="2">A类</th>
22
+          <th colspan="2">B类</th>
23
+          <th colspan="2">C类</th>
24
+          <th colspan="2">D类</th>
25
+          <th colspan="2">E类</th>
26
+        </tr>
27
+        <tr>
28
+          <th>人数</th>
29
+          <th>比例</th>
30
+          <th>人数</th>
31
+          <th>比例</th>
32
+          <th>人数</th>
33
+          <th>比例</th>
34
+          <th>人数</th>
35
+          <th>比例</th>
36
+          <th>人数</th>
37
+          <th>比例</th>
38
+        </tr>
39
+      </thead>
40
+      <tbody>
41
+        <tr>
42
+          <td><div class="my_cell">全部班级</div></td>
43
+          <td><div class="my_cell">5</div></td>
44
+          <td><div class="my_cell">4%</div></td>
45
+          <td><div class="my_cell">5</div></td>
46
+          <td><div class="my_cell">4%</div></td>
47
+          <td><div class="my_cell">5</div></td>
48
+          <td><div class="my_cell">4%</div></td>
49
+          <td><div class="my_cell">5</div></td>
50
+          <td><div class="my_cell">4%</div></td>
51
+          <td><div class="my_cell">5</div></td>
52
+          <td><div class="my_cell">4%</div></td>
53
+        </tr>
54
+        <tr>
55
+          <td><div class="my_cell">八年级一班</div></td>
56
+          <td><div class="my_cell">5</div></td>
57
+          <td><div class="my_cell">4%</div></td>
58
+          <td><div class="my_cell">5</div></td>
59
+          <td><div class="my_cell">4%</div></td>
60
+          <td><div class="my_cell">5</div></td>
61
+          <td><div class="my_cell">4%</div></td>
62
+          <td><div class="my_cell">5</div></td>
63
+          <td><div class="my_cell">4%</div></td>
64
+          <td><div class="my_cell">5</div></td>
65
+          <td><div class="my_cell">4%</div></td>
66
+        </tr>
67
+        <tr>
68
+          <td><div class="my_cell">八年级二班</div></td>
69
+          <td><div class="my_cell">5</div></td>
70
+          <td><div class="my_cell">4%</div></td>
71
+          <td><div class="my_cell">5</div></td>
72
+          <td><div class="my_cell">4%</div></td>
73
+          <td><div class="my_cell">5</div></td>
74
+          <td><div class="my_cell">4%</div></td>
75
+          <td><div class="my_cell">5</div></td>
76
+          <td><div class="my_cell">4%</div></td>
77
+          <td><div class="my_cell">5</div></td>
78
+          <td><div class="my_cell">4%</div></td>
79
+        </tr>
80
+        <tr>
81
+          <td><div class="my_cell">八年级三班</div></td>
82
+          <td><div class="my_cell">5</div></td>
83
+          <td><div class="my_cell">4%</div></td>
84
+          <td><div class="my_cell">5</div></td>
85
+          <td><div class="my_cell">4%</div></td>
86
+          <td><div class="my_cell">5</div></td>
87
+          <td><div class="my_cell">4%</div></td>
88
+          <td><div class="my_cell">5</div></td>
89
+          <td><div class="my_cell">4%</div></td>
90
+          <td><div class="my_cell">5</div></td>
91
+          <td><div class="my_cell">4%</div></td>
92
+        </tr>
93
+      </tbody>
94
+    </table>
95
+  </div>
11 96
   <script src="../../js/scoreAnalysis/section_2_part.js"></script>
12 97
 </body>
13 98
 </html>

+ 1
- 1
sections/section_1.html Bestand weergeven

@@ -5,7 +5,7 @@
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 7
     <title>校本PDF报告-第一章 考试概况</title>
8
-    <link rel="stylesheet" href="./css/section_1.css" />
8
+    <link rel="stylesheet" href="../css/section_1.css" />
9 9
   </head>
10 10
   <body>
11 11
     <div class="page_root section1">

Laden…
Annuleren
Opslaan