优化检索

master
chenzhi 4 years ago
parent 24100fe0a9
commit 587d7913ca

@ -143,7 +143,7 @@ class CompanyGameRatioController extends AdminController
->join("JOIN tab_promote_company p ON ( m.company_id = p.id".$pwhere.")")
->where($where)->find()['count'];
$this->assign('data', $dbres);
$page = set_pagination($count, $row);
$page = set_pagination($count, $row,$params);
if($page) {
$this->assign('_page', $page);
}
@ -317,7 +317,7 @@ class CompanyGameRatioController extends AdminController
->join("JOIN tab_promote_company p ON ( m.company_id = p.id".$pwhere.")")
->where($where)->find()['count'];
$this->assign('data', $dbres);
$page = set_pagination($count, $row);
$page = set_pagination($count, $row,$params);
if($page) {
$this->assign('_page', $page);
}

@ -107,7 +107,7 @@ class CompanyRelationController extends AdminController
$count = $this->DBModel->field("count(id) count")->where($where)->find()['count'];
$this->assign('data', $dbres);
$page = set_pagination($count, $row);
$page = set_pagination($count, $row,$params);
if($page) {
$this->assign('_page', $page);
}
@ -223,7 +223,7 @@ class CompanyRelationController extends AdminController
$count = $this->DBlogModel->field("count(id) count")->where($where)->find()['count'];
$this->assign('data', $dbres);
$page = set_pagination($count, $row);
$page = set_pagination($count, $row,$params);
if($page) {
$this->assign('_page', $page);
}

@ -180,7 +180,7 @@ class CompanyStatementController extends ThinkController
// dd($count);
$parameter['p'] = $page;
$parameter['row'] = $row;
$page = set_pagination($count['count'], $row, $parameter);
$page = set_pagination($count['count'], $row, $params);
if ($page) {
$this->assign('_page', $page);
}

@ -83,9 +83,9 @@ class CompanyStatementLackController extends ThinkController
$count = $this->DBModel->field("count(id) count,sum(statement_money) statement_money")->where($map)->find();
// dd($count);
$parameter['p'] = $page;
$parameter['row'] = $row;
$page = set_pagination($count['count'], $row, $parameter);
$params['p'] = $page;
$params['row'] = $row;
$page = set_pagination($count['count'], $row, $params);
if ($page) {
$this->assign('_page', $page);
}

@ -165,9 +165,9 @@ class CompanyStatementPoolController extends ThinkController
}
$count = $this->DBModel->field("count(id) count,SUM(statement_money) as statement_money")->where($map)->find();
// dd($count);
$parameter['p'] = $page;
$parameter['row'] = $row;
$page = set_pagination($count['count'], $row, $parameter);
$params['p'] = $page;
$params['row'] = $row;
$page = set_pagination($count['count'], $row, $params);
if ($page) {
$this->assign('_page', $page);
}

@ -252,9 +252,6 @@
</div>
<div class="page">
<if condition="$role_export_check eq true ">
<!-- <a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a> -->
</if>
{$_page|default=''}
</div>
<div style="width: 100vw;height: 100vh;padding: 0;position: absolute;top: 0;z-index: 9999;display: none;" id="creat_msg">

Loading…
Cancel
Save