| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>员工社保缴费生成日志列表</title>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript">
- var grid = null;
- var dialog = null;
- $(function() {
- initSalaryInsuranceHistoryLogList();
- });
- function initSalaryInsuranceHistoryLogList(params) { //已投保
- var columns = [ {
- display : '人员',
- name : 'staff_names'
- }, {
- display : '总人数',
- name : 'person_count'
- }, {
- display : '扣费月份',
- name : 'insurance_charged_month'
- }, {
- display : '社保月份',
- name : 'insurance_month'
- }, {
- display : '创建人',
- name : 'create_user_name'
- }, {
- display : '创建时间',
- name : 'create_date'
- } ];
- grid = $("#maingrid4")
- .ligerGrid(
- {
- columns : columns,
- pageSize : 20,
- url : 'hrSalaryStaffInsuranceHistoryLogAction.do?task=queryStaffInsureHistoryLogData&time='
- + new Date().getTime() + params,
- pageParmName : 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName : 'pSize', //页记录数参数名,(提交给服务器)
- width : '99.9%',
- height : '99%'
- });
- $("#pageloading").hide();
- }
- //查询
- function searchByKword() {
- var s = "";
- var staff_names = $("#staff_names");//姓名
- if (staff_names) {
- s += "&salaryInsuranceHistoryLog.staff_names=" + encodeURI(encodeURI(staff_names.val()));
- }
- grid.set("newPage", "1");
- initSalaryInsuranceHistoryLogList(s);
- }
- function createStaffInsuranceHistory() {
- var obj = window.top;
- if (obj != undefined && obj != null) {
- obj.$.ligerDialog
- .open({
- title : '选择项目',
- width : 650,
- height : 400,
- url : 'hrSalaryStaffInsuranceHistoryAction.do?task=toCreateStaffInsureHistory'
- + "&time=" + new Date(),
- // +'&depot_id='
- // + ins_depot_id_val + '&location_id='
- // + ins_location_id_val,
- buttons : [ {
- text : '保存',
- onclick : f_btnOK
- }, {
- text : '取消',
- onclick : f_btnCancel
- } ]
- });
- }
- }
- function f_btnOK(item, dialog) {
- if (!dialog.frame.checkForm()) {
- return;
- }
- dialog.frame.btnSave();
- // dialog.close();
- }
- function f_btnCancel(item, dialog) {
- dialog.close();
- }
- </script>
- </head>
- <body>
- <div class="container">
- <!-- <div id="title" class="form-button"> -->
- <!-- <input type="button" class="l-button" value="生成报表" onclick="createStaffInsuranceHistory();" style="width: 70px" /> -->
- <!-- </div> -->
- <!-- <div class="default_search" style="margin: 0; height: 30px;"></div> -->
- <div class="default_search" style="margin: 0;">
- <ul class="list_search">
- <li class="title">人员:</li>
- <li class="text"><input type="text" id=staff_names name="staff_names" /></li>
- </ul>
- <ul>
- <li class="search-button"><input type="button" class='l-button' name="search" onclick="searchByKword()" value="查询" /></li>
- </ul>
- </div>
- <div style="clear: both;"></div>
- <div id="searchbar">
- <div style="overflow: hidden; clear: both;">
- <div id="maingrid4" style="margin: 0; padding: 0"></div>
- </div>
- </div>
- </div>
- </body>
- </html>
|