$scope.selectIds=[];

 

$scope.updateSelection = function($event, id) {

if($event.target.checked){

$scope.selectIds.push( id);

}else{

var idx = $scope.selectIds.indexOf(id);

         $scope.selectIds.splice(idx, 1);

}

}  

 

$scope.dele=function(){

 

$http.get('../brand/delete.do?ids='+$scope.selectIds).success(

function(response){

if(response.success){

$scope.reloadList();

}

}

);

}

相关文章:

  • 2021-06-12
  • 2022-01-11
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-14
  • 2021-08-05
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
相关资源
相似解决方案