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