htc 17 часов назад
Родитель
Сommit
159c61e281
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      pagesHome/report.vue

+ 3 - 4
pagesHome/report.vue

@@ -11,9 +11,9 @@
 			<u-icon name="search" size="42rpx" color="#B3BFC8"></u-icon>
 			<view class="query-inp">
 				<u-input v-model="queryParams.teamName" border="none" fontSize="28rpx" color="#002846" confirmType="search"
-				 placeholder="请输入团队名称查询" @confirm="getList"></u-input>
+				 placeholder="请输入团队名称查询" @confirm="initList"></u-input>
 			</view>
-			<view class="query-right" @click="getList">搜索</view>
+			<view class="query-right" @click="initList">搜索</view>
 		</view>
 		<view class="box" v-if="list.length">
 			<template v-if="tindex===0">
@@ -64,12 +64,12 @@
 			changeTab(index){
 				this.tindex = index;
 				this.initList();
-				this.getList();
 			},
 			initList(){
 				this.queryParams.page = 1;
 				this.isOver = false;
 				this.list = [];
+				this.getList();
 			},
 			getList(){
 				if(this.tindex===0) this.getReceiveList()
@@ -120,7 +120,6 @@
 			},
 			reSendReport(){
 				this.initList();
-				this.getList()
 				this.$showToast('重新生成成功')
 			},
 			scrolltolower(){