Edit D:\rfid\libsystem\page\public\systemlogcount.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String type = "2"; String title = "???"; if(request.getParameter("type") != null){ type = request.getParameter("type"); if(type.equals("3")){ title = "???"; }else if(type.equals("5")){ title = "???"; }else if(type.equals("4")){ title = "????"; }else if(type.equals("6")){ title = "???"; } } %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title><%=title%>??????</title> <%@ include file="../global/linkcss.jsp" %> </head> <body class="m-top"> <!-- ????? ??? ??????--> <div class="tool-div"> <div class="easyui-panel m-top" data-options="fit:true" style="padding: 5px; " > <a id="bntSelectFile" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-bar-chart'" onclick="onSearchStatisticsData()">???</a> <a id="bntFormatDesign" href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,iconCls:'e-icon fa fa-cog'" onclick="onFormatDesign()">??????</a> </div> </div> <div style="display: none;"> <input type="hidden" id="systype" value="<%=type%>"> <select id="libcode" item-type="record" class="easyui-combobox" hidden="hidden" style="width:130px;height: 24px;"> </select> </div> <div class="body-div-search m-top-3" > <div class="easyui-panel" title="????????????" data-options="fit:true" style="padding: 5px;"> <div class="table-content" style="width: 600px;"> <table class="table-box table-input"> <tr> <td class="div-tr-td" style="max-width: 120px;width: 120px;"> <div style="width: 120px;"> ??????</div> </td> <td> <select id="acceptFormatDesignIndex" required="true" class="easyui-combobox" style="width:404px;height: 24px;" editable="false" data-options=""> </select> </td> </tr> <tr> <td class="div-tr-td">??????</td> <td><input id="export_beg_logdate" item-type="export_record" handler-type="7" table-type="lib_sys_oplog" class="easyui-datebox" style="width:200px;height: 28px;" data-options="prompt:'?????????'"> <input id="export_end_logdate" item-type="export_record" handler-type="5" table-type="lib_sys_oplog" class="easyui-datebox" style="width:200px;height: 28px;" data-options="prompt:'?????????'"></td> </tr> </table> <div style="height: 200px;margin-top: -1px;width: 601px;"> <div class="easyui-layout" data-options="fit:true,border:false"> <div data-options="region:'center',collapsible:false,border:false" style="width:50%;"> <table id="logtype" title="???????????" item-type="export_record" handler-type="3" table-type="lib_sys_oplog" class="easyui-datagrid m-top" data-options="singleSelect:false,fit:true,fitColumns:true"> <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'code',align:'center'" width="16%">???</th> <th data-options="field:'name',align:'center'" width="80%">???</th> </tr> </thead> </table> </div> <div data-options="region:'east',collapsible:false,border:false" style="width:50%; margin-left: -1px;"> <table id="operid" title="???????????" item-type="export_record" handler-type="3" table-type="lib_sys_oplog" class="easyui-datagrid m-top" data-options="singleSelect:false,fit:true,fitColumns:true"> <thead> <tr> <th data-options="field:'ck',checkbox:true" width="4%"></th> <th data-options="field:'code',align:'center'" width="16%">???</th> <th data-options="field:'name',align:'center'" width="80%">???</th> </tr> </thead> </table> </div> </div> </div> </div> </div> </div> <!--?????????--> <%@ include file="../statistics/statisticsfd.jsp" %> <%@ include file="../global/easyui-dialog.jsp"%> </body> <%@ include file="../global/linkjs.jsp" %> <script type="text/javascript"> var vType = '<%=type%>'; </script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/public/js/systemlogcount.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/global/grid/js/grid.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/page/statistics/js/statisticsfd.js?version=<%=MyJspUtils.getVersion() %>"></script> <script type="text/javascript"> function setMultilineTextValue(key,type){ if(key == "???"){ return; } if(!autoSelect){ if(key != "logtype"){ for(var i = 0; i < initJson.length; i++){ if(key == initJson[i].code){ var param = initJson[i]; var url = base_path + 'par/common/getInitData.do'; $.post(url, param, function(data) { var rows = data.rows; if(rows.length > 0){ var html = ""; for(var j = 0; j < rows.length;j++){ html += rows[j].code +"|" + rows[j].name +"\n"; } if(type == 1){ setValue("formatdesign_item_value1",html); }else if(type == 2){ setValue("formatdesign_item_value2",html); } } }, 'json'); break; } } }else{ var systype = getValue("systype"); var startType = 1000 * parseInt(systype); var endType = 1000 * parseInt(systype) + 999; for(var i = 0; i < initJson.length; i++){ if(key == initJson[i].code){ var param = initJson[i]; var url = base_path + 'par/common/getInitData.do'; $.post(url, param, function(data) { var rows = data.rows; if(rows.length > 0){ var html = ""; for(var j = 0; j < rows.length;j++){ var curType = parseInt(rows[j].code); if( startType < curType && curType < endType){ html += rows[j].code +"|" + rows[j].name +"\n"; } } if(type == 1){ setValue("formatdesign_item_value1",html); }else if(type == 2){ setValue("formatdesign_item_value2",html); } } }, 'json'); break; } } } } } function onSearchStatisticsData(){ var jsonData = getJsonDataByTypeHandler(); var acceptFormatDesignIndex = getValue("acceptFormatDesignIndex"); if(acceptFormatDesignIndex.length == 0){ return openMessageDlg("?????????????"); } jsonData.keycode = acceptFormatDesignIndex; jsonData.account = mystorage.get("account"); if(!jsonData["limit[0].condition"]){ $.messager.confirm('??????', '????????????,?????????????', function(r){ if (r){ openPostWindow('../statistics/statistics.jsp',jsonData); } }); }else{ openPostWindow('../statistics/statistics.jsp',jsonData); } } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de