130 lines
5.4 KiB
Handlebars
130 lines
5.4 KiB
Handlebars
{{#main-content}}
|
|
<div class="widget-box transparent">
|
|
{{#grid-header}}
|
|
<li>
|
|
{{#link-to 'customer.import'}}
|
|
<i class="ace-icon fa fa-address-card-o bigger-110"></i>
|
|
导入客户
|
|
{{/link-to}}
|
|
</li>
|
|
<li>
|
|
{{#link-to 'customer-ytd-sale.import'}}
|
|
<i class="ace-icon fa fa-line-chart bigger-110"></i>
|
|
导入销售数据
|
|
{{/link-to}}
|
|
</li>
|
|
{{/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>
|
|
{{sortable-th name='id' text='编号'}}
|
|
<th>
|
|
名称
|
|
</th>
|
|
{{sortable-th name='year' text='年份'}}
|
|
{{sortable-th name='ytdSale' text='年销售额'}}
|
|
<th class="hidden-480">
|
|
国家
|
|
</th>
|
|
<th class="hidden-480">
|
|
省份
|
|
</th>
|
|
<th class="hidden-480">
|
|
城市
|
|
</th>
|
|
{{sortable-th name='ms' text='MS' class='hidden-480'}}
|
|
{{sortable-th name='region' text='区域' class='hidden-480'}}
|
|
{{sortable-th name='salesperson' text='销售'}}
|
|
<th class="hidden-480">
|
|
状态
|
|
</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>
|
|
{{#link-to 'customer.show' it.id title='查看'}}
|
|
{{it.id}}
|
|
{{/link-to}}
|
|
</td>
|
|
<td>
|
|
{{it.name}}
|
|
</td>
|
|
<td>
|
|
{{it.year}}
|
|
</td>
|
|
<td>
|
|
{{number-us it.ytdSale}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.countryCode}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.state}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.city}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.ms}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.region}}
|
|
</td>
|
|
<td>
|
|
{{it.salesperson}}
|
|
</td>
|
|
<td>
|
|
{{it.statusText}}
|
|
</td>
|
|
<td>
|
|
<div class="hidden-sm hidden-xs btn-group">
|
|
{{status-toggle-button model=it}}
|
|
{{#link-to 'customer.edit' it.id class='btn btn-xs btn-info' title='编辑'}}
|
|
<i class="ace-icon fa fa-pencil bigger-120"></i>
|
|
{{/link-to}}
|
|
{{!op-detail it.id}}
|
|
</div>
|
|
<div class="hidden-md hidden-lg">
|
|
<div class="inline pos-rel">
|
|
|
|
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
|
|
<i class="ace-icon fa fa-cog icon-only bigger-110"></i>
|
|
</button>
|
|
|
|
<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
|
|
<li>
|
|
{{status-toggle-button model=it iconOnly=true}}
|
|
</li>
|
|
|
|
<li>
|
|
{{#link-to 'customer.edit' it.id class='tooltip-info' data-rel='tooltip' title='编辑'}}
|
|
<span class="blue">
|
|
<i class="ace-icon fa fa-pencil-square-o bigger-120"></i>
|
|
</span>
|
|
{{/link-to}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{pagination-bar}}
|
|
</div>
|
|
</div>
|
|
{{/main-content}}
|