|
@@ -19,8 +19,8 @@ let teacherData = $ref([])
|
|
let subjectData = $ref([]);
|
|
let subjectData = $ref([]);
|
|
let barTeacher = $ref([]);
|
|
let barTeacher = $ref([]);
|
|
let barPercent = $ref([]);
|
|
let barPercent = $ref([]);
|
|
-let barUnusual = $ref(['缺考','学号异常','页码异常','缺考异常','客观题异常','选择题异常','判断题异常','填空题异常']);
|
|
|
|
-let barUnData = $ref([40,70,100,70,70,70,80,90])
|
|
|
|
|
|
+let barSubject = $ref([]);
|
|
|
|
+let barSubjectData = $ref([]);
|
|
let sub_nav = [{
|
|
let sub_nav = [{
|
|
id:'1',
|
|
id:'1',
|
|
name:'教师批阅情况'
|
|
name:'教师批阅情况'
|
|
@@ -61,6 +61,9 @@ function getData() {
|
|
teacherData = res.data.data1.list;
|
|
teacherData = res.data.data1.list;
|
|
barTeacher = res.data.data1.users;
|
|
barTeacher = res.data.data1.users;
|
|
barPercent = res.data.data1.values;
|
|
barPercent = res.data.data1.values;
|
|
|
|
+ barSubject = res.data.data2.users;
|
|
|
|
+ barSubjectData = res.data.data2.values;
|
|
|
|
+ subjectData = res.data.data2.list;
|
|
if (cur_sub.id === '1') {
|
|
if (cur_sub.id === '1') {
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
initChart();
|
|
initChart();
|
|
@@ -179,7 +182,7 @@ function initUnChart() {
|
|
color:'#6897FF',
|
|
color:'#6897FF',
|
|
borderRadius: [16, 16, 0, 0]
|
|
borderRadius: [16, 16, 0, 0]
|
|
},
|
|
},
|
|
- data: barUnData
|
|
|
|
|
|
+ data: barSubjectData
|
|
}
|
|
}
|
|
]
|
|
]
|
|
});
|
|
});
|
|
@@ -295,14 +298,14 @@ onMounted(() => {
|
|
<th>操作</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</tr>
|
|
<tr v-for="item in subjectData">
|
|
<tr v-for="item in subjectData">
|
|
- <td>{{item.ze_xueke_name}}</td>
|
|
|
|
- <td>{{item.scan_percent}}</td>
|
|
|
|
- <td>{{item.student_num}}</td>
|
|
|
|
- <td>{{item.scan_num}}</td>
|
|
|
|
- <td>{{item.qks}}</td>
|
|
|
|
- <td>{{item.xhycs}}</td>
|
|
|
|
- <td>{{item.ymycs}}</td>
|
|
|
|
- <td>{{item.qkycs}}</td>
|
|
|
|
|
|
+ <td>{{item.xueke}}</td>
|
|
|
|
+ <td>{{item.jd}}</td>
|
|
|
|
+ <td>{{item.zfs}}</td>
|
|
|
|
+ <td>{{item.wcl}}</td>
|
|
|
|
+ <td>{{item.ycs}}</td>
|
|
|
|
+ <td>{{item.pjf}}</td>
|
|
|
|
+ <td>{{item.mf}}</td>
|
|
|
|
+ <td>{{item.zxrs}}</td>
|
|
<td>
|
|
<td>
|
|
<button type="button" class="op-btn">查看详情</button>
|
|
<button type="button" class="op-btn">查看详情</button>
|
|
</td>
|
|
</td>
|