138 lines
5.2 KiB
Handlebars
138 lines
5.2 KiB
Handlebars
<div class="widget-box transparent" style="padding-top: 2px; border: 1px solid #ddd;">
|
|
{{#grid-header}}
|
|
{{#has-perm 'PERM_VIEW_CAMPAIGN_CREATE'}}
|
|
<li>
|
|
{{#link-to 'calling-list.create'}}
|
|
<i class="ace-icon fa fa-plus-circle bigger-110 green"></i>
|
|
新建名单
|
|
{{/link-to}}
|
|
</li>
|
|
{{/has-perm}}
|
|
{{/grid-header}}
|
|
|
|
<div class="widget-body">
|
|
<!-- #section:custom/scrollbar -->
|
|
<div class="widget-main no-padding">
|
|
<table class="table table-striped table-bordered table-hover dataTable">
|
|
<thead class="thin-border-bottom">
|
|
<tr>
|
|
<th>
|
|
{{th-filter name='campaignId'
|
|
text='外呼活动'
|
|
options=model.campaignList
|
|
value-field='id'
|
|
text-field='name'
|
|
}}
|
|
</th>
|
|
<th>
|
|
号码
|
|
</th>
|
|
<th>
|
|
{{th-filter name='status'
|
|
text='状态'
|
|
options=model.callingListStatus
|
|
value-field='value'
|
|
text-field='label'
|
|
}}
|
|
</th>
|
|
<th>
|
|
开始时间
|
|
</th>
|
|
<th>
|
|
结束时间
|
|
</th>
|
|
<th>
|
|
通话ID
|
|
</th>
|
|
<th>
|
|
拨打开始时间
|
|
</th>
|
|
<th>
|
|
拨打接通时间
|
|
</th>
|
|
<th>
|
|
拨打结束时间
|
|
</th>
|
|
<th>
|
|
拨打结果
|
|
</th>
|
|
<th>
|
|
任务KEY
|
|
</th>
|
|
<th>
|
|
记录KEY
|
|
</th>
|
|
<th>
|
|
创建时间
|
|
</th>
|
|
<th>
|
|
<i class="ace-icon fa fa-cogs bigger-110 hidden-480"></i>
|
|
管理
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each model.data as |it|}}
|
|
<tr>
|
|
<td>
|
|
{{it.campaign.name}}
|
|
</td>
|
|
<td>
|
|
{{it.phone}}
|
|
</td>
|
|
<td>
|
|
{{it.status}}
|
|
</td>
|
|
<td>
|
|
{{second-time timeInSecond=it.dailyFrom}}
|
|
</td>
|
|
<td>
|
|
{{second-time timeInSecond=it.dailyTo}}
|
|
</td>
|
|
<td>
|
|
{{it.callUuid}}
|
|
</td>
|
|
<td>
|
|
{{date-cell value=it.callStartTime format='YYYY-MM-DD H:mm:ss'}}
|
|
</td>
|
|
<td>
|
|
{{date-cell value=it.callEstablishedTime format='YYYY-MM-DD H:mm:ss'}}
|
|
</td>
|
|
<td>
|
|
{{date-cell value=it.callEndTime format='YYYY-MM-DD H:mm:ss'}}
|
|
</td>
|
|
<td>
|
|
{{it.callResult}}
|
|
</td>
|
|
<td>
|
|
{{it.taskKey}}
|
|
</td>
|
|
<td>
|
|
{{it.recordKey}}
|
|
</td>
|
|
<td>
|
|
{{date-cell value=it.createdTime format='YYYY-MM-DD H:mm:ss'}}
|
|
</td>
|
|
<td>
|
|
<div class="btn-group">
|
|
{{#has-perm 'PERM_VIEW_CAMPAIGN_EDIT'}}
|
|
{{status-toggle-button model=it}}
|
|
{{edit-btn route-name='calling-list.edit' model-id=it.id perm='PERM_VIEW_CAMPAIGN_EDIT'}}
|
|
{{/has-perm}}
|
|
{{#has-perm 'PERM_VIEW_CAMPAIGN_DELETE'}}
|
|
{{#unless it.active}}
|
|
{{delete-button model=it}}
|
|
{{/unless}}
|
|
{{/has-perm}}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{pagination-bar}}
|
|
</div>
|
|
</div>
|
|
{{outlet}}
|