|
@@ -7,10 +7,14 @@
|
|
fullscreen
|
|
fullscreen
|
|
@on-visible-change="visibleChange"
|
|
@on-visible-change="visibleChange"
|
|
>
|
|
>
|
|
- <div class="part-box-head">
|
|
|
|
- <div class="part-box-head-right">
|
|
|
|
|
|
+ <div class="box-justify mb-2">
|
|
|
|
+ <div>
|
|
|
|
+ <p>{{ curArea.areaName }}:{{ curSubject.name }}</p>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
<Button
|
|
<Button
|
|
class="marker-btn-primary"
|
|
class="marker-btn-primary"
|
|
|
|
+ size="small"
|
|
type="primary"
|
|
type="primary"
|
|
@click="toExport"
|
|
@click="toExport"
|
|
:load="isDownload"
|
|
:load="isDownload"
|
|
@@ -21,21 +25,20 @@
|
|
<div class="marker-statistics-table">
|
|
<div class="marker-statistics-table">
|
|
<table class="table table-dark">
|
|
<table class="table table-dark">
|
|
<tr>
|
|
<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>
|
|
<th>累计数量</th>
|
|
<th>累计占比</th>
|
|
<th>累计占比</th>
|
|
<th>调整</th>
|
|
<th>调整</th>
|
|
|
|
+ <th class="td-bl">全部试卷数量</th>
|
|
|
|
+ <th>全部试卷占比</th>
|
|
|
|
+ <th>占比阈值</th>
|
|
</tr>
|
|
</tr>
|
|
<tr v-for="(level, sindex) in levelData" :key="sindex">
|
|
<tr v-for="(level, sindex) in levelData" :key="sindex">
|
|
- <td>{{ level.subjectName }}</td>
|
|
|
|
<td>{{ level.code }}</td>
|
|
<td>{{ level.code }}</td>
|
|
- <td>{{ level.minScore }}~{{ level.maxScore }}</td>
|
|
|
|
<td>{{ level.levelCount }}</td>
|
|
<td>{{ level.levelCount }}</td>
|
|
<td>{{ level.levelProp }}%</td>
|
|
<td>{{ level.levelProp }}%</td>
|
|
<td>{{ level.examLevelProp }}%</td>
|
|
<td>{{ level.examLevelProp }}%</td>
|
|
@@ -43,11 +46,14 @@
|
|
<td>{{ level.cumulateCount }}</td>
|
|
<td>{{ level.cumulateCount }}</td>
|
|
<td>{{ level.cumulateProp }}%</td>
|
|
<td>{{ level.cumulateProp }}%</td>
|
|
<td>{{ level.adjustmentCount }}</td>
|
|
<td>{{ level.adjustmentCount }}</td>
|
|
|
|
+ <td class="td-bl">{{ level.gcount }}</td>
|
|
|
|
+ <td>{{ level.gpercent }}%</td>
|
|
|
|
+ <td>{{ level.pt }}%</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="marker-statistics-chart">
|
|
<div class="marker-statistics-chart">
|
|
- <h3>数量统计</h3>
|
|
|
|
|
|
+ <h3>考区试卷数量分布图</h3>
|
|
<echart-render
|
|
<echart-render
|
|
:chart-data="lineChartData"
|
|
:chart-data="lineChartData"
|
|
chart-type="darkLine"
|
|
chart-type="darkLine"
|
|
@@ -94,7 +100,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- ...mapState("marker", ["paramsSet", "curSubject", "curArea"]),
|
|
|
|
|
|
+ ...mapState("marker", ["paramsSet", "curSubject", "curArea", "steps"]),
|
|
showPaperRelateCount() {
|
|
showPaperRelateCount() {
|
|
return !!this.paramsSet["showPaperCount"];
|
|
return !!this.paramsSet["showPaperCount"];
|
|
}
|
|
}
|
|
@@ -108,6 +114,10 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async initData() {
|
|
async initData() {
|
|
|
|
+ let levelSteps = {};
|
|
|
|
+ this.steps.levelStep.forEach(element => {
|
|
|
|
+ levelSteps[element.name] = element;
|
|
|
|
+ });
|
|
const subs = this.$route.params.subjectId.split("-");
|
|
const subs = this.$route.params.subjectId.split("-");
|
|
this.levelData = await gradingStatData({
|
|
this.levelData = await gradingStatData({
|
|
questionId: this.questionId,
|
|
questionId: this.questionId,
|
|
@@ -122,6 +132,10 @@ export default {
|
|
item.adjustmentCount = this.showPaperRelateCount
|
|
item.adjustmentCount = this.showPaperRelateCount
|
|
? item.adjustmentCount
|
|
? item.adjustmentCount
|
|
: "";
|
|
: "";
|
|
|
|
+ const levelStep = levelSteps[item.code];
|
|
|
|
+ item.gcount = levelStep.gcount;
|
|
|
|
+ item.gpercent = levelStep.gpercent.toFixed(2);
|
|
|
|
+ item.pt = levelStep.pt;
|
|
return item;
|
|
return item;
|
|
});
|
|
});
|
|
|
|
|