|
|
@@ -29,6 +29,8 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
bind: function () { |
|
|
|
var dfop = top.lrGirdSelect[dfopid]; |
|
|
|
console.log(dfop); |
|
|
|
debugger |
|
|
|
$('#btn_Search').on('click', function () { |
|
|
|
var keyword = $('#txt_Keyword').val(); |
|
|
|
if (dfop._loaded) { |
|
|
@@ -38,6 +40,9 @@ var bootstrap = function ($, learun) { |
|
|
|
if (item[dfop.selectWord].indexOf(keyword) != -1) { |
|
|
|
_data.push(item); |
|
|
|
} |
|
|
|
if (item["stuname"].indexOf(keyword) != -1) { |
|
|
|
_data.push(item); |
|
|
|
} |
|
|
|
}); |
|
|
|
$('#gridtable').jfGridSet('refreshdata', _data); |
|
|
|
} |
|
|
|