| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -128,6 +128,7 @@ app.factory('common', function($http, auth, $routeParams){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            openid: auth.openid()
 | 
					 | 
					 | 
					 | 
					            openid: auth.openid()
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        };
 | 
					 | 
					 | 
					 | 
					        };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        //回复按钮禁用
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        data.disabled = true;
 | 
					 | 
					 | 
					 | 
					        data.disabled = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $http({
 | 
					 | 
					 | 
					 | 
					        $http({
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -136,6 +137,7 @@ app.factory('common', function($http, auth, $routeParams){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            data: userInfo
 | 
					 | 
					 | 
					 | 
					            data: userInfo
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }).then(function successCallback(response) {
 | 
					 | 
					 | 
					 | 
					        }).then(function successCallback(response) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            alert("提交成功");
 | 
					 | 
					 | 
					 | 
					            alert("提交成功");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            //数据提交完成,回复按钮启用
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            data.disabled = false;
 | 
					 | 
					 | 
					 | 
					            data.disabled = false;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if(typeof cb === 'function'){
 | 
					 | 
					 | 
					 | 
					            if(typeof cb === 'function'){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                cb();
 | 
					 | 
					 | 
					 | 
					                cb();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -402,6 +404,21 @@ app.directive('textAutoHeight', function($timeout){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					});
 | 
					 | 
					 | 
					 | 
					});
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					app.directive('inputAuto',function(){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    return{
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        restrict: 'A',
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        scope: {},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        link: function(scope, element){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                var copyContainer = element.parent().children().eq(0);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                element.on('input',function(){
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    copyContainer.html(element[0].value);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    var textHeight = copyContainer[0].scrollHeight;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    element.css('height', textHeight + 'px');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					});
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					app.directive('loadingSpinner', function ($http) {
 | 
					 | 
					 | 
					 | 
					app.directive('loadingSpinner', function ($http) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return {
 | 
					 | 
					 | 
					 | 
					    return {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        restrict: 'A',
 | 
					 | 
					 | 
					 | 
					        restrict: 'A',
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -459,7 +476,7 @@ app.config(['$routeProvider',"$httpProvider",function ($routeProvider, $httpProv
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            redirectTo: '/activities'
 | 
					 | 
					 | 
					 | 
					            redirectTo: '/activities'
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        });
 | 
					 | 
					 | 
					 | 
					        });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        //监听异步请求
 | 
					 | 
					 | 
					 | 
					        //监听异步请求,实现加载中显隐标记
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $httpProvider.interceptors.push(function ($q, $rootScope) {
 | 
					 | 
					 | 
					 | 
					        $httpProvider.interceptors.push(function ($q, $rootScope) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if ($rootScope.activeCalls == undefined) {
 | 
					 | 
					 | 
					 | 
					            if ($rootScope.activeCalls == undefined) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                $rootScope.activeCalls = 0;
 | 
					 | 
					 | 
					 | 
					                $rootScope.activeCalls = 0;
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |