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
c11de485
Commit
c11de485
authored
Nov 22, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回上一步
parent
4b439e0f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
81 additions
and
13 deletions
+81
-13
src/assets/scss/lastBtn.scss
src/assets/scss/lastBtn.scss
+19
-0
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+1
-1
src/request/index/signUp.js
src/request/index/signUp.js
+10
-0
src/views/index/camp/Certificate.vue
src/views/index/camp/Certificate.vue
+1
-0
src/views/index/camp/Homework.vue
src/views/index/camp/Homework.vue
+1
-0
src/views/index/camp/Index.vue
src/views/index/camp/Index.vue
+1
-1
src/views/index/camp/SignUp.vue
src/views/index/camp/SignUp.vue
+48
-11
No files found.
src/assets/scss/lastBtn.scss
0 → 100644
View file @
c11de485
.lastBtn
{
// text-align: center;
.el-button
{
width
:
80px
;
height
:
30px
;
background
:
var
(
--
color
);
border-radius
:
4px
;
border-color
:
var
(
--
color
);
opacity
:
0
.8
;
line-height
:
30px
;
// text-align: center;
color
:
#fff
;
font-size
:
14px
;
padding
:
0
;
}
}
\ No newline at end of file
src/components/index/SignUp/referInfo.vue
View file @
c11de485
...
@@ -657,7 +657,7 @@ export default {
...
@@ -657,7 +657,7 @@ export default {
this
.
bdYear
.
toString
()
+
this
.
bdYear
.
toString
()
+
this
.
bdMonth
.
toString
()
+
this
.
bdMonth
.
toString
()
+
this
.
bdDay
.
toString
();
//组装出生日期
this
.
bdDay
.
toString
();
//组装出生日期
console
.
log
(
this
.
referForm
.
birthday
);
//
console.log(this.referForm.birthday);
},
},
// 获取省份城市
// 获取省份城市
...
...
src/request/index/signUp.js
View file @
c11de485
...
@@ -14,6 +14,16 @@ export function signUpInit(data) {
...
@@ -14,6 +14,16 @@ export function signUpInit(data) {
})
})
}
}
// 状态回退
export
function
signBack
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
return
request
({
method
:
'
post
'
,
url
:
'
/web/signUp/signBack
'
,
params
:
data
})
}
// 确认报名须知
// 确认报名须知
export
function
setSignShould
(
data
)
{
export
function
setSignShould
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
...
...
src/views/index/camp/Certificate.vue
View file @
c11de485
...
@@ -57,6 +57,7 @@ export default {
...
@@ -57,6 +57,7 @@ export default {
color
:
#1b1419
;
color
:
#1b1419
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
40px
;
margin-bottom
:
40px
;
text-align
:
center
;
}
}
}
}
.content
{
.content
{
...
...
src/views/index/camp/Homework.vue
View file @
c11de485
...
@@ -48,6 +48,7 @@ export default {
...
@@ -48,6 +48,7 @@ export default {
color
:
#1b1419
;
color
:
#1b1419
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
40px
;
margin-bottom
:
40px
;
text-align
:
center
;
}
}
}
}
.content
{
.content
{
...
...
src/views/index/camp/Index.vue
View file @
c11de485
...
@@ -110,7 +110,7 @@ export default {
...
@@ -110,7 +110,7 @@ export default {
},
},
methods
:
{
methods
:
{
getStatus
(
val
)
{
getStatus
(
val
)
{
console
.
log
(
val
,
"
index_type
"
);
//
console.log(val, "index_type");
this
.
index_status
=
val
;
this
.
index_status
=
val
;
this
.
ToSignUp
(
this
.
campindex_type
);
this
.
ToSignUp
(
this
.
campindex_type
);
},
},
...
...
src/views/index/camp/SignUp.vue
View file @
c11de485
<
template
>
<
template
>
<div
class=
"signUp"
>
<div
class=
"signUp"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
""
>
<div
class=
"lastBtn"
v-show=
"
this.status == 2 ||
this.status == 3 ||
this.status == 4 ||
this.status == 5
"
>
<el-button
@
click=
"lasStep()"
>
上一步
</el-button>
</div>
<div
class=
"signUp_titile"
>
营地报名
</div>
<div
class=
"signUp_titile"
>
营地报名
</div>
</div>
<div>
<div>
<Breadcrumb
:statusNum=
"status"
>
</Breadcrumb>
<Breadcrumb
:statusNum=
"status"
>
</Breadcrumb>
</div>
</div>
</div>
</div>
<Confirm
v-if=
"type == 'examInfo'"
@
getstatus=
"statuss"
></Confirm>
<Confirm
v-if=
"type == 'examInfo'"
@
getstatus=
"statuss"
></Confirm>
...
@@ -27,8 +42,7 @@ import ReferInfo from "c/index/SignUp/referInfo";
...
@@ -27,8 +42,7 @@ import ReferInfo from "c/index/SignUp/referInfo";
import
Pass
from
"
c/index/SignUp/pass
"
;
import
Pass
from
"
c/index/SignUp/pass
"
;
import
Paying
from
"
c/index/SignUp/paying
"
;
import
Paying
from
"
c/index/SignUp/paying
"
;
import
Success
from
"
c/index/SignUp/success
"
;
import
Success
from
"
c/index/SignUp/success
"
;
import
{
signUpInit
}
from
"
r/index/signUp
"
;
import
{
signUpInit
,
signBack
}
from
"
r/index/signUp
"
;
import
{
getWxConfig
}
from
"
r/index/pay
"
;
export
default
{
export
default
{
name
:
"
signUp
"
,
name
:
"
signUp
"
,
...
@@ -45,9 +59,15 @@ export default {
...
@@ -45,9 +59,15 @@ export default {
return
{
return
{
type
:
"
examInfo
"
,
type
:
"
examInfo
"
,
status
:
""
,
//进度
status
:
""
,
//进度
doubt_code
:
window
.
localStorage
.
getItem
(
"
doubt_code
"
+
this
.
$store
.
state
.
indexIdentity
),
doubt_code
:
window
.
localStorage
.
getItem
(
doubt_info
:
window
.
localStorage
.
getItem
(
"
doubt_info
"
+
this
.
$store
.
state
.
indexIdentity
),
"
doubt_code
"
+
this
.
$store
.
state
.
indexIdentity
doubt_check
:
window
.
localStorage
.
getItem
(
"
doubt_check
"
+
this
.
$store
.
state
.
indexIdentity
),
),
doubt_info
:
window
.
localStorage
.
getItem
(
"
doubt_info
"
+
this
.
$store
.
state
.
indexIdentity
),
doubt_check
:
window
.
localStorage
.
getItem
(
"
doubt_check
"
+
this
.
$store
.
state
.
indexIdentity
),
status_val
:
""
,
status_val
:
""
,
getExamine
:
""
,
getExamine
:
""
,
isNexts
:
""
,
isNexts
:
""
,
...
@@ -58,7 +78,6 @@ export default {
...
@@ -58,7 +78,6 @@ export default {
// console.log(this.$route, "router");
// console.log(this.$route, "router");
this
.
statuss
();
this
.
statuss
();
this
.
signUpInit
();
this
.
signUpInit
();
},
},
watch
:
{
watch
:
{
...
@@ -77,6 +96,21 @@ export default {
...
@@ -77,6 +96,21 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
// 上一步回退
lasStep
()
{
signBack
({}).
then
((
res
)
=>
{
console
.
log
(
res
,
"
signBack
"
);
// return
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
// return
console
.
log
(
res
.
data
.
status
,
'
signBack.status
'
)
// return
this
.
signUpInit
(
res
.
data
.
status
);
this
.
$message
.
success
(
res
.
data
.
message
);
});
},
is_nextevent
(
val
)
{
is_nextevent
(
val
)
{
this
.
isNexts
=
val
;
this
.
isNexts
=
val
;
// console.log(val, "isNexts");
// console.log(val, "isNexts");
...
@@ -194,7 +228,9 @@ export default {
...
@@ -194,7 +228,9 @@ export default {
});
});
// let code = this.$store.state.indexIdentity;
// let code = this.$store.state.indexIdentity;
window
.
localStorage
.
setItem
(
window
.
localStorage
.
setItem
(
"
sign_up_file_
"
+
window
.
localStorage
.
getItem
(
"
phone
"
+
code
)
+
code
,
"
sign_up_file_
"
+
window
.
localStorage
.
getItem
(
"
phone
"
+
code
)
+
code
,
JSON
.
stringify
(
fileList
)
JSON
.
stringify
(
fileList
)
);
//上传的图片
);
//上传的图片
}
}
...
@@ -205,7 +241,7 @@ export default {
...
@@ -205,7 +241,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
@import
"a/scss/lastBtn"
;
.flex
{
.flex
{
display
:
flex
;
display
:
flex
;
}
}
...
@@ -219,9 +255,10 @@ export default {
...
@@ -219,9 +255,10 @@ export default {
color
:
#1b1419
;
color
:
#1b1419
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
40px
;
margin-bottom
:
40px
;
text-align
:
center
;
}
}
.content
{
.content
{
padding
:
50px
28
px
;
padding
:
50px
55
px
;
}
}
}
}
</
style
>
</
style
>
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