From 93a986bc80abdef75923054b9df9adb6e1ccff52 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 08 十月 2024 16:44:08 +0800
Subject: [PATCH] -

---
 src/pages/checkin/index.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/pages/checkin/index.vue b/src/pages/checkin/index.vue
index 4f431ee..978bdd6 100644
--- a/src/pages/checkin/index.vue
+++ b/src/pages/checkin/index.vue
@@ -1,5 +1,5 @@
 <template>
-	<scroll-view class="full-page" scroll-y using-sticky>
+	<view class="full-page" scroll-y using-sticky>
 		<up-sticky>
 			<view class="coreshop-ff content c-p-l-10 c-p-t-10 c-p-r-10">
 				<up-search placeholder="璇风偣鍑婚�夋嫨鎵撳崱鏃ユ湡" @click='clickIcon' :show-action="false" @clear='PostMyDakaListPage'
@@ -154,7 +154,7 @@
 		<view class="tabbtns">
 			鍚堣锛歿{heji}} 鍏�
 		</view>
-	</scroll-view>
+	</view>
 </template>
 
 <script>
@@ -185,18 +185,20 @@
 			}
 		},
 		onPullDownRefresh() {
-			this.pageIndex = 1
-			this.pageSize = 20
 			this.wordDate = ''
-			this.isJieSuan = false
-			this.loadStatus = 'loadmore'
 			this.WordDateStart = '' //宸ヤ綔鏃ユ湡寮�濮�
 			this.WordDateEnd = '' //宸ヤ綔鏃ユ湡缁撴潫
 			this.Suppliername = ''
-			this.PostMyDakaListPage();
+			this.init()
 			uni.stopPullDownRefresh();
 		},
 		methods: {
+			init() {
+				this.pageIndex = 1
+				this.pageSize = 20
+				this.loadStatus = 'loadmore'
+				this.PostMyDakaListPage();
+			},
 			sectionChange(val) {
 				switch (val) {
 					case 0:
@@ -209,7 +211,7 @@
 						this.isJieSuan = true
 						break;
 				}
-				this.PostMyDakaListPage()
+				this.init()
 			},
 			saveDakaDetail(item) {
 				if (item.workerType == 1 && !item.workCount) {

--
Gitblit v1.9.1