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
c34c1ea6
Commit
c34c1ea6
authored
Oct 19, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证
parent
45995ba7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
93 additions
and
3 deletions
+93
-3
auditStatus.vue
pages/login/auditStatus.vue
+70
-0
examine.vue
pages/login/examine.vue
+13
-3
user.vue
pages/login/user.vue
+10
-0
No files found.
pages/login/auditStatus.vue
0 → 100644
View file @
c34c1ea6
<
template
>
<div
class=
"home"
>
<div
v-if=
"code==501"
>
<h1>
你的公司还在审核,请耐心等待!
</h1>
</div>
<div
v-if=
"code==502"
>
<h1>
对不起,你没有通过审核!
</h1>
<!--
<div
class=
"sty"
>
{{
msg
}}
</div>
-->
</div>
</div>
</
template
>
<
script
>
import
{
powerLogin
}
from
'~/api/bid/login'
;
import
Cookies
from
'js-cookie'
export
default
{
mounted
(){
let
status
=
Cookies
.
get
(
"code"
)
this
.
code
=
status
/* this.powerLogin() */
},
data
(){
return
{
code
:
''
,
msg
:
""
}
},
methods
:{
/* async powerLogin(){
const {data,code,msg} = await powerLogin()
console.log(data)
this.code = code
this.msg = msg
},
backStage(){
} */
}
}
</
script
>
<
style
scoped
>
.home
{
width
:
100%
;
height
:
200px
;
}
h1
{
text-align
:
center
;
margin-top
:
100px
}
.sty
{
text-align
:
center
;
margin-top
:
30px
}
.Button
{
width
:
2rem
;
height
:
0.48rem
;
background
:
rgba
(
4
,
134
,
254
,
1
);
border-radius
:
0.04rem
;
line-height
:
0.46rem
;
position
:
absolute
;
left
:
45%
;
margin-top
:
0.45rem
;
margin-bottom
:
0.8rem
;
color
:
#fff
;
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
pages/login/examine.vue
View file @
c34c1ea6
...
...
@@ -617,7 +617,7 @@
温馨提示
<br
/>
<br
/>
1.您可以登录系统查看审核进度
<br
/>
2.若超过一天未审核,请致电
400-400-400
咨询
<br
/>
2.若超过一天未审核,请致电
13810057696
咨询
<br
/>
</h5>
</div>
<div
v-show=
"result == 1"
>
...
...
@@ -641,10 +641,15 @@
v-if=
"active == 1"
>
提交>
</button>
</div>
<div
class=
"flex"
>
<!--
<button
@
click=
"watchStatus"
class=
"t2 nextButton"
v-if=
"active == 2"
style=
"margin-right:20px"
>
查看审核状态
</button>
-->
<button
@
click=
"back"
class=
"t2 nextButton"
v-if=
"active == 2"
>
回到首页
</button>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -657,6 +662,7 @@ import {
checkAccount
,
}
from
"~/api/common/list"
;
import
{
register
}
from
"~/api/bid/login"
;
import
{
powerLogin
}
from
'~/api/bid/login'
;
import
Upload
from
"~/components/Upload/Upload"
;
import
imgUpload
from
"~/components/Upload/imgUpload"
;
import
Identify
from
"~/components/identify"
;
...
...
@@ -673,6 +679,7 @@ export default {
this
.
flag
=
!
this
.
flag
;
this
.
getIndustryList
();
this
.
getCompanyNatureList
();
/* this.powerLogin() */
// this.getCordimg();
},
data
()
{
...
...
@@ -777,7 +784,7 @@ export default {
};
//结算账号校验
let
validateAccount
=
(
rule
,
value
,
callback
)
=>
{
const
realnameReg
=
/^
([
1-9
]{1})(\d{14}
|
\d{17})
$/
;
const
realnameReg
=
/^
\d{12,30}
$/
;
if
(
!
realnameReg
.
test
(
value
))
{
return
callback
(
new
Error
(
"您的输入有误,请重新输入!"
));
}
else
{
...
...
@@ -800,7 +807,7 @@ export default {
fileList
:
[],
flag
:
true
,
//该值变化,就会触发刷新
code
:
""
,
//刷新后的验证码
active
:
1
,
active
:
0
,
checked
:
true
,
adminform
:
{
name
:
""
,
...
...
@@ -1077,6 +1084,9 @@ export default {
};
},
methods
:
{
/* watchStatus(){
this.$router.push("auditStatus")
}, */
prev
(){
this
.
active
--
},
...
...
pages/login/user.vue
View file @
c34c1ea6
...
...
@@ -161,6 +161,16 @@
type
:
'error'
});
}
//501审核中
if
(
code
==
501
){
this
.
$router
.
push
(
"auditStatus"
)
cookies
.
set
(
"code"
,
501
)
}
//502审核未通过
if
(
code
==
502
){
this
.
$router
.
push
(
"auditStatus"
)
cookies
.
set
(
"code"
,
502
)
}
}
}
catch
(
err
)
{
console
.
log
(
err
);
...
...
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