|
|
@@ -486,7 +486,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
templateUrl : "static/tpl/index/baseInfo/addPartners.html",
|
|
|
controller : 'AddPartnersCtrl'
|
|
|
}).state('baseInfo.partner_searchresult', {
|
|
|
- url : '/search?keyword=',
|
|
|
+ url : '/search',
|
|
|
templateUrl : "static/tpl/index/baseInfo/searchresult.html",
|
|
|
controller : 'EnterpriseSearchCtrl'
|
|
|
}).state('qc', {
|
|
|
@@ -13207,7 +13207,8 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
|
|
|
// 企业圈搜索结果
|
|
|
app.controller('EnterpriseSearchCtrl', ['$scope', 'getAccountUserSpace', 'ngTableParams', '$filter', 'BaseService', 'toaster', 'AddPartner', '$rootScope', function($scope, getAccountUserSpace, ngTableParams, $filter, BaseService, toaster, AddPartner, $rootScope) {
|
|
|
- BaseService.scrollBackToTop();
|
|
|
+ $scope.status = 'add';
|
|
|
+ BaseService.scrollBackToTop();
|
|
|
$scope.active = 'all';
|
|
|
$scope.agreedText = '全部';
|
|
|
$scope.dateZoneText = '一个月内';
|
|
|
@@ -13286,7 +13287,6 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- $scope.status = 'enList';
|
|
|
}]);
|
|
|
|
|
|
// 平台新增的询价单(指定一个供应商)
|
|
|
@@ -13489,5 +13489,11 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
+ // 企业圈查询收到待处理的数目
|
|
|
+ app.controller('RequestAmountCtrl', ['$scope', 'AddPartnerMyRequest', function($scope, AddPartnerMyRequest) {
|
|
|
+ AddPartnerMyRequest.requestAmount({}, function(data) {
|
|
|
+ $scope.requestTodo = data;
|
|
|
+ });
|
|
|
+ }]);
|
|
|
return app;
|
|
|
});
|