Merge branch 'dev' into order
Showing
13 changed files
with
127 additions
and
27 deletions
| ... | @@ -635,6 +635,13 @@ export function signgetSignInfoConflict(query) { | ... | @@ -635,6 +635,13 @@ export function signgetSignInfoConflict(query) { |
| 635 | params:query | 635 | params:query |
| 636 | }) | 636 | }) |
| 637 | } | 637 | } |
| 638 | export function checkMate(query) { | ||
| 639 | return request({ | ||
| 640 | url: `/systemj/personInfo/checkMate`, | ||
| 641 | method: 'get', | ||
| 642 | params:query | ||
| 643 | }) | ||
| 644 | } | ||
| 638 | export function addInvitation(data) { | 645 | export function addInvitation(data) { |
| 639 | return request({ | 646 | return request({ |
| 640 | url: `/league/person`, | 647 | url: `/league/person`, | ... | ... |
| ... | @@ -1030,7 +1030,7 @@ img{display: block;} | ... | @@ -1030,7 +1030,7 @@ img{display: block;} |
| 1030 | .cover{position: absolute;width: 100%;z-index: 1;height: 100%;background: red;opacity: 0;top:0;} | 1030 | .cover{position: absolute;width: 100%;z-index: 1;height: 100%;background: red;opacity: 0;top:0;} |
| 1031 | } | 1031 | } |
| 1032 | .fixed_gg_l{ | 1032 | .fixed_gg_l{ |
| 1033 | position: fixed;left:5px; | 1033 | position: fixed;right:5px; |
| 1034 | top: 25%; | 1034 | top: 25%; |
| 1035 | z-index: 10; | 1035 | z-index: 10; |
| 1036 | animation: pop 4s ease infinite; | 1036 | animation: pop 4s ease infinite; | ... | ... |
| ... | @@ -125,7 +125,8 @@ service.interceptors.response.use( | ... | @@ -125,7 +125,8 @@ service.interceptors.response.use( |
| 125 | // 未设置状态码则默认成功状态 | 125 | // 未设置状态码则默认成功状态 |
| 126 | const code = res.data.code || 200 | 126 | const code = res.data.code || 200 |
| 127 | // 获取错误信息 | 127 | // 获取错误信息 |
| 128 | const msg = errorCode[code] || res.data.msg || errorCode['default'] | 128 | const msg = errorCode[code] || res.data.msg |
| 129 | // const msg = errorCode[code] || res.data.msg || errorCode['default'] | ||
| 129 | // 二进制数据则直接返回 | 130 | // 二进制数据则直接返回 |
| 130 | // debugger | 131 | // debugger |
| 131 | 132 | ||
| ... | @@ -164,10 +165,12 @@ service.interceptors.response.use( | ... | @@ -164,10 +165,12 @@ service.interceptors.response.use( |
| 164 | // isRelogin.show = false | 165 | // isRelogin.show = false |
| 165 | // }) | 166 | // }) |
| 166 | } | 167 | } |
| 167 | return Promise.reject('无效的会话,或者会话已过期,请重新登录。') | 168 | return Promise.reject('会话已过期,请重新登录。') |
| 168 | } else if (code === 500) { | 169 | } else if (code === 500) { |
| 169 | ElMessage({ message: msg, type: 'error' }) | 170 | if(msg){ |
| 170 | sendNotification('错误提示', { body: msg }) | 171 | ElMessage({ message: msg, type: 'error' }) |
| 172 | sendNotification('错误提示', { body: msg }) | ||
| 173 | } | ||
| 171 | return Promise.reject(new Error(msg)) | 174 | return Promise.reject(new Error(msg)) |
| 172 | } else if (code === 601) { | 175 | } else if (code === 601) { |
| 173 | ElMessage({ message: msg, type: 'warning' }) | 176 | ElMessage({ message: msg, type: 'warning' }) | ... | ... |
| ... | @@ -103,7 +103,55 @@ | ... | @@ -103,7 +103,55 @@ |
| 103 | 103 | ||
| 104 | <div class="infoPart pd20" v-if="activeIndex==2"> | 104 | <div class="infoPart pd20" v-if="activeIndex==2"> |
| 105 | <h3 class="leftboderTT">{{ language==0?'体育舞蹈项目':'About Sports Dance' }}</h3> | 105 | <h3 class="leftboderTT">{{ language==0?'体育舞蹈项目':'About Sports Dance' }}</h3> |
| 106 | <el-empty/> | 106 | <div class="content" v-if="language==0"> |
| 107 |     WDSF亚洲体育舞蹈节,创办于2023年,是世界体育舞蹈联合会(WDSF)、亚洲体育舞蹈联合会(DSA)、中国体育舞蹈联合会(CDSF)和无锡市四方共同打造的世界级体育舞蹈IP。该项盛会采用“多赛合办、赛会一体”的创新模式,于每年7月,在无锡开展为期一周的体育舞蹈顶级赛事、职业培训、博览盛会、主题展览、行业会议等赛事活动,围绕“节日有竞赛、竞赛节日化”的指导原则,让7月的无锡成为体育舞蹈创意的栖息地、体育舞蹈艺术家的乐土和体育舞蹈文化旅游的热土,有效启动并积极推动世界体育舞蹈中心从欧洲向中国的长期转移,在中国无锡打造“东方舞都”和“世界体育舞蹈第三极”。 | ||
| 108 | <br/> | ||
| 109 |     以WDSF亚洲体育舞蹈节为引领,世界体育舞蹈(无锡)中心顺利落户。世界体育舞蹈(无锡)中心是集世界、洲际、中国三位一体的联合总部基地,也是行业首创的、世界体育组织与国内央地共同创建的、面向全球的产业中心。中心链接国际示范区、产业强市、运动友好型城市等无锡市产业发展政策,推动体育舞蹈在无锡快速形成项目产业集群,并吸引一批与之配套的上下游经济主体,为提升无锡全球体育城市竞争力和城市体育产业能级,提供最高集聚力。 | ||
| 110 | <br/> | ||
| 111 |     首届WDSF亚洲体育舞蹈节,设置了2023年WDSF世界标准舞锦标赛、2023年WDSF世界体育舞蹈大奖赛(中国无锡)、2023年全国体育舞蹈公开系列赛(无锡站)三项国际、国内顶级赛事,吸引了来自全球39个国家及地区的1,716名顶级舞者参与。 | ||
| 112 | <br/> | ||
| 113 |     2024年7月17日至21日,无锡将迎来第二届WDSF亚洲体育舞蹈节。本届盛会在赛事组成上重磅加码,将采用“七赛合一”的办赛方式,举办2024年WDSF世界拉丁舞锦标赛、2024年WDSF世界青年标准舞锦标赛、2024年WDSF世界少年Ⅱ拉丁舞锦标赛、2024年WDSF大奖赛(标准舞、拉丁舞)、2024年WDSF职业世界杯(标准舞、拉丁舞)、2024年WDSF公开赛(标准舞、拉丁舞)以及2024年全国青少年体育舞蹈锦标赛等一系列重点赛事。 | ||
| 114 | </div> | ||
| 115 | <div class="content" v-else> | ||
| 116 | WDSF Asian DanceSport Festival, founded in 2023, is a world-class sport dance IP | ||
| 117 | jointly created by four parties: the World DanceSport Federation (WDSF), DanceSport | ||
| 118 | Asia (DSA), Chinese DanceSport Federation (CDSF), and Wuxi City. The event adopts | ||
| 119 | the innovative mode of "multiple competitions, competition, and congress as a whole", | ||
| 120 | and carries out a week-long top sport dance events, professional training, expo, theme | ||
| 121 | exhibition, industry conference, and other activities in Wuxi in July every year, and | ||
| 122 | focuses on the guiding principle of "competition gets into the festive spirit", so that Wuxi | ||
| 123 | in July becomes a habitat for sport dance creativity, a wonderland for sport dance | ||
| 124 | artists and a hot spot for sport dance cultural tourism, effectively launching and actively | ||
| 125 | promoting the long-term transfer of the world's sports dance center from Europe to | ||
| 126 | China, and building the "Oriental Dance Capital" and the "Third Pole of World Sports | ||
| 127 | Dance" in Wuxi, China. | ||
| 128 | <br/><br/> | ||
| 129 |     With the WDSF Asian DanceSport Festival as the lead, the World DanceSport (Wuxi) | ||
| 130 | Center was successfully settled. As a joint headquarters for the world, continental, and | ||
| 131 | China, also the first of its kind in the industry, a globally oriented industrial center jointly | ||
| 132 | created by a world sports organization and the domestic central and local governments. | ||
| 133 | Wuxi Center links a series of industrial development policies as an international | ||
| 134 | demonstration zone, major industrial city, and sports-friendly city, to promote sports | ||
| 135 | dance in Wuxi to quickly form project industry clusters, and attract a number of | ||
| 136 | supporting upstream and downstream economic subjects, to enhance the | ||
| 137 | competitiveness of Wuxi's global sports city and the city's sports industry capacity, to | ||
| 138 | provide the highest agglomeration force. | ||
| 139 | The First WDSF Asian DanceSport Festival·Wuxi 2023 has covered 3 international and | ||
| 140 | domestic top events as the 2023 WDSF World Championship Standard, 2023 WDSF | ||
| 141 | DanceSport Grand Slam (Wuxi), 2023 China DanceSport Open Series (Wuxi), which | ||
| 142 | attracted a total of 1,716 top-level dancers from 39 countries and regions around the | ||
| 143 | globe.<br/><br/> | ||
| 144 |     Wuxi will celebrate its 2nd WDSF Asian DanceSport Festival (July 17th | ||
| 145 | -21st | ||
| 146 | , 2024), | ||
| 147 | which turns out to be a blockbuster as ”7 in 1” event mode, including a series of key | ||
| 148 | events such as the WDSF World Championship Latin 2024, WDSF World | ||
| 149 | Championship Youth Standard 2024, WDSF World Championship Junior II Latin 2024, | ||
| 150 | WDSF Grand Slam Latin & Standard 2024, WDSF PD World Cup Latin & Standard | ||
| 151 | 2024, WDSF Open Latin & Standard 2024 and 2024 National Youth DanceSport | ||
| 152 | Championships etc.<br/> | ||
| 153 | </div> | ||
| 154 | |||
| 107 | </div> | 155 | </div> |
| 108 | </el-col> | 156 | </el-col> |
| 109 | </el-row> | 157 | </el-row> | ... | ... |
| ... | @@ -129,7 +129,7 @@ | ... | @@ -129,7 +129,7 @@ |
| 129 | </template> | 129 | </template> |
| 130 | </el-input> | 130 | </el-input> |
| 131 | <!-- <div class="vcodeBox" :style="isShow?'height:240px':'height:0'">--> | 131 | <!-- <div class="vcodeBox" :style="isShow?'height:240px':'height:0'">--> |
| 132 | <Vcode :zIndex="9999" :show="isShow" @success="codeSuccess"></Vcode> | 132 | <Vcode :successText="successVcode" :failText="failVcode" :slider-text="sliderText" :zIndex="9999" :show="isShow" @success="codeSuccess"></Vcode> |
| 133 | <!-- </div>--> | 133 | <!-- </div>--> |
| 134 | </el-form-item> | 134 | </el-form-item> |
| 135 | 135 | ||
| ... | @@ -241,7 +241,9 @@ const changePasswordForm = ref({ | ... | @@ -241,7 +241,9 @@ const changePasswordForm = ref({ |
| 241 | password: '', | 241 | password: '', |
| 242 | confirmPassword: '' | 242 | confirmPassword: '' |
| 243 | }) | 243 | }) |
| 244 | 244 | const failVcode = ref('验证失败,请重试') | |
| 245 | const successVcode = ref('验证通过!') | ||
| 246 | const sliderText = ref('拖动滑块完成拼图') | ||
| 245 | const open = (params) => { | 247 | const open = (params) => { |
| 246 | console.log(params) | 248 | console.log(params) |
| 247 | show.value = true | 249 | show.value = true |
| ... | @@ -250,7 +252,11 @@ const open = (params) => { | ... | @@ -250,7 +252,11 @@ const open = (params) => { |
| 250 | changePasswordForm.value.username = params?.account || '' | 252 | changePasswordForm.value.username = params?.account || '' |
| 251 | if (language.value == 0) { | 253 | if (language.value == 0) { |
| 252 | title.value = '用户登录' | 254 | title.value = '用户登录' |
| 253 | } else { | 255 | } |
| 256 | if (language.value == 1) { | ||
| 257 | failVcode.value = 'Error!' | ||
| 258 | successVcode.value = 'Success!' | ||
| 259 | sliderText.value = 'Drag the slider to complete the puzzle' | ||
| 254 | title.value = 'LOGIN' | 260 | title.value = 'LOGIN' |
| 255 | } | 261 | } |
| 256 | getCode() | 262 | getCode() | ... | ... |
| ... | @@ -396,7 +396,6 @@ function chooseSportman() { | ... | @@ -396,7 +396,6 @@ function chooseSportman() { |
| 396 | } | 396 | } |
| 397 | 397 | ||
| 398 | function changechoosed(e) { | 398 | function changechoosed(e) { |
| 399 | // console.log(e) | ||
| 400 | choosed2List.value = [] | 399 | choosed2List.value = [] |
| 401 | for (var c of athletesList.value) { | 400 | for (var c of athletesList.value) { |
| 402 | if (choosedchoosed.value.indexOf(c.id) > -1) { | 401 | if (choosedchoosed.value.indexOf(c.id) > -1) { |
| ... | @@ -407,7 +406,6 @@ function changechoosed(e) { | ... | @@ -407,7 +406,6 @@ function changechoosed(e) { |
| 407 | } | 406 | } |
| 408 | 407 | ||
| 409 | function getProjectList() { | 408 | function getProjectList() { |
| 410 | console.log(choosedchoosed.value) | ||
| 411 | projectIds.value = [] | 409 | projectIds.value = [] |
| 412 | if (choosedchoosed.value.length == 0) { | 410 | if (choosedchoosed.value.length == 0) { |
| 413 | projectList.value = [] | 411 | projectList.value = [] |
| ... | @@ -437,7 +435,6 @@ function getChoosed(list) { | ... | @@ -437,7 +435,6 @@ function getChoosed(list) { |
| 437 | // openTour.value = false | 435 | // openTour.value = false |
| 438 | tourCurrent.value = 1 | 436 | tourCurrent.value = 1 |
| 439 | } | 437 | } |
| 440 | // console.log('选好了', choosedchoosed.value) | ||
| 441 | } | 438 | } |
| 442 | 439 | ||
| 443 | function addCoach() { | 440 | function addCoach() { |
| ... | @@ -531,8 +528,6 @@ function goMySign() { | ... | @@ -531,8 +528,6 @@ function goMySign() { |
| 531 | 528 | ||
| 532 | const goPersonInfo = (row) => { | 529 | const goPersonInfo = (row) => { |
| 533 | // 完善补充信息 | 530 | // 完善补充信息 |
| 534 | console.log(row) | ||
| 535 | // debugger | ||
| 536 | const params = { | 531 | const params = { |
| 537 | matchId: matchId.value, | 532 | matchId: matchId.value, |
| 538 | title: language.value == 0 ? '完善补充信息' : 'Complete the supplementary information', | 533 | title: language.value == 0 ? '完善补充信息' : 'Complete the supplementary information', |
| ... | @@ -568,7 +563,6 @@ function switchTabletype() { | ... | @@ -568,7 +563,6 @@ function switchTabletype() { |
| 568 | } | 563 | } |
| 569 | 564 | ||
| 570 | watch(projectIds, (newVal, oldVal) => { | 565 | watch(projectIds, (newVal, oldVal) => { |
| 571 | console.log(projectIds.value) | ||
| 572 | if (newVal.length > oldVal.length) { | 566 | if (newVal.length > oldVal.length) { |
| 573 | currProjectId.value = _.last(newVal) | 567 | currProjectId.value = _.last(newVal) |
| 574 | } else { | 568 | } else { |
| ... | @@ -577,7 +571,6 @@ watch(projectIds, (newVal, oldVal) => { | ... | @@ -577,7 +571,6 @@ watch(projectIds, (newVal, oldVal) => { |
| 577 | }) | 571 | }) |
| 578 | 572 | ||
| 579 | function changeProject(e) { | 573 | function changeProject(e) { |
| 580 | console.log(projectIds.value, e) | ||
| 581 | var obj = {} | 574 | var obj = {} |
| 582 | obj = _.find(projectList.value, (c) => { | 575 | obj = _.find(projectList.value, (c) => { |
| 583 | return e.indexOf(c.id) > -1 | 576 | return e.indexOf(c.id) > -1 |
| ... | @@ -605,9 +598,23 @@ function removeCurproject() { | ... | @@ -605,9 +598,23 @@ function removeCurproject() { |
| 605 | // projectIds.value | 598 | // projectIds.value |
| 606 | projectIds.value = _.without(projectIds.value, currProjectId.value) | 599 | projectIds.value = _.without(projectIds.value, currProjectId.value) |
| 607 | } | 600 | } |
| 608 | 601 | function checkTwo(a,b) { | |
| 602 | match.checkMate({per1Id:a,per2Id:b}).then(res=>{ | ||
| 603 | if(!res.data){ | ||
| 604 | ElMessage.warning(language.value == 0 ? '他们不是固定组合':'They\'re not a couple') | ||
| 605 | } | ||
| 606 | }) | ||
| 607 | } | ||
| 609 | watch(choosedchoosed, (newVal, oldVal) => { | 608 | watch(choosedchoosed, (newVal, oldVal) => { |
| 610 | // console.log(choosedchoosed.value) | 609 | // console.log(choosedchoosed.value) |
| 610 | if(newVal.length==2){ | ||
| 611 | //如果一男一女,判断是否舞伴 | ||
| 612 | if(choosed2List.value.length==2){ | ||
| 613 | if(choosed2List.value[0].sex!=choosed2List.value[1].sex){ | ||
| 614 | checkTwo(newVal[0],newVal[1]) | ||
| 615 | } | ||
| 616 | } | ||
| 617 | } | ||
| 611 | if (newVal.length > oldVal.length) { | 618 | if (newVal.length > oldVal.length) { |
| 612 | match.signgetSignInfoConflict({ | 619 | match.signgetSignInfoConflict({ |
| 613 | cptId: matchId.value, | 620 | cptId: matchId.value, |
| ... | @@ -629,7 +636,6 @@ watch(choosedchoosed, (newVal, oldVal) => { | ... | @@ -629,7 +636,6 @@ watch(choosedchoosed, (newVal, oldVal) => { |
| 629 | } | 636 | } |
| 630 | } | 637 | } |
| 631 | projectList.value = [] | 638 | projectList.value = [] |
| 632 | console.log(choosedchoosed.value, choosed2List.value, choosed2Listbak.value) | ||
| 633 | return | 639 | return |
| 634 | } else { | 640 | } else { |
| 635 | getProjectList() | 641 | getProjectList() | ... | ... |
| ... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
| 26 | {{language==0?'去WDSF官网查询我的会员号':'Search my WSDF MIN on the WDSF official website'}} | 26 | {{language==0?'去WDSF官网查询我的会员号':'Search my WSDF MIN on the WDSF official website'}} |
| 27 | </a> | 27 | </a> |
| 28 | 28 | ||
| 29 | <Vcode :show="showVcode" :z-index="2999" @success="codeSuccess()"></Vcode> | 29 | <Vcode :successText="successVcode" :failText="failVcode" :slider-text="sliderText" :show="showVcode" :z-index="2999" @success="codeSuccess()"></Vcode> |
| 30 | </el-form-item> | 30 | </el-form-item> |
| 31 | <div class="h30"></div> | 31 | <div class="h30"></div> |
| 32 | <div class="leftboderTT">{{ language == 0 ? '个人信息' : 'Personal information' }} | 32 | <div class="leftboderTT">{{ language == 0 ? '个人信息' : 'Personal information' }} |
| ... | @@ -150,9 +150,13 @@ const data = reactive({ | ... | @@ -150,9 +150,13 @@ const data = reactive({ |
| 150 | title: '添加选手信息', | 150 | title: '添加选手信息', |
| 151 | isMe: false, | 151 | isMe: false, |
| 152 | isCodeTrue: false, | 152 | isCodeTrue: false, |
| 153 | cptId: '' | 153 | cptId: '', |
| 154 | failVcode: '验证失败,请重试', | ||
| 155 | successVcode: '验证通过!', | ||
| 156 | sliderText: '拖动滑块完成拼图', | ||
| 154 | }) | 157 | }) |
| 155 | const {form, show, showVcode, title, labels, uType, isMe, isCodeTrue, card, cptId} = toRefs(data) | 158 | const {form, show, showVcode, title, labels, uType, isMe, isCodeTrue, card, cptId, |
| 159 | failVcode,successVcode,sliderText} = toRefs(data) | ||
| 156 | 160 | ||
| 157 | let editgay = false | 161 | let editgay = false |
| 158 | let groupId = '0' | 162 | let groupId = '0' |
| ... | @@ -167,6 +171,11 @@ const open = (params) => { | ... | @@ -167,6 +171,11 @@ const open = (params) => { |
| 167 | if (language.value == 0) { | 171 | if (language.value == 0) { |
| 168 | form.value.countryId = 240 | 172 | form.value.countryId = 240 |
| 169 | } | 173 | } |
| 174 | if (language.value == 1) { | ||
| 175 | failVcode.value = 'Error!' | ||
| 176 | successVcode.value = 'Success!' | ||
| 177 | sliderText.value = 'Drag the slider to complete the puzzle' | ||
| 178 | } | ||
| 170 | if (isMe.value) { | 179 | if (isMe.value) { |
| 171 | //个人 | 180 | //个人 |
| 172 | getMyInfo() | 181 | getMyInfo() | ... | ... |
| ... | @@ -8,8 +8,16 @@ | ... | @@ -8,8 +8,16 @@ |
| 8 | 8 | ||
| 9 | <div class="text-center pd20" v-if="showR"> | 9 | <div class="text-center pd20" v-if="showR"> |
| 10 | <img class="mauto" src="@/assets/dance/ok.png"/> | 10 | <img class="mauto" src="@/assets/dance/ok.png"/> |
| 11 | <h2 class="text-center">{{ language == 0 ? '申请已提交' : 'Submitted successfully' }}</h2> | 11 | <!-- <h2 class="text-center">{{ language == 0 ? '申请已提交' : 'Submitted successfully' }}</h2>--> |
| 12 | 12 | <h4 class="text-center" v-if="language == 0"> | |
| 13 | 我们已收到您的邀请函申请,并将尽快处理。请耐心等待。 | ||
| 14 | </h4> | ||
| 15 | <h4 v-else> | ||
| 16 | Your invitation letter application has been received,<br/> | ||
| 17 | and we will process it as soon as possible. | ||
| 18 | <br/> | ||
| 19 | Please be patient while waiting. | ||
| 20 | </h4> | ||
| 13 | <el-button size="large" type="primary" @click="conti" round class="btn-lineG"> | 21 | <el-button size="large" type="primary" @click="conti" round class="btn-lineG"> |
| 14 | {{ language == 0 ? '继续提交' : 'Continue To Submit' }} | 22 | {{ language == 0 ? '继续提交' : 'Continue To Submit' }} |
| 15 | </el-button> | 23 | </el-button> |
| ... | @@ -176,4 +184,5 @@ const conti = () => { | ... | @@ -176,4 +184,5 @@ const conti = () => { |
| 176 | width: 90%; | 184 | width: 90%; |
| 177 | margin: auto | 185 | margin: auto |
| 178 | } | 186 | } |
| 187 | h4{font-size: 15px;line-height: 1.6;} | ||
| 179 | </style> | 188 | </style> | ... | ... |
| ... | @@ -72,7 +72,7 @@ function getGroupInfo() { | ... | @@ -72,7 +72,7 @@ function getGroupInfo() { |
| 72 | <style scoped lang="scss"> | 72 | <style scoped lang="scss"> |
| 73 | .border-info{ | 73 | .border-info{ |
| 74 | .item{margin: 5px 0;color: #4C5359; font-size: 14px; | 74 | .item{margin: 5px 0;color: #4C5359; font-size: 14px; |
| 75 | label{font-size: 14px;margin-right: 14px} | 75 | label{font-size: 14px;margin-right: 14px;text-transform: uppercase;} |
| 76 | } | 76 | } |
| 77 | } | 77 | } |
| 78 | </style> | 78 | </style> | ... | ... |
| ... | @@ -637,7 +637,7 @@ function reSign(){ | ... | @@ -637,7 +637,7 @@ function reSign(){ |
| 637 | } | 637 | } |
| 638 | function applyInvitation() { | 638 | function applyInvitation() { |
| 639 | var obj = { | 639 | var obj = { |
| 640 | title: language.value==0?'邀请函申请':'Invitation letter application', | 640 | title: language.value==0?'邀请函申请':'Visa Invitation Letter ', |
| 641 | cptId: matchId.value, | 641 | cptId: matchId.value, |
| 642 | } | 642 | } |
| 643 | proxy.$refs['dialogInvitationRef'].open(obj) | 643 | proxy.$refs['dialogInvitationRef'].open(obj) | ... | ... |
| ... | @@ -373,7 +373,19 @@ const zuQuery = ref({ | ... | @@ -373,7 +373,19 @@ const zuQuery = ref({ |
| 373 | const user = useUserStore().user | 373 | const user = useUserStore().user |
| 374 | console.log(route.query.orderId) | 374 | console.log(route.query.orderId) |
| 375 | // 1763462073870237698 | 375 | // 1763462073870237698 |
| 376 | getData() | 376 | onMounted(() => { |
| 377 | if (route.query.orderId) { | ||
| 378 | getData() | ||
| 379 | } | ||
| 380 | if(route.query.lang){ | ||
| 381 | if(route.query.lang=='ZH'){ | ||
| 382 | language.value = 0 | ||
| 383 | } | ||
| 384 | if(route.query.lang=='EN'){ | ||
| 385 | language.value = 1 | ||
| 386 | } | ||
| 387 | } | ||
| 388 | }) | ||
| 377 | if (useUserStore().user) { | 389 | if (useUserStore().user) { |
| 378 | isLogin.value = true | 390 | isLogin.value = true |
| 379 | } | 391 | } | ... | ... |
| ... | @@ -82,7 +82,7 @@ export default defineConfig(({ mode, command }) => { | ... | @@ -82,7 +82,7 @@ export default defineConfig(({ mode, command }) => { |
| 82 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') | 82 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') |
| 83 | }, | 83 | }, |
| 84 | '/dev-api': { | 84 | '/dev-api': { |
| 85 | target: 'http://192.168.1.118:8081/', | 85 | target: 'http://192.168.1.131:8081/', |
| 86 | // target: 'https://dance.itechtop.cn/stage-api', | 86 | // target: 'https://dance.itechtop.cn/stage-api', |
| 87 | // target: 'https://wdsfwuxicenter.com/stage-api', | 87 | // target: 'https://wdsfwuxicenter.com/stage-api', |
| 88 | changeOrigin: true, | 88 | changeOrigin: true, | ... | ... |
-
Please register or sign in to post a comment