consequence.vue
1.2 KB
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
<template>
<view class="contentBox">
<!-- <view style="text-align: center; padding-top: 80px;box-sizing: border-box;">
<image src="../../static/ic_11@2x.png" mode="" style="width:400rpx;height: 400rpx;"></image>
<view>
<text class="text">培训时间尚未确定,请耐心等待</text>
</view>
</view> -->
<view class="itemBox" v-for="(item,index) in list" :key="index">
{{item.name}}{{item.work.name}}{{item.status==1?'报名中':item.status==2?'通过':item.status==3?'未通过':'未审核'}}
</view>
</view>
</template>
<script>
import request from '../../utils/request.js'
export default {
data() {
return {
list:[]
}
},
onShow() {
this.getDeatil()
},
methods: {
getDeatil(){
request.post('/api/index/examinationResults',{}).then(res=>{
this.list=res.data
console.log(res,'ress')
}).catch(err=>{
})
console.log(this.list,'list')
}
}
}
</script>
<style>
.text {
color: #969799;
font-size: 28rpx;
}
.itemBox{
padding: 24rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #323233;
background-color: #fff;
/* border-bottom: 2rpx solid #e7e7e7; */
}
.contentBox{
min-height: 100vh;
background-color: #F7F8FA;
}
</style>