[R] R Services fix

master
liuxinxin 5 years ago
parent ca012fa766
commit 9a5ce125a2

@ -344,8 +344,10 @@
oo.channel = #{chan}
</foreach>
</if>
<if test="source != 'ALL'">
AND
oo.source != 'system'
oo.source = #{source}
</if>
</where>
) o
INNER JOIN sys_clients p

@ -54,7 +54,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
})
}
$scope.initDate();
$scope.params = {source: $scope.serviceInfo.channel,status: 'PAID', channel :'ALL' ,textType: 'all', datefrom: new Date(), dateto: new Date()};
$scope.params = {source: $stateParams.channel,status: 'PAID', channel :'ALL' ,textType: 'all', datefrom: new Date(), dateto: new Date()};
$scope.pagination = {};
$scope.today = new Date();
$scope.isAll = true;
@ -100,7 +100,6 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
$scope.loadTradeLogs(1);
};
$scope.loadTradeLogs = function (page) {
$scope.params.source = $scope.serviceInfo.channel;
var params = angular.copy($scope.params);
if (params.datefrom) {
params.datefrom = $filter('date')(params.datefrom, 'yyyyMMdd');

Loading…
Cancel
Save