|
@@ -2,27 +2,27 @@
|
2
|
2
|
<view class="page">
|
3
|
3
|
<MainPage ref="MainPage" @UserInfoChange="Init">
|
4
|
4
|
<view class="page flex-v">
|
5
|
|
- <view class="UserInfo" v-if="UserInfo.studentId">
|
|
5
|
+ <view class="UserInfo" v-if="UserInfo.student && UserInfo.student.studentId">
|
6
|
6
|
<view class="flex-h">
|
7
|
7
|
<view class="flex-h flex-item">
|
8
|
8
|
<text>姓名:</text>
|
9
|
|
- <text class="flex-item">{{UserInfo.name || '-'}}</text>
|
|
9
|
+ <text class="flex-item">{{UserInfo.student.name || '-'}}</text>
|
10
|
10
|
</view>
|
11
|
11
|
<view class="flex-h flex-item">
|
12
|
12
|
<text>学号:</text>
|
13
|
|
- <text class="flex-item">{{UserInfo.studentId || '-'}}</text>
|
|
13
|
+ <text class="flex-item">{{UserInfo.student.studentNo || '-'}}</text>
|
14
|
14
|
</view>
|
15
|
15
|
<view class="flex-h flex-item">
|
16
|
16
|
<text>性别:</text>
|
17
|
|
- <text class="flex-item">{{UserInfo.sex - 0 === 1 ? '男' : '女'}}</text>
|
|
17
|
+ <text class="flex-item">{{UserInfo.student.sex - 0 === 1 ? '男' : UserInfo.student.sex - 0 === 2 ? '女' : '-'}}</text>
|
18
|
18
|
</view>
|
19
|
19
|
<view class="flex-h flex-item">
|
20
|
20
|
<text>学校:</text>
|
21
|
|
- <text class="flex-item">{{UserInfo.schoolName || '-'}}</text>
|
|
21
|
+ <text class="flex-item">{{UserInfo.student.schoolName || '-'}}</text>
|
22
|
22
|
</view>
|
23
|
23
|
<view class="flex-h flex-item">
|
24
|
24
|
<text>专业:</text>
|
25
|
|
- <text class="flex-item">{{UserInfo.specialtyName || '-'}}</text>
|
|
25
|
+ <text class="flex-item">{{UserInfo.student.specialtyName || '-'}}</text>
|
26
|
26
|
</view>
|
27
|
27
|
<view class="flex-h flex-item">
|
28
|
28
|
<text>创建时间:</text>
|
|
@@ -35,7 +35,7 @@
|
35
|
35
|
<scroll-view scroll-y="true" style="height: 100%;" :refresher-enabled="true" @refresherrefresh="OnRefresh" :refresher-triggered="IsPull" refresher-background="none" refresher-default-style="black">
|
36
|
36
|
<view class="Content">
|
37
|
37
|
<view class="ListItem" v-for="(item, index) in PageList" :key="index">
|
38
|
|
- <BodyCheckItem></BodyCheckItem>
|
|
38
|
+ <BodyCheckItem :Data="item"></BodyCheckItem>
|
39
|
39
|
</view>
|
40
|
40
|
</view>
|
41
|
41
|
<PageBottom></PageBottom>
|