|
|
@@ -1000,6 +1000,13 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 立即查看
|
|
|
+ */
|
|
|
+ $scope.view = function(name) {
|
|
|
+ $rootScope.vendName = name;
|
|
|
+ window.location.hash = "#/baseInfo/myRquest";
|
|
|
+ }
|
|
|
}]);
|
|
|
|
|
|
app.controller('InviteCtrl', ['$scope', 'toaster', '$modalInstance', 'enname', function($scope, toaster, $modalInstance, enname) {
|
|
|
@@ -10434,7 +10441,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
/**
|
|
|
* 建立合作关系申请
|
|
|
*/
|
|
|
- app.controller('AddPartnerRequestCtrl', ['$scope', 'AddPartnerMyRequest', 'toaster', 'BaseService', 'ngTableParams', 'AddPartner', '$timeout', function($scope, AddPartnerMyRequest, toaster, BaseService, ngTableParams, AddPartner, $timeout) {
|
|
|
+ app.controller('AddPartnerRequestCtrl', ['$scope', 'AddPartnerMyRequest', 'toaster', 'BaseService', 'ngTableParams', 'AddPartner', '$timeout', '$rootScope', function($scope, AddPartnerMyRequest, toaster, BaseService, ngTableParams, AddPartner, $timeout, $rootScope) {
|
|
|
BaseService.scrollBackToTop();
|
|
|
$scope.status = "partner";
|
|
|
$scope.active = 'all';
|
|
|
@@ -10478,6 +10485,11 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
$scope.loading = true;
|
|
|
var pageParams = params.url();
|
|
|
pageParams.keyword = $scope.keyword;
|
|
|
+ if($rootScope.vendName) {
|
|
|
+ pageParams.keyword = $rootScope.vendName;
|
|
|
+ $scope.keyword = $rootScope.vendName;
|
|
|
+ $rootScope.vendName = null;
|
|
|
+ }
|
|
|
$scope.tip = $scope.keyword;
|
|
|
getService()[getRequestStatus($scope.active)].call(null, BaseService.parseParams(pageParams), function(page){
|
|
|
$scope.loading = false;
|
|
|
@@ -13822,7 +13834,14 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 立即查看
|
|
|
+ */
|
|
|
+ $scope.view = function(name) {
|
|
|
+ $rootScope.vendName = name;
|
|
|
+ window.location.hash = "#/baseInfo/myRquest";
|
|
|
+ }
|
|
|
}]);
|
|
|
|
|
|
// 平台新增的询价单(指定一个供应商)
|