|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div id="index">
|
|
|
- <list-frame :title="pageTitle" @query="search" :total="total" :needFilter="false" :needAdd="false">
|
|
|
+ <list-frame :title="pageTitle" @query="search" :total="total" :needFilter="false" :needAdd="false" :needPag="false">
|
|
|
<el-col :span="24" class="teascore">
|
|
|
<p>
|
|
|
教师:<span>{{ teacherinfo.name }}</span> 总分:<span>{{ teascore.teatotal }}分</span> 平均分:<span>{{ teascore.teapinjuntotal }}分</span>
|
|
@@ -55,7 +55,7 @@ export default {
|
|
|
...teacher({ teafetch: 'fetch' }),
|
|
|
...mapScore(['query', 'fetch', 'create', 'update']),
|
|
|
async search({ skip, limit = 10, ...info } = {}) {
|
|
|
- let res = await this.query({ lessonid: this.lessonid, teacherid: this.teacherid, skip, limit, ...info });
|
|
|
+ let res = await this.query({ lessonid: this.lessonid, teacherid: this.teacherid, ...info });
|
|
|
if (res.errcode === 0) {
|
|
|
this.$set(this, `list`, res.data);
|
|
|
this.$set(this, `total`, res.total);
|