Forráskód Böngészése

不能添加审批人bug的处理

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7625 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 éve
szülő
commit
6309565075
1 módosított fájl, 10 hozzáadás és 10 törlés
  1. 10 10
      src/main/webapp/resources/js/index/app.js

+ 10 - 10
src/main/webapp/resources/js/index/app.js

@@ -9374,17 +9374,17 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
 			};
 			item.useruu  = data.useruu;
 			item.username = data.username;
-			if($scope.AppFlow.appNodes.length != 0){
-				for(var i = 0;i < $scope.AppFlow.appNodes.length; i++) {
-					if($scope.AppFlow.appNodes[i] == item.useruu) {
-						toaster.pop('info', '提示', '不能重复添加');
-					} else {
-						$scope.AppFlow.appNodes.push(item);
-					}
-				}
-			} else {
+//			if($scope.AppFlow.appNodes.length != 0){
+//				for(var i = 0;i < $scope.AppFlow.appNodes.length; i++) {
+//					if($scope.AppFlow.appNodes[i] == item.useruu) {
+//						toaster.pop('info', '提示', '不能重复添加');
+//					} else {
+//						$scope.AppFlow.appNodes.push(item);
+//					}
+//				}
+//			} else {
 				$scope.AppFlow.appNodes.push(item);
-			}
+//			}
 			
 		}