parent
bfef05c788
commit
64d89bcde7
@ -1,32 +1,33 @@ |
||||
<!--<div class="inner-content">--> |
||||
<!-- <nz-descriptions nzBordered>--> |
||||
<!-- <nz-descriptions-item nzTitle="商户logo" [nzSpan]="3">--> |
||||
<!-- <img class="head_img" src="{{data.merchantLogo}}" onerror="this.src='../../../../assets/admin/navigation/icon.png'" alt="">--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="登录账户">{{data['secUser']['loginName']}}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="商户编号">{{data['merchantKey']}}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="商户名称">{{data.merchantName}}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="联系电话">{{data.secUser.telephone}}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="商户地址">{{data.address}}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="状态">{{data.status ===1 ? '正常' : '禁用'}}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="银行名称">--> |
||||
<!-- {{data.bankName == null ? '未上传' : data.bankName}}--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="银行账号">--> |
||||
<!-- {{data.bankAccount == null ? '未上传' : data.bankAccount}}--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="开户人">--> |
||||
<!-- {{data.bankHolder == null ? '未上传' : data.bankHolder}}--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="创建时间">--> |
||||
<!-- {{data.createTime | date: 'yyyy-MM-dd'}}--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="更新时间">--> |
||||
<!-- {{data.updateTime | date: 'yyyy-MM-dd'}}--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="操作人员">{{data.operatorName }}</nz-descriptions-item>--> |
||||
<!-- <nz-descriptions-item nzTitle="简介" [nzSpan]="3">--> |
||||
<!-- {{data.merchantDesc}}--> |
||||
<!-- </nz-descriptions-item>--> |
||||
<!-- </nz-descriptions>--> |
||||
<!--</div>--> |
||||
<!-- start 面包屑 --> |
||||
<nz-breadcrumb> |
||||
<nz-breadcrumb-item> |
||||
系统管理 |
||||
</nz-breadcrumb-item> |
||||
<nz-breadcrumb-item> |
||||
公司详情 |
||||
</nz-breadcrumb-item> |
||||
</nz-breadcrumb> |
||||
<!-- end 面包屑 --> |
||||
|
||||
<div class="inner-content"> |
||||
<nz-tabset> |
||||
<nz-tab nzTitle="账号信息"> |
||||
<nz-descriptions nzBordered> |
||||
<nz-descriptions-item nzTitle="登录账户" [nzSpan]="1.5">{{data.user.loginName}}</nz-descriptions-item> |
||||
<nz-descriptions-item nzTitle="用户名" [nzSpan]="1.5">{{data.user.userName}}</nz-descriptions-item> |
||||
</nz-descriptions> |
||||
</nz-tab> |
||||
<nz-tab nzTitle="单位信息"> |
||||
<nz-descriptions nzBordered> |
||||
<nz-descriptions-item nzTitle="所属地区">{{data.company.regionName}}</nz-descriptions-item> |
||||
<nz-descriptions-item nzTitle="单位logo"> |
||||
<img class="head_img" src="{{FILE_URL +data.logo}}" onerror="this.src='../../../../assets/admin/navigation/icon.png'" alt=""> |
||||
</nz-descriptions-item> |
||||
<nz-descriptions-item nzTitle="公司名称">{{data.company.name}}</nz-descriptions-item> |
||||
<nz-descriptions-item nzTitle="联系方式">{{data.company.phone}}</nz-descriptions-item> |
||||
<nz-descriptions-item nzTitle="创建时间">{{data.company.createTime | date: 'yyyy-MM-dd HH:mm'}} </nz-descriptions-item> |
||||
<nz-descriptions-item nzTitle="更新时间">{{data.company.updateTime | date: 'yyyy-MM-dd HH:mm'}} </nz-descriptions-item> |
||||
</nz-descriptions> |
||||
</nz-tab> |
||||
</nz-tabset> |
||||
</div> |
||||
|
@ -0,0 +1,4 @@ |
||||
.head_img { |
||||
height: 60px; |
||||
width: 60px; |
||||
} |
@ -0,0 +1,24 @@ |
||||
import { Pipe, PipeTransform } from '@angular/core'; |
||||
|
||||
@Pipe({ |
||||
name: 'couponStatus' |
||||
}) |
||||
export class CouponStatusPipe implements PipeTransform { |
||||
|
||||
transform(value: number): string { |
||||
switch (value) { |
||||
case 0: |
||||
return '删除'; |
||||
case 1: |
||||
return '编辑中'; |
||||
case 2: |
||||
return '已上架'; |
||||
case 3: |
||||
return '已下架'; |
||||
case 101: |
||||
return '上架审批中'; |
||||
case 102: |
||||
return '上架审批驳回'; |
||||
} |
||||
} |
||||
} |
@ -1,3 +1,4 @@ |
||||
export * from './commons/times.pipe'; |
||||
export * from './commons/textarea.pipe'; |
||||
export * from './system.pipe'; |
||||
export * from './coupon-status.pipe'; |
||||
|
Loading…
Reference in new issue