1, <label class= "col-md-7 col-sm-7 Control-label" > Provident Fund Management Department name:</label>
<div class= "col-md-3 col-sm-3 form-inline" >
<input type= "text" class= "Form-control" id= "Fundname_search" ng-model= "Transactionsfund.fundname" data-
Provide= "Typeahead" placeholder= "department name" >
<button type= "button" class= "btn btn-primary" ng-click= "querylist ();" > Enquiry </button>
</div>
2,/************ query list ****************/
$scope. Querylist=function () {
$scope. transactionsfund.page=1;
$scope. transactionsfund.size=20;
Datacenter.find ("Transactionsfund", $scope. Transactionsfund);
}
/************ List return *******************/
Datacenter.addeventlistener ("Transactionsfundlist", function (e) {
Console.log ("xxxxxxxxxxxxxxxxxxx" +e.data);
$scope. transactionsfundlist = e.data.list;
$scope. pages = e.data.pages;
$scope. page = E.data.pagenum;
$scope. size= e.data.size;
$scope. total= e.data.total;
$scope. $apply ();
});
Html5+angularjs+bootstrap+springmvc+mybatis Fuzzy Query Deme