This commit is contained in:
yanran200730
2023-03-30 17:26:33 +08:00
parent 310a39cd3a
commit 70172e2a98

View File

@@ -4,7 +4,6 @@
<ai-title title="活动详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)"></ai-title> <ai-title title="活动详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)"></ai-title>
</template> </template>
<template slot="content"> <template slot="content">
<AiSidebar :tabTitle="tabList" v-model="currIndex"></AiSidebar>
<ai-card title="基本信息" v-if="currIndex === 0"> <ai-card title="基本信息" v-if="currIndex === 0">
<template #content> <template #content>
<ai-wrapper> <ai-wrapper>
@@ -34,7 +33,7 @@
</ai-wrapper> </ai-wrapper>
</template> </template>
</ai-card> </ai-card>
<ai-card title="打卡记录" v-if="currIndex === 1 && info.type === '0'"> <ai-card title="打卡记录" v-if="info.type === '0'">
<template #content> <template #content>
<ai-wrapper> <ai-wrapper>
<ai-info-item label="参与人数" :value="search1.total"></ai-info-item> <ai-info-item label="参与人数" :value="search1.total"></ai-info-item>
@@ -49,7 +48,7 @@
</ai-table> </ai-table>
</template> </template>
</ai-card> </ai-card>
<ai-card title="报名记录" v-if="currIndex === 1 && info.type === '1'"> <ai-card title="报名记录" v-if="info.type === '1'">
<template #content> <template #content>
<ai-wrapper> <ai-wrapper>
<ai-info-item label="参与人数" :value="search1.total"></ai-info-item> <ai-info-item label="参与人数" :value="search1.total"></ai-info-item>
@@ -83,7 +82,6 @@
info: {}, info: {},
mapDetail: null, mapDetail: null,
map: null, map: null,
currIndex: 0,
search1: { search1: {
total: 0, total: 0,
current: 1, current: 1,
@@ -94,15 +92,15 @@
{prop: 'realName', label: '姓名', align: 'center' }, {prop: 'realName', label: '姓名', align: 'center' },
{prop: 'phone', label: '联系方式', align: 'center' }, {prop: 'phone', label: '联系方式', align: 'center' },
{prop: 'areaName', label: '所属地区', align: 'center' }, {prop: 'areaName', label: '所属地区', align: 'center' },
{prop: 'clockTime', label: '打卡时间', align: 'center' } {prop: 'intoClockTime', label: '进场打卡时间', align: 'center' },
{prop: 'exitClockTime', label: '离场打卡时间', align: 'center' }
], ],
colConfigs2: [ colConfigs2: [
{prop: 'realName', label: '姓名', align: 'center' }, {prop: 'realName', label: '姓名', align: 'center' },
{prop: 'phone', label: '联系方式', align: 'center' }, {prop: 'phone', label: '联系方式', align: 'center' },
{prop: 'areaName', label: '所属地区', align: 'center' }, {prop: 'areaName', label: '所属地区', align: 'center' },
{prop: 'clockTime', label: '报名时间', align: 'center' } {prop: 'enrollClockTime', label: '报名时间', align: 'center' }
], ]
tabList: ['基本信息', '参与任务情况']
} }
}, },