Commit 248c5c92 by 冷斌

update

parent f06a7be6
...@@ -11,24 +11,25 @@ ...@@ -11,24 +11,25 @@
<select class="select_2" name="status"> <select class="select_2" name="status">
<option value="">全部</option> <option value="">全部</option>
<option value="0" <if condition="$formget.status eq '0'">selected</if> >处理中</option> <option value="0" <if condition="$formget.status eq '0'">selected</if> >处理中</option>
<option value="1" <if condition="$formget.status eq '1'">selected</if> >审核成功</option> <option value="1" <if condition="$formget.status eq '1'">selected</if> >审核成功</option>
<option value="2" <if condition="$formget.status eq '2'">selected</if> >审核失败</option> <option value="2" <if condition="$formget.status eq '2'">selected</if> >审核失败</option>
</select> </select>
提交时间: 提交时间:
<input type="text" name="start_time" class="js-date date" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">- <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" 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="搜索"> <input type="submit" class="btn btn-primary" value="搜索">
</form> <input type="button" class="btn btn-primary" style="background-color: #1dccaa;" value="导出" onclick="form1.action='{:U('Userauth/export')}';form1.submit();"/>
</form>
<form method="post" class="js-ajax-form" > <form method="post" class="js-ajax-form" >
<table class="table table-hover table-bordered"> <table class="table table-hover table-bordered">
<thead> <thead>
<tr> <tr>
<th align="center">会员ID</th> <th align="center">会员ID</th>
<th>会员</th> <th>会员</th>
<th>真实姓名</th> <th>真实姓名</th>
<th>手机号码</th> <th>手机号码</th>
<th>身份证号</th> <th>身份证号</th>
...@@ -44,23 +45,23 @@ ...@@ -44,23 +45,23 @@
<foreach name="lists" item="vo"> <foreach name="lists" item="vo">
<tr> <tr>
<td align="center">{$vo.uid}</td> <td align="center">{$vo.uid}</td>
<td>{$vo['userinfo']['user_nicename']} </td> <td>{$vo['userinfo']['user_nicename']} </td>
<td>{$vo['real_name']}</td> <td>{$vo['real_name']}</td>
<td>{$vo['mobile']}</td> <td>{$vo['mobile']}</td>
<td>{$vo['cer_no']}</td> <td>{$vo['cer_no']}</td>
<td>{$status[$vo['status']]}</td> <td>{$status[$vo['status']]}</td>
<td>{$vo.addtime|date="Y-m-d H:i:s",###}</td> <td>{$vo.addtime|date="Y-m-d H:i:s",###}</td>
<td> <td>
<if condition="$vo['status'] eq '0'" > <if condition="$vo['status'] eq '0'" >
处理中 处理中
<else/> <else/>
{$vo.uptime|date="Y-m-d H:i:s",###} {$vo.uptime|date="Y-m-d H:i:s",###}
</if> </if>
</td> </td>
<td align="center"> <td align="center">
<a href="{:U('Userauth/edit',array('id'=>$vo['uid']))}" >编辑</a> <a href="{:U('Userauth/edit',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('Cash/del',array('id'=>$vo['uid']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗?">删除</a> -->
</td> </td>
</tr> </tr>
...@@ -73,4 +74,4 @@ ...@@ -73,4 +74,4 @@
</div> </div>
<script src="__PUBLIC__/js/common.js"></script> <script src="__PUBLIC__/js/common.js"></script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -57,6 +57,10 @@ class UserauthController extends AdminbaseController ...@@ -57,6 +57,10 @@ class UserauthController extends AdminbaseController
$this->display(); $this->display();
} }
function export() {
echo 1; die;
}
function del() function del()
{ {
$id = intval($_GET['id']); $id = intval($_GET['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