From 763cadd2149b9858ac0de19cd3f847db61effb51 Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Wed, 17 Apr 2019 16:34:21 +0800 Subject: [PATCH] =?UTF-8?q?[Y]=20BD=E5=9B=A2=E9=98=9F=E5=88=86=E6=9E=90?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/ui/manage.html | 2 +- .../ui/static/analysis/bd-prize-analysis.js | 12 ++--- .../bdprize/templates/bd_data_analysis.html | 51 +++++++++++-------- .../ui/static/menu/templates/main_menu.html | 10 ++++ 4 files changed, 48 insertions(+), 27 deletions(-) diff --git a/src/main/ui/manage.html b/src/main/ui/manage.html index b48bb960b..4fafcc5b0 100644 --- a/src/main/ui/manage.html +++ b/src/main/ui/manage.html @@ -778,7 +778,7 @@ margin-bottom: 10%;"/>
  • - BD数据分析|BD Data Analysis + BD团队分析|BD Team Analysis
  • diff --git a/src/main/ui/static/analysis/bd-prize-analysis.js b/src/main/ui/static/analysis/bd-prize-analysis.js index b14e9fc47..4a83d0c9e 100644 --- a/src/main/ui/static/analysis/bd-prize-analysis.js +++ b/src/main/ui/static/analysis/bd-prize-analysis.js @@ -59,7 +59,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { $scope.getBDTeamKpiEcharts = function(data){ var BDTeamKpi = { tooltip : { - formatter: "{a}
    {c} {b}" + formatter: "{b}
    {a} {c}% " }, toolbox: { show : true, @@ -106,7 +106,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { fontWeight: 'bolder' } }, - data:[{value: 0, name: '完成度'}] + data:[{value: 0, name: ''}] }, { name:'KPI', @@ -267,7 +267,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { }, series : [ { - name:'业务指标', + name:'KPI完成比例', type:'gauge', startAngle: 180, endAngle: 0, @@ -327,17 +327,17 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { } ] }; - bdKpi.series[0].data[0] = {"value":(data.total_amount/data.kpi_amount*100).toFixed(2),"name":data.bd_name + "完成度"}; + bdKpi.series[0].data[0] = {"value":(data.total_amount/data.kpi_amount*100).toFixed(2),"name":data.bd_name}; return bdKpi; } $scope.filterBdType = function (type) { switch (type) { case 1: - return 'Sydney'; + return 'Sydney Team'; case 2: return 'KA Manager'; case 6: - return 'Melbourne'; + return 'Melbourne Team'; case 7: return 'KA Manager'; } diff --git a/src/main/ui/static/config/bdprize/templates/bd_data_analysis.html b/src/main/ui/static/config/bdprize/templates/bd_data_analysis.html index d8f6d10d5..5e712226f 100644 --- a/src/main/ui/static/config/bdprize/templates/bd_data_analysis.html +++ b/src/main/ui/static/config/bdprize/templates/bd_data_analysis.html @@ -31,16 +31,21 @@ ng-class="{nodata:!BDTeamKpiData}"> - - - - - + + + + + + - - + + +
    teamNamekpiAmounttotalAmount
    团队名称(点击可查看团队明细)KPI总金额完成比例
    {{data.total_amount/data.kpi | percentage:2}}
    @@ -48,30 +53,36 @@
    BD占比
    -
    +
    +
    +
    +
    +
    + +
    - - - + + + + +
    bdNamekpiAmounttotalAmountBD 名称KPI总交易金额完成比例
    {{data.total_amount/data.kpi_amount | percentage:2}} + +
    -
    -
    -
    -
    BD KPI完成度
    -
    -
    +
    diff --git a/src/main/ui/static/menu/templates/main_menu.html b/src/main/ui/static/menu/templates/main_menu.html index 30a9608b8..6a88ec6ff 100644 --- a/src/main/ui/static/menu/templates/main_menu.html +++ b/src/main/ui/static/menu/templates/main_menu.html @@ -489,6 +489,16 @@ +