|
@@ -1,48 +1,105 @@
|
|
|
<template>
|
|
|
- <div class="report-page report-cover">
|
|
|
+ <div class="report-page report-question">
|
|
|
<div class="report-body">
|
|
|
- <h2 class="report-body-title">五、试卷题目特征分析</h2>
|
|
|
- </div>
|
|
|
+ <div class="report-body-head">
|
|
|
+ <h2>五、试卷题目特征分析</h2>
|
|
|
+ <p class="report-name"></p>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="report-part">
|
|
|
- <table class="table">
|
|
|
- <tr>
|
|
|
- <th>大题号</th>
|
|
|
- <th>小题号</th>
|
|
|
- <th>难度系数</th>
|
|
|
- <th>满分</th>
|
|
|
- <th>最高分</th>
|
|
|
- <th>最低分</th>
|
|
|
- <th>平均分</th>
|
|
|
- <th>标准差</th>
|
|
|
- <th>有效卷数</th>
|
|
|
- <th>差异系数</th>
|
|
|
- <th>区分度</th>
|
|
|
- <th>零分人数</th>
|
|
|
- <th>满分人数</th>
|
|
|
- </tr>
|
|
|
- <tr v-for="item in questions" :key="item.id">
|
|
|
- <td>{{ item.mainNumber }}</td>
|
|
|
- <td>{{ item.subNumber }}</td>
|
|
|
- <td>{{ item.difficulty }}</td>
|
|
|
- <td>{{ item.totalScore }}</td>
|
|
|
- <td>{{ item.maxScore }}</td>
|
|
|
- <td>{{ item.minScore }}</td>
|
|
|
- <td>{{ item.avgScore }}</td>
|
|
|
- <td>{{ item.stdev }}</td>
|
|
|
- <td>{{ item.effectiveCount }}</td>
|
|
|
- <td>{{ item.coefficient }}</td>
|
|
|
- <td>{{ item.discrimination }}</td>
|
|
|
- <td>{{ item.zeroCount }}</td>
|
|
|
- <td>{{ item.fullCount }}</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <div class="report-part">
|
|
|
+ <table class="table question-table">
|
|
|
+ <colgroup>
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 59px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 59px" />
|
|
|
+ <col style="width: 59px" />
|
|
|
+ <col style="width: 45px" />
|
|
|
+ <col style="width: 59px" />
|
|
|
+ <col style="width: 59px" />
|
|
|
+ </colgroup>
|
|
|
+ <tr>
|
|
|
+ <th>大题号</th>
|
|
|
+ <th>小题号</th>
|
|
|
+ <th>难度<br />系数</th>
|
|
|
+ <th>满分</th>
|
|
|
+ <th>最高分</th>
|
|
|
+ <th>最低分</th>
|
|
|
+ <th>平均分</th>
|
|
|
+ <th>标准差</th>
|
|
|
+ <th>有效<br />卷数</th>
|
|
|
+ <th>差异<br />系数</th>
|
|
|
+ <th>区分度</th>
|
|
|
+ <th>零分<br />人数</th>
|
|
|
+ <th>满分<br />人数</th>
|
|
|
+ </tr>
|
|
|
+ <tr v-for="item in questions" :key="item.id">
|
|
|
+ <td>{{ item.mainNumber }}</td>
|
|
|
+ <td>{{ item.subNumber }}</td>
|
|
|
+ <td>{{ item.difficulty }}</td>
|
|
|
+ <td>{{ item.totalScore }}</td>
|
|
|
+ <td>{{ item.maxScore }}</td>
|
|
|
+ <td>{{ item.minScore }}</td>
|
|
|
+ <td>{{ item.avgScore }}</td>
|
|
|
+ <td>{{ item.stdev }}</td>
|
|
|
+ <td>{{ item.effectiveCount }}</td>
|
|
|
+ <td>{{ item.coefficient }}</td>
|
|
|
+ <td>{{ item.discrimination }}</td>
|
|
|
+ <td>{{ item.zeroCount }}</td>
|
|
|
+ <td>{{ item.fullCount }}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <div class="report-pfoot"></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
-import { SASQuestion } from "@/types";
|
|
|
+// import { SASQuestion } from "@/types";
|
|
|
+
|
|
|
+// let questions = $shallowRef<SASQuestion[]>([]);
|
|
|
+
|
|
|
+interface QuestionType {
|
|
|
+ id: number;
|
|
|
+ mainNumber: number;
|
|
|
+ subNumber: number;
|
|
|
+ difficulty: number;
|
|
|
+ totalScore: number;
|
|
|
+ maxScore: number;
|
|
|
+ minScore: number;
|
|
|
+ avgScore: number;
|
|
|
+ stdev: number;
|
|
|
+ effectiveCount: number;
|
|
|
+ coefficient: number;
|
|
|
+ discrimination: number;
|
|
|
+ zeroCount: number;
|
|
|
+ fullCount: number;
|
|
|
+}
|
|
|
+
|
|
|
+let questions = $shallowRef<QuestionType[]>([]);
|
|
|
|
|
|
-let questions = $shallowRef<SASQuestion[]>([]);
|
|
|
+for (let i = 0; i < 37; i++) {
|
|
|
+ questions.push({
|
|
|
+ id: i,
|
|
|
+ mainNumber: 1,
|
|
|
+ subNumber: 2,
|
|
|
+ difficulty: 1,
|
|
|
+ totalScore: 1,
|
|
|
+ maxScore: 1,
|
|
|
+ minScore: 1,
|
|
|
+ avgScore: 1,
|
|
|
+ stdev: 1,
|
|
|
+ effectiveCount: 1,
|
|
|
+ coefficient: 1,
|
|
|
+ discrimination: 1,
|
|
|
+ zeroCount: 1,
|
|
|
+ fullCount: 1,
|
|
|
+ });
|
|
|
+}
|
|
|
</script>
|