lrf402788946 4 年之前
父节点
当前提交
3df4036a55
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/stuscore/scoreList.vue

+ 2 - 2
src/views/stuscore/scoreList.vue

@@ -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);