前台报名
Showing
3 changed files
with
91 additions
and
68 deletions
| ... | @@ -257,7 +257,7 @@ export function recoverMySignFromCancel(cptId) { | ... | @@ -257,7 +257,7 @@ export function recoverMySignFromCancel(cptId) { |
| 257 | return request({ | 257 | return request({ |
| 258 | url: `/league/sign/recoverMySignFromCancel`, | 258 | url: `/league/sign/recoverMySignFromCancel`, |
| 259 | method: 'post', | 259 | method: 'post', |
| 260 | data: {cptId: cptId} | 260 | data: { cptId: cptId } |
| 261 | }) | 261 | }) |
| 262 | } | 262 | } |
| 263 | 263 | ||
| ... | @@ -402,7 +402,7 @@ export function delPerson(id) { | ... | @@ -402,7 +402,7 @@ export function delPerson(id) { |
| 402 | }) | 402 | }) |
| 403 | } | 403 | } |
| 404 | 404 | ||
| 405 | //个人账号 | 405 | // 个人账号 |
| 406 | export function delPersonForPersonal(id) { | 406 | export function delPersonForPersonal(id) { |
| 407 | return request({ | 407 | return request({ |
| 408 | url: `/systemj/personInfo/singleDelete/${id}`, | 408 | url: `/systemj/personInfo/singleDelete/${id}`, |
| ... | @@ -639,7 +639,7 @@ export function saveWdsfMin(obj, groupId) { | ... | @@ -639,7 +639,7 @@ export function saveWdsfMin(obj, groupId) { |
| 639 | }) | 639 | }) |
| 640 | } | 640 | } |
| 641 | 641 | ||
| 642 | //todo | 642 | // todo |
| 643 | export function bindWdsf(perId, card) { | 643 | export function bindWdsf(perId, card) { |
| 644 | return request({ | 644 | return request({ |
| 645 | url: `/systemj/personInfo/bindWdsf/${perId}?card=${card}`, | 645 | url: `/systemj/personInfo/bindWdsf/${perId}?card=${card}`, |
| ... | @@ -771,12 +771,14 @@ export function getAboutUs(params) { | ... | @@ -771,12 +771,14 @@ export function getAboutUs(params) { |
| 771 | params | 771 | params |
| 772 | }) | 772 | }) |
| 773 | } | 773 | } |
| 774 | |||
| 774 | export function getppInfo(params) { | 775 | export function getppInfo(params) { |
| 775 | return request({ | 776 | return request({ |
| 776 | url: `/portal/website/${params}`, | 777 | url: `/portal/website/${params}`, |
| 777 | method: 'get' | 778 | method: 'get' |
| 778 | }) | 779 | }) |
| 779 | } | 780 | } |
| 781 | |||
| 780 | export function getZNList(params) { | 782 | export function getZNList(params) { |
| 781 | return request({ | 783 | return request({ |
| 782 | url: `/Portal/websiteInfo/list`, | 784 | url: `/Portal/websiteInfo/list`, |
| ... | @@ -785,4 +787,21 @@ export function getZNList(params) { | ... | @@ -785,4 +787,21 @@ export function getZNList(params) { |
| 785 | }) | 787 | }) |
| 786 | } | 788 | } |
| 787 | 789 | ||
| 790 | // 团体报名校验 | ||
| 791 | export function preCheckForGroup(groupId) { | ||
| 792 | return request({ | ||
| 793 | url: `/systemj/personInfo/preCheckForGroup/${groupId}`, | ||
| 794 | method: 'get' | ||
| 795 | }) | ||
| 796 | } | ||
| 797 | |||
| 798 | // 个人报名校验 | ||
| 799 | export function preCheckForPerson(params) { | ||
| 800 | return request({ | ||
| 801 | url: `/systemj/personInfo/preCheckForPerson`, | ||
| 802 | method: 'get', | ||
| 803 | params | ||
| 804 | }) | ||
| 805 | } | ||
| 806 | |||
| 788 | 807 | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div style="padding: 0 20px 20px" v-if="language==0"> | 2 | <div v-if="language==0" style="padding: 0 20px 20px"> |
| 3 | <!--赛事详情--> | 3 | <!--赛事详情--> |
| 4 | <div class="indexTitle"> | 4 | <div class="indexTitle"> |
| 5 | <h3 class="leftboderTT">组织机构</h3> | 5 | <h3 class="leftboderTT">组织机构</h3> |
| 6 | </div> | 6 | </div> |
| 7 | <div class="xzbox" v-html="form.ocOrganizer"> | 7 | <div class="xzbox" v-html="form.ocOrganizer" /> |
| 8 | </div> | 8 | <div v-if="form.languageSource!='100'" class="indexTitle"><h3 class="leftboderTT">报名须知</h3></div> |
| 9 | <div class="indexTitle" v-if="form.languageSource!='100'"><h3 class="leftboderTT">报名须知</h3></div> | 9 | <div v-if="form.languageSource!='100'" class="xzbox"> |
| 10 | <div class="xzbox" v-if="form.languageSource!='100'"> | 10 | <div v-html="form.signKnow" /> |
| 11 | <div v-html="form.signKnow"></div> | ||
| 12 | <div v-if="form.signKnowUrl"> | 11 | <div v-if="form.signKnowUrl"> |
| 13 | <el-link v-for="(item,index) in JSON.parse(form.signKnowUrl)" type="primary" | 12 | <el-link |
| 14 | :href="fillImgUrl(item.url)" target="_blank"> | 13 | v-for="(item,index) in JSON.parse(form.signKnowUrl)" :key="index" :href="fillImgUrl(item.url)" |
| 14 | target="_blank" type="primary" | ||
| 15 | > | ||
| 15 | <el-icon :size="20"> | 16 | <el-icon :size="20"> |
| 16 | <Download /> | 17 | <Download /> |
| 17 | </el-icon> | 18 | </el-icon> |
| 18 | {{ item.name }} | 19 | {{ item.name }} |
| 19 | </el-link> | 20 | </el-link> |
| 20 | </div> | 21 | </div> |
| 21 | |||
| 22 | </div> | 22 | </div> |
| 23 | <!-- <div class="indexTitle"><h3 class="leftboderTT">免责声明</h3></div>--> | 23 | <!-- <div class="indexTitle"><h3 class="leftboderTT">免责声明</h3></div>--> |
| 24 | <!-- <div class="xzbox">--> | 24 | <!-- <div class="xzbox">--> |
| 25 | <!-- <el-link v-if="form.disclaimerUrl" type="primary" :href="fillImgUrl(JSON.parse(form.disclaimerUrl)[0]?.url)" target="_blank">--> | 25 | <!-- <el-link v-if="form.disclaimerUrl" type="primary" :href="fillImgUrl(JSON.parse(form.disclaimerUrl)[0]?.url)" target="_blank">--> |
| 26 | <!-- <el-icon :size="20">--> | 26 | <!-- <el-icon :size="20">--> |
| 27 | <!-- <Download />--> | 27 | <!-- <Download />--> |
| 28 | <!-- </el-icon>--> | 28 | <!-- </el-icon>--> |
| 29 | <!-- {{ JSON.parse(form.disclaimerUrl)[0]?.name }}--> | 29 | <!-- {{ JSON.parse(form.disclaimerUrl)[0]?.name }}--> |
| 30 | <!-- </el-link>--> | 30 | <!-- </el-link>--> |
| 31 | <!-- </div>--> | 31 | <!-- </div>--> |
| 32 | <div class="indexTitle" v-if="form.languageSource=='100'"><h3 class="leftboderTT">赛事规程</h3></div> | 32 | <div v-if="form.languageSource=='100'" class="indexTitle"><h3 class="leftboderTT">赛事规程</h3></div> |
| 33 | <div class="xzbox" v-if="form.languageSource=='100'"> | 33 | <div v-if="form.languageSource=='100'" class="xzbox"> |
| 34 | <div v-html="form.ruleContent"></div> | 34 | <div v-html="form.ruleContent" /> |
| 35 | <el-link v-if="form.ruleUrl" type="primary" :href="fillImgUrl(JSON.parse(form.ruleUrl)[0]?.url)" target="_blank"> | 35 | <el-link v-if="form.ruleUrl" :href="fillImgUrl(JSON.parse(form.ruleUrl)[0]?.url)" target="_blank" type="primary"> |
| 36 | <el-icon :size="20"> | 36 | <el-icon :size="20"> |
| 37 | <Download /> | 37 | <Download /> |
| 38 | </el-icon> | 38 | </el-icon> |
| 39 | {{ JSON.parse(form.ruleUrl)[0]?.name }} | 39 | {{ JSON.parse(form.ruleUrl)[0]?.name }} |
| 40 | </el-link> | 40 | </el-link> |
| 41 | </div> | 41 | </div> |
| 42 | <!-- <div class="indexTitle" v-if="form.type==1&&form.cptProjectList?.length > 0"><h3 class="leftboderTT">竞赛项目</h3></div>--> | 42 | <!-- <div class="indexTitle" v-if="form.type==1&&form.cptProjectList?.length > 0"><h3 class="leftboderTT">竞赛项目</h3></div>--> |
| 43 | <!-- <div v-if="form.type==1&&form.cptProjectList?.length > 0">--> | 43 | <!-- <div v-if="form.type==1&&form.cptProjectList?.length > 0">--> |
| 44 | 44 | ||
| 45 | <!-- </div>--> | 45 | <!-- </div>--> |
| 46 | 46 | ||
| 47 | </div> | 47 | </div> |
| 48 | <div style="padding: 0 20px 20px" v-else> | 48 | <div v-else style="padding: 0 20px 20px"> |
| 49 | <!--赛事详情--> | 49 | <!--赛事详情--> |
| 50 | <div class="indexTitle"> | 50 | <div class="indexTitle"> |
| 51 | <h3 class="leftboderTT">Organization</h3> | 51 | <h3 class="leftboderTT">Organization</h3> |
| 52 | </div> | 52 | </div> |
| 53 | <div class="xzbox" v-html="form.ocOrganizer"> | 53 | <div class="xzbox" v-html="form.ocOrganizer" /> |
| 54 | </div> | ||
| 55 | <div class="indexTitle"><h3 class="leftboderTT">Notes</h3></div> | 54 | <div class="indexTitle"><h3 class="leftboderTT">Notes</h3></div> |
| 56 | <div class="xzbox"> | 55 | <div class="xzbox"> |
| 57 | <div v-html="form.signKnow"></div> | 56 | <div v-html="form.signKnow" /> |
| 58 | <el-link v-if="form.signKnowUrl" type="primary" :href="fillImgUrl(JSON.parse(form.signKnowUrl)[0]?.url)" target="_blank"> | 57 | <el-link |
| 58 | v-if="form.signKnowUrl" :href="fillImgUrl(JSON.parse(form.signKnowUrl)[0]?.url)" target="_blank" | ||
| 59 | type="primary" | ||
| 60 | > | ||
| 59 | <el-icon :size="20"> | 61 | <el-icon :size="20"> |
| 60 | <Download /> | 62 | <Download /> |
| 61 | </el-icon> | 63 | </el-icon> |
| 62 | {{ JSON.parse(form.signKnowUrl)[0]?.name }} | 64 | {{ JSON.parse(form.signKnowUrl)[0]?.name }} |
| 63 | </el-link> | 65 | </el-link> |
| 64 | </div> | 66 | </div> |
| 65 | <!-- <div class="indexTitle"><h3 class="leftboderTT">Disclaimers</h3></div>--> | 67 | <!-- <div class="indexTitle"><h3 class="leftboderTT">Disclaimers</h3></div>--> |
| 66 | <!-- <div class="xzbox">--> | 68 | <!-- <div class="xzbox">--> |
| 67 | <!-- <el-link v-if="form.disclaimerUrl" type="primary" :href="fillImgUrl(JSON.parse(form.disclaimerUrl)[0]?.url)" target="_blank">--> | 69 | <!-- <el-link v-if="form.disclaimerUrl" type="primary" :href="fillImgUrl(JSON.parse(form.disclaimerUrl)[0]?.url)" target="_blank">--> |
| 68 | <!-- <el-icon :size="20">--> | 70 | <!-- <el-icon :size="20">--> |
| 69 | <!-- <Download />--> | 71 | <!-- <Download />--> |
| 70 | <!-- </el-icon>--> | 72 | <!-- </el-icon>--> |
| 71 | <!-- {{ JSON.parse(form.disclaimerUrl)[0]?.name }}--> | 73 | <!-- {{ JSON.parse(form.disclaimerUrl)[0]?.name }}--> |
| 72 | <!-- </el-link>--> | 74 | <!-- </el-link>--> |
| 73 | <!-- </div>--> | 75 | <!-- </div>--> |
| 74 | 76 | ||
| 75 | <!-- <div class="indexTitle"><h3 class="leftboderTT">Competition Regulations</h3></div>--> | 77 | <!-- <div class="indexTitle"><h3 class="leftboderTT">Competition Regulations</h3></div>--> |
| 76 | <!-- <div class="xzbox">--> | 78 | <!-- <div class="xzbox">--> |
| 77 | <!-- <div v-html="form.ruleContent">--> | 79 | <!-- <div v-html="form.ruleContent">--> |
| 78 | 80 | ||
| 79 | <!-- </div>--> | 81 | <!-- </div>--> |
| 80 | <!-- <el-link v-if="form.ruleUrl" type="primary" :href="fillImgUrl(JSON.parse(form.ruleUrl)[0]?.url)" target="_blank">--> | 82 | <!-- <el-link v-if="form.ruleUrl" type="primary" :href="fillImgUrl(JSON.parse(form.ruleUrl)[0]?.url)" target="_blank">--> |
| 81 | <!-- <el-icon :size="20">--> | 83 | <!-- <el-icon :size="20">--> |
| 82 | <!-- <Download />--> | 84 | <!-- <Download />--> |
| 83 | <!-- </el-icon>--> | 85 | <!-- </el-icon>--> |
| 84 | <!-- {{ JSON.parse(form.ruleUrl)[0]?.name }}--> | 86 | <!-- {{ JSON.parse(form.ruleUrl)[0]?.name }}--> |
| 85 | <!-- </el-link>--> | 87 | <!-- </el-link>--> |
| 86 | <!-- </div>--> | 88 | <!-- </div>--> |
| 87 | <div class="indexTitle" v-if="form.type==1 && form.cptProjectList?.length > 0"><h3 class="leftboderTT">Event settings</h3></div> | 89 | <div v-if="form.type==1 && form.cptProjectList?.length > 0" class="indexTitle"><h3 class="leftboderTT">Event |
| 90 | settings</h3></div> | ||
| 88 | <div v-if="form.type==1 && form.cptProjectList?.length > 0"> | 91 | <div v-if="form.type==1 && form.cptProjectList?.length > 0"> |
| 89 | <match-info-project-list :match-id="form.id" :is-national="form.languageSource!='100'"/> | 92 | <match-info-project-list :is-national="form.languageSource!='100'" :match-id="form.id" /> |
| 90 | </div> | 93 | </div> |
| 91 | </div> | 94 | </div> |
| 92 | </template> | 95 | </template> |
| 93 | 96 | ||
| 94 | <script setup> | 97 | <script setup> |
| 95 | import {ref} from "vue"; | 98 | import { ref } from 'vue' |
| 96 | import MatchInfoProjectList from "@/viewsPc/match/components/matchInfo-projectList"; | 99 | import MatchInfoProjectList from '@/viewsPc/match/components/matchInfo-projectList' |
| 97 | import {useStorage} from "@vueuse/core/index"; | 100 | import { useStorage } from '@vueuse/core/index' |
| 98 | import {onMounted} from "@vue/runtime-core"; | 101 | import { onMounted } from '@vue/runtime-core' |
| 99 | 102 | ||
| 100 | const language= useStorage('language',0) | 103 | const language = useStorage('language', 0) |
| 101 | 104 | ||
| 102 | const props = defineProps({ | 105 | const props = defineProps({ |
| 103 | form:{ | 106 | form: { |
| 104 | type:Object, | 107 | type: Object, |
| 105 | required:true | 108 | required: true |
| 106 | } | 109 | } |
| 107 | }) | 110 | }) |
| 108 | 111 | ||
| 109 | 112 | ||
| 110 | |||
| 111 | </script> | 113 | </script> |
| 112 | 114 | ||
| 113 | <style scoped lang="scss"> | 115 | <style lang="scss" scoped> |
| 114 | .indexTitle{margin: 20px 0 12px; | 116 | .indexTitle { |
| 115 | h3{ | 117 | margin: 20px 0 12px; |
| 118 | |||
| 119 | h3 { | ||
| 116 | font-size: 20px; | 120 | font-size: 20px; |
| 117 | color:var(--el-color-primary); | 121 | color: var(--el-color-primary); |
| 118 | } | 122 | } |
| 119 | } | 123 | } |
| 120 | 124 | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment