Ver Fonte

密保和邮箱未设置提醒弹框

hangb há 7 anos atrás
pai
commit
9b75d95d77

+ 14 - 15
src/main/webapp/resources/js/usercenter/controllers/forstore/order_pay_ctrl.js

@@ -582,6 +582,20 @@ define(['app/app'], function(app) {
           }, function(){
           });
         };
+        // 安全级别模态框
+        app.register.controller('homeModalCtrl', ['$rootScope', '$scope',  '$modalInstance', 'toaster', '$http', 'ShippingAddress','$state', function($rootScope, $scope, $modalInstance, toaster, $http, ShippingAddress,$state){
+            $rootScope.$on('$stateChangeStart',
+                function(event, toState, toParams, fromState, fromParams){
+                    $modalInstance.dismiss();
+                })
+            $scope.goLink = function(op){
+                $state.go('account_manager',{op:op});
+                $modalInstance.dismiss('cancel');
+            }
+            $scope.cancel = function () {
+                $modalInstance.dismiss('cancel');
+            }
+        }]);
 
 		//确认付款
 		$scope.imperfect = false;//暂不完善
@@ -1288,19 +1302,4 @@ define(['app/app'], function(app) {
 		}
 
 	}]);
-	// 安全级别模态框
-    app.register.controller('homeModalCtrl', ['$rootScope', '$scope',  '$modalInstance', 'toaster', '$http', 'ShippingAddress','$state', function($rootScope, $scope, $modalInstance, toaster, $http, ShippingAddress,$state){
-        $rootScope.$on('$stateChangeStart',
-            function(event, toState, toParams, fromState, fromParams){
-                $modalInstance.dismiss();
-            })
-        $scope.goLink = function(op) {
-            $state.go('vendor_account_management',{op:op});
-            $modalInstance.dismiss('cancel');
-        }
-
-        $scope.cancel = function () {
-            $modalInstance.dismiss('cancel');
-        }
-    }]);
 });