Quellcode durchsuchen

买家发布询价跳转问题

huangb vor 7 Jahren
Ursprung
Commit
ffbc41e5ec
1 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  1. 4 5
      src/main/webapp/resources/js/index/app.js

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

@@ -4936,10 +4936,9 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                             $scope.loading = false;
                             $scope.loading = false;
                             if (data.success) {
                             if (data.success) {
                                 toaster.pop('success', '提示', data.success);
                                 toaster.pop('success', '提示', data.success);
-                                // $timeout(function () {
-                                //     $rootScope.saleInquiryActive = 'todoAll';
-                                //     $state.go('sale.pubinquiry');
-                                // }, 500);
+                                $timeout(function () {
+                                    window.location.hash = "#/purc/publicInquiry";
+                                }, 500);
                             }
                             }
                             if (data.error) {
                             if (data.error) {
                                 toaster.pop('error', '提示', data.error);
                                 toaster.pop('error', '提示', data.error);
@@ -4968,7 +4967,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                         if (data.success) {
                         if (data.success) {
                             toaster.pop('success', '提示', data.success);
                             toaster.pop('success', '提示', data.success);
                             $timeout(function () {
                             $timeout(function () {
-                                window.location.hash = "#/sale/pubinquiry";
+                                window.location.hash = "#/purc/publicInquiry";
                             }, 500);
                             }, 500);
                         }
                         }
                         if (data.error) {
                         if (data.error) {