|
|
|
@ -19,10 +19,12 @@ define(['angular'], function (angular) {
|
|
|
|
|
controller: 'manualSettleCtrl'
|
|
|
|
|
})
|
|
|
|
|
}]);
|
|
|
|
|
app.controller('contractAnalysisCtrl', ['$scope', '$http', '$state', '$filter', 'commonDialog', function ($scope, $http, $state, $filter, commonDialog) {
|
|
|
|
|
app.controller('contractAnalysisCtrl', ['$scope', '$http', function ($scope, $http) {
|
|
|
|
|
$scope.pagination = {};
|
|
|
|
|
$scope.params = {};
|
|
|
|
|
$scope.getContractAnalysis = function (page) {
|
|
|
|
|
var params = {};
|
|
|
|
|
var params = angular.copy($scope.params);
|
|
|
|
|
alert(params.client_moniker);
|
|
|
|
|
params.page = page || $scope.pagination.page || 1;
|
|
|
|
|
$http.get('/manage/common/analysis/contract/list', {params: params}).then(function (resp) {
|
|
|
|
|
$scope.contract = resp.data.data;
|
|
|
|
|