diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PartyCate/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PartyCate/Index.js index b78abc000..197641a7d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PartyCate/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PartyCate/Index.js @@ -41,7 +41,7 @@ var bootstrap = function ($, learun) { }); // 编辑 $('#lr_edit').on('click', function () { - selectedRow = $('#gridtable').jfGridGet('rowdata'); + selectedRow = $('#gridtable').jfGridGet('rowdata'); var keyValue = $('#gridtable').jfGridValue('ID'); if (learun.checkrow(keyValue)) { learun.layerForm({ @@ -85,12 +85,11 @@ var bootstrap = function ($, learun) { page.search(); }, search: function (param) { - param = param || {}; - $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); + $('#gridtable').jfGridSet('reload', param); } }; refreshGirdData = function () { - $('#gridtable').jfGridSet('reload'); + page.search(); }; page.init(); }