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
529fa0cb
Commit
529fa0cb
authored
Apr 16, 2020
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
感谢信&产品库&团队
parent
bfd8c518
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
20 deletions
+24
-20
src/app/auth/login/login.component.ts
+14
-9
src/app/my/team-rank/team-rank.component.scss
+10
-10
src/app/my/team-rank/team-rank.component.ts
+0
-1
No files found.
src/app/auth/login/login.component.ts
View file @
529fa0cb
...
@@ -53,16 +53,21 @@ export class LoginComponent implements OnInit, OnDestroy {
...
@@ -53,16 +53,21 @@ export class LoginComponent implements OnInit, OnDestroy {
if
(
lifeCustomerInfo
[
'customerId'
]
&&
lifeCustomerInfo
[
'practitionerId'
])
{
if
(
lifeCustomerInfo
[
'customerId'
]
&&
lifeCustomerInfo
[
'practitionerId'
])
{
localStorage
.
setItem
(
'lifeCustomerInfo'
,
JSON
.
stringify
(
lifeCustomerInfo
));
localStorage
.
setItem
(
'lifeCustomerInfo'
,
JSON
.
stringify
(
lifeCustomerInfo
));
if
(
response
[
'data'
][
'loginTimes'
]
>
0
)
{
if
(
response
[
'data'
][
'loginTimes'
]
>
0
)
{
if
(
response
[
'data'
][
'getOpenIdUrl'
])
{
this
.
redirect
=
this
.
authService
.
redirectUrl
?
this
.
router
.
parseUrl
(
this
.
authService
.
redirectUrl
)
:
'/my'
;
window
.
location
.
href
=
response
[
'data'
][
'getOpenIdUrl'
];
this
.
router
.
navigateByUrl
(
this
.
redirect
);
}
else
{
// if (response['data']['getOpenIdUrl']) {
this
.
redirect
=
this
.
authService
.
redirectUrl
?
this
.
router
.
parseUrl
(
this
.
authService
.
redirectUrl
)
:
'/my'
;
// window.location.href = response['data']['getOpenIdUrl'];
this
.
router
.
navigateByUrl
(
this
.
redirect
);
// } else {
}
// this.redirect = this.authService.redirectUrl ? this.router.parseUrl(this.authService.redirectUrl) : '/my';
// this.router.navigateByUrl(this.redirect);
// }
}
else
{
}
else
{
if
(
response
[
'data'
][
'getOpenIdUrl'
])
{
this
.
router
.
navigateByUrl
(
'/thanks'
)
window
.
location
.
href
=
response
[
'data'
][
'getOpenIdUrl'
];
// if (response['data']['getOpenIdUrl']) {
}
// window.location.href = response['data']['getOpenIdUrl'];
// } else {
// this.router.navigateByUrl('/thanks')
// }
}
}
}
else
{
}
else
{
...
...
src/app/my/team-rank/team-rank.component.scss
View file @
529fa0cb
.salesWrapper
{
.salesWrapper
{
padding
:
10px
10px
20px
10px
;
padding
:
10px
10px
20px
10px
;
// background: #f6f7f2;
// background: #f6f7f2;
//
background: #0664a4;
background
:
#0664a4
;
background
:
-webkit-linear-gradient
(
to
bottom
right
,
#7cb8d4
,
#0664a4
);
//
background: -webkit-linear-gradient(to bottom right, #7cb8d4, #0664a4);
background
:
-o-linear-gradient
(
to
bottom
right
,
#7cb8d4
,
#0664a4
);
//
background: -o-linear-gradient(to bottom right, #7cb8d4, #0664a4);
background
:
-moz-linear-gradient
(
to
bottom
right
,
#7cb8d4
,
#0664a4
);
//
background: -moz-linear-gradient(to bottom right, #7cb8d4, #0664a4);
background
:
-ms-linear-gradient
(
to
bottom
right
,
#7cb8d4
,
#0664a4
);
//
background: -ms-linear-gradient(to bottom right, #7cb8d4, #0664a4);
background
:
linear-gradient
(
to
bottom
right
,
#7cb8d4
,
#0664a4
);
//
background: linear-gradient(to bottom right, #7cb8d4, #0664a4);
min-height
:
100%
;
min-height
:
100%
;
ul
,
ol
{
ul
,
ol
{
list-style
:
none
;
list-style
:
none
;
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
display
:
flex
;
display
:
flex
;
justify-content
:
space-around
;
justify-content
:
space-around
;
align-items
:
center
;
align-items
:
center
;
text-shadow
:
#fff
1px
0
0
,
#fff
0
1px
0
,
#fff
-1px
0
0
,
#fff
0
-1px
0
;
//
text-shadow:#fff 1px 0 0,#fff 0 1px 0,#fff -1px 0 0,#fff 0 -1px 0;
-webkit-text-shadow
:
#fff
1px
0
0
,
#fff
0
1px
0
,
#fff
-1px
0
0
,
#fff
0
-1px
0
;
//
-webkit-text-shadow:#fff 1px 0 0,#fff 0 1px 0,#fff -1px 0 0,#fff 0 -1px 0;
-moz-text-shadow
:
#fff
1px
0
0
,
#fff
0
1px
0
,
#fff
-1px
0
0
,
#fff
0
-1px
0
;
//
-moz-text-shadow:#fff 1px 0 0,#fff 0 1px 0,#fff -1px 0 0,#fff 0 -1px 0;
*
filter
:
Glow
(
color
=
#fff
,
strength
=
1
);
//
*filter: Glow(color=#fff, strength=1);
}
}
div
.teamInfo
{
div
.teamInfo
{
font-size
:
24px
;
font-size
:
24px
;
...
...
src/app/my/team-rank/team-rank.component.ts
View file @
529fa0cb
...
@@ -41,7 +41,6 @@ export class TeamRankComponent implements OnInit {
...
@@ -41,7 +41,6 @@ export class TeamRankComponent implements OnInit {
}
else
{
}
else
{
this
.
myService
.
subordinateSystemMemberQuery
({
practitionerId
:
practitionerId
,
time
:
time
}).
subscribe
((
res
)
=>
{
this
.
myService
.
subordinateSystemMemberQuery
({
practitionerId
:
practitionerId
,
time
:
time
}).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
console
.
log
(
res
)
this
.
allPerformanceInfo
=
res
[
'data'
];
this
.
allPerformanceInfo
=
res
[
'data'
];
this
.
subordinateSystemName
=
res
[
'data'
][
'subordinateSystemName'
];
this
.
subordinateSystemName
=
res
[
'data'
][
'subordinateSystemName'
];
this
.
statisticInfo
=
res
[
'data'
][
'statisticInfo'
];
this
.
statisticInfo
=
res
[
'data'
][
'statisticInfo'
];
...
...
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