master
wangning 7 years ago
parent 4efcb964b5
commit dc4c955395

@ -80,4 +80,12 @@ public class QueryRiskRecord {
public void setC_end_time(String c_end_time) {
this.c_end_time = c_end_time;
}
public int getClient_id() {
return client_id;
}
public void setClient_id(int client_id) {
this.client_id = client_id;
}
}

@ -71,7 +71,7 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS
var params = angular.copy($scope.params);
params.page = page || $scope.pagination.page || 1;
$http.get('/sys/risk/orders',{params: params}).then(function (resp) {
$scope.orders = resp.data.data;
$scope.referenceOrders = resp.data.data;
$scope.pagination = resp.data.pagination;
$scope.historyParams.c_end_time = $scope.orders.pop().create_time;
$scope.loadHistoryOrders(1);

@ -35,7 +35,7 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="order in orders">
<tr ng-repeat="order in referenceOrders">
<td>{{order.order_id}}</td>
<td>{{order.amount}}</td>
<td>{{order.channel}}</td>
@ -46,7 +46,7 @@
</table>
</div>
<div class="modal-footer">
<uib-pagination ng-if="orders.length"
<uib-pagination ng-if="referenceOrders.length"
class="pagination"
total-items="pagination.totalCount"
boundary-links="true"

Loading…
Cancel
Save