Showing
1 changed file
with
10 additions
and
10 deletions
| ... | @@ -158,10 +158,10 @@ export default { | ... | @@ -158,10 +158,10 @@ export default { |
| 158 | async onShow () { | 158 | async onShow () { |
| 159 | const info = await activityInfoAPI({ i: getCurrentPageParam().id }); | 159 | const info = await activityInfoAPI({ i: getCurrentPageParam().id }); |
| 160 | if (info.code) { | 160 | if (info.code) { |
| 161 | - // 判断是否超过活动时间 | 161 | + // // 判断是否超过活动时间 |
| 162 | - if (dayjs(info.data.activity.activity_time).isBefore(dayjs(info.data.server_time))) { | 162 | + // if (dayjs(info.data.activity.activity_time).isBefore(dayjs(info.data.server_time))) { |
| 163 | - this.absent = true; | 163 | + // this.absent = true; |
| 164 | - } | 164 | + // } |
| 165 | } | 165 | } |
| 166 | const { code, data } = await listRegAPI({ activity_id: getCurrentPageParam().id, type: this.member_type, page: this.page, limit: this.limit }); | 166 | const { code, data } = await listRegAPI({ activity_id: getCurrentPageParam().id, type: this.member_type, page: this.page, limit: this.limit }); |
| 167 | if (code) { | 167 | if (code) { |
| ... | @@ -169,12 +169,12 @@ export default { | ... | @@ -169,12 +169,12 @@ export default { |
| 169 | this.volunteer_count = data.volunteer_count; | 169 | this.volunteer_count = data.volunteer_count; |
| 170 | this.sign_count = data.sign_count; | 170 | this.sign_count = data.sign_count; |
| 171 | this.reg_list = data.reg_list; | 171 | this.reg_list = data.reg_list; |
| 172 | - if (this.absent) { | 172 | + // if (this.absent) { |
| 173 | - // 活动超时翻状态 | 173 | + // // 活动超时翻状态 |
| 174 | - this.reg_list.forEach(item => { | 174 | + // this.reg_list.forEach(item => { |
| 175 | - item.status = item.status === 'apply' ? 'absent' : item.status; | 175 | + // item.status = item.status === 'apply' ? 'absent' : item.status; |
| 176 | - }) | 176 | + // }) |
| 177 | - } | 177 | + // } |
| 178 | } | 178 | } |
| 179 | }, | 179 | }, |
| 180 | methods: { | 180 | methods: { | ... | ... |
-
Please register or login to post a comment