You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

253 lines
4.5 KiB

3 years ago
<template>
<view class="notbegun">
<view class="header">
<view class="job">
<text style="margin-right: 10rpx;">当前岗位:</text>
<text>{{studentdata.stationName}}</text>
</view>
<view class="code">
<text style="margin-right: 10rpx;">岗位编码:</text>
<text>{{studentdata.unitPostCode}}</text>
</view>
<view class="name">
<text>考官姓名:</text>
<text style="margin-right: 28rpx;">{{name}}</text>
<image src="../../static/shezhi.png" mode=""></image>
</view>
</view>
<view class="content">
<view class="content_head">
<text>考生信息</text>
</view>
<view class="kaosheng">
<view class="kao_item">
<text>考生序号</text>
</view>
<view class="kao_item">
<text>准考证编号</text>
</view>
</view>
<view class="kaosheng2">
<view class="kao_item">
<text>{{studentdata.sequence}}</text>
</view>
<view class="kao_item">
<text>{{studentdata.ieltsNumber}}</text>
</view>
</view>
<view class="button">
<!-- <view class="button1">
评分
</view> -->
<view class="button2" @click="sure">
确认
</view>
</view>
</view>
</view>
</template>
<script>
import {station} from "../../api/api.js"
export default {
data() {
return {
studentdata:{},
name:"",
examinerId:"",
id:""
}
},
methods: {
sure(){
uni.navigateTo({
url:`../Test1/Test1?sequence=${this.studentdata.sequence}&id=${this.id}`
})
}
},
onLoad(options) {
// console.log(options);
this.name=uni.getStorageSync("name");
station().then((res)=>{
console.log(res,"res");
this.id=res.data.id
this.studentdata=res.data
})
},
onPullDownRefresh() {
station().then((res)=>{
console.log(res,"res");
this.id=res.data.id
this.studentdata=res.data
uni.stopPullDownRefresh();
})
}
}
</script>
<style lang="scss">
page {
background-color: #F5F7FA;
}
.notbegun {
width: 100%;
height: 100vh;
.header {
width: 100%;
height: 96rpx;
background-color: #27C5FF;
box-sizing: border-box;
padding: 0rpx 20rpx;
display: flex;
align-items: center;
.job {
margin-right: 40rpx;
font-size: 24rpx;
font-weight: bold;
color: #FFFFFF;
}
.code {
font-size: 24rpx;
font-weight: bold;
color: #FFFFFF;
}
.name {
flex-grow: 1;
text-align: right;
font-size: 18rpx;
font-weight: bold;
color: #FFFFFF;
text {
vertical-align: middle;
}
image {
width: 32rpx;
height: 32rpx;
border-radius: 16rpx;
vertical-align: middle;
}
}
}
.content {
width: 95%;
height: 70%;
background: #FFFFFF;
box-shadow: 3rpx 0rpx 14rpx 1rpx rgba(0, 0, 0, 0.05);
border-radius: 19rpx;
margin: 0rpx auto;
margin-top: 20rpx;
display: flex;
flex-direction: column;
.content_head {
width: 100%;
height: 14%;
background-color: #F6F7FC;
border-top-left-radius: 19rpx;
border-top-right-radius: 19rpx;
box-sizing: border-box;
padding: 0rpx 50rpx;
display: flex;
align-items: center;
text {
font-size: 24rpx;
font-weight: 800;
color: #545454;
}
}
.kaosheng {
width: 90%;
height: 10%;
background: #F6F7FC;
margin: 0rpx auto;
margin-top: 2%;
display: flex;
.kao_item {
width: 50%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 16rpx;
font-weight: bold;
color: #333333;
}
}
.kaosheng2 {
width: 90%;
height: 10%;
margin: 0rpx auto;
display: flex;
border-bottom: 2rpx solid #F1F1F2;
.kao_item {
width: 50%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 16rpx;
font-weight: bold;
color: #333333;
}
}
.button {
width: 100%;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
.button1 {
width: 120rpx;
height: 38rpx;
border-radius: 24rpx 24rpx 24rpx 24rpx;
border: 2rpx solid #27C5FF;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
margin-right: 25rpx;
}
.button2 {
width: 120rpx;
height: 38rpx;
border-radius: 24rpx 24rpx 24rpx 24rpx;
background: #27C5FF;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
</style>