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
1f75c2f5
Commit
1f75c2f5
authored
Apr 18, 2023
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人信息新增
parent
4499734a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
27 deletions
+39
-27
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+39
-27
No files found.
src/components/index/SignUp/referInfo.vue
View file @
1f75c2f5
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
<el-form-item
<el-form-item
label=
"学历"
label=
"学历"
prop=
"education"
prop=
"education"
style=
"height: 7
3
px"
style=
"height: 7
0
px"
:rules=
"
:rules=
"
configJson.education == 1
configJson.education == 1
? referInfoRules.education
? referInfoRules.education
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
<el-form-item
<el-form-item
label=
"单位名称及身份"
label=
"单位名称及身份"
prop=
"unit_and_identity"
prop=
"unit_and_identity"
style=
"height: 7
3
px"
style=
"height: 7
0
px"
:rules=
"
:rules=
"
configJson.unitandIdentity == 1
configJson.unitandIdentity == 1
? referInfoRules.unit_and_identity
? referInfoRules.unit_and_identity
...
@@ -447,6 +447,7 @@
...
@@ -447,6 +447,7 @@
<el-form-item
<el-form-item
label=
"政治面貌"
label=
"政治面貌"
prop=
"political_status"
prop=
"political_status"
style=
"height: 73px"
:rules=
"
:rules=
"
configJson.politicalStatus == 1
configJson.politicalStatus == 1
? referInfoRules.political_status
? referInfoRules.political_status
...
@@ -504,6 +505,7 @@
...
@@ -504,6 +505,7 @@
<el-form-item
<el-form-item
label=
"选科情况"
label=
"选科情况"
prop=
"subjectState"
prop=
"subjectState"
style=
"height: 73px"
:rules=
"
:rules=
"
configJson.electSubjectSituation == 1
configJson.electSubjectSituation == 1
? referInfoRules.subjectState
? referInfoRules.subjectState
...
@@ -532,6 +534,7 @@
...
@@ -532,6 +534,7 @@
<el-form-item
<el-form-item
label=
"选科(最多选三科)"
label=
"选科(最多选三科)"
prop=
"chooseSubject"
prop=
"chooseSubject"
style=
"height: 73px"
:rules=
"
:rules=
"
showSubject == 1
showSubject == 1
? referInfoRules.chooseSubject
? referInfoRules.chooseSubject
...
@@ -561,6 +564,7 @@
...
@@ -561,6 +564,7 @@
<el-col
:span=
"12"
v-show=
"configJson.pastMedicalHistory == 1"
>
<el-col
:span=
"12"
v-show=
"configJson.pastMedicalHistory == 1"
>
<el-form-item
<el-form-item
label=
"既往病史或过敏史"
label=
"既往病史或过敏史"
style=
"height: 73px"
>
>
<el-input
<el-input
ref=
"code"
ref=
"code"
...
@@ -575,6 +579,7 @@
...
@@ -575,6 +579,7 @@
<el-col
:span=
"12"
v-show=
"configJson.noteOther == 1"
>
<el-col
:span=
"12"
v-show=
"configJson.noteOther == 1"
>
<el-form-item
<el-form-item
label=
"备注或其它"
label=
"备注或其它"
style=
"height: 73px"
>
>
<el-input
<el-input
ref=
"code"
ref=
"code"
...
@@ -585,32 +590,12 @@
...
@@ -585,32 +590,12 @@
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- 邀请码 -->
<el-col
:span=
"12"
v-show=
"doubt_code == 1"
>
<el-form-item
prop=
"code"
label=
"邀请码"
style=
"height: 73px"
>
<el-input
ref=
"code"
v-model=
"referForm.code"
placeholder=
"邀请码"
size=
"small"
:disabled=
"isCode"
@
change=
"changeCode"
clearable
/>
</el-form-item>
<div
class=
"tipsMsg"
>
每个邀请码仅能绑定一个用户
</div>
</el-col>
<!-- 衣服尺码-->
<!-- 衣服尺码-->
<el-col
:span=
"12"
v-show=
"configJson.clothesSize == 1"
>
<el-col
:span=
"12"
v-show=
"configJson.clothesSize == 1"
>
<el-form-item
<el-form-item
label=
"衣服尺码"
label=
"衣服尺码"
prop=
"clothesSize"
prop=
"clothes_size"
style=
"height: 73px"
:rules=
"
:rules=
"
configJson.clothesSize == 1
configJson.clothesSize == 1
? referInfoRules.clothesSize
? referInfoRules.clothesSize
...
@@ -618,8 +603,8 @@
...
@@ -618,8 +603,8 @@
"
"
>
>
<el-select
<el-select
ref=
"clothes
S
ize"
ref=
"clothes
_s
ize"
v-model=
"referForm.clothes
S
ize"
v-model=
"referForm.clothes
_s
ize"
placeholder=
"填写衣服尺码"
placeholder=
"填写衣服尺码"
:popper-append-to-body=
"false"
:popper-append-to-body=
"false"
clearable
clearable
...
@@ -634,6 +619,27 @@
...
@@ -634,6 +619,27 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- 邀请码 -->
<el-col
:span=
"12"
v-show=
"doubt_code == 1"
>
<el-form-item
prop=
"code"
label=
"邀请码"
style=
"height: 73px"
>
<el-input
ref=
"code"
v-model=
"referForm.code"
placeholder=
"邀请码"
size=
"small"
:disabled=
"isCode"
@
change=
"changeCode"
clearable
/>
</el-form-item>
<div
class=
"tipsMsg"
>
每个邀请码仅能绑定一个用户
</div>
</el-col>
</el-row>
</el-row>
<!-- 紧急联系人-->
<!-- 紧急联系人-->
<div
<div
...
@@ -983,6 +989,7 @@
...
@@ -983,6 +989,7 @@
chooseSubject
:
[],
chooseSubject
:
[],
past_medical_history
:
null
,
past_medical_history
:
null
,
note_other
:
null
,
note_other
:
null
,
clothes_size
:
null
,
emergency
:
null
,
emergency
:
null
,
emergency_phone
:
null
,
emergency_phone
:
null
,
school_province
:
null
,
school_province
:
null
,
...
@@ -1454,6 +1461,7 @@
...
@@ -1454,6 +1461,7 @@
chooseSubject
:
[],
chooseSubject
:
[],
past_medical_history
:
null
,
past_medical_history
:
null
,
note_other
:
null
,
note_other
:
null
,
clothes_size
:
null
,
emergency
:
null
,
emergency
:
null
,
emergency_phone
:
null
,
emergency_phone
:
null
,
school_province
:
null
,
school_province
:
null
,
...
@@ -1467,6 +1475,7 @@
...
@@ -1467,6 +1475,7 @@
referForm
[
k
]
=
info
[
k
];
referForm
[
k
]
=
info
[
k
];
}
}
this
.
referForm
=
referForm
;
this
.
referForm
=
referForm
;
// this.referForm.clothesSize = referForm.clothes_size;
if
(
res
.
data
.
info
.
jiguan_province
&&
res
.
data
.
info
.
jiguan_city
)
{
if
(
res
.
data
.
info
.
jiguan_province
&&
res
.
data
.
info
.
jiguan_city
)
{
this
.
referForm
.
jiguan_code
=
this
.
referForm
.
jiguan_code
=
res
.
data
.
info
.
jiguan_province
.
toString
()
+
res
.
data
.
info
.
jiguan_province
.
toString
()
+
...
@@ -1907,6 +1916,9 @@
...
@@ -1907,6 +1916,9 @@
if
(
this
.
configJson
.
startSchoolDate
==
1
)
{
if
(
this
.
configJson
.
startSchoolDate
==
1
)
{
obj
.
start_school_date
=
_this
.
start_year
;
obj
.
start_school_date
=
_this
.
start_year
;
}
}
if
(
this
.
configJson
.
politicalStatus
==
1
)
{
obj
.
political_status
=
_this
.
referForm
.
political_status
;
}
if
(
this
.
configJson
.
phone
==
1
)
{
if
(
this
.
configJson
.
phone
==
1
)
{
obj
.
phone
=
_this
.
referForm
.
phone
;
obj
.
phone
=
_this
.
referForm
.
phone
;
}
}
...
@@ -1950,7 +1962,7 @@
...
@@ -1950,7 +1962,7 @@
}
}
//衣服尺码
//衣服尺码
if
(
this
.
configJson
.
clothesSize
==
1
)
{
if
(
this
.
configJson
.
clothesSize
==
1
)
{
obj
.
clothes
Size
=
_this
.
referForm
.
clothesS
ize
;
obj
.
clothes
_size
=
_this
.
referForm
.
clothes_s
ize
;
}
}
if
(
this
.
configJson
.
school
==
1
)
{
if
(
this
.
configJson
.
school
==
1
)
{
obj
.
school_province
=
_this
.
referForm
.
school_province
;
obj
.
school_province
=
_this
.
referForm
.
school_province
;
...
...
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