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
b82f45c8
Commit
b82f45c8
authored
Dec 23, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
14fb4a40
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
17 deletions
+16
-17
src/components/index/SignUp/Header.vue
src/components/index/SignUp/Header.vue
+2
-2
src/views/index/Info/personalInfo.vue
src/views/index/Info/personalInfo.vue
+14
-15
No files found.
src/components/index/SignUp/Header.vue
View file @
b82f45c8
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</div>
</div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
<
!--
<
el-dropdown-item
command=
"1"
>
<i
class=
"el-icon-user"
></i>
个人资料
<i
class=
"el-icon-user"
></i>
个人资料
</el-dropdown-item>
</el-dropdown-item>
-->
<el-dropdown-item
command=
"2"
>
<el-dropdown-item
command=
"2"
>
<i
class=
"el-icon-switch-button"
></i>
退出
<i
class=
"el-icon-switch-button"
></i>
退出
</el-dropdown-item>
</el-dropdown-item>
...
...
src/views/index/Info/personalInfo.vue
View file @
b82f45c8
...
@@ -142,7 +142,12 @@
...
@@ -142,7 +142,12 @@
<el-form-item
label=
"入学年份"
prop=
"start_school_date"
>
<el-form-item
label=
"入学年份"
prop=
"start_school_date"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-select
v-model=
"start_grade"
placeholder=
"年级"
clearable
>
<el-select
v-model=
"start_grade"
placeholder=
"年级"
clearable
@
change=
"getyear()"
>
<el-option
<el-option
v-for=
"(item, index) in gradeArrs"
v-for=
"(item, index) in gradeArrs"
:key=
"index"
:key=
"index"
...
@@ -318,11 +323,7 @@
...
@@ -318,11 +323,7 @@
<
script
>
<
script
>
/* eslint-disable */
/* eslint-disable */
import
{
import
{
getProAndCity
,
getSchool
}
from
"
r/index/signUp
"
;
getProAndCity
,
getSchool
,
}
from
"
r/index/signUp
"
;
import
{
getAccountInfo
,
setAccountInfo
}
from
"
r/index/info
"
;
import
{
getAccountInfo
,
setAccountInfo
}
from
"
r/index/info
"
;
import
{
getAddress
}
from
"
r/index/certificate
"
;
import
{
getAddress
}
from
"
r/index/certificate
"
;
import
validator
from
"
common/validator
"
;
import
validator
from
"
common/validator
"
;
...
@@ -619,14 +620,12 @@ export default {
...
@@ -619,14 +620,12 @@ export default {
this
.
selectCitySchool
=
this
.
getCurrentCityLists
(
this
.
selectCitySchool
=
this
.
getCurrentCityLists
(
this
.
addressForm
.
certificate_province
this
.
addressForm
.
certificate_province
);
);
if
(
res
.
data
.
info
.
certificate_address
)
{
if
(
res
.
data
.
info
.
certificate_address
)
{
this
.
county
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
0
];
this
.
county
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
0
];
this
.
certificate_address
=
this
.
certificate_address
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
1
];
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
1
];
// console.log(res.data.info.certificate_address.split("-"))
// console.log(res.data.info.certificate_address.split("-"))
}
}
});
});
},
},
//获取近10年的年份
//获取近10年的年份
...
@@ -680,7 +679,7 @@ export default {
...
@@ -680,7 +679,7 @@ export default {
this
.
referForm
.
start_school_date
=
this
.
referForm
.
start_school_date
=
this
.
start_year
.
toString
()
+
"
-
"
+
this
.
start_grade
.
toString
();
this
.
start_year
.
toString
()
+
"
-
"
+
this
.
start_grade
.
toString
();
console
.
log
(
this
.
referForm
.
start_school_date
);
console
.
log
(
this
.
referForm
.
start_school_date
);
},
},
// 获取省份城市
// 获取省份城市
getProAndCity
()
{
getProAndCity
()
{
...
...
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