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
4499734a
Commit
4499734a
authored
Apr 14, 2023
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人信息新增
parent
da4f3925
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
150 additions
and
38 deletions
+150
-38
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+150
-38
No files found.
src/components/index/SignUp/referInfo.vue
View file @
4499734a
...
@@ -606,6 +606,34 @@
...
@@ -606,6 +606,34 @@
每个邀请码仅能绑定一个用户
每个邀请码仅能绑定一个用户
</div>
</div>
</el-col>
</el-col>
<!-- 衣服尺码-->
<el-col
:span=
"12"
v-show=
"configJson.clothesSize == 1"
>
<el-form-item
label=
"衣服尺码"
prop=
"clothesSize"
:rules=
"
configJson.clothesSize == 1
? referInfoRules.clothesSize
: [
{ required: false }]
"
>
<el-select
ref=
"clothesSize"
v-model=
"referForm.clothesSize"
placeholder=
"填写衣服尺码"
:popper-append-to-body=
"false"
clearable
>
<el-option
v-for=
"item in clothesSize"
:key=
"item.id"
:label=
"item.name"
:value=
"item.name"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-row>
<!-- 紧急联系人-->
<!-- 紧急联系人-->
<div
<div
...
@@ -614,49 +642,49 @@
...
@@ -614,49 +642,49 @@
configJson.emergencyPhone == 1
configJson.emergencyPhone == 1
"
"
>
>
<div
class=
"cont_title"
>
紧急联系人
</div>
<div
class=
"cont_title"
>
紧急联系人
</div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<!-- 紧急联系人 -->
<!-- 紧急联系人 -->
<el-col
:span=
"12"
v-show=
"configJson.emergency == 1"
>
<el-col
:span=
"12"
v-show=
"configJson.emergency == 1"
>
<el-form-item
<el-form-item
label=
"紧急联系人"
label=
"紧急联系人"
prop=
"emergency"
prop=
"emergency"
:rules=
"
:rules=
"
configJson.emergency == 1
configJson.emergency == 1
? referInfoRules.emergency
? referInfoRules.emergency
: [
{ required: false }]
: [
{ required: false }]
"
"
>
>
<el-input
<el-input
ref=
"code"
ref=
"code"
v-model=
"referForm.emergency"
v-model=
"referForm.emergency"
placeholder=
"填写紧急联系人"
placeholder=
"填写紧急联系人"
size=
"small"
size=
"small"
clearable
clearable
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- 紧急联系人电话 -->
<!-- 紧急联系人电话 -->
<el-col
:span=
"12"
v-show=
"configJson.emergencyPhone == 1"
>
<el-col
:span=
"12"
v-show=
"configJson.emergencyPhone == 1"
>
<el-form-item
<el-form-item
label=
"紧急联系人电话"
label=
"紧急联系人电话"
prop=
"emergency_phone"
prop=
"emergency_phone"
:rules=
"
:rules=
"
configJson.emergencyPhone == 1
configJson.emergencyPhone == 1
? referInfoRules.emergency_phone
? referInfoRules.emergency_phone
: [
{ required: false }]
: [
{ required: false }]
"
"
>
>
<el-input
<el-input
ref=
"code"
ref=
"code"
v-model=
"referForm.emergency_phone"
v-model=
"referForm.emergency_phone"
placeholder=
"填写紧急联系人电话"
placeholder=
"填写紧急联系人电话"
size=
"small"
size=
"small"
clearable
clearable
/>
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<!-- 学校信息 -->
<!-- 学校信息 -->
<div
<div
...
@@ -1093,6 +1121,13 @@
...
@@ -1093,6 +1121,13 @@
},
},
{
validator
:
validator
.
validatePhone
,
trigger
:
"
blur
"
},
{
validator
:
validator
.
validatePhone
,
trigger
:
"
blur
"
},
],
],
clothesSize
:
[
{
required
:
true
,
message
:
"
衣服尺码不能为空!
"
,
trigger
:
"
change
"
,
},
],
school_province
:
[
school_province
:
[
{
{
required
:
true
,
required
:
true
,
...
@@ -1194,16 +1229,90 @@
...
@@ -1194,16 +1229,90 @@
political_status
:
[
political_status
:
[
{
{
id
:
1
,
id
:
1
,
name
:
"
党员
"
,
name
:
"
中共
党员
"
,
},
},
{
{
id
:
2
,
id
:
2
,
name
:
"
团
员
"
,
name
:
"
中共预备党
员
"
,
},
},
{
{
id
:
3
,
id
:
3
,
name
:
"
共青团员
"
,
},
{
id
:
4
,
name
:
"
民革党员
"
,
},
{
id
:
5
,
name
:
"
民盟盟员
"
,
},
{
id
:
6
,
name
:
"
民建会员
"
,
},
{
id
:
7
,
name
:
"
民进会员
"
,
},
{
id
:
8
,
name
:
"
农工党党员
"
,
},
{
id
:
9
,
name
:
"
致公党党员
"
,
},
{
id
:
10
,
name
:
"
九三学社社员
"
,
},
{
id
:
11
,
name
:
"
台盟盟员
"
,
},
{
id
:
12
,
name
:
"
无党派人士
"
,
},
{
id
:
13
,
name
:
"
群众
"
,
name
:
"
群众
"
,
},
},
],
//衣服尺码
clothesSize
:
[
{
id
:
1
,
name
:
"
S
"
,
},
{
id
:
2
,
name
:
"
M
"
,
},
{
id
:
3
,
name
:
"
L
"
,
},
{
id
:
4
,
name
:
"
XL
"
,
},
{
id
:
5
,
name
:
"
XXL
"
,
},
{
id
:
6
,
name
:
"
XXXL
"
,
},
{
id
:
7
,
name
:
"
XXXXL
"
,
},
],
],
// 中学(模糊搜索)
// 中学(模糊搜索)
// timeout: null,
// timeout: null,
...
@@ -1839,7 +1948,10 @@
...
@@ -1839,7 +1948,10 @@
if
(
this
.
configJson
.
emergencyPhone
==
1
)
{
if
(
this
.
configJson
.
emergencyPhone
==
1
)
{
obj
.
emergency_phone
=
_this
.
referForm
.
emergency_phone
;
obj
.
emergency_phone
=
_this
.
referForm
.
emergency_phone
;
}
}
//衣服尺码
if
(
this
.
configJson
.
clothesSize
==
1
)
{
obj
.
clothesSize
=
_this
.
referForm
.
clothesSize
;
}
if
(
this
.
configJson
.
school
==
1
)
{
if
(
this
.
configJson
.
school
==
1
)
{
obj
.
school_province
=
_this
.
referForm
.
school_province
;
obj
.
school_province
=
_this
.
referForm
.
school_province
;
obj
.
school_city
=
_this
.
referForm
.
school_city
;
obj
.
school_city
=
_this
.
referForm
.
school_city
;
...
...
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