|
@ -234,25 +234,27 @@ module.exports = { |
|
|
|
|
|
|
|
|
switch(this.tweet.mission_id) { |
|
|
switch(this.tweet.mission_id) { |
|
|
case 1: |
|
|
case 1: |
|
|
|
|
|
score_data['m1_complete'] = 1; |
|
|
score_data['m1_transit_line_id'] = this.selectedTransitLine; |
|
|
score_data['m1_transit_line_id'] = this.selectedTransitLine; |
|
|
score_data['m1_non_trimet'] = this.selectedNonTrimetLine; |
|
|
score_data['m1_non_trimet'] = this.selectedNonTrimetLine; |
|
|
break; |
|
|
break; |
|
|
case 2: |
|
|
case 2: |
|
|
|
|
|
score_data['m2_complete'] = this.selectedTransitCenter ? 1 : 0; |
|
|
score_data['m2_transit_center_id'] = this.selectedTransitCenter; |
|
|
score_data['m2_transit_center_id'] = this.selectedTransitCenter; |
|
|
score_data['m2_with_other_team'] = this.selectedPhotoHasAnotherTeam ? 1 : 0; |
|
|
score_data['m2_with_other_team'] = this.selectedPhotoHasAnotherTeam ? 1 : 0; |
|
|
break; |
|
|
break; |
|
|
case 3: |
|
|
case 3: |
|
|
score_data['m3_complete'] = true ? 1 : 0; |
|
|
|
|
|
|
|
|
score_data['m3_complete'] = 1; |
|
|
break; |
|
|
break; |
|
|
case 4: |
|
|
case 4: |
|
|
score_data['m4_complete'] = true ? 1 : 0; |
|
|
|
|
|
|
|
|
score_data['m4_complete'] = 1; |
|
|
break; |
|
|
break; |
|
|
case 5: |
|
|
case 5: |
|
|
score_data['m5_complete'] = this.selectedM5Singing ? 1 : 0; |
|
|
score_data['m5_complete'] = this.selectedM5Singing ? 1 : 0; |
|
|
score_data['m5_tip'] = this.selectedM5Tipping ? 1 : 0; |
|
|
score_data['m5_tip'] = this.selectedM5Tipping ? 1 : 0; |
|
|
break; |
|
|
break; |
|
|
case 6: |
|
|
case 6: |
|
|
score_data['m6_complete'] = true ? 1 : 0; |
|
|
|
|
|
|
|
|
score_data['m6_complete'] = 1; |
|
|
break; |
|
|
break; |
|
|
case 7: |
|
|
case 7: |
|
|
score_data['m7_document_id'] = this.selectedDocument; |
|
|
score_data['m7_document_id'] = this.selectedDocument; |
|
|