Commit 6855d053 authored by dahai's avatar dahai

Merge remote-tracking branch 'origin/dev' into dev

parents c70f66ab 55832854
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
</a> </a>
</li> </li>
<li class="dropdown user user-menu"> <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> </li>
</ul> </ul>
</div> </div>
......
...@@ -551,6 +551,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule']) ...@@ -551,6 +551,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
url: "../TaskList/queryHistoryTaskAtAuxiliary"+urlTimeStamp(), url: "../TaskList/queryHistoryTaskAtAuxiliary"+urlTimeStamp(),
params:{ params:{
process:$rootScope.loginData.roleList[0].process-1, process:$rootScope.loginData.roleList[0].process-1,
workGroup:$rootScope.loginData.workGroup,
date:date date:date
} }
}).then(function successCallback(response) { }).then(function successCallback(response) {
...@@ -564,6 +565,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule']) ...@@ -564,6 +565,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
url: "../TaskList/queryHistoryTaskAtAuxiliary"+urlTimeStamp(), url: "../TaskList/queryHistoryTaskAtAuxiliary"+urlTimeStamp(),
params:{ params:{
process:$rootScope.loginData.roleList[0].process, process:$rootScope.loginData.roleList[0].process,
workGroup:$rootScope.loginData.workGroup,
date:date date:date
} }
}).then(function successCallback(response) { }).then(function successCallback(response) {
...@@ -666,7 +668,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule']) ...@@ -666,7 +668,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success(response.data) success(response.data)
}) })
}, },
getFjTaskListByProcess:function(success){ getDxrTaskListByProcess:function(success){
$http({ $http({
method: 'GET', method: 'GET',
url: "../TaskList/queryByCountyAtAuxiliaryState3"+urlTimeStamp(), url: "../TaskList/queryByCountyAtAuxiliaryState3"+urlTimeStamp(),
...@@ -678,6 +680,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule']) ...@@ -678,6 +680,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success(response.data) 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) { getPingTaskListByProcess:function(success) {
$http({ $http({
method: 'GET', method: 'GET',
......
...@@ -420,7 +420,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -420,7 +420,7 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope.searchTaskList = function(){ $scope.searchTaskList = function(){
$scope.selected = []; $scope.selected = [];
$scope.isHistory=0; $scope.isHistory=0;
HttpService.getFjTaskListByProcess(function(data){ HttpService.getDxrTaskListByProcess(function(data){
$scope.cycleSheetData = data; $scope.cycleSheetData = data;
for(var i=0;i<$scope.cycleSheetData.length;i++){ for(var i=0;i<$scope.cycleSheetData.length;i++){
if(i==$scope.currentTab){ 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