ff58cc11 by zhangmeng

高中生报名

1 parent dfc0e190
...@@ -724,6 +724,8 @@ const goPersonInfo = (row) => { ...@@ -724,6 +724,8 @@ const goPersonInfo = (row) => {
724 for (const val of participantsInfoArr) { 724 for (const val of participantsInfoArr) {
725 if(val.name.indexOf('学生证')>-1||val.name.indexOf('毕业证')>-1){ 725 if(val.name.indexOf('学生证')>-1||val.name.indexOf('毕业证')>-1){
726 val.status=0 726 val.status=0
727 }else{
728 val.status=1
727 } 729 }
728 } 730 }
729 } 731 }
...@@ -731,10 +733,12 @@ const goPersonInfo = (row) => { ...@@ -731,10 +733,12 @@ const goPersonInfo = (row) => {
731 for (const val of participantsInfoArr) { 733 for (const val of participantsInfoArr) {
732 if(val.name.indexOf('学生证')>-1){ 734 if(val.name.indexOf('学生证')>-1){
733 val.status=0 735 val.status=0
736 }else{
737 val.status=1
734 } 738 }
735 } 739 }
736 } 740 }
737 741 debugger
738 const params = { 742 const params = {
739 matchId: matchId.value, 743 matchId: matchId.value,
740 title: language.value == 0 ? '完善补充信息' : 'Complete the supplementary information', 744 title: language.value == 0 ? '完善补充信息' : 'Complete the supplementary information',
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
108 </el-table-column> 108 </el-table-column>
109 <el-table-column v-if="hasAction" :label="language==0?'操作':'Actions'" align="center" fixed="right" width="150"> 109 <el-table-column v-if="hasAction" :label="language==0?'操作':'Actions'" align="center" fixed="right" width="150">
110 <template #default="scope"> 110 <template #default="scope">
111 <el-button v-if="extraform&&extraform.length>0" link type="primary" @click="goPersonInfo(scope.row)"> 111 <el-button v-if="extraform&&extraform.length>0&&handelRules(scope.row)" link type="primary" @click="goPersonInfo(scope.row)">
112 <span v-if="scope.row.extraPersonInfo">{{ language == 0 ? '修改' : 'Edit' }}</span> 112 <span v-if="scope.row.extraPersonInfo">{{ language == 0 ? '修改' : 'Edit' }}</span>
113 <span v-else class="red">{{ language == 0 ? '完善补充信息' : 'Additional Information' }}</span> 113 <span v-else class="red">{{ language == 0 ? '完善补充信息' : 'Additional Information' }}</span>
114 </el-button> 114 </el-button>
...@@ -184,6 +184,10 @@ function getTableHead() { ...@@ -184,6 +184,10 @@ function getTableHead() {
184 }) 184 })
185 } 185 }
186 186
187 function handelRules(row){
188 return row.signInfo.some(val=>val.cptProjectName?.indexOf('大学生')>-1||val.cptProjectName?.indexOf('高中')>-1)
189 }
190
187 function getMatch() { 191 function getMatch() {
188 match.getMatchById({ id: props.matchId }).then(res => { 192 match.getMatchById({ id: props.matchId }).then(res => {
189 if (res.data.languageSource == '100') { 193 if (res.data.languageSource == '100') {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!