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/company/index.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/pages/company/index.vue b/src/pages/company/index.vue
index e4c7a8b..825e0e5 100644
--- a/src/pages/company/index.vue
+++ b/src/pages/company/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-10">
 				<up-search placeholder="璇风偣鍑婚�夋嫨鎵撳崱鏃ユ湡" @click='clickIcon' disabled v-model="wordDate" search-icon="calendar"
@@ -124,7 +124,7 @@
 		<view class="tabbtns">
 			鍚堣锛歿{heji}} 鍏�
 		</view>
-	</scroll-view>
+	</view>
 </template>
 
 <script>
@@ -155,16 +155,18 @@
 			}
 		},
 		onPullDownRefresh() {
-			this.pageIndex = 1
-			this.pageSize = 20
 			this.wordDate = ''
-			this.isJieSuan = false
 			this.workerUserName = ''
-			this.loadStatus = 'loadmore'
-			this.PostMyComDakaListPage();
+			this.init()
 			uni.stopPullDownRefresh();
 		},
 		methods: {
+			init() {
+				this.pageIndex = 1
+				this.pageSize = 20
+				this.loadStatus = 'loadmore'
+				this.PostMyComDakaListPage();
+			},
 			sectionChange(val) {
 				switch (val) {
 					case 0:
@@ -177,7 +179,7 @@
 						this.isJieSuan = true
 						break;
 				}
-				this.PostMyComDakaListPage()
+				this.init()
 			},
 			saveDakaDetailCompany(item) {
 				if (item.workerType == 1 && !item.workCount) {

--
Gitblit v1.9.1