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
0141615f
Commit
0141615f
authored
Dec 20, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
dc8a2862
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
92 deletions
+126
-92
src/request/index/info.js
src/request/index/info.js
+26
-0
src/views/index/Info/Index.vue
src/views/index/Info/Index.vue
+8
-8
src/views/index/Info/personalInfo.vue
src/views/index/Info/personalInfo.vue
+92
-84
No files found.
src/request/index/info.js
0 → 100644
View file @
0141615f
/* eslint-disable */
import
{
request
}
from
'
./network
'
import
store
from
'
@/store
'
// 获取学生提交的营地作业
export
function
getStudentWork
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
return
request
({
method
:
'
post
'
,
url
:
'
/web/download/getStudentWork
'
,
data
})
}
// 提交营地作业
export
function
subStudentWork
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
return
request
({
method
:
'
post
'
,
url
:
'
/web/download/subStudentWork
'
,
data
})
}
\ No newline at end of file
src/views/index/Info/Index.vue
View file @
0141615f
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<div
class=
"camp_right"
ref=
"rightBox"
>
<div
class=
"camp_right"
ref=
"rightBox"
>
<!--
<router-view
@
getStatus=
"getStatus"
/>
-->
<!--
<router-view
@
getStatus=
"getStatus"
/>
-->
<personalInfo
v-if=
"this.campindex_type == 0"
>
</personalInfo>
<personalInfo
v-if=
"this.campindex_type == 0"
>
</personalInfo>
<
password
v-if=
"this.campindex_type == 1"
>
</password
>
<
!--
<password
v-if=
"this.campindex_type == 1"
>
</password>
--
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
index
:
""
,
index
:
0
,
isPosition
:
0
,
// 左侧box是否浮动
isPosition
:
0
,
// 左侧box是否浮动
pageYOffset
:
0
,
// 左侧box浮动时,滚动的高度
pageYOffset
:
0
,
// 左侧box浮动时,滚动的高度
scorllHeight
:
0
,
// 最大滚动高度
scorllHeight
:
0
,
// 最大滚动高度
...
@@ -75,12 +75,12 @@ export default {
...
@@ -75,12 +75,12 @@ export default {
icon
:
"
icon-icon1
"
,
icon
:
"
icon-icon1
"
,
url
:
svg1
,
url
:
svg1
,
},
},
{
//
{
id
:
"
1
"
,
//
id: "1",
desc
:
"
修改密码
"
,
//
desc: "修改密码",
icon
:
"
icon-icon-1
"
,
//
icon: "icon-icon-1",
url
:
svg2
,
//
url: svg2,
},
//
},
],
],
campindex_type
:
0
,
campindex_type
:
0
,
index_status
:
""
,
index_status
:
""
,
...
...
src/views/index/Info/personalInfo.vue
View file @
0141615f
...
@@ -211,16 +211,33 @@
...
@@ -211,16 +211,33 @@
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"cont_title"
>
学校信息
</div>
<div
class=
"cont_title"
>
收件信息
</div>
<el-form
:model=
"addressForm"
>
<el-form-item
label=
"收件人"
prop=
"certificate_name"
>
<el-input
v-model=
"addressForm.certificate_name"
placeholder=
"填写真实姓名"
size=
"small"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"收件人电话"
prop=
"certificate_phone"
>
<el-input
v-model=
"addressForm.certificate_phone"
placeholder=
"填写真实电话"
size=
"small"
clearable
></el-input>
</el-form-item>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6
"
>
<el-col
:span=
"8
"
>
<el-form-item
label=
"就读中学"
prop=
"school
_province"
>
<el-form-item
label=
"收货地址"
prop=
"certificate
_province"
>
<el-select
<el-select
ref=
"school
_province"
ref=
"certificate
_province"
v-model=
"referForm.school
_province"
v-model=
"addressForm.certificate
_province"
clearable
clearable
placeholder=
"省
"
placeholder=
"选择省份
"
@
change=
"changeProvince(2,
$event)"
@
change=
"changeProvince(
$event)"
>
>
<el-option
<el-option
v-for=
"item in selectProvince"
v-for=
"item in selectProvince"
...
@@ -232,14 +249,13 @@
...
@@ -232,14 +249,13 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6
"
>
<el-col
:span=
"8
"
>
<el-form-item
class=
"no_label"
label=
" "
prop=
"school
_city"
>
<el-form-item
class=
"no_label"
label=
" "
prop=
"certificate
_city"
>
<el-select
<el-select
ref=
"school
_city"
ref=
"certificate
_city"
v-model=
"referForm.school
_city"
v-model=
"addressForm.certificate
_city"
clearable
clearable
placeholder=
"市"
placeholder=
"选择城市"
@
change=
"changeCity($event)"
>
>
<el-option
<el-option
v-for=
"item in selectCitySchool"
v-for=
"item in selectCitySchool"
...
@@ -251,13 +267,13 @@
...
@@ -251,13 +267,13 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12
"
>
<el-col
:span=
"8
"
>
<el-form-item
class=
"no_label"
label=
" "
prop=
"school
"
>
<el-form-item
class=
"no_label"
label=
" "
prop=
"county
"
>
<el-select
<!--
<el-select
ref=
"school"
ref=
"school"
v-model=
"refer
Form.school"
v-model=
"address
Form.school"
clearable
clearable
placeholder=
"中学
"
placeholder=
"选择所在区县
"
>
>
<el-option
<el-option
v-for=
"item in selectSchoolList"
v-for=
"item in selectSchoolList"
...
@@ -266,37 +282,28 @@
...
@@ -266,37 +282,28 @@
:value=
"item.id"
:value=
"item.id"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
-->
</el-form-item>
</el-col>
<div
class=
"tipsMsg"
>
如果没有您所在学校,请联系邮箱:ydhdservice@163.com
</div>
<el-col
:span=
"12"
>
<el-form-item
label=
"中学联系人"
prop=
"school_contacts"
>
<el-input
<el-input
ref=
"school_contacts"
v-model=
"referForm.school_contacts
"
v-model=
"county
"
placeholder=
"填写中学联系人
"
placeholder=
"选择所在区县
"
size=
"small"
size=
"small"
clearable
clearable
/
>
></el-input
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<
el-col
:span=
"12"
>
<
/el-row
>
<el-form-item
label=
"中学联系人电话(手机)"
prop=
"school_phone
"
>
<el-form-item
label=
""
prop=
"certificate_address
"
>
<el-input
<el-input
ref=
"school_phone
"
ref=
"certificate_address
"
v-model=
"referForm.school_phone
"
v-model=
"certificate_address
"
placeholder=
"填写中学联系人电话(手机)
"
placeholder=
"填写详细地址
"
size=
"small"
size=
"small"
clearable
clearable
/>
@
change=
"getCertificate_address"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-form>
</el-row>
<el-form-item
class=
"btn"
>
<el-form-item
class=
"btn"
>
<el-button
@
click=
"confirm"
>
提交资料
</el-button>
<el-button
@
click=
"confirm"
>
提交资料
</el-button>
</el-form-item>
</el-form-item>
...
@@ -312,7 +319,8 @@ import {
...
@@ -312,7 +319,8 @@ import {
getProAndCity
,
getProAndCity
,
getSchool
,
getSchool
,
}
from
"
r/index/signUp
"
;
}
from
"
r/index/signUp
"
;
import
{
getStudentWork
,
subStudentWork
}
from
"
r/index/info
"
;
import
{
getAddress
}
from
"
r/index/certificate
"
;
import
validator
from
"
common/validator
"
;
import
validator
from
"
common/validator
"
;
export
default
{
export
default
{
...
...
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