路泰科技体检小程序UI设计新版本
wwl
2025-07-30 4e671437d52dd87946c0e38d334fce7a7c17d8e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<template>
    <view>
        <!-- 通知 -->
        <uni-notice-bar show-icon text="仅查询出自路泰自有分院,且手机号/身份证相同的体检报告哦!" />
 
        <!-- 报告卡片 -->
        <view class="padding-l" v-for="(item,index) in reportlist" :key="index">
            <div class="card" @click="ReportDetails">
                <div class="card_sty">
                    <div class="card_left">
                        <span class="card_left_txt1">{{item.customer.cusName}}</span>
                        <span class="card_left_txt2">{{item.customer.cusSex ? "女" :"男" }}</span>
                    </div>
                    <div class="card_right">
                        <div class="card_right1">
                            <span class="card_right_txt1">{{item.report.createTime}}</span>
                            <span class="card_right_txt2">泾川县人民医院体检中心</span>
                            <span class="card_right_txt3">体检号:{{item.report.tjNumber}}</span>
                        </div>
                        <div class="card_right2">
                            <span class="card_right_txt4">体</span>
                            <span class="card_right_txt4">检</span>
                            <span class="card_right_txt4">报</span>
                            <span class="card_right_txt4">告</span>
                        </div>
                    </div>
                </div>
            </div>
        </view>
        
 
 
    </view>
</template>
 
<script>
    import {
        getReportList
    } from "@/api/system/report";
    export default {
        data() {
            return {
                reportlist: [],
                options: [],
                
                radio1: 0,
                radio2: 0,
                radio3: 0,
                radio4: 0,
                radio5: 0,
                radio6: 0,
                checkbox1: [0],
                checkbox2: [0],
                checkbox3: [0],
                checkbox4: [0],
                checkbox5: [0],
                checkbox6: [0],
 
                hobby: [{
                    text: '2022-04-08  xxx 男',
                    value: 0
                }, ],
 
                customButtonGroup1: [{
                    text: '对比',
                    backgroundColor: '#c8c8c8',
                    color: '#fff'
                }, ]
 
            }
        },
        //生命周期方法 —— 页面加载时
        onLoad() {
            this.getList();
        },
        methods: {
            /** 查询体检报告列表 */
            getList() {
                let cusPhone = "15700000000";
                //let cusIdcard="610521000000000000";
                getReportList(cusPhone).then((response) => {
                    this.reportlist = response.data;
                });
            },
            ReportDetails() {
                uni.navigateTo({
                    url: '/pagesA/ReportDetails/ReportDetails'
                })
            }
        }
    }
</script>
 
<style>
    .card {
        display: flex;
        align-items: center;
        justify-content: center;
    }
 
    .card_sty {
        width: 670rpx;
        height: 150rpx;
        border-radius: 8px 8px 8px 8px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 30px;
    }
 
    .card_left {
        width: 120rpx;
        height: 103rpx;
        border-right: 1px solid #ccc;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
 
    .card_left_txt1 {
        margin-top: 2px;
        font-size: 14px;
    }
 
    .card_left_txt2 {
        font-size: 14px;
        color: #838383;
    }
 
    .card_right {
        display: flex;
    }
 
    .card_right1 {
        margin-top: 4px;
        margin-left: 10px;
        width: 450rpx;
        height: 103rpx;
        display: flex;
        flex-direction: column;
        
    }
 
    .card_right_txt1 {
        font-size: 14px;
    }
 
    .card_right_txt2 {
        font-size: 14px;
    }
 
    .card_right_txt3 {
        font-size: 14px;
    }
 
    .card_right2 {
        margin-left: 10px;
        width: 50rpx;
        height: 150rpx;
        font-size: 14px;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 0px 8px 8px 0px;
        background-color: #fd8b4d;
    }
 
    .card_right_txt4 {
        font-size: 12px;
        color: #fff;
    }
 
</style>