From a6cdbcfe28fcc40ebb4919f57d60fb20122e8e57 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期二, 12 八月 2025 09:10:35 +0800
Subject: [PATCH] 1

---
 pages/tjrecord/tjrecord.vue |   53 +++++++++++++++++++++--------------------------------
 1 files changed, 21 insertions(+), 32 deletions(-)

diff --git a/pages/tjrecord/tjrecord.vue b/pages/tjrecord/tjrecord.vue
index 2c7cb93..43d1b67 100644
--- a/pages/tjrecord/tjrecord.vue
+++ b/pages/tjrecord/tjrecord.vue
@@ -10,18 +10,14 @@
 						<span class="card_left_txt2">{{item.cusSex ? "濂�" :"鐢�" }}</span>
 					</div> -->
 					<div class="card_right">
-						<div class="card_right2">
-							<span class="card_right_txt4">鎺�</span>
-							<span class="card_right_txt4">闃�</span>
-							<span class="card_right_txt4">涓�</span>
-						</div>
+				
 						<div class="card_right1">
 							<span class="card_right_txt3">浣撴鍙凤細{{item.tjNumber}}</span>
 							<span class="card_right_txt2">娉惧窛鍘夸汉姘戝尰闄綋妫�涓績</span>
 						</div>
 						<view class="card_right3">
 							<span
-								style="display: flex;align-items: center;justify-content: center;">{{item.tjFinishStatus}}</span>
+								style="display: flex;align-items: center;justify-content: center;">{{item.status}}</span>
 						</view>
 					</div>
 				</div>
@@ -39,7 +35,6 @@
 <script>
 	import {
 		getTiJianList,
-		getPaiDuiList
 	} from "@/api/system/tjrecord";
 
 	export default {
@@ -47,40 +42,32 @@
 		data() {
 			return {
 				Height: 0,
-				reportlist: [
-					{
-						tjNumber:123,
-						tjFinishStatus:"鏈"
-					}
-				],
-				cusIdCard:""
+				reportlist: [],
+				cusIdCard: ""
 			}
 		},
 		//鐢熷懡鍛ㄦ湡鏂规硶 鈥斺�� 椤甸潰鍔犺浇鏃�
 		onLoad(option) {
 			this.cusIdCard = option.cusIdCard;
-			this.getList(this.cusIdCard);
+			this.getList();
 		},
 		methods: {
 			/** 鏌ヨ浣撴鎶ュ憡鍒楄〃 */
 			getList() {
-			
-				getTiJianList(this.cusIdCard).then((response) => {
-					// this.reportlist = response.data;
+				console.log(this.cusIdCard);
+				getTiJianList({
+					idCard: this.cusIdCard
+				}).then((response) => {
+					this.reportlist = response.data;
+				})	
+				.catch((err) => {
+					console.log(err,"123");
 				});
+
 			},
 
-			//璺宠浆
-			ComparisonReport() {
-				uni.navigateTo({
-					url: '/pagesA/ComparisonReport/ComparisonReport'
-				})
-			},
-			SearchReport() {
-				uni.navigateTo({
-					url: '/pagesA/searchReport/searchReport'
-				})
-			},
+
+
 			ReportDetails(tjNumber) {
 				uni.navigateTo({
 					url: `/pages/tjrecorddetail/tjrecorddetail?tjNumber=${tjNumber}`
@@ -97,6 +84,7 @@
 		min-height: 1240rpx;
 		// background: linear-gradient(180deg, #fd8b4d, #f4f8f7, #f7f7f7 100%, );
 	}
+
 	.bg-image {
 		position: absolute;
 		top: 0;
@@ -108,6 +96,7 @@
 		transform: translateX(-50%);
 		object-fit: cover;
 	}
+
 	.report {
 		padding-top: 30px;
 		display: flex;
@@ -219,14 +208,14 @@
 		display: flex;
 		flex-direction: column;
 		align-items: center;
-		border-radius: 8px 0px 0px 8px;
+		border-radius: 16rpx 0px 0px 16rpx;
 		background-color: #6FB7FE;
 	}
 
 	.card_right_txt4 {
-		font-size: 12px;
+		font-size: 24rpx;
 		color: #fff;
-		margin-top: 4px;
+		margin-top: 8rpx;
 	}
 
 	.warm {

--
Gitblit v1.8.0