|
|
|
@ -31,16 +31,21 @@
|
|
|
|
|
ng-class="{nodata:!BDTeamKpiData}"></div>
|
|
|
|
|
<table class="table table-bordered table-striped table-hover">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>teamName</td>
|
|
|
|
|
<td>kpiAmount</td>
|
|
|
|
|
<td>totalAmount</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>团队名称<span class="text-green small">(点击可查看团队明细)</span></th>
|
|
|
|
|
<th>KPI</th>
|
|
|
|
|
<th>总金额</th>
|
|
|
|
|
<th>完成比例</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tr ng-repeat="data in BDTeamKpiData">
|
|
|
|
|
<td ng-bind="data.team_name"></td>
|
|
|
|
|
<tr ng-repeat="data in BDTeamKpiData" ng-click="getBdProportion(data.bd_type)"
|
|
|
|
|
style="cursor:pointer;">
|
|
|
|
|
<td ng-bind="data.team_name" ></td>
|
|
|
|
|
<td ng-bind="data.kpi"></td>
|
|
|
|
|
<td ng-bind="data.total_amount"></td>
|
|
|
|
|
<td>{{data.total_amount/data.kpi | percentage:2}} <i ng-if="(data.total_amount/data.kpi)>=1"
|
|
|
|
|
class="fa fa-star text-yellow"
|
|
|
|
|
title="已完成"></i></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
@ -48,30 +53,36 @@
|
|
|
|
|
<div class="box box-info">
|
|
|
|
|
<div class="box-header">BD占比</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
<div class="chart" style="height: 400px" id="bdProportion" echarts="bdProportion"
|
|
|
|
|
chart-setter="bdProportionEcharts($chart)"
|
|
|
|
|
ng-class="{nodata:!bdProportionData}"></div>
|
|
|
|
|
<div class="col-xs-6 col-sm-6">
|
|
|
|
|
<div class="chart" style="height: 400px" id="bdProportion" echarts="bdProportion"
|
|
|
|
|
chart-setter="bdProportionEcharts($chart)"
|
|
|
|
|
ng-class="{nodata:!bdProportionData}"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class=" col-xs-6 col-sm-6">
|
|
|
|
|
<div class="chart" style="height: 400px" id="bdKpi" echarts="bdKpi"
|
|
|
|
|
ng-class="{nodata:!bdKpiData}"></div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<table class="table table-bordered table-striped table-hover">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>bdName</td>
|
|
|
|
|
<td>kpiAmount</td>
|
|
|
|
|
<td>totalAmount</td>
|
|
|
|
|
<th>BD 名称</th>
|
|
|
|
|
<th>KPI</th>
|
|
|
|
|
<th>总交易金额</th>
|
|
|
|
|
<th>完成比例</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tr ng-repeat="data in bdProportionData">
|
|
|
|
|
<td ng-bind="data.bd_name"></td>
|
|
|
|
|
<td ng-bind="data.kpi_amount"></td>
|
|
|
|
|
<td ng-bind="data.total_amount"></td>
|
|
|
|
|
<td>{{data.total_amount/data.kpi_amount | percentage:2}}
|
|
|
|
|
<i ng-if="(data.total_amount/data.kpi_amount)>=1" class="fa fa-star text-yellow"
|
|
|
|
|
title="已完成"></i>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box-info">
|
|
|
|
|
<div class="box-header">BD KPI完成度</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
<div class="chart" style="height: 400px" id="bdKpi" echarts="bdKpi"
|
|
|
|
|
ng-class="{nodata:!bdKpiData}"></div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|