|
|
@ -15,7 +15,7 @@ define(['angular'], function (angular) {
|
|
|
|
controller: 'settleWarningsCtrl'
|
|
|
|
controller: 'settleWarningsCtrl'
|
|
|
|
}).state('manual_settle', {
|
|
|
|
}).state('manual_settle', {
|
|
|
|
url: '/manual_settle',
|
|
|
|
url: '/manual_settle',
|
|
|
|
templateUrl: '/static/analysis/templates/manual_settle.html',
|
|
|
|
templateUrl: '/static/sys/templates/manual_settle.html',
|
|
|
|
controller: 'manualSettleCtrl'
|
|
|
|
controller: 'manualSettleCtrl'
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
@ -27,7 +27,6 @@ define(['angular'], function (angular) {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$scope.getContractAnalysis();
|
|
|
|
$scope.getContractAnalysis();
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
|
|
app.controller('settleWarningsCtrl', ['$scope', '$http', '$filter', 'commonDialog', function ($scope, $http, $filter, commonDialog) {
|
|
|
|
app.controller('settleWarningsCtrl', ['$scope', '$http', '$filter', 'commonDialog', function ($scope, $http, $filter, commonDialog) {
|
|
|
|
$scope.loadWarnings = function () {
|
|
|
|
$scope.loadWarnings = function () {
|
|
|
|
$http.get('/manage/clearing/rate_warnings').then(function (resp) {
|
|
|
|
$http.get('/manage/clearing/rate_warnings').then(function (resp) {
|
|
|
@ -54,14 +53,13 @@ define(['angular'], function (angular) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.controller('manualSettleCtrl', ['$scope', '$http', '$state', '$filter', 'commonDialog', function ($scope, $http, $state, $filter, commonDialog) {
|
|
|
|
app.controller('manualSettleCtrl', ['$scope', '$http', function ($scope, $http) {
|
|
|
|
$scope.getManualSettleAnalysis = function () {
|
|
|
|
$scope.getContractAnalysis = function () {
|
|
|
|
|
|
|
|
$http.get('/manage/common/analysis/manualSettle/list').then(function (resp) {
|
|
|
|
$http.get('/manage/common/analysis/manualSettle/list').then(function (resp) {
|
|
|
|
$scope.contract_analysis = resp.data;
|
|
|
|
$scope.manual_settle_analysis = resp.data;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$scope.getContractAnalysis();
|
|
|
|
$scope.getManualSettleAnalysis();
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
|
|
return app;
|
|
|
|
return app;
|
|
|
|