var slxhtjt = new Object(); slxhtjt.loadSearchModule = function(p) { var $div = $("#" + p.id); if ($div.length > 0) { $div.load('slxhtjtSearchModule.htm', { from : p.from, mcid : $("#mcid").val(), zsid : $("#zsid").val(), lqid : $("#lqid").val(), lqmc : $("#lqtxt").val(), callBackFunName : p.callBackFunName, 'slxhtjtSearchGrid' : $("#slxhtjtSearchGrid").val() }, function() { }); } }; /** * 加载养殖概况查询模块 */ slxhtjt.loadSearchModule({ id : 'slxhtjtSearchModule', from : 'slxhtjt', callBackFunName : 'searchslxhtjtCallBack' }); /** * 搜索条件回调函数 * * @param {搜索条件对象} * data * @param {分隔符} * fgf */ function searchslxhtjtCallBack(data, fgf, xhms) { var url = ""; if (xhms == 1) { url = "qcxhTjt.htm"; } if (xhms == 2) { url = "mtxhTjt.htm"; } jQuery("#slxhtjtDiv").load(url, { param : data, fgf : fgf }); } /** * 加载系统参数列表数据 */ function loadslxhtjtGrid(slxhtjtSearchGrid) { jQuery("#slxhtjtDiv").load("qcxhTjt.htm"); } loadslxhtjtGrid($('#slxhtjtSearchGrid'));