123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>逸管FEP</title>
- <link rel="stylesheet" href="{__MOBILE__}/css/base.css">
- <link rel="stylesheet" href="{__MOBILE__}/css/contacts.css">
- <link rel="stylesheet" href="{__MOBILE__}/layui/css/layui.css">
- <link rel="stylesheet" href="{__MOBILE__}/layui-v2.8.18-rc.1/layui-v2.8.18-rc.1/layui/css/layui.css">
- <style>
- table {
- display:block;
- overflow-y:scroll;
- -webkit-overflow-scrolling: touch; // 为了滚动顺畅
- }
- td {
- width: auto;
- }
- table tbody::-webkit-scrollbar {
- display: none; // 隐藏滚动条,不需要可取消
- }
- table thead, table tbody tr {
- display:table;
- width:400%;
- table-layout:fixed;//fixed:固定表格布局
- }
- </style>
- </head>
- <body>
- <div class="top">
- <a href="{:url('mobile/index/main')}">
- <div><img src="{__MOBILE__}/img/left.png" alt="" style="width: 5vw;"></div>
- </a>
- <div>数据统计</div>
- <!-- 下面是个小妙招 -->
- <div style="width: 5vw;"></div>
- </div>
- <div class="contacts" style="margin-top: 13vw !important;">
- <div class="layui-tab layui-tab-brief">
- {if $unit_type == 2}
- <ul class="layui-tab-title">
- <a href="{:url('mobile/index/data_statistics')}">
- <li>数据统计</li>
- </a>
- <a href="{:url('mobile/index/data_statistics_member')}">
- <li class="layui-this">成员统计</li>
- </a>
- </ul>
- {/if}
- </div>
- <div class="sreach">
- <form class="layui-form">
- <div class="layui-input-wrap" style="display: flex;">
- <input type="text" class="layui-input" id="ID-laydate-type-year" placeholder="yyyy" name="today">
- <span>
- <button style="width: 10vw;height: 4.6vh;border: none; " lay-filter="webform">
- <img src="{__MOBILE__}/img/search.png" alt="" style="width: 100%;height: 100%;">
- </button>
- </span>
- </div>
- </form>
- </div>
- </div>
- <div class="person">
- <div><img src="{__MOBILE__}/img/line.png" alt="" style="width: 5vw;height: 4vw;"></div>
- <div>
- <div class="person-content">
- <table class="layui-table">
- <thead>
- <tr>
- <th>姓名</th>
- <th>项目总数</th>
- <th>1月</th>
- <th>2月</th>
- <th>3月</th>
- <th>4月</th>
- <th>5月</th>
- <th>6月</th>
- <th>7月</th>
- <th>8月</th>
- <th>9月</th>
- <th>10月</th>
- <th>11月</th>
- <th>12月</th>
- </tr>
- </thead>
- {volist name="cost_month_member" id="vo"}
- <tr>
- <th>{$vo.review_head_name}</th>
- <th>{$vo.project_number}</th>
- <th>{$vo.month_1}</th>
- <th>{$vo.month_2}</th>
- <th>{$vo.month_3}</th>
- <th>{$vo.month_4}</th>
- <th>{$vo.month_5}</th>
- <th>{$vo.month_6}</th>
- <th>{$vo.month_7}</th>
- <th>{$vo.month_8}</th>
- <th>{$vo.month_9}</th>
- <th>{$vo.month_10}</th>
- <th>{$vo.month_11}</th>
- <th>{$vo.month_12}</th>
- </tr>
- {/volist}
- </table>
- </div>
- </div>
- </div>
- <div class="person">
- <div><img src="{__MOBILE__}/img/line.png" alt="" style="width: 5vw;height: 4vw;"></div>
- <div>
- <div class="person-content">
- <table class="layui-table">
- <thead>
- <tr>
- <th>姓名</th>
- <th>项目总数</th>
- <th>作业中</th>
- <th>归档中</th>
- <th>已归档</th>
- <th>退审中</th>
- <th>已退审</th>
- <th>送审总额</th>
- <th>审定总额</th>
- </tr>
- </thead>
- {volist name="cost_project_member" id="vo"}
- <tr>
- <th>{$vo.review_head_name}</th>
- <th>{$vo.project_number}</th>
- <th>{$vo.count_status_5}</th>
- <th>{$vo.count_status_6}</th>
- <th>{$vo.count_status_8}</th>
- <th>{$vo.count_status_7}</th>
- <th>{$vo.count_status_9}</th>
- <th>{$vo.all_sent_amount}</th>
- <th>{$vo.all_authorize_amount}</th>
- </tr>
- {/volist}
- </table>
- </div>
- </div>
- </div>
- <script src="{__DATA__}/css/js/jquery.js"></script>
- <script src="{__MOBILE__}/layui-v2.8.18-rc.1/layui-v2.8.18-rc.1/layui/layui.js"></script>
- <script src="{__GOUGU__}/gougu/gouguInit.js"></script>
- <script>
- const moduleInit = ['tool', 'oaTool'];
- function getQuerys(e) {
- if (!e) return "";
- var t = {},
- r = [],
- n = "",
- a = "";
- try {
- var i = [];
- if (e.indexOf("?") >= 0 && (i = e.substring(e.indexOf("?") + 1, e.length).split("&")), i.length > 0) for (var o in i) n = (r = i[o].split("="))[0],
- a = r[1],
- t[n] = a
- } catch (s) {
- t = {}
- }
- return t
- }
- let membername = getQuerys(window.location.href).membername;
- let datetime = getQuerys(window.location.href).today;
- if (!datetime) {
- datetime = 2024;
- }
- if (!membername) {
- membername = '';
- }
-
-
- $.ajax({
- url: '/admin/datastat.datastat/cost_name_member?today='+ datetime + '&name=' + membername,
- async: false,
- success: function (res) {
- if (!res) {
- layer.msg('系统错误,请检查网络或联系管理员!');
- }
- echarts_3(res);
- },
- error: function () {
- layer.msg('系统错误,请检查网络或联系管理员!');
- }
- })
- function gouguInit() {
- var table = layui.table, tool = layui.tool, form = layui.form, oaTool = layui.oaTool;
- var laydate = layui.laydate;
- // 年选择器
- laydate.render({
- elem: '#ID-laydate-type-year',
- type: 'year',
- value: datetime
- });
- //监听搜索提交
- form.on('submit(webform)', function (data) {
- location.href = '/admin/datastat.datastat/cost_member?today=' + data.field.today;
- return false;
- });
- }
- </script>
- </body>
- </html>
|