username@email.com
2021-09-10 83c4efe25b7b5ee027a34987f8ee508a379c1d47
zhengcaioa/zhengcaioa/Views/SalaryCheck/SearchIndexRenshi.cshtml
@@ -69,7 +69,7 @@
                }
            },
        ];
        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%' },
@@ -77,7 +77,17 @@
            //{ 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');