Commit 55832854 authored by liboyang's avatar liboyang

修改历史

parent c5f8dc88
......@@ -120,7 +120,7 @@
</a>
</li>
<li class="dropdown user user-menu">
<a ng-click="logout()" class="btn btn-flat" style="background-color: #0c6ba2;border: 0">退出当前用户</a>
<a ng-click="logout()" class="btn btn-flat" style="background-color: #0c6ba2;border: 0"><i class="glyphicon glyphicon-off"></i>退出当前用户</a>
</li>
</ul>
</div>
......
......@@ -551,6 +551,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
url: "../TaskList/queryHistoryTaskAtAuxiliary"+urlTimeStamp(),
params:{
process:$rootScope.loginData.roleList[0].process-1,
workGroup:$rootScope.loginData.workGroup,
date:date
}
}).then(function successCallback(response) {
......@@ -564,6 +565,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
url: "../TaskList/queryHistoryTaskAtAuxiliary"+urlTimeStamp(),
params:{
process:$rootScope.loginData.roleList[0].process,
workGroup:$rootScope.loginData.workGroup,
date:date
}
}).then(function successCallback(response) {
......@@ -666,7 +668,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success(response.data)
})
},
getFjTaskListByProcess:function(success){
getDxrTaskListByProcess:function(success){
$http({
method: 'GET',
url: "../TaskList/queryByCountyAtAuxiliaryState3"+urlTimeStamp(),
......@@ -678,6 +680,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success(response.data)
})
},
getFjTaskListByProcess:function(success){
$http({
method: 'GET',
url: "../TaskList/queryByCountyAtAuxiliaryState4"+urlTimeStamp(),
params:{
process:$rootScope.loginData.roleList[0].process
}
}).then(function successCallback(response) {
success(response.data)
})
},
getPingTaskListByProcess:function(success) {
$http({
method: 'GET',
......
......@@ -420,7 +420,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope.searchTaskList = function(){
$scope.selected = [];
$scope.isHistory=0;
HttpService.getFjTaskListByProcess(function(data){
HttpService.getDxrTaskListByProcess(function(data){
$scope.cycleSheetData = data;
for(var i=0;i<$scope.cycleSheetData.length;i++){
if(i==$scope.currentTab){
......
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