<a id="{{item.pt_id}}" href="#" ng-click="doDelete($event.target)">删除</a>
$scope.doDelete = function(target){
$scope.filterKeys.pt_id = $( target ).attr("id");
if($scope.filterKeys.pt_id!=undefined){
if(confirm("确定删除该信息?")){
$http.get(con.host + "delete", {params: $scope.filterKeys}).success(function (data) {
// alert(JSON.stringify(data));
$scope.doQuery();
})
}
}
}