Browse Source

Merge branch 'http_mock' of git.xiaojukeji.com:jacklijiajia/thoth-frontend into http_mock

qinzhipeng_v 5 years ago
parent
commit
b283e78861
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/views/Platform/presentation/testPresentation.vue

+ 10 - 2
src/views/Platform/presentation/testPresentation.vue

@@ -65,7 +65,7 @@
               </el-table-column>
             </el-table>
           </template>
-          <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total1" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
+          <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total1" @size-change="handleSizeChange" @current-change="handleCurrentChangePern" />
         </el-tab-pane>
         <el-tab-pane label="提测报告" name="third">
           <div style="margin: 30px 0;">搜索
@@ -97,7 +97,7 @@
               </el-table-column>
             </el-table>
           </template>
-          <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total2" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
+          <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total2" @size-change="handleSizeChange" @current-change="handleCurrentChangeTest" />
         </el-tab-pane>
       </el-tabs>
       <!-- 日报/准出/提测选择任务 -->
@@ -370,6 +370,14 @@ export default {
     handleCurrentChange(curIndex) {
       this.curIndex = curIndex
       this.getList(this.z_name)
+    },
+    handleCurrentChangeTest(curIndex) {
+      this.curIndex = curIndex
+      this.getListTest(this.z_name)
+    },
+    handleCurrentChangePern(curIndex) {
+      this.curIndex = curIndex
+      this.getListPern(this.z_name)
     }
   }
 }