From 3913b3c5c8cde03f8c92d1c738d28c4a9bae7e55 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 十一月 2023 08:48:02 +0800
Subject: [PATCH] #

---
 pages/business/cstmr/csmtr.vue |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/pages/business/cstmr/csmtr.vue b/pages/business/cstmr/csmtr.vue
index 1f3f927..dd1d12e 100644
--- a/pages/business/cstmr/csmtr.vue
+++ b/pages/business/cstmr/csmtr.vue
@@ -18,7 +18,7 @@
 		<!-- 鎼滅储妗� -->
 		<view class="search-bg">
 			<!-- <uni-search-bar placeholder="瀹㈡埛浠e彿/鍚嶇О" bgColor="#f4f4f4"  @confirm="search" /> -->
-			<u-search placeholder="瀹㈡埛浠e彿/鍚嶇О" v-model="keyword" :clearabled="true" @custom="search()"></u-search>
+			<u-search placeholder="瀹㈡埛浠e彿/鍚嶇О" v-model="keyword" :clearabled="true" @custom="search()" @search="search()"></u-search>
 		</view>
 		
 		
@@ -78,7 +78,6 @@
 		onShow() {
 			let that = this
 			uni.$on('isRefresh',function(data){
-				console.log(data);
 				that.user.username = data.title
 				that.user.id = data.id
 				that.user.type = data.key
@@ -99,7 +98,6 @@
 			async getDetail() {
 				let res = await user.getDetail()
 				if (res.code === 200) {
-					console.log(res);
 					this.user.username = res.data.username
 					this.user.id = res.data.id
 					this.type = res.data.type
@@ -123,7 +121,6 @@
 					method: 'POST',
 					header: {'token' : uni.getStorageSync('token'),},
 				}).then((res)=>{
-					console.log(res);
 				})
 			},
 			back() {
@@ -243,7 +240,7 @@
 			},
 			getDetails(id) {
 				uni.navigateTo({
-					url: '/pages/business/cstmr/cstmrDetails?id=' + id
+					url:  `/pages/business/cstmr/cstmrDetails?id=${id}&type=del`
 				})
 			},
 			// ---
@@ -265,7 +262,6 @@
 					data: param,
 					success(res) {
 						res = res.data
-						console.log(res);
 						_this.csmtrList = res.data.records
 					}
 				})
@@ -283,13 +279,7 @@
 </script>
 
 <style>
-	.status_bar {
-		height: var(--status-bar-height);
-		width: 100%;
-		background-color: #FFF;
-		position: sticky;
-		top: 0;
-	}
+	
 	
 	.uni-nav-bar-text {
 		font-size: 12px;

--
Gitblit v1.9.1