Commit 529fa0cb by Chao Sun

感谢信&产品库&团队

parent bfd8c518
...@@ -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 {
......
.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;
......
...@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment