|
|
@@ -547,7 +547,7 @@ define(['app/app'], function(app) {
|
|
|
// sleep(1500); //当前方法暂停1.5秒
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('success', '成功', '发布成功');
|
|
|
- window.location.hash = '#/purc/tender';
|
|
|
+ window.location.href = 'user#/tender';
|
|
|
}, function (response) {
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('error', '发布失败', response.data);
|
|
|
@@ -559,7 +559,7 @@ define(['app/app'], function(app) {
|
|
|
$scope.loading = false;
|
|
|
// sleep(1500); //当前方法暂停1.5秒 给更新索引留点时间
|
|
|
toaster.pop('success', '成功', '保存成功');
|
|
|
- window.location.hash = '#/purc/tender';
|
|
|
+ window.location.href = 'user#/tender';
|
|
|
}, function (response) {
|
|
|
$scope.loading = false;
|
|
|
toaster.pop('error', '保存失败', response.data);
|
|
|
@@ -580,7 +580,7 @@ define(['app/app'], function(app) {
|
|
|
$scope.deleteThis = function (id) {
|
|
|
PurcTender.deleteOne({id: id}, {}, function (data) {
|
|
|
toaster.pop('info', '提示', '删除成功');
|
|
|
- window.location.hash = '#/purc/tender';
|
|
|
+ window.location.href = 'user#/tender';
|
|
|
});
|
|
|
};
|
|
|
|