Upd:修復交易排名數據五刷新

master
duLingLing 5 years ago
parent 178532831d
commit ca6b6dbe24

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.2.93</version>
<version>1.2.94</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.4.0</jib-maven-plugin.version>

@ -128,6 +128,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
$http.get('/analysis/customers/ranking/'+$scope.params.openid_type, {params: params}).then(function (resp) {
$scope.customer_loading = false;
$scope.customers = resp.data.data;
if($scope.customers.length>0){
$scope.checkoutCustomer($scope.customers[0]);
$scope.generatorEcharts($scope.customers[0].customer_id);
$scope.customers_type = resp.data.openid_type;
@ -139,6 +140,10 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
}else{
$scope.orders=[];
}
}
else{
$scope.orders=[];
}
});
$scope.checkoutCustomer = function (data) {

@ -181,7 +181,7 @@
</div>
</div>
</div>
<div class="box" ng-if="one_customer">
<div class="box" ng-if="one_customer&&orders.length>0">
<div class="box-header">
<h3 class="box-title">用户画像</h3>
</div>
@ -248,7 +248,7 @@
</div>
</div>
<div class="row">
<div class="row" ng-if="orders">
<div class="col-sm-12">
<div class="box box-default">
<div class="box-body table-responsive">

Loading…
Cancel
Save