Browse Source

去除重复提示

hejq 8 years ago
parent
commit
6309e943bb
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/main/webapp/resources/js/index/app.js

+ 1 - 5
src/main/webapp/resources/js/index/app.js

@@ -5730,7 +5730,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                         });
                         });
 
 
                         modalInstance.result.then(function (data) {
                         modalInstance.result.then(function (data) {
-                            toaster.pop('success', '报价成功');
                             $scope.tableParams.reload();
                             $scope.tableParams.reload();
                         }, function () {
                         }, function () {
 
 
@@ -5776,7 +5775,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                 });
                 });
 
 
                 modalInstance.result.then(function (data) {
                 modalInstance.result.then(function (data) {
-                    toaster.pop('success', '报价成功');
                     $scope.tableParams.reload();
                     $scope.tableParams.reload();
                 }, function () {
                 }, function () {
 
 
@@ -6019,8 +6017,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                     });
                     });
 
 
                     modalInstance.result.then(function () {
                     modalInstance.result.then(function () {
-                        toaster.pop('success', '报价成功');
-                        window.location.reload();
+                        loadData();
                     }, function () {
                     }, function () {
 
 
                     });
                     });
@@ -24318,7 +24315,6 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                         });
                         });
 
 
                         modalInstance.result.then(function (data) {
                         modalInstance.result.then(function (data) {
-                            toaster.pop('success', '报价成功');
                             $scope.tableParams.reload();
                             $scope.tableParams.reload();
                         }, function () {
                         }, function () {