Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
Project
Project
Details
Activity
Releases
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
Damon
study
Commits
c657f15f
Commit
c657f15f
authored
Jul 26, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:我的信息是否认证 判断修改
parent
b13c07c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
certify.vue
src/pages/mine/certify.vue
+1
-0
info.vue
src/pages/mine/info.vue
+2
-1
No files found.
src/pages/mine/certify.vue
View file @
c657f15f
...
@@ -136,6 +136,7 @@ export default {
...
@@ -136,6 +136,7 @@ export default {
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
$u
.
toast
(
'认证成功'
)
this
.
$u
.
toast
(
'认证成功'
)
this
.
student
.
isCertify
=
true
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$u
.
route
({
this
.
$u
.
route
({
type
:
'back'
,
type
:
'back'
,
...
...
src/pages/mine/info.vue
View file @
c657f15f
...
@@ -95,7 +95,7 @@ export default {
...
@@ -95,7 +95,7 @@ export default {
return
this
.
student
.
workUnit
||
''
return
this
.
student
.
workUnit
||
''
},
},
getCertifyStatus
()
{
getCertifyStatus
()
{
return
!
this
.
student
.
i
dentityNumber
?
'去认证'
:
'已认证'
return
!
this
.
student
.
i
sCertify
?
'去认证'
:
'已认证'
},
},
},
},
onLoad
()
{
onLoad
()
{
...
@@ -108,6 +108,7 @@ export default {
...
@@ -108,6 +108,7 @@ export default {
}
}
})
})
this
.
$u
.
api
.
getUserInfo
().
then
((
res
)
=>
{
this
.
$u
.
api
.
getUserInfo
().
then
((
res
)
=>
{
res
.
isCertify
=
res
.
identityNumber
?
true
:
false
this
.
student
=
res
this
.
student
=
res
})
})
},
},
...
...
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