e
This commit is contained in:
		| @ -11,7 +11,7 @@ | ||||
|         <img [src]="userDetail?.avatar" /> | ||||
|         <div style="flex: 1"> | ||||
|           <div style="display: flex; width: 100%; justify-content: space-between"> | ||||
|             <p style="padding-right: 80px; width: 400px">{{ userDetail?.name }} | ||||
|             <p style="padding-right: 80px; width: 400px">{{ userDetail?.realName }} | ||||
|               <nz-badge nzStatus="success" nzText="正常" *ngIf="!userDetail?.stateLocked" class="ml-xl"> </nz-badge> | ||||
|               <nz-badge nzStatus="warning" nzText="冻结" *ngIf="userDetail?.stateLocked" class="ml-xl"> </nz-badge> | ||||
|             </p> | ||||
| @ -103,10 +103,10 @@ | ||||
|   <sv-container col="3" class="mt-md"> | ||||
|     <sv-title>银行结算信息</sv-title> | ||||
|     <sv label="开户银行"> | ||||
|       <!-- {{ detailData?.name }} --> | ||||
|       {{ userIdentityDetail?.name }} | ||||
|     </sv> | ||||
|     <sv label="银行卡号"> | ||||
|       <!-- {{ detailData?.certificateNumber }} --> | ||||
|       {{ userIdentityDetail?.certificateNumber }} | ||||
|     </sv> | ||||
|   </sv-container> | ||||
| </nz-card> | ||||
|  | ||||
| @ -65,8 +65,6 @@ export class CaptainDetailComponent implements OnInit { | ||||
|  | ||||
|   /** 启用/冻结司机 */ | ||||
|   userAction(status: number) { | ||||
|     console.log(this.userDetail); | ||||
|  | ||||
|     this.nzModalService.warning({ | ||||
|       nzTitle: status === 1 ? '确定启用该司机吗?' : '确定冻结该司机吗?', | ||||
|       nzContent: status === 1 ? '启用后,该司机将恢复正常使用功能,请再次确认!' : '冻结后,司机将被限制使用,无法登陆,请谨慎操作!', | ||||
|  | ||||
| @ -11,7 +11,7 @@ | ||||
|         <img [src]="userDetail?.avatar" /> | ||||
|         <div style="flex: 1"> | ||||
|           <div style="display: flex;width: 100%;justify-content: space-between;"> | ||||
|             <p style="padding-right: 80px; width: 400px;">{{ userDetail?.name }} | ||||
|             <p style="padding-right: 80px; width: 400px;">{{ userDetail?.realName }} | ||||
|               <nz-badge nzStatus="success" nzText="正常" *ngIf="!userDetail?.stateLocked" class="ml-xl"></nz-badge> | ||||
|               <nz-badge nzStatus="warning" nzText="冻结" *ngIf="userDetail?.stateLocked" class="ml-xl"></nz-badge> | ||||
|             </p> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user