incident-ser-call.component.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <div class="modal display_flex align-items_center">
  2. <div class="modalBody">
  3. <div class="title">通话记录<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
  4. <div class="content">
  5. <div class="list-template w100" style="padding: 16px;">
  6. <div class="list-template__content">
  7. <div class="list-template__top" nz-row style="padding: 0;">
  8. <div nz-col nzXl='18' class="list-template__searchBox">
  9. <div class="list-template__searchItem">
  10. <span class="label">主叫号码:</span>
  11. <input nz-input class="formItem" placeholder="请输入主叫号码" [(ngModel)]="searchDTO.dTMFA" />
  12. </div>
  13. <div class="list-template__searchItem">
  14. <span class="label">被叫号码:</span>
  15. <input nz-input class="formItem" placeholder="请输入被叫号码" [(ngModel)]="searchDTO.dTMFB" />
  16. </div>
  17. <div class="list-template__searchItem">
  18. <span class="label">开始时间:</span>
  19. <nz-date-picker class="formItem" [ngModel]="searchDTO.responseTime" (ngModelChange)="searchDTO.responseTime = $event" nzShowTime></nz-date-picker>
  20. </div>
  21. </div>
  22. <div nz-col nzXl='6' class="list-template__btns">
  23. <button nz-button class="btn default ml8 mt0" (click)='search()'>搜索</button>
  24. <button nz-button class="btn default ml8 mt0" (click)='reset()'>重置</button>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="tableWrap">
  30. <nz-table class="hospitalTable" [nzData]="messageList" nzSize="small" [nzShowPagination]="false" [nzLoading]="loading">
  31. <thead>
  32. <tr class="thead">
  33. <th nzWidth="12.5%">主叫号码</th>
  34. <th nzWidth="12.5%">被叫号码</th>
  35. <th nzWidth="12.5%">开始时间</th>
  36. <th nzWidth="12.5%">结束时间</th>
  37. <th nzWidth="12.5%">通话时长</th>
  38. <th nzWidth="12.5%">已接/未接</th>
  39. <th nzWidth="12.5%">呼入/呼出</th>
  40. <th nzWidth="12.5%">操作</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <tr *ngFor="let data of messageList;let i = index;">
  45. <td>{{ data.dTMFA }}</td>
  46. <td>{{ data.dTMFB }}</td>
  47. <td>{{ data.responseTime}}</td>
  48. <td>{{ data.overTime}}</td>
  49. <td *ngIf="data.longTime!==undefined">{{data.longTime}}秒</td>
  50. <td *ngIf="data.longTime===undefined"></td>
  51. <td>{{data.callState == 1?'已接':'未接'}}</td>
  52. <td>{{data.callType == 1?'呼入':(data.callType == 0?'呼出':'')}}</td>
  53. <td>
  54. <div class="coop">
  55. <span *ngIf="data.path" (click)="recordcall(data)">回放录音</span>
  56. </div>
  57. </td>
  58. </tr>
  59. </tbody>
  60. </nz-table>
  61. <div class="pagination">
  62. <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
  63. <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="total"
  64. [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList()"
  65. (nzPageSizeChange)="getList()" [nzShowTotal]="totalTemplate">
  66. </nz-pagination>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <!-- 回放录音模态框 -->
  73. <app-incident-recording [path]="coopData.relativePath" *ngIf="recordingModalShow" (closeModelHs)="closeRecordingModelOrder($event)"></app-incident-recording>
  74. <!-- 遮罩 -->
  75. <app-mask *ngIf="maskFlag"></app-mask>