| | |
| | | <body class="pt-tree"> |
| | | <div class="archives_statistics"> |
| | | <h3 class="statistics_title"> |
| | | 【移交统计】 |
| | | 【资料统计】 |
| | | </h3> |
| | | <div class="option_row clear"> |
| | | <span class="option_col1">统计数据过滤查询</span> |
| | | <ul class="clear"> |
| | | <li>统计字段: |
| | | <select id="selectParameter" data-options="editable:false" editable="false" class="easyui-combobox" style="width:150px"> |
| | | <option value="yj" selected>移交统计</option> |
| | | <option value="rk" >入库统计</option> |
| | | </select> |
| | | </li> |
| | | |
| | | <%-- <li>时间: <input class="easyui-textbox" id="year"--%> |
| | | <%-- style="width:150px; height: 24px;"/>--%> |
| | |
| | | // var year = $("#year").numberbox("getValue"); |
| | | var startDate = $("#startDate").datebox("getValue"); |
| | | var endDate = $("#endDate").datebox("getValue"); |
| | | var selectParameter = $('#selectParameter').combobox('getValue'); |
| | | |
| | | var url = "utlStatistics/getTransferStatistics?startDate=" + startDate + "&endDate=" + endDate; |
| | | var columns=[[ |
| | | { |
| | | field: 'ck', |
| | | checkbox: true |
| | | }, |
| | | { |
| | | field: 'XMKYQMC', |
| | | title: '项目名称', |
| | | width: 100, |
| | | },{ |
| | | field: 'YM', |
| | | title: '总页码', |
| | | width: 100, |
| | | }, { |
| | | field: 'SL', |
| | | title: '总数量', |
| | | width: 100, |
| | | }, { |
| | | field: 'TRANSFERCOUNT', |
| | | title: '移交资料份数', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'TRANSFERTIME', |
| | | title: '移交次数', |
| | | width: 100, |
| | | }, { |
| | | field: 'RETURNTIME', |
| | | title: '退回次数', |
| | | width: 100, |
| | | }, { |
| | | field: 'ACCEPTCOUNT', |
| | | title: '接收数量', |
| | | width: 100, |
| | | }, { |
| | | field: 'TIDYCOUNT', |
| | | title: '整理完成数量', |
| | | width: 100, |
| | | }, { |
| | | field: 'ACCEPTDATA', |
| | | title: '接收数据量', |
| | | width: 100, |
| | | } |
| | | ]] |
| | | if (selectParameter=='rk'){ |
| | | columns=[[ |
| | | { |
| | | field: 'ck', |
| | | checkbox: true |
| | | }, |
| | | { |
| | | field: 'XMKYQMC', |
| | | title: '项目名称', |
| | | width: 100, |
| | | },{ |
| | | field: 'YM', |
| | | title: '总页码', |
| | | width: 100, |
| | | }, { |
| | | field: 'SL', |
| | | title: '总数量', |
| | | width: 100, |
| | | }, { |
| | | field: 'TRANSFERCOUNT', |
| | | title: '移交资料份数', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'ACCEPTDATA', |
| | | title: '接收数据量', |
| | | width: 100, |
| | | } |
| | | ]] |
| | | } |
| | | |
| | | var url = "utlStatistics/getTransferStatistics?selectParameter="+selectParameter+"&startDate=" + startDate + "&endDate=" + endDate; |
| | | $("#tb_utilizationForm").datagrid({ |
| | | rownumbers: true, |
| | | method: "get", |
| | |
| | | toolbar: "#toolbar_form", |
| | | emptyMsg: "没有找到匹配的记录", |
| | | height: wh - 200, |
| | | columns: [[ |
| | | { |
| | | field: 'ck', |
| | | checkbox: true |
| | | }, |
| | | { |
| | | field: 'XMKYQMC', |
| | | title: '项目名称', |
| | | width: 100, |
| | | }, { |
| | | field: 'TRANSFERCOUNT', |
| | | title: '移交资料份数', |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'TRANSFERTIME', |
| | | title: '移交次数', |
| | | width: 100, |
| | | }, { |
| | | field: 'RETURNTIME', |
| | | title: '退回次数', |
| | | width: 100, |
| | | }, { |
| | | field: 'ACCEPTCOUNT', |
| | | title: '接收数量', |
| | | width: 100, |
| | | }, { |
| | | field: 'TIDYCOUNT', |
| | | title: '整理完成数量', |
| | | width: 100, |
| | | }, { |
| | | field: 'ACCEPTDATA', |
| | | title: '接收数据量', |
| | | width: 100, |
| | | } |
| | | ]] |
| | | |
| | | columns: columns |
| | | }) |
| | | |
| | | |