Commit deb0311d by sunchao

我的客户性别没有时置灰&客户保单日期显示bug修复

parent 7026962a
......@@ -3,7 +3,7 @@
[ngClass]="{isActive:policyItem.isValid == '有效'}" (click)="jumpToOrderdetail(policyItem.orderNo)">
<li>{{policyItem.productName?policyItem.productName:policyItem.planName}}</li>
<li>保单号:{{policyItem.policyNo}}</li>
<li>日期:{{policyItem.startDate | date:'yyyy.MM.dd'}} - {{policyItem.endDate | date:'yyyy.MM.dd'}}</li>
<li>日期:{{(policyItem.startDate).substr(0,10) | date:'yyyy.MM.dd'}} - {{(policyItem.endDate).substr(0,10) | date:'yyyy.MM.dd'}}</li>
<img src="assets/images/orderStatus/valid_2.png" alt="有效中" *ngIf="policyItem.isValid == '有效'"/>
<img src="assets/images/orderStatus/invalid_2.png" alt="已失效" *ngIf="policyItem.isValid == '无效'"/>
</ul>
......
......@@ -2,6 +2,7 @@
<ul class="customer_content" *ngFor="let customerItem of customerList;index as i;">
<img src="assets/images/man.png" alt="男" *ngIf="customerItem.gender=='男'">
<img src="assets/images/women.png" alt="女" *ngIf="customerItem.gender=='女'">
<img src="assets/images/nogender.png" alt="女" *ngIf="customerItem.gender==null">
<li>
<div>
<span *ngIf="customerItem.selected">姓名:</span>{{customerItem.name}}
......
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