江西小程序管理端
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.
 
 
 

64 lines
1.5 KiB

<template>
<view class="pageBgImg">
<topNavbar title=""></topNavbar>
<view class="pad">
<view class="card">
<appointItem-operate :item="info"/>
<view class="border_bottom">
<view class="date">提交预约时间{{$u.timeFormat(info.createTime, 'yyyy/mm/dd MM:ss')}}</view>
<view class="date" v-if="info.loginStatus==9">取消预约时间{{$u.timeFormat(info.updateTime, 'yyyy/mm/dd MM:ss')}}</view>
<view class="date" v-if="info.loginStatus==1||loginStatus==2">学员签到时间{{$u.timeFormat(info.loginTime, 'yyyy/mm/dd MM:ss')}}</view>
<view class="date" v-if="info.loginStatus==2">学员签退时间{{$u.timeFormat(info.signOutTime, 'yyyy/mm/dd MM:ss')}}</view>
</view>
</view>
</view>
</view>
</template>
<script>
import { bookingMasterDetail } from '@/config/api.js'
export default {
data() {
return {
info: {},
id: ''
}
},
onLoad(options) {
this.id = options.id
this.bookingMasterDetailFn()
},
methods: {
async bookingMasterDetailFn() {
const {data: res} = await bookingMasterDetail({id: this.id})
this.info = res
}
}
}
</script>
<style lang="scss" scoped>
.card {
padding: 0 28rpx;
}
.date {
font-size: 28rpx;
color: #ADADAD;
margin-bottom: 16rpx;
}
.border_bottom {
border-top: 2rpx dashed #E8E9EC;
padding: 24rpx 10rpx 10rpx 0;
.date {
font-size: 28rpx;
color: #ADADAD;
margin-bottom: 16rpx;
}
.btnBg {
width: 212rpx;
margin: 30rpx auto;
}
}
</style>