Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8554c0db
authored
2025-06-04 16:30:50 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登录注册
1 parent
04376af8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
24 deletions
src/layoutPc/components/AppHeader.vue
src/viewsPc/login.vue
src/viewsPc/match/detail_en.vue
src/layoutPc/components/AppHeader.vue
View file @
8554c0d
This diff is collapsed.
Click to expand it.
src/viewsPc/login.vue
View file @
8554c0d
This diff is collapsed.
Click to expand it.
src/viewsPc/match/detail_en.vue
View file @
8554c0d
...
...
@@ -394,6 +394,7 @@
<pickup
ref=
"pickupRef"
/>
<checkAllSportsman
ref=
"checkAllSportsmanRef"
/>
<LoginDialog
ref=
"pcloginDialog"
@
submitForm=
"reFlash"
/>
</div>
</template>
...
...
@@ -405,12 +406,12 @@ import SubstationList from '@/viewsPc/match/components/substation-list'
import
MatchInfoProjectList
from
'@/viewsPc/match/components/matchInfo-projectList'
import
QuickRow
from
'@/viewsPc/match/components/quick-row'
import
Pickup
from
'@/viewsPc/components/pickup'
import
{
getCurrentInstance
,
ref
}
from
'vue'
import
{
getCurrentInstance
,
ref
,
watch
}
from
'vue'
import
{
reactive
,
onMounted
}
from
'@vue/runtime-core'
import
{
useRoute
,
useRouter
}
from
'vue-router'
import
AffixInvitation
from
'@/viewsPc/match/components/affix-invitation'
import
checkAllSportsman
from
'@/viewsPc/match/components/checkAllSportsman'
import
LoginDialog
from
'@/viewsPc/login'
const
language
=
useStorage
(
'language'
,
0
)
const
route
=
useRoute
()
...
...
@@ -455,6 +456,7 @@ const data = reactive({
startSign
:
''
,
isNational
:
false
})
const
{
error
,
loading
,
...
...
@@ -466,6 +468,7 @@ const {
signDoneGroupList
,
signDoneGroupListToTal
,
queryGroupList
,
time
,
startSign
,
isNational
}
=
toRefs
(
data
)
const
signTypePop
=
ref
(
false
)
const
upgradePop
=
ref
(
false
)
...
...
@@ -539,22 +542,22 @@ function changeMenu(menu, l) {
function
choseSignType
()
{
console
.
log
(
matchData
.
value
.
signType
,
matchData
.
value
.
languageSource
,
user
)
if
(
!
user
)
{
handelGoLogin
({},
matchData
.
value
.
signType
)
// 判断signType,如1个人注册-报名;
switch
(
matchData
.
value
.
signType
)
{
case
'0'
:
// 注册
goGeren
()
break
case
'1'
:
// 登录
goLogin
()
break
case
'2'
:
popChangeType
()
break
}
//
switch (matchData.value.signType) {
//
case '0':
//
// 注册
//
goGeren()
//
break
//
case '1':
//
// 登录
//
goLogin()
//
break
//
case '2':
//
popChangeType()
//
break
//
}
}
else
{
// 获取已报名信息
checkIsSign
().
then
(()
=>
{
...
...
@@ -952,16 +955,21 @@ async function getCheckOcr(obj) {
}
}
watch
(()
=>
useUserStore
().
reLogin
,
(
val
)
=>
{
if
(
val
.
show
)
{
console
.
log
(
val
)
handelGoLogin
(
val
.
query
)
}
})
// 登录
const
handelGoLogin
=
(
query
)
=>
{
const
param
=
{}
// if (_.isBoolean(flag)) {
// param = {
// notShowClose: flag
// }
// }
proxy
.
$refs
[
'pcloginDialog'
].
open
(
query
)
const
handelGoLogin
=
(
query
,
type
)
=>
{
proxy
.
$refs
[
'pcloginDialog'
].
open
(
query
,
type
)
}
const
reFlash
=
()
=>
{
// 刷新
location
.
reload
()
}
</
script
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment