Commit da7cbc08 authored by zw's avatar zw

看铺数量

parent 6b7441bf
......@@ -39,7 +39,7 @@ class LookShop extends Basic
);*/
$pageNo = empty($params['page_no']) ? 1 : $params['page_no'];
$pageSize = empty($params['page_size']) ? 15 : $params['page_size'];
$pageSize = empty($params['page_size']) ? 25 : $params['page_size'];
$condition = [];
if (!empty($params["start_time"]) && !empty($params["end_time"])) {
......
......@@ -44,7 +44,7 @@ class TLookShopModel extends Model
->where($condition)
->page($pageNo)
->limit($pageSize)
->order("look_time desc")
//->order("id desc")
->select();
}
public function getListCount($condition, $field)
......
......@@ -2,7 +2,7 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
shoplog = {
pageNo: 1,
/*第几页*/
pageSize: 10,
pageSize: 25,
/*每页显示多少条*/
id: '',
house_id: '',
......
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