Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
49ca2275
Commit
49ca2275
authored
Jan 31, 2024
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.解决权限为null时触发的BUG
parent
fda6107d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/app/my/more-features/more-features.component.ts
+2
-2
src/app/my/my-center-home/my-center-home.component.ts
+1
-1
No files found.
src/app/my/more-features/more-features.component.ts
View file @
49ca2275
...
...
@@ -55,8 +55,8 @@ export class MoreFeaturesComponent implements OnInit, OnDestroy {
queryCanSee
()
{
this
.
myService
.
queryCanSee
({
practitionerId
:
this
.
lifeCustomerInfo
?
this
.
lifeCustomerInfo
[
'practitionerId'
]
:
null
,
}).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
canSeeSchool
=
res
[
'data'
][
'canSeeYdCollege'
];
this
.
cffpRoleCode
=
res
[
'data'
][
'cffpRoleCode'
];
this
.
canSeeSchool
=
res
[
'data'
][
'canSeeYdCollege'
]
||
''
;
this
.
cffpRoleCode
=
res
[
'data'
][
'cffpRoleCode'
]
||
''
;
}
this
.
getMenu
()
})
...
...
src/app/my/my-center-home/my-center-home.component.ts
View file @
49ca2275
...
...
@@ -149,7 +149,7 @@ export class MyCenterHomeComponent implements OnInit {
queryCanSee
()
{
this
.
myService
.
queryCanSee
({
practitionerId
:
this
.
lifeCustomerInfo
?
this
.
lifeCustomerInfo
[
'practitionerId'
]
:
null
,
}).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
canSeeSchool
=
res
[
'data'
][
'canSeeYdCollege'
];
this
.
canSeeSchool
=
res
[
'data'
][
'canSeeYdCollege'
]
||
''
;
if
(
this
.
canSeeSchool
.
includes
(
'insuranceABC'
)
||
this
.
canSeeSchool
.
includes
(
'preJobTraining'
)
||
this
.
canSeeSchool
.
includes
(
'newTraining'
)
||
this
.
canSeeSchool
.
includes
(
'promotionTraining'
)
||
this
.
canSeeSchool
.
includes
(
'productTraining'
)
||
this
.
canSeeSchool
.
includes
(
'myTraining'
))
{
this
.
featureLists
.
push
({
key
:
'06'
,
name
:
'银盾学院'
,
icon
:
'ydCollege'
,
link
:
'/ydCollege'
,
isOpen
:
true
},);
...
...
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