|
|
@@ -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);
|
|
|
- }
|
|
|
+// }
|
|
|
|
|
|
}
|
|
|
|