Commit 587c3e7a authored by liboyang's avatar liboyang

新增页面

parent e5bdb999
...@@ -531,6 +531,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule']) ...@@ -531,6 +531,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}) })
}, },
analyseData:function(date,currPage,pageSize,success){ analyseData:function(date,currPage,pageSize,success){
if(date==''){
date=$filter("date")(new Date(), "yyyy-MM-dd");
}
console.log(date,currPage,pageSize)
$http({ $http({
method: 'GET', method: 'GET',
url: "../importXML/queryPersonXML"+urlTimeStamp(), url: "../importXML/queryPersonXML"+urlTimeStamp(),
...@@ -544,6 +548,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule']) ...@@ -544,6 +548,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}) })
}, },
analyseDataCount:function(date,success) { analyseDataCount:function(date,success) {
if(date==''){
date=$filter("date")(new Date(), "yyyy-MM-dd");
}
console.log(date)
$http({ $http({
method: 'GET', method: 'GET',
url: "../importXML/queryPersonXMLCount"+urlTimeStamp(), url: "../importXML/queryPersonXMLCount"+urlTimeStamp(),
......
...@@ -411,10 +411,10 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -411,10 +411,10 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
taskIdList:arr taskIdList:arr
} }
console.log(json) console.log(json)
// HttpService.updateTaskListProcess(json,function(data){ HttpService.updateTaskListProcess(json,function(data){
// $scope.searchTaskList(); $scope.searchTaskList();
// MessageService.showAlert("转出完成") MessageService.showAlert("转出完成")
// }) })
}else{ }else{
MessageService.showAlert("请选择转出的任务单") MessageService.showAlert("请选择转出的任务单")
} }
......
...@@ -100,12 +100,6 @@ ...@@ -100,12 +100,6 @@
<div style="padding-left: 27%;" ng-if="xmlPackageData.length>0"> <div style="padding-left: 27%;" ng-if="xmlPackageData.length>0">
<tm-pagination conf="paginationConf" class="ul"></tm-pagination> <tm-pagination conf="paginationConf" class="ul"></tm-pagination>
</div> </div>
<div class="row" style="padding:0 25px;" ng-if="postMsgDetail.length>0">
<div class="col-md-11"></div>
<div class="col-md-1" style="text-align: right;">
<button id="rev-btn" class="btn btn-primary" data-loading-text="Loading..." ng-click="PreviewMytableRotate()" type="button">打印</button>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -51,7 +51,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -51,7 +51,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
console.log($scope.paginationConf.totalItems) console.log($scope.paginationConf.totalItems)
}) })
HttpService.analyseData(uploadDate, $scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage, function (data) { HttpService.analyseData(uploadDate, $scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage, function (data) {
$scope.resultData = data; $scope.resultData = data.respData;
console.log($scope.resultData) console.log($scope.resultData)
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment