Commit 05408e40 by sunchao

登录时存下所属战队

parent 683b1504
......@@ -48,6 +48,9 @@ export class LoginComponent implements OnInit, OnDestroy {
this.authService.login({ mobileNo: this.userInfo.mobileNo }).subscribe((response) => {
if (response['success']) {
this.authService.isLoggedIn = true;
if(response['data']['practitionerBasicInfo'] && response['data']['practitionerBasicInfo']['subordinateName']){
sessionStorage.setItem('subordinateSystemName', response['data']['practitionerBasicInfo']['subordinateName'])
}
const lifeCustomerInfo = { ...response.data, mobileNo: this.userInfo.mobileNo, commonResult: null };
if (lifeCustomerInfo['customerId'] && lifeCustomerInfo['practitionerId']) {
if (response['data']['practitionerTypeId'] == 28) {
......
......@@ -3,7 +3,7 @@
<!-- <span class="icon-tuandui iconfont"
style="position: absolute;width:45px;height:45px;line-height:35px;font-size: 30px;left:0;border: 1px #dcdcdc solid; padding: 5px;border-radius: 50%;"></span> -->
<img src="assets/images/cup_icon.png" >
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName.split('').join('/')}}/战/队</div>
<div style="float: left;letter-spacing: 5px;margin-left: 5%;">{{subordinateSystemName?subordinateSystemName.split('').join('/'):''}}/战/队</div>
</div>
<div class="taem_panel_item_wrapper" style="margin-top: -15px;">
<div class="taem_panel_item_top">
......
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