123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>代理商期权发放</title>
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="format-detection" content="telephone=no">
- <link rel="stylesheet" type="text/css" href="../script/lib/layui/css/layui.css" />
- <script src="../script/lib/jquery/jquery.min.js"></script>
- <script src="../script/lib/layui/layui.js"></script>
- <script src="../script/lib/echarts/echarts.common.min.js"></script>
- <script><{Dever::script()}></script>
- <script src="../script/dever/core.js"></script>
- <style>
- .dever-upload-pic
- {
- width:100px;
- }
- h5 {
- margin-bottom: 10px;
- }
- td {
- color: black;
- }
- </style>
- </head>
- <body>
- <div class="layui-container">
- <div class="layui-card">
- <blockquote class="layui-elem-quote"><input type="text" value="<{$start}> ~ <{$end}>" autocomplete="off" id="date" class="layui-input" style="width: auto;display: inline;" placeholder="选择日期"><a href="javascript:;" class="layui-btn" id="search">搜索</a><a href="javascript:;" class="layui-btn" id="excel">数据导出</a></blockquote>
- <!-- <div class="layui-card-header" style="font-size: 20px"><{$day['time']}></div> -->
-
- <div class="layui-card-body">
-
-
-
- <table class="table layui-table layui-table-body" id="table">
- <thead id="list-thead">
- <tr>
- <th data-priority="1">用户姓名</th>
- <th data-priority="1">手机号</th>
- <th data-priority="1">身份证号</th>
- <th data-priority="1">角色</th>
- <th data-priority="1">完成团队业绩</th>
- <th data-priority="1">完成直推创V</th>
- <th data-priority="1">完成直推创客</th>
- <th data-priority="1">总收入</th>
- </tr>
- </thead>
- <tbody>
- <{if(isset($data)):}>
- <{foreach($data as $k => $v):}>
- <tr>
- <td><{$v['name']}></td>
- <td><{$v['mobile']}></td>
- <td><{$v['idcard']}></td>
- <td><{$v['role_name']}></td>
- <td><{$v['group_sell']}></td>
- <td><{$v['cv_num']}></td>
- <td><{$v['ck_num']}></td>
- <td><{$v['cash']['total']}></td>
- </tr>
- <{endforeach}>
- <{endif}>
- </tbody>
- </table>
- <div><{$page}></div>
- </div>
- </div>
- </div>
- </div>
-
- </div>
- <script>
- layui.use(['form','element', 'layer', 'jquery', 'laydate'], function(){
- var form = layui.form;
- var laydate = layui.laydate;
- laydate.render({
- elem: '#date',
- range: '~'
- });
- });
- function search()
- {
- var date = $('#date').val();
- if (date) {
- var s = date.split(' ~ ');
- } else {
- var s = [];
- s[0] = '';
- s[1] = '';
- }
- location.href = config.host + 'lib/manage.option_grant&start=' + s[0] + '&end=' + s[1];
- }
- $('#search').click(function() {
- search();
- })
- function excel()
- {
- var date = $('#date').val();
- if (date) {
- var s = date.split(' ~ ');
- } else {
- var s = [];
- s[0] = '';
- s[1] = '';
- }
- location.href = config.host + 'lib/manage.out_option_grant&start=' + s[0] + '&end=' + s[1];
- }
- $('#excel').click(function() {
- excel();
- })
- </script>
- </body>
- </html>
|