Commit da7cbc08 authored by zw's avatar zw

看铺数量

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