fix 进度条初始位置

master
luoyang 5 years ago
parent 40b36c432a
commit 9eeb3070f0

@ -68,7 +68,6 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
})
};
$scope.loadKYCDashboardInfo = function () {
var params = angular.copy($scope.params);
$http.get('/sys/kyc/manage/partner/dashboard').then(function (resp) {
$scope.total_need_help = resp.data.total_need_help;
$scope.total_partner = resp.data.total_partner;
@ -78,7 +77,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
$(".circleChart1").circleChart({
value: ($scope.total_need_help/$scope.total_partner)*100,
redraw: false,
startAngle: 50,
startAngle: 75,
color: "#68cf7c",
size: 130,
text: 0 + '%',
@ -89,7 +88,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
$(".circleChart2").circleChart({
value: ($scope.total_progressing/$scope.total_partner)*100,
redraw: false,
startAngle: 50,
startAngle: 75,
color: "#68cf7c",
size: 130,
text: 0 + '%',
@ -100,7 +99,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
$(".circleChart3").circleChart({
value: ($scope.total_pass_partner/$scope.total_partner)*100,
redraw: false,
startAngle: 50,
startAngle: 75,
color: "#96cf9a",
size: 130,
text: 0 + '%',
@ -112,7 +111,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
$(".circleChart4").circleChart({
value: ($scope.total_refuse_partner/$scope.total_progressing)*100,
redraw: false,
startAngle: 50,
startAngle: 75,
color: "#96cf9a",
size: 130,
text: 0 + '%',

Loading…
Cancel
Save