Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
fd369a29
Commit
fd369a29
authored
Sep 19, 2023
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营地2.0-整合修改
parent
b1b0d2ca
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
133 additions
and
119 deletions
+133
-119
src/App.vue
src/App.vue
+0
-1
src/assets/scss/index.scss
src/assets/scss/index.scss
+4
-4
src/components/Footer.vue
src/components/Footer.vue
+1
-1
src/components/Header.vue
src/components/Header.vue
+77
-18
src/components/base/myInfo/campList.vue
src/components/base/myInfo/campList.vue
+1
-2
src/components/index/Header.vue
src/components/index/Header.vue
+1
-1
src/components/index/SignUp/confirm.vue
src/components/index/SignUp/confirm.vue
+1
-1
src/request/network.js
src/request/network.js
+0
-2
src/router/index.js
src/router/index.js
+10
-12
src/store/index.js
src/store/index.js
+1
-1
src/store/mutations.js
src/store/mutations.js
+3
-3
src/views/base/active/ActiveInfo.vue
src/views/base/active/ActiveInfo.vue
+1
-1
src/views/base/login/Login.vue
src/views/base/login/Login.vue
+9
-9
src/views/base/login/Register.vue
src/views/base/login/Register.vue
+7
-7
src/views/base/login/Reset.vue
src/views/base/login/Reset.vue
+6
-6
src/views/base/myInfo/index.vue
src/views/base/myInfo/index.vue
+2
-3
src/views/index/Info/Index.vue
src/views/index/Info/Index.vue
+1
-1
src/views/index/camp/Index.vue
src/views/index/camp/Index.vue
+4
-8
src/views/index/camp/SignUp.vue
src/views/index/camp/SignUp.vue
+1
-33
src/views/index/login/Login.vue
src/views/index/login/Login.vue
+1
-1
src/views/index/login/Register.vue
src/views/index/login/Register.vue
+1
-3
src/views/index/recruit/Index.vue
src/views/index/recruit/Index.vue
+1
-1
No files found.
src/App.vue
View file @
fd369a29
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
},
},
watch
:
{
watch
:
{
'
$route
'
(
val
)
{
'
$route
'
(
val
)
{
console
.
log
(
val
.
query
.
jxcode
)
this
.
$store
.
commit
(
'
setActiveIndex
'
,
val
.
path
)
this
.
$store
.
commit
(
'
setActiveIndex
'
,
val
.
path
)
}
}
}
}
...
...
src/assets/scss/index.scss
View file @
fd369a29
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
// var(--color) 用于引用
// var(--color) 用于引用
// 在页面样式的引用中,你将会看到
// 在页面样式的引用中,你将会看到
:root
{
:root
{
--color
:
#
60194a
;
--color
:
#
436EF3
;
--bk_pic
:
#
60194a
;
--bk_pic
:
#
436EF3
;
--logo
:
#
60194a
;
--logo
:
#
436EF3
;
--all_color
:
#
3EACEF
;
--all_color
:
#
436EF3
;
}
}
src/components/Footer.vue
View file @
fd369a29
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"contact_list"
>
<div
class=
"contact_list"
>
<div
class=
"contact_list_item"
>
<div
class=
"contact_list_item"
>
<i
class=
"el-icon-message"
></i>
<i
class=
"el-icon-message"
></i>
<span>
联系邮箱
</span>
ydhdservice@163.com
<span>
联系邮箱
</span>
service@campcenter.cn
</div>
</div>
<div
class=
"contact_list_item"
>
<div
class=
"contact_list_item"
>
<i
class=
"el-icon-aim"
></i>
<i
class=
"el-icon-aim"
></i>
...
...
src/components/Header.vue
View file @
fd369a29
<
template
>
<
template
>
<div
class=
"Header"
>
<div
class=
"Header"
:class=
"type==1?'all-header':''"
>
<div
class=
"H_content com-container"
>
<div
class=
"H_content com-container"
>
<div
class=
"image"
>
<div
class=
"image"
>
<img
v-if=
"type==1"
src=
"../assets/img/logo_base.png"
alt=
""
/>
<img
v-if=
"type==1"
:src=
"all_logo"
alt=
""
/>
<img
v-if=
"type==2"
:src=
"system_logo"
alt=
""
@
click=
"toRecruit"
/>
<img
v-if=
"type==2"
:src=
"system_logo"
alt=
""
/>
<img
v-if=
"type==3"
:src=
"system_logo?system_logo:all_logo"
alt=
""
@
click=
"toRecruit"
/>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<el-menu
:default-active=
"$store.state.activeIndex"
@
select=
"handleSelect"
class=
"el-menu-demo"
<el-menu
:default-active=
"$store.state.activeIndex"
@
select=
"handleSelect"
mode=
"horizontal"
>
mode=
"horizontal"
>
<el-menu-item
index=
"/home"
>
首页
</el-menu-item>
<el-menu-item
index=
"/home"
>
首页
</el-menu-item>
<el-menu-item
index=
"/active"
>
活动中心
</el-menu-item>
<el-menu-item
index=
"/active"
>
活动中心
</el-menu-item>
</el-menu>
</el-menu>
<el-button
v-if=
"type==2"
@
click=
"toSignUp"
class=
"sign-up"
>
立即报名
</el-button>
<div
class=
"noLogin"
v-if=
"!isLogin"
>
<div
class=
"noLogin"
v-if=
"!isLogin"
>
<span
<span
:class=
"isHover ? '' : 'is-hover'"
:class=
"isHover ? '' : 'is-hover'"
...
@@ -41,6 +44,7 @@
...
@@ -41,6 +44,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
logout
}
from
"
r/index/login
"
;
import
{
logout
}
from
"
r/index/login
"
;
import
logoImg
from
"
../assets/img/logo_base.png
"
;
export
default
{
export
default
{
name
:
"
Header
"
,
name
:
"
Header
"
,
...
@@ -54,6 +58,7 @@
...
@@ -54,6 +58,7 @@
isLogin
:
false
,
isLogin
:
false
,
phone
:
''
,
phone
:
''
,
system_logo
:
''
,
system_logo
:
''
,
all_logo
:
logoImg
,
};
};
},
},
created
()
{
created
()
{
...
@@ -66,6 +71,10 @@
...
@@ -66,6 +71,10 @@
// 导航栏操作
// 导航栏操作
handleSelect
(
key
,
keyPath
)
{
handleSelect
(
key
,
keyPath
)
{
this
.
$router
.
push
(
key
);
this
.
$router
.
push
(
key
);
let
root
=
document
.
querySelector
(
"
:root
"
);
root
.
style
.
setProperty
(
"
--color
"
,
"
#436EF3
"
);
let
code
=
this
.
$store
.
state
.
indexIdentity
;
window
.
localStorage
.
setItem
(
"
system_logo
"
+
code
,
this
.
all_logo
);
},
},
// 下拉菜单操作
// 下拉菜单操作
handleCommand
(
command
)
{
handleCommand
(
command
)
{
...
@@ -78,22 +87,32 @@
...
@@ -78,22 +87,32 @@
},
},
// 去个人中心
// 去个人中心
toCenter
()
{
toCenter
()
{
this
.
$router
.
replace
(
"
/myInfo
"
);
this
.
$router
.
replace
(
"
/myInfo
/signUpList
"
);
},
},
// 去注册
// 去注册
toRegister
()
{
toRegister
()
{
if
(
this
.
type
==
1
)
{
if
(
this
.
type
==
1
)
{
this
.
$router
.
push
(
"
/baseRegister
"
);
this
.
$router
.
push
(
"
/baseRegister
"
);
}
else
if
(
this
.
type
==
2
)
{
}
else
if
(
this
.
type
==
2
||
this
.
type
==
3
)
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
$router
.
push
(
"
/register?code=
"
+
code
);
this
.
$router
.
push
(
"
/register?code=
"
+
code
);
}
}
},
},
// 立即报名
toSignUp
()
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
token
=
window
.
localStorage
.
getItem
(
"
index-token-all
"
);
if
(
!
token
)
{
this
.
$router
.
push
(
"
/login?code=
"
+
code
);
}
else
{
this
.
$router
.
push
(
"
/signUp/undefined?code=
"
+
code
);
}
},
// 去登录页
// 去登录页
toLogin
()
{
toLogin
()
{
if
(
this
.
type
==
1
)
{
if
(
this
.
type
==
1
)
{
this
.
$router
.
push
(
"
/baseLogin
"
);
this
.
$router
.
push
(
"
/baseLogin
"
);
}
else
if
(
this
.
type
==
2
)
{
}
else
if
(
this
.
type
==
2
||
this
.
type
==
3
)
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
$router
.
push
(
"
/login?code=
"
+
code
);
this
.
$router
.
push
(
"
/login?code=
"
+
code
);
}
}
...
@@ -111,7 +130,7 @@
...
@@ -111,7 +130,7 @@
}
}
// 清除本地缓存 除了特殊缓存
// 清除本地缓存 除了特殊缓存
this
.
$store
.
commit
(
'
removeLocalStorage
'
);
this
.
$store
.
commit
(
'
removeLocalStorage
'
);
if
(
this
.
type
==
2
)
{
if
(
this
.
type
==
2
||
this
.
type
==
3
)
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
if
(
this
.
$store
.
state
.
human
==
1
)
{
if
(
this
.
$store
.
state
.
human
==
1
)
{
await
this
.
$router
.
replace
({
await
this
.
$router
.
replace
({
...
@@ -142,7 +161,7 @@
...
@@ -142,7 +161,7 @@
watch
:
{
watch
:
{
typeFu
(
val
)
{
typeFu
(
val
)
{
this
.
type
=
val
;
this
.
type
=
val
;
if
(
val
==
2
)
{
if
(
val
==
2
||
val
==
3
)
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
system_logo
=
localStorage
.
getItem
(
"
system_logo
"
+
code
)
||
""
;
this
.
system_logo
=
localStorage
.
getItem
(
"
system_logo
"
+
code
)
||
""
;
}
}
...
@@ -169,6 +188,7 @@
...
@@ -169,6 +188,7 @@
.image
img
{
.image
img
{
// width: 318px;
// width: 318px;
height
:
62px
;
height
:
62px
;
cursor
:
pointer
;
}
}
.right
{
.right
{
...
@@ -191,18 +211,30 @@
...
@@ -191,18 +211,30 @@
&
:hover
{
&
:hover
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
var
(
--
all_
color
);
color
:
var
(
--
color
);
}
}
&
.is-active
{
&
.is-active
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
var
(
--
all_
color
);
color
:
var
(
--
color
);
border-bottom-width
:
3px
;
border-bottom-width
:
3px
;
border-bottom-color
:
var
(
--
all_
color
);
border-bottom-color
:
var
(
--
color
);
}
}
}
}
}
}
.sign-up
{
color
:
#666666
;
border
:
2px
solid
#aaaaaa
;
background-color
:
transparent
;
margin
:
0
30px
0
0
;
&
:hover
{
color
:
var
(
--
color
);
border
:
2px
solid
var
(
--
color
);
}
}
.noLogin
{
.noLogin
{
flex
:
1
;
flex
:
1
;
...
@@ -215,14 +247,10 @@
...
@@ -215,14 +247,10 @@
border-radius
:
4px
;
border-radius
:
4px
;
border
:
2px
solid
transparent
;
border
:
2px
solid
transparent
;
&
:last-child
{
margin-left
:
10px
;
}
&
.is-hover
{
&
.is-hover
{
cursor
:
pointer
;
cursor
:
pointer
;
color
:
var
(
--
all_
color
);
color
:
var
(
--
color
);
border-color
:
var
(
--
all_
color
);
border-color
:
var
(
--
color
);
}
}
}
}
}
}
...
@@ -262,5 +290,36 @@
...
@@ -262,5 +290,36 @@
}
}
}
}
}
}
&
.all-header
{
::v-deep
.el-menu
{
.el-menu-item
{
&
:hover
{
color
:
var
(
--
all_color
)
!
important
;
}
&
.is-active
{
color
:
var
(
--
all_color
)
!
important
;
border-bottom-color
:
var
(
--
all_color
)
!
important
;
}
}
}
.sign-up
{
&
:hover
{
color
:
var
(
--
all_color
)
!
important
;
border
:
2px
solid
var
(
--
all_color
)
!
important
;
}
}
.noLogin
{
span
{
&
.is-hover
{
color
:
var
(
--
all_color
)
!
important
;
border-color
:
var
(
--
all_color
)
!
important
;
}
}
}
}
}
}
</
style
>
</
style
>
src/components/base/myInfo/campList.vue
View file @
fd369a29
...
@@ -55,13 +55,12 @@
...
@@ -55,13 +55,12 @@
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
activeList
=
res
.
data
.
data
;
this
.
activeList
=
res
.
data
.
data
;
console
.
log
(
typeof
(
this
.
activeList
))
})
})
},
},
toSignUp
(
code
)
{
toSignUp
(
code
)
{
console
.
log
(
code
)
console
.
log
(
code
)
this
.
$store
.
commit
(
'
setIndexIdentity
'
,
code
)
this
.
$store
.
commit
(
'
setIndexIdentity
'
,
code
)
this
.
$router
.
push
(
'
/signUp/
examInfo
?code=
'
+
code
)
this
.
$router
.
push
(
'
/signUp/
undefined
?code=
'
+
code
)
}
}
},
},
watch
:
{
watch
:
{
...
...
src/components/index/Header.vue
View file @
fd369a29
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
},
},
toCenter
()
{
toCenter
()
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
$router
.
replace
(
"
/signUp/
examInfo
?code=
"
+
code
);
this
.
$router
.
replace
(
"
/signUp/
undefined
?code=
"
+
code
);
},
},
toRegister
()
{
toRegister
()
{
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
...
...
src/components/index/SignUp/confirm.vue
View file @
fd369a29
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
}
}
},
},
created
()
{
created
()
{
this
.
getCams
()
;
this
.
info
=
this
.
$store
.
state
.
info
;
const
code
=
this
.
$store
.
state
.
indexIdentity
;
const
code
=
this
.
$store
.
state
.
indexIdentity
;
//是否开启多形式报名
//是否开启多形式报名
this
.
is_multiform
=
this
.
$store
.
state
.
isMultiform
;
this
.
is_multiform
=
this
.
$store
.
state
.
isMultiform
;
...
...
src/request/network.js
View file @
fd369a29
...
@@ -60,7 +60,6 @@ const reqList = []
...
@@ -60,7 +60,6 @@ const reqList = []
* @param {string} errorMessage - 请求中断时需要显示的错误信息
* @param {string} errorMessage - 请求中断时需要显示的错误信息
*/
*/
const
stopRepeatRequest
=
function
(
reqList
,
url
,
cancel
,
errorMessage
)
{
const
stopRepeatRequest
=
function
(
reqList
,
url
,
cancel
,
errorMessage
)
{
console
.
log
(
reqList
)
const
errorMsg
=
errorMessage
||
''
const
errorMsg
=
errorMessage
||
''
for
(
let
i
=
0
;
i
<
reqList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
reqList
.
length
;
i
++
)
{
if
(
reqList
[
i
]
===
url
)
{
if
(
reqList
[
i
]
===
url
)
{
...
@@ -127,7 +126,6 @@ export function request(config) {
...
@@ -127,7 +126,6 @@ export function request(config) {
return
config
return
config
}
}
const
token
=
localStorage
.
getItem
(
'
index-token-all
'
);
const
token
=
localStorage
.
getItem
(
'
index-token-all
'
);
console
.
log
(
token
,
store
.
state
.
isLogin
)
if
(
token
)
{
if
(
token
)
{
config
.
headers
.
token
=
token
;
config
.
headers
.
token
=
token
;
}
else
{
}
else
{
...
...
src/router/index.js
View file @
fd369a29
...
@@ -39,14 +39,15 @@ const routes = [
...
@@ -39,14 +39,15 @@ const routes = [
children
:
[...
baseLogin
]
children
:
[...
baseLogin
]
},
},
{
{
path
:
'
/myInfo
'
,
path
:
'
/myInfo
/
'
,
name
:
'
myInfoIndex
'
,
name
:
'
myInfoIndex
'
,
meta
:
{
meta
:
{
title
:
'
个人中心
'
title
:
'
个人中心
'
},
},
redirect
:
'
/myInfo/signUpList
'
,
component
:
()
=>
import
(
'
v/base/myInfo/index.vue
'
),
component
:
()
=>
import
(
'
v/base/myInfo/index.vue
'
),
children
:
[{
children
:
[{
path
:
'
/
signUpList
'
,
path
:
'
signUpList
'
,
name
:
'
signUpList
'
,
name
:
'
signUpList
'
,
component
:
()
=>
import
(
/* webpackChunkName: "login" */
'
v/base/myInfo/signUp.vue
'
),
component
:
()
=>
import
(
/* webpackChunkName: "login" */
'
v/base/myInfo/signUp.vue
'
),
meta
:
{
meta
:
{
...
@@ -63,7 +64,6 @@ const routes = [
...
@@ -63,7 +64,6 @@ const routes = [
component
:
()
=>
import
(
'
v/index/login/Index.vue
'
),
component
:
()
=>
import
(
'
v/index/login/Index.vue
'
),
children
:
[...
indexLogin
]
children
:
[...
indexLogin
]
},
},
{
{
path
:
'
/Info
'
,
path
:
'
/Info
'
,
name
:
'
Info
'
,
name
:
'
Info
'
,
...
@@ -197,8 +197,8 @@ function checkCam(code, cb) {
...
@@ -197,8 +197,8 @@ function checkCam(code, cb) {
}
}
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
from
.
fullPath
!=
'
/
'
)
{
if
(
from
.
fullPath
!=
'
/
'
&&
from
.
fullPath
!=
'
/baseLogin
'
&&
from
.
fullPath
!=
'
/baseRegister
'
)
{
store
.
commit
(
'
set
Full
Path
'
,
from
.
fullPath
);
store
.
commit
(
'
set
Previous
Path
'
,
from
.
fullPath
);
}
}
let
toLogin
=
"
/login
"
,
let
toLogin
=
"
/login
"
,
toRegister
=
"
/register
"
,
toRegister
=
"
/register
"
,
...
@@ -211,7 +211,7 @@ router.beforeEach((to, from, next) => {
...
@@ -211,7 +211,7 @@ router.beforeEach((to, from, next) => {
toInfo
=
"
/myInfo
"
;
toInfo
=
"
/myInfo
"
;
let
code
=
false
;
let
code
=
false
;
document
.
title
=
to
.
meta
.
title
;
document
.
title
=
to
.
meta
.
title
;
if
(
to
.
path
==
toBaseLogin
||
to
.
path
==
toBaseRegister
||
to
.
path
==
toBaseReset
||
to
.
path
==
toInfo
||
to
.
path
==
toHome
||
to
.
path
==
toActive
||
to
.
path
.
indexOf
(
toActive
)
!=
-
1
)
{
if
(
to
.
path
==
toBaseLogin
||
to
.
path
==
toBaseRegister
||
to
.
path
==
toBaseReset
||
to
.
path
.
indexOf
(
toInfo
)
!=
-
1
||
to
.
path
==
toHome
||
to
.
path
==
toActive
||
to
.
path
.
indexOf
(
toActive
)
!=
-
1
)
{
return
next
();
return
next
();
}
else
if
(
to
.
path
==
toLogin
||
to
.
path
==
toRegister
||
to
.
path
==
toReset
)
{
}
else
if
(
to
.
path
==
toLogin
||
to
.
path
==
toRegister
||
to
.
path
==
toReset
)
{
code
=
to
.
params
.
code
?
to
.
params
.
code
:
to
.
query
.
code
;
code
=
to
.
params
.
code
?
to
.
params
.
code
:
to
.
query
.
code
;
...
@@ -240,19 +240,17 @@ router.beforeEach((to, from, next) => {
...
@@ -240,19 +240,17 @@ router.beforeEach((to, from, next) => {
if
(
!
token
)
{
if
(
!
token
)
{
checkCam
(
code
,
(
res
)
=>
{
checkCam
(
code
,
(
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
// return next(toLogin);
return
next
(
"
/
"
+
code
);
return
next
(
"
/
"
+
code
);
}
}
});
});
}
else
{
}
else
{
// if (to.path == '/signUp/undefined') {
// // 报名流程中转页,不调用getCam接口
// return next();
// }
checkCam
(
code
,
(
res
)
=>
{
checkCam
(
code
,
(
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
return
next
();
return
next
();
// if (token) {
// return next();
// } else {
// next("/" + code);
// }
}
}
});
});
}
}
...
...
src/store/index.js
View file @
fd369a29
...
@@ -9,7 +9,7 @@ Vue.use(Vuex)
...
@@ -9,7 +9,7 @@ Vue.use(Vuex)
let
state
=
{
let
state
=
{
// 上一页地址
// 上一页地址
fullPath
:
localStorage
.
getItem
(
"
index-full
Path
"
)
||
"
/
"
,
previousPath
:
localStorage
.
getItem
(
"
index-previous
Path
"
)
||
"
/
"
,
// 数据
// 数据
data
:
[],
data
:
[],
indexIdentity
:
localStorage
.
getItem
(
"
index-identity
"
)
||
""
,
indexIdentity
:
localStorage
.
getItem
(
"
index-identity
"
)
||
""
,
...
...
src/store/mutations.js
View file @
fd369a29
...
@@ -29,9 +29,9 @@ export default {
...
@@ -29,9 +29,9 @@ export default {
state
.
activeIndex
=
key
;
state
.
activeIndex
=
key
;
window
.
localStorage
.
setItem
(
'
index-active-path
'
,
key
);
window
.
localStorage
.
setItem
(
'
index-active-path
'
,
key
);
},
},
set
Full
Path
(
state
,
path
)
{
set
Previous
Path
(
state
,
path
)
{
state
.
full
Path
=
path
;
state
.
previous
Path
=
path
;
window
.
localStorage
.
setItem
(
'
index-
full
Path
'
,
path
);
window
.
localStorage
.
setItem
(
'
index-
previous
Path
'
,
path
);
},
},
removeLocalStorage
(
state
)
{
removeLocalStorage
(
state
)
{
for
(
let
key
in
window
.
localStorage
)
{
for
(
let
key
in
window
.
localStorage
)
{
...
...
src/views/base/active/ActiveInfo.vue
View file @
fd369a29
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
let
allToken
=
window
.
localStorage
.
getItem
(
'
index-token-all
'
);
let
allToken
=
window
.
localStorage
.
getItem
(
'
index-token-all
'
);
if
(
allToken
)
{
if
(
allToken
)
{
this
.
$store
.
commit
(
'
setIndexIdentity
'
,
this
.
activeInfo
.
identity
)
this
.
$store
.
commit
(
'
setIndexIdentity
'
,
this
.
activeInfo
.
identity
)
this
.
$router
.
push
(
'
/signUp/
examInfo
?code=
'
+
this
.
activeInfo
.
identity
);
this
.
$router
.
push
(
'
/signUp/
undefined
?code=
'
+
this
.
activeInfo
.
identity
);
}
else
{
}
else
{
this
.
$router
.
push
(
'
/baseLogin
'
);
this
.
$router
.
push
(
'
/baseLogin
'
);
}
}
...
...
src/views/base/login/Login.vue
View file @
fd369a29
...
@@ -286,9 +286,9 @@
...
@@ -286,9 +286,9 @@
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
window
.
localStorage
.
setItem
(
"
index-phone-all
"
,
this
.
loginForm
.
phone
);
window
.
localStorage
.
setItem
(
"
index-phone-all
"
,
this
.
loginForm
.
phone
);
window
.
localStorage
.
setItem
(
"
email
"
,
res
.
data
.
email
);
window
.
localStorage
.
setItem
(
"
email
"
,
res
.
data
.
email
);
let
fullPath
=
this
.
$store
.
state
.
full
Path
;
let
previousPath
=
this
.
$store
.
state
.
previous
Path
;
this
.
$router
.
push
(
full
Path
);
this
.
$router
.
push
(
previous
Path
);
this
.
$store
.
commit
(
'
set
Full
Path
'
,
'
/
'
);
this
.
$store
.
commit
(
'
set
Previous
Path
'
,
'
/
'
);
});
});
});
});
},
},
...
@@ -384,7 +384,7 @@
...
@@ -384,7 +384,7 @@
height
:
20px
;
height
:
20px
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
line-height
:
20px
;
line-height
:
20px
;
text-align
:
right
;
text-align
:
right
;
}
}
...
@@ -419,7 +419,7 @@
...
@@ -419,7 +419,7 @@
.code
{
.code
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
}
}
}
}
...
@@ -449,7 +449,7 @@
...
@@ -449,7 +449,7 @@
border-bottom
:
2px
solid
#d9d9d9
;
border-bottom
:
2px
solid
#d9d9d9
;
&
:focus
{
&
:focus
{
border-bottom-color
:
var
(
--
color
);
border-bottom-color
:
var
(
--
all_
color
);
}
}
}
}
...
@@ -460,7 +460,7 @@
...
@@ -460,7 +460,7 @@
.el-button
{
.el-button
{
width
:
100%
;
width
:
100%
;
height
:
60px
;
height
:
60px
;
background
:
var
(
--
color
);
background
:
var
(
--
all_
color
);
border-radius
:
4px
;
border-radius
:
4px
;
opacity
:
0
.8
;
opacity
:
0
.8
;
line-height
:
50px
;
line-height
:
50px
;
...
@@ -488,7 +488,7 @@
...
@@ -488,7 +488,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
&
:hover
{
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
}
}
...
@@ -502,7 +502,7 @@
...
@@ -502,7 +502,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
&
:hover
{
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
}
}
...
...
src/views/base/login/Register.vue
View file @
fd369a29
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
window
.
localStorage
.
setItem
(
"
index-phone-all
"
,
this
.
registerForm
.
phone
);
window
.
localStorage
.
setItem
(
"
index-phone-all
"
,
this
.
registerForm
.
phone
);
// 跳转到报名
// 跳转到报名
this
.
$router
.
replace
(
"
/signUpList
"
);
this
.
$router
.
replace
(
"
/
myInfo/
signUpList
"
);
});
});
});
});
},
},
...
@@ -355,14 +355,14 @@
...
@@ -355,14 +355,14 @@
height
:
20px
;
height
:
20px
;
font-size
:
22px
;
font-size
:
22px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
line-height
:
20px
;
line-height
:
20px
;
}
}
// .line {
// .line {
// width: 103px;
// width: 103px;
// height: 3px;
// height: 3px;
// background: var(--color);
// background: var(--
all_
color);
// border-radius: 2px;
// border-radius: 2px;
// }
// }
...
@@ -391,7 +391,7 @@
...
@@ -391,7 +391,7 @@
.code
{
.code
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
}
}
}
}
...
@@ -421,7 +421,7 @@
...
@@ -421,7 +421,7 @@
border-bottom
:
2px
solid
#d9d9d9
;
border-bottom
:
2px
solid
#d9d9d9
;
&
:focus
{
&
:focus
{
border-bottom-color
:
var
(
--
color
);
border-bottom-color
:
var
(
--
all_
color
);
}
}
}
}
...
@@ -432,7 +432,7 @@
...
@@ -432,7 +432,7 @@
.el-button
{
.el-button
{
width
:
100%
;
width
:
100%
;
height
:
60px
;
height
:
60px
;
background
:
var
(
--
color
);
background
:
var
(
--
all_
color
);
border-radius
:
4px
;
border-radius
:
4px
;
opacity
:
0
.8
;
opacity
:
0
.8
;
line-height
:
50px
;
line-height
:
50px
;
...
@@ -460,7 +460,7 @@
...
@@ -460,7 +460,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
&
:hover
{
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
}
}
...
...
src/views/base/login/Reset.vue
View file @
fd369a29
...
@@ -352,7 +352,7 @@
...
@@ -352,7 +352,7 @@
height
:
20px
;
height
:
20px
;
font-size
:
22px
;
font-size
:
22px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
line-height
:
20px
;
line-height
:
20px
;
text-align
:
center
;
text-align
:
center
;
}
}
...
@@ -360,7 +360,7 @@
...
@@ -360,7 +360,7 @@
// .line {
// .line {
// width: 83px;
// width: 83px;
// height: 3px;
// height: 3px;
// background: var(--color);
// background: var(--
all_
color);
// border-radius: 2px;
// border-radius: 2px;
// }
// }
...
@@ -389,7 +389,7 @@
...
@@ -389,7 +389,7 @@
.code
{
.code
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
}
}
}
}
...
@@ -419,7 +419,7 @@
...
@@ -419,7 +419,7 @@
border-bottom
:
2px
solid
#d9d9d9
;
border-bottom
:
2px
solid
#d9d9d9
;
&
:focus
{
&
:focus
{
border-bottom-color
:
var
(
--
color
);
border-bottom-color
:
var
(
--
all_
color
);
}
}
}
}
...
@@ -430,7 +430,7 @@
...
@@ -430,7 +430,7 @@
.el-button
{
.el-button
{
width
:
100%
;
width
:
100%
;
height
:
60px
;
height
:
60px
;
background
:
var
(
--
color
);
background
:
var
(
--
all_
color
);
border-radius
:
4px
;
border-radius
:
4px
;
opacity
:
0
.8
;
opacity
:
0
.8
;
line-height
:
50px
;
line-height
:
50px
;
...
@@ -457,7 +457,7 @@
...
@@ -457,7 +457,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
&
:hover
{
color
:
var
(
--
color
);
color
:
var
(
--
all_
color
);
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
}
}
...
...
src/views/base/myInfo/index.vue
View file @
fd369a29
<
template
>
<
template
>
<el-container>
<el-container>
<el-header
height=
"104px"
>
<el-header
height=
"104px"
>
<Header
:typeFu=
"
2
"
></Header>
<Header
:typeFu=
"
3
"
></Header>
<div
class=
"bg-top"
></div>
<div
class=
"bg-top"
></div>
</el-header>
</el-header>
<el-container>
<el-container>
...
@@ -82,10 +82,9 @@
...
@@ -82,10 +82,9 @@
},
},
methods
:
{
methods
:
{
ToSignUp
(
index
)
{
ToSignUp
(
index
)
{
console
.
log
(
index
,
'
index
'
)
this
.
campindex_type
=
index
;
this
.
campindex_type
=
index
;
if
(
this
.
campindex_type
==
0
)
{
if
(
this
.
campindex_type
==
0
)
{
this
.
$router
.
push
({
path
:
'
/signUpList
'
});
this
.
$router
.
push
({
path
:
'
/
myInfo/
signUpList
'
});
}
}
},
},
onResize
()
{
onResize
()
{
...
...
src/views/index/Info/Index.vue
View file @
fd369a29
<
template
>
<
template
>
<div
class=
"camp-index"
>
<div
class=
"camp-index"
>
<el-header
height=
"104px"
>
<el-header
height=
"104px"
>
<Header
:typeFu=
"
2
"
></Header>
<Header
:typeFu=
"
3
"
></Header>
<div
class=
"bg-top"
>
<div
class=
"bg-top"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item
<el-breadcrumb-item
...
...
src/views/index/camp/Index.vue
View file @
fd369a29
<
template
>
<
template
>
<el-container>
<el-container>
<el-header
height=
"104px"
>
<el-header
height=
"104px"
>
<Header
:typeFu=
"
2
"
></Header>
<Header
:typeFu=
"
3
"
></Header>
<div
class=
"bg-top"
></div>
<div
class=
"bg-top"
></div>
</el-header>
</el-header>
<el-container>
<el-container>
...
@@ -50,8 +50,7 @@
...
@@ -50,8 +50,7 @@
</
template
>
</
template
>
<div
class=
"camp_right"
ref=
"rightBox"
>
<div
class=
"camp_right"
ref=
"rightBox"
>
<SignUp
@
getStatus=
"getStatus"
v-if=
"this.campindex_type == 0"
>
<SignUp
@
getStatus=
"getStatus"
v-if=
"this.campindex_type == 0"
></SignUp>
</SignUp>
<Homework
v-if=
"this.campindex_type == 1"
></Homework>
<Homework
v-if=
"this.campindex_type == 1"
></Homework>
<Certificate
v-if=
"this.campindex_type == 2"
></Certificate>
<Certificate
v-if=
"this.campindex_type == 2"
></Certificate>
<!-- <homeRefer v-if="this.homework_val == 3"> </homeRefer> -->
<!-- <homeRefer v-if="this.homework_val == 3"> </homeRefer> -->
...
@@ -139,7 +138,7 @@
...
@@ -139,7 +138,7 @@
},
},
watch
:
{},
watch
:
{},
created
()
{
created
()
{
this
.
getStatus
();
//
this.getStatus();
// this.torefer();
// this.torefer();
},
},
mounted
()
{
mounted
()
{
...
@@ -156,19 +155,16 @@
...
@@ -156,19 +155,16 @@
// this.homework_val = val;
// this.homework_val = val;
// },
// },
getStatus
(
val
)
{
getStatus
(
val
)
{
// console.log(val, "index_type");
this
.
index_status
=
val
;
this
.
index_status
=
val
;
this
.
ToSignUp
(
this
.
campindex_type
);
this
.
ToSignUp
(
this
.
campindex_type
);
},
},
ToSignUp
(
index
)
{
ToSignUp
(
index
)
{
// console.log(index,'index')
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
campindex_type
=
index
;
this
.
campindex_type
=
index
;
if
(
this
.
campindex_type
==
0
)
{
if
(
this
.
campindex_type
==
0
)
{
this
.
$router
.
push
(
"
/signUp/
"
+
this
.
index_status
+
"
?code=
"
+
code
);
this
.
$router
.
push
(
"
/signUp/
"
+
this
.
index_status
+
"
?code=
"
+
code
);
this
.
homework_val
=
=
""
;
// this.homework_val
= "";
}
else
if
(
this
.
campindex_type
==
1
)
{
}
else
if
(
this
.
campindex_type
==
1
)
{
console
.
log
(
this
.
$route
);
this
.
$router
.
push
(
"
/homework?code=
"
+
code
);
this
.
$router
.
push
(
"
/homework?code=
"
+
code
);
}
else
if
(
this
.
campindex_type
==
2
)
{
}
else
if
(
this
.
campindex_type
==
2
)
{
this
.
$router
.
push
(
"
/certificate?code=
"
+
code
);
this
.
$router
.
push
(
"
/certificate?code=
"
+
code
);
...
...
src/views/index/camp/SignUp.vue
View file @
fd369a29
...
@@ -201,7 +201,6 @@
...
@@ -201,7 +201,6 @@
created
()
{
created
()
{
this
.
yingdiHref
=
this
.
yingdiHref
=
"
http://ying.testgate.cn/b4ce2ee5068848e1a91ab7d5de34ba90
"
;
"
http://ying.testgate.cn/b4ce2ee5068848e1a91ab7d5de34ba90
"
;
// console.log(this.yingdiHref);
this
.
type
=
this
.
$route
.
params
.
type
;
this
.
type
=
this
.
$route
.
params
.
type
;
let
camp_statement
=
window
.
localStorage
.
getItem
(
let
camp_statement
=
window
.
localStorage
.
getItem
(
"
camp_statement
"
+
this
.
$store
.
state
.
indexIdentity
"
camp_statement
"
+
this
.
$store
.
state
.
indexIdentity
...
@@ -212,14 +211,12 @@
...
@@ -212,14 +211,12 @@
"
1
"
"
1
"
);
);
}
}
this
.
statuss
();
//
this.statuss();
this
.
signUpInit
();
this
.
signUpInit
();
},
},
watch
:
{
watch
:
{
$route
:
{
$route
:
{
handler
(
val
)
{
handler
(
val
)
{
// console.log(val, "routeval");
const
that
=
this
;
const
that
=
this
;
if
(
val
.
path
.
indexOf
(
"
signUp
"
)
!=
-
1
)
{
if
(
val
.
path
.
indexOf
(
"
signUp
"
)
!=
-
1
)
{
that
.
type
=
val
.
params
.
type
;
that
.
type
=
val
.
params
.
type
;
...
@@ -249,7 +246,6 @@
...
@@ -249,7 +246,6 @@
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
console
.
log
(
res
.
data
.
status
,
"
signBack.status
"
);
this
.
signBackStatus
=
res
.
data
.
status
;
this
.
signBackStatus
=
res
.
data
.
status
;
this
.
signUpInit
(
this
.
signBackStatus
);
this
.
signUpInit
(
this
.
signBackStatus
);
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
$message
.
success
(
res
.
data
.
message
);
...
@@ -257,38 +253,25 @@
...
@@ -257,38 +253,25 @@
},
},
is_nextevent
(
val
)
{
is_nextevent
(
val
)
{
this
.
isNexts
=
val
;
this
.
isNexts
=
val
;
// console.log(val, "isNexts");
// this.signUpInit( this.isNexts );
this
.
signUpInit
(
this
.
status_val
);
this
.
signUpInit
(
this
.
status_val
);
},
},
// 点击下一步,触发父组件方法
// 点击下一步,触发父组件方法
statuss
(
val
)
{
statuss
(
val
)
{
// console.log(val, "statuss");
this
.
status_val
=
val
;
this
.
status_val
=
val
;
this
.
signUpInit
(
this
.
status_val
);
this
.
signUpInit
(
this
.
status_val
);
},
},
// status=4,跳到审核页面;status=3时,根据doubt_check做判断
// status=4,跳到审核页面;status=3时,根据doubt_check做判断
signUpInit
(
status_val
)
{
signUpInit
(
status_val
)
{
// console.log(111111);
// console.log(status_val, "11111");
// console.log(isNexts, "2222");
signUpInit
({}).
then
((
res
)
=>
{
signUpInit
({}).
then
((
res
)
=>
{
// console.log(res, "signUpInit");
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
// if (res.data.code == 400001) {
// this.status = 6;
// this.type = "success";
// }
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
status
=
res
.
data
.
status
;
this
.
status
=
res
.
data
.
status
;
// console.log(this.status, "11111");
// 点击下一步传值给status,更新
// 点击下一步传值给status,更新
if
(
status_val
!=
null
)
{
if
(
status_val
!=
null
)
{
this
.
status
=
status_val
;
this
.
status
=
status_val
;
}
else
{
}
else
{
this
.
status
=
res
.
data
.
status
;
this
.
status
=
res
.
data
.
status
;
// console.log(this.status, "11111");
}
}
// doubt_code,doubt_info,doubt_check。0为不填写,1为填写
// doubt_code,doubt_info,doubt_check。0为不填写,1为填写
if
(
this
.
status
==
0
)
{
if
(
this
.
status
==
0
)
{
...
@@ -304,7 +287,6 @@
...
@@ -304,7 +287,6 @@
this
.
status
=
1
;
this
.
status
=
1
;
}
}
}
else
if
(
this
.
status
==
2
)
{
}
else
if
(
this
.
status
==
2
)
{
// console.log(this.doubt_info, "doubt_info");
// 是否填写个人资料
// 是否填写个人资料
if
(
this
.
doubt_info
==
0
)
{
if
(
this
.
doubt_info
==
0
)
{
this
.
type
=
"
check
"
;
this
.
type
=
"
check
"
;
...
@@ -325,18 +307,13 @@
...
@@ -325,18 +307,13 @@
}
else
if
(
this
.
status
==
4
)
{
}
else
if
(
this
.
status
==
4
)
{
this
.
type
=
"
check
"
;
this
.
type
=
"
check
"
;
this
.
status
=
3
;
this
.
status
=
3
;
// console.log(this.status, "this.status ");
// console.log(this.isNexts ,'this.isNexts ')
if
(
this
.
isNexts
==
1
)
{
if
(
this
.
isNexts
==
1
)
{
// console.log(11111);
if
(
res
.
data
.
examine_status
==
1
)
{
if
(
res
.
data
.
examine_status
==
1
)
{
console
.
log
(
333
);
this
.
type
=
"
pay
"
;
this
.
type
=
"
pay
"
;
this
.
status
=
4
;
this
.
status
=
4
;
}
else
if
(
res
.
data
.
examine_status
==
2
)
{
}
else
if
(
res
.
data
.
examine_status
==
2
)
{
this
.
type
=
"
referInfo
"
;
this
.
type
=
"
referInfo
"
;
this
.
status
=
2
;
this
.
status
=
2
;
// return this.$message.error(res.data.examine_reason);
}
}
}
}
}
else
if
(
this
.
status
==
5
)
{
}
else
if
(
this
.
status
==
5
)
{
...
@@ -345,8 +322,6 @@
...
@@ -345,8 +322,6 @@
this
.
type
=
"
success
"
;
this
.
type
=
"
success
"
;
}
}
this
.
$emit
(
"
getStatus
"
,
this
.
type
);
this
.
$emit
(
"
getStatus
"
,
this
.
type
);
// this.getExamine = res.data.examine_status;
// console.log(res.data.examine_status, "res.data.examine_status");
this
.
invitation_code
=
res
.
data
.
invitation_code
;
//填写的邀请码回显需要
this
.
invitation_code
=
res
.
data
.
invitation_code
;
//填写的邀请码回显需要
//订单支付金额
//订单支付金额
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
...
@@ -380,18 +355,13 @@
...
@@ -380,18 +355,13 @@
const
bank_Path
=
res
.
data
.
bank_info
;
const
bank_Path
=
res
.
data
.
bank_info
;
if
(
bank_Path
!=
null
)
{
if
(
bank_Path
!=
null
)
{
let
arr
=
bank_Path
.
split
(
"
,
"
);
let
arr
=
bank_Path
.
split
(
"
,
"
);
// console.log(arr)
let
fileList
=
[];
let
fileList
=
[];
fileList
=
arr
.
map
((
item
)
=>
{
fileList
=
arr
.
map
((
item
)
=>
{
let
obj
=
{
let
obj
=
{
url
:
item
,
url
:
item
,
};
};
return
obj
;
return
obj
;
});
});
// console.log(fileList)
// console.log(JSON.stringify(fileList))
// let code = this.$store.state.indexIdentity;
window
.
localStorage
.
setItem
(
"
bank_info
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
window
.
localStorage
.
setItem
(
"
bank_info
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
JSON
.
stringify
(
fileList
)
JSON
.
stringify
(
fileList
)
);
//上传的图片
);
//上传的图片
...
@@ -407,8 +377,6 @@
...
@@ -407,8 +377,6 @@
});
});
},
},
},
},
};
};
</
script
>
</
script
>
...
...
src/views/index/login/Login.vue
View file @
fd369a29
...
@@ -307,7 +307,7 @@
...
@@ -307,7 +307,7 @@
window
.
localStorage
.
setItem
(
"
system_color
"
+
code
,
window
.
localStorage
.
setItem
(
"
system_color
"
+
code
,
res
.
data
.
cam
.
system_color
res
.
data
.
cam
.
system_color
);
);
this
.
$router
.
replace
(
"
/signUp/
examInfo
?code=
"
+
code
);
this
.
$router
.
replace
(
"
/signUp/
undefined
?code=
"
+
code
);
});
});
});
});
},
},
...
...
src/views/index/login/Register.vue
View file @
fd369a29
...
@@ -310,10 +310,8 @@
...
@@ -310,10 +310,8 @@
window
.
localStorage
.
setItem
(
"
system_color
"
+
code
,
window
.
localStorage
.
setItem
(
"
system_color
"
+
code
,
res
.
data
.
cam
.
system_color
res
.
data
.
cam
.
system_color
);
);
// 跳转到报名
// 跳转到报名
this
.
$router
.
replace
(
"
/signUp/undefined?code=
"
+
code
);
this
.
$router
.
replace
(
"
/signUp/examInfo?code=
"
+
code
);
});
});
});
});
},
},
...
...
src/views/index/recruit/Index.vue
View file @
fd369a29
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
if
(
!
window
.
localStorage
.
getItem
(
"
index-token-all
"
))
{
if
(
!
window
.
localStorage
.
getItem
(
"
index-token-all
"
))
{
this
.
$router
.
push
(
"
/login?code=
"
+
code
);
this
.
$router
.
push
(
"
/login?code=
"
+
code
);
}
else
{
}
else
{
this
.
$router
.
push
(
"
/signUp/
examInfo
?code=
"
+
code
);
this
.
$router
.
push
(
"
/signUp/
undefined
?code=
"
+
code
);
}
}
},
},
// 锚点跳转方法
// 锚点跳转方法
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment