main
wwl 2024-04-30 13:26:27 +08:00
parent ebda1c7669
commit 7d08608b72
2 changed files with 15 additions and 1 deletions

View File

@ -64,6 +64,13 @@
<el-table-column prop="record_id" label="报名编号" width="80" />
<el-table-column prop="mobile" label="手机号" />
<el-table-column prop="create_date" label="申请时间" />
<el-table-column prop="changci" label="场次">
<template v-if="changci" slot-scope="{ row: { changci } }">
<span>
{{ changci.start_time.substr(11, 5) }} - {{ changci.end_time.substr(11, 5) }}
</span>
</template>
</el-table-column>
<el-table-column prop="status" label="状态">
<template slot-scope="scope">
<el-tag v-if="scope.row.status == 'pending'" type="warning" size="mini">

View File

@ -15,6 +15,12 @@
<el-form-item label="活动有效时间" prop="activity_time">
{{ recorddata.start_date }} ~ {{ recorddata.end_date }}
</el-form-item>
<el-form-item label="场次" prop="changci">
<template v-if="recorddata.changci">
{{ dayjs(recorddata.changci.start_time * 1000).format('HH:mm') }} ~
{{ dayjs(recorddata.changci.end_time * 1000).format('HH:mm') }}</template
>
</el-form-item>
<el-form-item label="审核结果" prop="status">
<el-tag v-if="recorddata.status == 'pending'" type="warning" size="mini"> </el-tag>
<el-tag v-if="recorddata.status == 'passed'" type="success" size="mini"> </el-tag>
@ -63,9 +69,10 @@ import dayjs from 'dayjs'
import { regActivityRecordinfo, registrationReview } from '@/api/selfhelpform'
export default {
inject: ['refresh'],
// inject: ['refresh'],
data() {
return {
dayjs,
activity_date: [],
form: {
record_id: '',