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
0b32f19e
Commit
0b32f19e
authored
Dec 10, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
0ad0ef79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+14
-12
No files found.
src/components/index/SignUp/referInfo.vue
View file @
0b32f19e
...
...
@@ -176,7 +176,7 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"手机号"
>
<el-input
v-model=
"phone"
v-model=
"
referForm.
phone"
placeholder=
"请输入手机号"
size=
"small"
:disabled=
"true"
...
...
@@ -186,8 +186,7 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"电子邮箱"
prop=
"email"
>
<el-input
ref=
"email"
v-model=
"email"
v-model=
"referForm.email"
placeholder=
"填写电子邮箱"
size=
"small"
:disabled=
"true"
...
...
@@ -409,8 +408,7 @@ export default {
school_contacts
:
null
,
school_phone
:
null
,
},
phone
:
""
,
email
:
""
,
schoolName
:
{},
referInfoRules
:
{
name
:
[{
required
:
true
,
message
:
"
姓名不能为空!
"
,
trigger
:
"
blur
"
}],
...
...
@@ -444,10 +442,10 @@ export default {
political_status
:
[
{
required
:
true
,
message
:
"
政治面貌不能为空!
"
,
trigger
:
"
blur
"
},
],
email
:
[
{
required
:
true
,
message
:
"
电子邮箱不能为空!
"
,
trigger
:
"
blur
"
},
{
validator
:
validator
.
validateEmail
,
trigger
:
"
blur
"
},
],
//
email: [
//
{ required: true, message: "电子邮箱不能为空!", trigger: "blur" },
//
{ validator: validator.validateEmail, trigger: "blur" },
//
],
school_province
:
[
{
required
:
true
,
...
...
@@ -563,8 +561,9 @@ export default {
mounted
()
{},
created
()
{
const
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
phone
=
window
.
localStorage
.
getItem
(
"
phone
"
+
code
);
//本地取用户手机号
this
.
email
=
window
.
localStorage
.
getItem
(
"
email
"
+
code
);
//本地取用户邮箱
this
.
referForm
.
phone
=
window
.
localStorage
.
getItem
(
"
phone
"
+
code
);
//本地取用户手机号
this
.
referForm
.
email
=
window
.
localStorage
.
getItem
(
"
email
"
+
code
);
//本地取用户邮箱
console
.
log
(
this
.
referForm
.
email
,
"
this.referForm.email
"
);
let
signUpFile
=
window
.
localStorage
.
getItem
(
"
sign_up_file_
"
+
window
.
localStorage
.
getItem
(
"
phone
"
+
code
)
+
code
);
...
...
@@ -658,7 +657,10 @@ export default {
res
.
data
.
info
.
jiguan_province
.
toString
()
+
res
.
data
.
info
.
jiguan_city
.
toString
();
}
// this.fileList=
if
(
res
.
data
.
info
.
email
==
null
)
{
const
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
referForm
.
email
=
window
.
localStorage
.
getItem
(
"
email
"
+
code
);
//本地取用户邮箱
}
});
},
getTime
()
{
...
...
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