fix bug
parent
ebda1c7669
commit
7d08608b72
|
|
@ -64,6 +64,13 @@
|
||||||
<el-table-column prop="record_id" label="报名编号" width="80" />
|
<el-table-column prop="record_id" label="报名编号" width="80" />
|
||||||
<el-table-column prop="mobile" label="手机号" />
|
<el-table-column prop="mobile" label="手机号" />
|
||||||
<el-table-column prop="create_date" 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="状态">
|
<el-table-column prop="status" label="状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.status == 'pending'" type="warning" size="mini">
|
<el-tag v-if="scope.row.status == 'pending'" type="warning" size="mini">
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,12 @@
|
||||||
<el-form-item label="活动有效时间" prop="activity_time">
|
<el-form-item label="活动有效时间" prop="activity_time">
|
||||||
{{ recorddata.start_date }} ~ {{ recorddata.end_date }}
|
{{ recorddata.start_date }} ~ {{ recorddata.end_date }}
|
||||||
</el-form-item>
|
</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-form-item label="审核结果" prop="status">
|
||||||
<el-tag v-if="recorddata.status == 'pending'" type="warning" size="mini"> 待审核 </el-tag>
|
<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>
|
<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'
|
import { regActivityRecordinfo, registrationReview } from '@/api/selfhelpform'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
inject: ['refresh'],
|
// inject: ['refresh'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
dayjs,
|
||||||
activity_date: [],
|
activity_date: [],
|
||||||
form: {
|
form: {
|
||||||
record_id: '',
|
record_id: '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue