| | |
| | | } |
| | | }, |
| | | ]; |
| | | dataUrl = "/SalaryCheck/GetSearchListRenshi?UserId=" + UserId; |
| | | dataUrl = "/SalaryCheck/GetSearchListRenshi?UserId=" + UserId+"searchDatestart222=@ViewBag.stime&searchDateend222=@ViewBag.etime"; |
| | | searchCol = [ |
| | | { label: '时间', name: 'searchDatestart', labtype: 'monthdate', hidden: false, cwidth: '5%', cccwidth: '8%' }, |
| | | { label: '到', name: 'searchDateend', labtype: 'monthdate', hidden: false, cwidth: '2%', cccwidth: '8%' }, |
| | |
| | | //{ label: '姓名', name: 'UserName', labtype: 'txt', hidden: false }, |
| | | //{ label: '工号', name: 'Usernumber', labtype: 'txt', hidden: false }, |
| | | ]; |
| | | |
| | | var _pageSearch = function () { |
| | | $("#jqGrid").jqGrid('setGridParam', { |
| | | url: '/SalaryCheck/GetSearchListRenshi', postData: jsons, page: 1 |
| | | }); //重新载入 |
| | | var jsons = GetSearchEnd(); |
| | | if (jsons == false) { |
| | | msg.info("请录入查询条件"); |
| | | return false; |
| | | } |
| | | LoadGrid(jsons); |
| | | } |
| | | $(function () { |
| | | |
| | | $("#PBSsearchDatestart").val('@ViewBag.stime'); |