Commit 6934bb60 by 冷斌

fix bug

parent e6428d1d
......@@ -3,7 +3,7 @@
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a >认证申请</a></li>
<li class="active"><a >收款码列表</a></li>
</ul>
<form class="well form-search" method="post" action="{:U('Userauth/index2')}">
......@@ -18,7 +18,7 @@
<input type="text" name="start_time" class="js-date date" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">-
<input type="text" class="js-date date" name="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp;
关键字:
<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入会员ID、支付宝账号">
<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入会员ID">
<input type="submit" class="btn btn-primary" value="搜索">
</form>
<form method="post" class="js-ajax-form" >
......@@ -29,13 +29,8 @@
<tr>
<th align="center">会员ID</th>
<th>会员</th>
<th>支付宝账号</th>
<th>实名认证姓名</th>
<th>开户姓名</th>
<th>开户行</th>
<th>银行卡号</th>
<th>省份</th>
<th>城市</th>
<th>支付宝</th>
<th>微信</th>
<th>审核状态</th>
<th>提交时间</th>
<th>处理时间</th>
......@@ -49,13 +44,8 @@
<tr>
<td align="center">{$vo.uid}</td>
<td>{$vo['userinfo']['user_nicename']} </td>
<td>{$vo['account']}</td>
<td>{$vo['username']}</td>
<td>{$vo['name']}</td>
<td>{$vo['bank_name']}</td>
<td>{$vo['bank_card']}</td>
<td>{$vo['bank_province']}</td>
<td>{$vo['bank_city']}</td>
<td><a href="{$vo['alipay_pay']}" target="_blank"><img src="{$vo['alipay_pay']}" style="height:24px"></a></td>
<td><a href="{$vo['wx_pay']}" target="_blank"><img src="{$vo['wx_pay']}" style="height:24px"></a></td>
<td>{$status[$vo['status']]}</td>
<td>{$vo.addtime|date="Y-m-d H:i:s",###}</td>
<td>
......@@ -65,11 +55,8 @@
{$vo.uptime|date="Y-m-d H:i:s",###}
</if>
</td>
<td align="center">
<a href="{:U('Userauth/edit2',array('id'=>$vo['uid']))}" >编辑</a>
<!-- <a href="{:U('Cash/del',array('id'=>$vo['uid']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗?">删除</a> -->
<a href="{:U('Userauth/edit3',array('id'=>$vo['uid']))}" >审核</a>
</td>
</tr>
</foreach>
......
......@@ -278,11 +278,11 @@ class UserauthController extends AdminbaseController
}
if ($_REQUEST['keyword'] != '') {
$map['uid|account|name'] = ["like", "%" . $_REQUEST['keyword'] . "%"];
$map['uid'] = ["like", "%" . $_REQUEST['keyword'] . "%"];
$_GET['keyword'] = $_REQUEST['keyword'];
}
$auth = M("users_info_auth");
$auth = M("users_auth_pay");
$count = $auth->where($map)->count();
$page = $this->page($count, 20);
$lists = $auth->where($map)->order("addtime DESC")->limit($page->firstRow . ',' . $page->listRows)->select();
......@@ -290,7 +290,6 @@ class UserauthController extends AdminbaseController
foreach ($lists as $k => $v) {
$userinfo = M("users")->field("user_nicename")->where("id='$v[uid]'")->find();
$lists[$k]['userinfo'] = $userinfo;
}
$this->assign('lists', $lists);
......
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