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