Commit 7ef8be57 by sunchao

添加关联商机人们&手机号

parent 86480ef0
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<List className="calendar-list" style="backgroundColor: 'white'"> <List className="calendar-list" style="backgroundColor: 'white'">
<ListItem (onClick)="clickCalendar()"> <ListItem (onClick)="clickCalendar()">
{{this.trackTime.substring(5,7)}}月 {{this.trackTime.substring(5,7)}}月
{{this.state.en ? '日历' : '日历'}} <img src="assets/images/calendar_icon.png" alt="日历">
</ListItem> </ListItem>
</List> </List>
<Calendar [(ngModel)]="this.state.date" <Calendar [(ngModel)]="this.state.date"
...@@ -55,6 +55,10 @@ ...@@ -55,6 +55,10 @@
<span *ngIf="taskItem.taskImportantTag==1">(重要)</span> <span *ngIf="taskItem.taskImportantTag==1">(重要)</span>
{{taskItem.mdDropOptionName}} {{taskItem.mdDropOptionName}}
</div> </div>
<div *ngIf="taskItem.name || taskItem.mobileNo" style="margin: 5px auto;">
<span *ngIf="taskItem.name">{{taskItem.name}} - </span>
{{replaceStr(taskItem.mobileNo)}}
</div>
<div class="notice"> <div class="notice">
{{taskItem.notice}} {{taskItem.notice}}
</div> </div>
......
...@@ -200,4 +200,10 @@ export class TodoListComponent implements OnInit { ...@@ -200,4 +200,10 @@ export class TodoListComponent implements OnInit {
localStorage.removeItem('taskInfo'); localStorage.removeItem('taskInfo');
sessionStorage.removeItem('pageDwellDtatus'); sessionStorage.removeItem('pageDwellDtatus');
} }
replaceStr(phone){
let reg = /^(\d{3})\d{4}(\d{4})$/
return phone.replace(reg, '$1****$2')
}
} }
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