|
|
@@ -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(); |
|
|
|
} |