Commit e8d4b9fe authored by duxinyuan's avatar duxinyuan

新增刷新

parent 7f96e31d
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<li> <li>
<a href="javascript:;">商铺收藏</a> <a href="javascript:;">商铺收藏</a>
</li> </li>
<li> <span class="btn btn-info btn3 " id="fresh_btn">刷新</span></li>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="table-responsive"> <div class="table-responsive">
......
...@@ -108,6 +108,12 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home ...@@ -108,6 +108,12 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
}); });
}); });
_doc.on('click', '#fresh_btn', function(e) {
house.pageNo=1;
house.getList(1);
});
// 部门 门店 二级联动 // 部门 门店 二级联动
house.getDistrict(function() { house.getDistrict(function() {
_doc.on('input', '#district_id, #district_id2', function() { _doc.on('input', '#district_id, #district_id2', function() {
......
...@@ -91,7 +91,6 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home ...@@ -91,7 +91,6 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
}); });
_doc.on('click', '#fresh_btn', function(e) { _doc.on('click', '#fresh_btn', function(e) {
alert("123");
user.pageNo=1; user.pageNo=1;
user.getList(1); user.getList(1);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment