hookehuyr

fix 义工角色参加活动时逻辑判断新增

1 <!-- 1 <!--
2 * @Date: 2022-09-26 14:36:57 2 * @Date: 2022-09-26 14:36:57
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-11-14 16:22:12 4 + * @LastEditTime: 2022-11-15 18:28:02
5 * @FilePath: /swx/src/pages/activityDetail/index.vue 5 * @FilePath: /swx/src/pages/activityDetail/index.vue
6 * @Description: 活动详情页 6 * @Description: 活动详情页
7 --> 7 -->
...@@ -614,7 +614,9 @@ export default { ...@@ -614,7 +614,9 @@ export default {
614 } 614 }
615 } 615 }
616 if (this.member_role === 'volunteer') { // 义工 616 if (this.member_role === 'volunteer') { // 义工
617 - if (this.volunteer_reg_id) { 617 + if (this.player_reg_id) { // 申请过活动
618 + status = 'player_join'
619 + } else if (this.volunteer_reg_id) {
618 status = 'player_join_volunteer' 620 status = 'player_join_volunteer'
619 } else { 621 } else {
620 if (this.activity.is_inner) { 622 if (this.activity.is_inner) {
......