码迷,mamicode.com
首页 > 编程语言 > 详细

html5+angularjs+bootstrap+springmvc+mybatis模糊查询Deme

时间:2016-06-15 01:38:43      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:


1、<label class="col-md-7 col-sm-7 control-label">公积金管理部名称:</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="部门姓名">
<button type="button" class="btn btn-primary" ng-click="queryList();">查询</button>
</div>


2、 /************查询列表****************/
$scope.queryList=function (){
$scope.transactionsFund.page=1;
$scope.transactionsFund.size=20;
DataCenter.find("TransactionsFund", $scope.transactionsFund);
}

/************列表返回*******************/

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模糊查询Deme

标签:

原文地址:http://www.cnblogs.com/shunzdd/p/5585989.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!