Commit 587c3e7a authored by liboyang's avatar liboyang

新增页面

parent e5bdb999
......@@ -531,6 +531,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
})
},
analyseData:function(date,currPage,pageSize,success){
if(date==''){
date=$filter("date")(new Date(), "yyyy-MM-dd");
}
console.log(date,currPage,pageSize)
$http({
method: 'GET',
url: "../importXML/queryPersonXML"+urlTimeStamp(),
......@@ -544,6 +548,10 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
})
},
analyseDataCount:function(date,success) {
if(date==''){
date=$filter("date")(new Date(), "yyyy-MM-dd");
}
console.log(date)
$http({
method: 'GET',
url: "../importXML/queryPersonXMLCount"+urlTimeStamp(),
......
......@@ -411,10 +411,10 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
taskIdList:arr
}
console.log(json)
// HttpService.updateTaskListProcess(json,function(data){
// $scope.searchTaskList();
// MessageService.showAlert("转出完成")
// })
HttpService.updateTaskListProcess(json,function(data){
$scope.searchTaskList();
MessageService.showAlert("转出完成")
})
}else{
MessageService.showAlert("请选择转出的任务单")
}
......
......@@ -100,12 +100,6 @@
<div style="padding-left: 27%;" ng-if="xmlPackageData.length>0">
<tm-pagination conf="paginationConf" class="ul"></tm-pagination>
</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>
......
......@@ -51,7 +51,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
console.log($scope.paginationConf.totalItems)
})
HttpService.analyseData(uploadDate, $scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage, function (data) {
$scope.resultData = data;
$scope.resultData = data.respData;
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