|
@@ -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) {
|