Browse Source

第一部分 等级比例分析

gzb
guozhongbo 1 year ago
parent
commit
7a77baf88d
3 changed files with 1176 additions and 54 deletions
  1. 4
    5
      js/index.js
  2. 1085
    2
      js/section_1.js
  3. 87
    47
      sections/section_1.html

+ 4
- 5
js/index.js View File

@@ -3,8 +3,8 @@ $(function () {
3 3
 
4 4
     var loadHtmlArr = [
5 5
       // "cover", //封面
6
-      "preface", //前言
7
-      // "section_1",
6
+      // "preface", //前言
7
+      "section_1",
8 8
       // "section_2",
9 9
       // "section_3",
10 10
       // "section_4",
@@ -20,7 +20,7 @@ $(function () {
20 20
       } else if (htmlName === "preface") {
21 21
         $("." + htmlName + "_html_root").data("page-params", JSON.stringify(sectionsData));
22 22
       } else if (htmlName === "section_1") {
23
-        $("." + htmlName + "_html_root").data("page-params", JSON.stringify(sectionsData.ksgk));
23
+        $("." + htmlName + "_html_root").data("page-params", JSON.stringify(sectionsData));
24 24
       } else if (htmlName === "section_2") {
25 25
         $("." + htmlName + "_html_root").data("page-params", JSON.stringify({
26 26
           cjfx: sectionsData.cjfx,
@@ -39,7 +39,7 @@ $(function () {
39 39
   // 请求接口前缀
40 40
   var _pdfBaseurl = "https://schoolapitest.xhkjedu.com/";
41 41
   // 47.1.1pdf报告
42
-  var _sexam_ers_pdf = _pdfBaseurl + "sexam/ers/pdf";
42
+  var _sexam_ers_pdf = _pdfBaseurl + "sexam/erc/pdf";
43 43
   $.ajax({
44 44
     type: "POST",
45 45
     url: _sexam_ers_pdf,
@@ -51,7 +51,6 @@ $(function () {
51 51
     contentType: "application/json; charset=utf-8",
52 52
     success: function (data) {
53 53
       if (data.code === 0) {
54
-        console.log(data.obj)
55 54
         loadSectionHtml(data.obj);
56 55
       } else {
57 56
         alert(data.msg);

+ 1085
- 2
js/section_1.js
File diff suppressed because it is too large
View File


+ 87
- 47
sections/section_1.html View File

@@ -22,73 +22,59 @@
22 22
           </div>
23 23
         </div>
24 24
       </div>
25
-      <h2 class="section_title_2">1.总览</h2>
26
-      <div class="section_list">
27
-        <div class="section_item">
28
-          <div class="item_num"><span class="classnum"></span>个</div>
29
-          <div class="item_title">班级数量</div>
30
-        </div>
31
-        <div class="section_item">
32
-          <div class="item_num"><span class="stunum"></span>人</div>
33
-          <div class="item_title">学生数量</div>
34
-        </div>
35
-        <div class="section_item">
36
-          <div class="item_num"><span class="missnum"></span>人</div>
37
-          <div class="item_title">缺考人数</div>
38
-        </div>
39
-        <div class="section_item">
40
-          <div class="item_num"><span class="subjectnum"></span>科</div>
41
-          <div class="item_title">科目数量</div>
42
-        </div>
43
-        <div class="section_item">
44
-          <div class="item_num"><span class="maxscore"></span>分</div>
45
-          <div class="item_title">最高分</div>
46
-        </div>
47
-        <div class="section_item">
48
-          <div class="item_num"><span class="avgscore"></span>分</div>
49
-          <div class="item_title">平均分</div>
50
-        </div>
51
-        <div class="section_item" style="margin-right: 0">
52
-          <div class="item_num"><span class="mixscore"></span>分</div>
53
-          <div class="item_title">最低分</div>
54
-        </div>
55
-      </div>
56
-      <h2 class="section_title_2">2.成绩概况</h2>
25
+      <h2 class="section_title_2">1.学科成绩对比</h2>
57 26
       <h3 class="section_title_3">
58
-        2.1 各科满分、最高分、最低分、平均分对比分析
27
+        1.1 各科满分、最高分、最低分、平均分对比分析
59 28
       </h3>
60 29
       <div
61 30
         id="averagescoreEcharts"
62
-        style="margin: 0 4mm 4mm; height: 80mm"
31
+        style="margin: 0 4mm 4mm; height: 70mm"
63 32
       ></div>
64 33
       <div class="echarts_result">
65 34
         <div>上图统计结果表示:</div>
66 35
         <div class="echarts_result_content">
67
-          <span class="yj" style="background-color: #ff5d41"></span>满分人数最多科目:<span class="mfclass"></span>
36
+          <span class="yj" style="background-color: #ff5d41"></span
37
+          >满分人数最多科目:<span class="mfclass"></span>
68 38
         </div>
69 39
       </div>
70
-    </div>
71
-    <div class="page_root section1">
72 40
       <h3 class="section_title_3">
73
-        2.2 各科优秀率、良好率、及格率、低分率对比分析
41
+        1.2 各科优秀率、良好率、及格率、低分率对比分析
74 42
       </h3>
75 43
       <div
76 44
         id="excellencerateEcharts"
77
-        style="margin: 0 4mm 4mm; height: 80mm"
45
+        style="margin: 0 4mm 4mm; height: 70mm"
78 46
       ></div>
47
+    </div>
48
+    <div class="page_root section1">
79 49
       <div class="echarts_result">
80 50
         <div>上图统计结果表示:</div>
81 51
         <div class="echarts_result_content">
82
-          <span class="yj" style="background-color: #5c99ff"></span>优秀率最高的科目:<span class="yxclass"></span>
52
+          <span class="yj" style="background-color: #5c99ff"></span
53
+          >优秀率最高的科目:<span class="yxclass"></span>
54
+        </div>
55
+        <div
56
+          class="echarts_result_content"
57
+          style="margin-top: 0; padding-top: 0"
58
+        >
59
+          <span class="yj" style="background-color: #ff5f56"></span
60
+          >良好率最高的科目:<span class="lhclass"></span>
83 61
         </div>
84 62
         <div
85 63
           class="echarts_result_content"
86 64
           style="margin-top: 0; padding-top: 0"
87 65
         >
88
-          <span class="yj" style="background-color: #ff5f56"></span>及格率最低的科目:<span class="jgclass"></span>
66
+          <span class="yj" style="background-color: #5ec5c8"></span
67
+          >及格率最高的科目:<span class="jgclass"></span>
68
+        </div>
69
+        <div
70
+          class="echarts_result_content"
71
+          style="margin-top: 0; padding-top: 0"
72
+        >
73
+          <span class="yj" style="background-color: #f1982b"></span
74
+          >低分率最高的科目:<span class="dfclass"></span>
89 75
         </div>
90 76
       </div>
91
-      <h3 class="section_title_3">2.3 各科实考人数、缺考人数分析</h3>
77
+      <h3 class="section_title_3">1.3 各科实考人数、缺考人数分析</h3>
92 78
       <div id="examnumEcharts" style="margin: 0 4mm 4mm; height: 80mm"></div>
93 79
       <div class="echarts_result">
94 80
         <div>上图统计结果表示:</div>
@@ -104,11 +90,11 @@
104 90
           >缺考人数最多的科目:<span class="qkclass"></span>
105 91
         </div>
106 92
       </div>
93
+      <h3 class="section_title_3">1.4 各科标准差分析</h3>
94
+      <div id="bzcEcharts" style="margin: 0 4mm 4mm; height: 80mm"></div>
107 95
     </div>
108 96
     <div class="page_root section1">
109
-      <h3 class="section_title_3">2.4 各科标准差分析</h3>
110
-      <div id="bzcEcharts" style="margin: 0 4mm 4mm; height: 80mm"></div>
111
-      <h3 class="section_title_3">2.5 成绩整体分析</h3>
97
+      <h3 class="section_title_3">1.5 学科成绩整体分析</h3>
112 98
       <table border="1" class="my_table">
113 99
         <thead>
114 100
           <tr>
@@ -126,9 +112,63 @@
126 112
             <th class="w12mm">标准差</th>
127 113
           </tr>
128 114
         </thead>
129
-        <tbody class="tbody">
130
-        </tbody>
115
+        <tbody class="tbody"></tbody>
131 116
       </table>
117
+      <h2 class="section_title_2">2.平均分对比</h2>
118
+      <div
119
+        id="examaverageEcharts"
120
+        style="margin: 0 4mm 4mm; height: 80mm"
121
+      ></div>
122
+      <div class="echarts_result">
123
+        <div>上图统计结果表示:</div>
124
+        <div class="echarts_result_content">
125
+          <span class="yj" style="background-color: #5c99ff"></span
126
+          >考的较好的科目:<span class="goodclass"></span>
127
+        </div>
128
+        <div
129
+          class="echarts_result_content"
130
+          style="margin-top: 0; padding-top: 0"
131
+        >
132
+          <span class="yj" style="background-color: #ff5f56"></span
133
+          >考的较差的科目:<span class="badclass"></span>
134
+        </div>
135
+      </div>
136
+      <h2 class="section_title_2">3.分数等级统计</h2>
137
+      <h3 class="section_title_3">3.1 各科等级分析</h3>
138
+      <div id="scoreGradeEcharts" style="margin: 0 4mm 4mm; height: 70mm"></div>
139
+    </div>
140
+    <div class="page_root section1">
141
+      <h3 class="section_title_3">3.2 各科等级比例分析</h3>
142
+      <div class="gradescale">
143
+        <table border="1" class="my_table">
144
+          <thead>
145
+            <tr class="goodTableHeadTr1"></tr>
146
+            <tr class="goodTableHeadTr2"></tr>
147
+          </thead>
148
+          <tbody class="goodTableTbody"></tbody>
149
+        </table>
150
+      </div>
151
+      <div class="echarts_result">
152
+        <div>
153
+          上图各等级上线统计结果为:<span class="result_collect"></span>:
154
+        </div>
155
+        <div class="echarts_result_content">
156
+          <div>
157
+            <span class="bg_5699FF"></span><i class="A_collect"></i>
158
+          </div>
159
+          <div>
160
+            <span class="bg_FF5F56"></span><i class="B_collect"></i>
161
+          </div>
162
+          <div>
163
+            <span class="bg_5EC5C8"></span><i class="C_collect"></i>
164
+          </div>
165
+          <div>
166
+            <span class="bg_F1982B"></span><i class="D_collect"></i>
167
+          </div>
168
+          <div>
169
+            <span class="bg_F1982B"></span><i class="E_collect"></i>
170
+          </div>
171
+        </div>
132 172
     </div>
133 173
     <script src="../js/section_1.js"></script>
134 174
   </body>

Loading…
Cancel
Save