Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-site
Commits
66940518
Commit
66940518
authored
Oct 19, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
c34c1ea6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
auditStatus.vue
pages/login/auditStatus.vue
+21
-2
examine.vue
pages/login/examine.vue
+8
-1
No files found.
pages/login/auditStatus.vue
View file @
66940518
...
...
@@ -6,6 +6,7 @@
<div
v-if=
"code==502"
>
<h1>
对不起,你没有通过审核!
</h1>
<!--
<div
class=
"sty"
>
{{
msg
}}
</div>
-->
<button
class=
" nextButton"
@
click=
"changeInfo"
>
修改注册信息
</button>
</div>
</div>
</
template
>
...
...
@@ -21,11 +22,16 @@ export default {
},
data
(){
return
{
code
:
''
,
code
:
'
502
'
,
msg
:
""
}
},
methods
:{
//点击修改返回之前页面
changeInfo
(){
Cookies
.
set
(
"auditStatus"
,
1
)
this
.
$router
.
push
(
"/examine"
)
}
/* async powerLogin(){
const {data,code,msg} = await powerLogin()
console.log(data)
...
...
@@ -39,6 +45,17 @@ export default {
</
script
>
<
style
scoped
>
.nextButton
{
width
:
3rem
;
height
:
0.48rem
;
background
:
rgba
(
4
,
134
,
254
,
1
);
border-radius
:
0.04rem
;
line-height
:
0.46rem
;
margin-top
:
0.45rem
;
margin-bottom
:
0.8rem
;
color
:
#fff
;
cursor
:
pointer
;
}
.home
{
width
:
100%
;
height
:
200px
;
...
...
@@ -63,7 +80,8 @@ h1{
margin-bottom
:
0.8rem
;
color
:
#fff
;
cursor
:
pointer
;
position
:
relative
;
left
:
50%
}
</
style
>
\ No newline at end of file
pages/login/examine.vue
View file @
66940518
...
...
@@ -667,6 +667,7 @@ import Upload from "~/components/Upload/Upload";
import
imgUpload
from
"~/components/Upload/imgUpload"
;
import
Identify
from
"~/components/identify"
;
import
citySelect
from
"~/components/citySelect"
;
import
Cookies
from
"js-cookie"
export
default
{
components
:
{
Identify
,
...
...
@@ -681,6 +682,10 @@ export default {
this
.
getCompanyNatureList
();
/* this.powerLogin() */
// this.getCordimg();
//如果是来自于auditStatus状态的话 说明有错误信息 重新把用户输入的信息自动填充
if
(
Cookies
.
get
(
"auditStatus"
)
==
"1"
){
this
.
perfectForm
=
Cookies
.
get
(
"dataform"
)
}
},
data
()
{
// 测试省份
...
...
@@ -766,7 +771,7 @@ export default {
//身份证号校验
let
validateRealId
=
(
rule
,
value
,
callback
)
=>
{
const
realnameReg
=
/
(
^
\d{1
5}
$
)
|
(
^
\d{1
7}([
0-9
]
|X|x
)
$
)
/
;
const
realnameReg
=
/
(
^
\d{17}([
0-9
]
|X|x
)
$
)
/
;
if
(
!
realnameReg
.
test
(
value
))
{
return
callback
(
new
Error
(
"您的输入有误,请重新输入!"
));
}
else
{
...
...
@@ -1193,6 +1198,8 @@ export default {
if
(
code
===
200
)
{
this
.
$message
.
success
(
msg
);
this
.
active
++
;
//储存步骤二数据
Cookies
.
set
(
"dataform"
,
this
.
perfectForm
)
}
else
{
this
.
$message
.
error
(
error
)
}
...
...
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