From 6f63705de6b78afffb83b601f51fb24aab1bee47 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 23 七月 2024 15:37:17 +0800
Subject: [PATCH] bug修改

---
 src/views/onlineEducation/realtimeStatus/index.vue |  186 +---------------------------------------------
 1 files changed, 5 insertions(+), 181 deletions(-)

diff --git a/src/views/onlineEducation/realtimeStatus/index.vue b/src/views/onlineEducation/realtimeStatus/index.vue
index eaa3cb1..b8f1c80 100644
--- a/src/views/onlineEducation/realtimeStatus/index.vue
+++ b/src/views/onlineEducation/realtimeStatus/index.vue
@@ -81,7 +81,7 @@
         v-show="total>0"
         :total="total"
         :layout="layout"
-        :page.sync="queryParams.pageIndex"
+        :page.sync="queryParams.pageNum"
         :limit.sync="queryParams.pageSize"
         @pagination="getList"
       />
@@ -106,7 +106,7 @@
       platformList: [],
       data: {},
       queryParams: {
-        pageIndex: 1,
+        pageNum: 1,
         pageSize: 2,
         institutionId: '',
         idcard: ''
@@ -170,186 +170,10 @@
                 }
               ]
             },
-            {
-              batchName: 'xxxx',
-              createTime: 'xxxx',
-              courseList: [
-                {
-                  courseName: 'xx',
-                  lessonNum: 100,
-                  duration: 90,
-                  durationRate: 90,
-                  chapterList: [
-                    {
-                      chapterName: '第5章:章节名称',
-                      lessonTocal: 20,
-                      lessonNum: 10
-                    },
-                    {
-                      chapterName: '第1章:章节名称',
-                      lessonTocal: 80,
-                      lessonNum: 80
-                    },
-                  ]
-                },
-                {
-                  courseName: 'xx',
-                  lessonNum: 100,
-                  duration: 90,
-                  durationRate: 90,
-                  chapterList: [
-                    {
-                      chapterName: '第5章:章节名称',
-                      lessonTocal: 20,
-                      lessonNum: 10
-                    },
-                    {
-                      chapterName: '第1章:章节名称',
-                      lessonTocal: 80,
-                      lessonNum: 80
-                    },
-                  ]
-                }
-              ]
-            },
-            {
-              batchName: 'xxxx',
-              createTime: 'xxxx',
-              courseList: [
-                {
-                  courseName: 'xx',
-                  lessonNum: 100,
-                  duration: 90,
-                  durationRate: 90,
-                  chapterList: [
-                    {
-                      chapterName: '第5章:章节名称',
-                      lessonTocal: 20,
-                      lessonNum: 10
-                    },
-                    {
-                      chapterName: '第1章:章节名称',
-                      lessonTocal: 80,
-                      lessonNum: 80
-                    },
-                  ]
-                },
-                {
-                  courseName: 'xx',
-                  lessonNum: 100,
-                  duration: 90,
-                  durationRate: 90,
-                  chapterList: [
-                    {
-                      chapterName: '第5章:章节名称',
-                      lessonTocal: 20,
-                      lessonNum: 10
-                    },
-                    {
-                      chapterName: '第1章:章节名称',
-                      lessonTocal: 80,
-                      lessonNum: 80
-                    },
-                  ]
-                }
-              ]
-            },
-            {
-              batchName: 'xxxx',
-              createTime: 'xxxx',
-              courseList: [
-                {
-                  courseName: 'xx',
-                  lessonNum: 100,
-                  duration: 90,
-                  durationRate: 90,
-                  chapterList: [
-                    {
-                      chapterName: '第5章:章节名称',
-                      lessonTocal: 20,
-                      lessonNum: 10
-                    },
-                    {
-                      chapterName: '第1章:章节名称',
-                      lessonTocal: 80,
-                      lessonNum: 80
-                    },
-                  ]
-                },
-                {
-                  courseName: 'xx',
-                  lessonNum: 100,
-                  duration: 90,
-                  durationRate: 90,
-                  chapterList: [
-                    {
-                      chapterName: '第5章:章节名称',
-                      lessonTocal: 20,
-                      lessonNum: 10
-                    },
-                    {
-                      chapterName: '第1章:章节名称',
-                      lessonTocal: 80,
-                      lessonNum: 80
-                    },
-                  ]
-                }
+
               ]
             }
-
-          ]
-        }
-        // {
-        //   id: null,
-        //   idcard: '11111',
-        //   name: '李四',
-        //   institutionalName: '链工宝',
-        //   batchList: [
-        //     {
-        //       batchName: 'xxxx',
-        //       createTime: 'xxxx',
-        //       courseList: [
-        //         {
-        //           courseName: 'xx',
-        //           lessonNum: 100,
-        //           duration: 90,
-        //           durationRate: 90,
-        //           chapterList: [
-        //             {
-        //               chapterName: '第5章:章节名称',
-        //               lessonTocal: 20,
-        //               lessonNum: 10
-        //             },
-        //             {
-        //               chapterName: '第1章:章节名称',
-        //               lessonTocal: 80,
-        //               lessonNum: 80
-        //             },
-        //           ]
-        //         },
-        //         {
-        //           courseName: 'xx',
-        //           lessonNum: 100,
-        //           duration: 90,
-        //           durationRate: 90,
-        //           chapterList: [
-        //             {
-        //               chapterName: '第5章:章节名称',
-        //               lessonTocal: 20,
-        //               lessonNum: 10
-        //             },
-        //             {
-        //               chapterName: '第1章:章节名称',
-        //               lessonTocal: 80,
-        //               lessonNum: 80
-        //             },
-        //           ]
-        //         }
-        //       ]
-        //     }
-        //   ]
-        // }
-      this.total = 4;
+      this.total = 1;
       // listCourse( this.queryParams).then((res) => {
       //   if (res.code == 200) {
       //     this.expertList = res.rows.map(item => {
@@ -376,7 +200,7 @@
     },
     resetQuery(){
       this.queryParams = {
-        pageIndex: 1,
+        pageNum: 1,
         pageSize: 10,
         institutionId: '',
         idcard: ''

--
Gitblit v1.9.2