|
|
@ -340,9 +340,8 @@ export default { |
|
|
|
async getData () { |
|
|
|
async getData () { |
|
|
|
// 考核和练习调不同接口 |
|
|
|
// 考核和练习调不同接口 |
|
|
|
const res = this.permissions ? |
|
|
|
const res = this.permissions ? |
|
|
|
await this.$post(`${this.api.getAssessmentDetail}?pageNum=${this.page}&pageSize=${this.pageSize}&assessmentId=${this.id}&classId=${this.classId}&keyword=${this.keyword}`) : |
|
|
|
await this.$post(`${this.api.getAssessmentDetail}?pageNum=${this.page}&pageSize=10000&assessmentId=${this.id}&classId=${this.classId}&keyword=${this.keyword}`) : |
|
|
|
await this.$post(`${this.api.getPracticeDetail}?pageNum=${this.page}&pageSize=${this.pageSize}&projectId=${this.id}&keyword=${this.keyword}`) |
|
|
|
await this.$post(`${this.api.getPracticeDetail}?pageNum=${this.page}&pageSize=10000&projectId=${this.id}&keyword=${this.keyword}`) |
|
|
|
this.listData = res.page.records |
|
|
|
|
|
|
|
this.listDataAll = res.page.records |
|
|
|
this.listDataAll = res.page.records |
|
|
|
this.total = res.page.total |
|
|
|
this.total = res.page.total |
|
|
|
this.avgScore = (+res.avgScore).toFixed(2) |
|
|
|
this.avgScore = (+res.avgScore).toFixed(2) |
|
|
@ -352,14 +351,10 @@ export default { |
|
|
|
this.errorAnalysis = res.errorAnalysis |
|
|
|
this.errorAnalysis = res.errorAnalysis |
|
|
|
this.max = res.highestErrorRate || {} |
|
|
|
this.max = res.highestErrorRate || {} |
|
|
|
this.min = res.minimumErrorRate || {} |
|
|
|
this.min = res.minimumErrorRate || {} |
|
|
|
// this.handlePage() |
|
|
|
this.handlePage() |
|
|
|
this.getChart() |
|
|
|
this.getChart() |
|
|
|
this.errorChart() |
|
|
|
this.errorChart() |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleCurrentChange (val) { |
|
|
|
|
|
|
|
this.page = val |
|
|
|
|
|
|
|
this.getData() |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 活跃度 |
|
|
|
// 活跃度 |
|
|
|
async getActivity () { |
|
|
|
async getActivity () { |
|
|
|
// 考核和练习调不同接口 |
|
|
|
// 考核和练习调不同接口 |
|
|
@ -458,13 +453,17 @@ export default { |
|
|
|
handleSelectionChange (val) { // 多选 |
|
|
|
handleSelectionChange (val) { // 多选 |
|
|
|
this.multipleSelection = val; |
|
|
|
this.multipleSelection = val; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
handleCurrentChange (val) { // 切换分页 |
|
|
|
|
|
|
|
this.page = val; |
|
|
|
|
|
|
|
this.handlePage(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
handleSelectionActivationChange (val) { // 多选 |
|
|
|
handleSelectionActivationChange (val) { // 多选 |
|
|
|
this.multipleSelectionActivation = val; |
|
|
|
this.multipleSelectionActivation = val; |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleCurrentActivationChange (val) { // 切换分页 |
|
|
|
handleCurrentActivationChange (val) { // 切换分页 |
|
|
|
this.pageActivation = val; |
|
|
|
this.pageActivation = val; |
|
|
|
this.getActivity(); |
|
|
|
this.handlePage(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 导出(有勾选:就导勾选中的;没有勾选:就导全部) |
|
|
|
// 导出(有勾选:就导勾选中的;没有勾选:就导全部) |
|
|
@ -714,7 +713,6 @@ export default { |
|
|
|
.wrong { |
|
|
|
.wrong { |
|
|
|
.line { |
|
|
|
.line { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
// justify-content: center; |
|
|
|
|
|
|
|
width: 920px; |
|
|
|
width: 920px; |
|
|
|
margin: 0 auto 10px; |
|
|
|
margin: 0 auto 10px; |
|
|
|
.jud-name { |
|
|
|
.jud-name { |
|
|
|