Browse Source

学生处分管理学生搜索增加姓名搜索

黑艺新账号
dao 7 months ago
parent
commit
5f8a177462
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/GirdSelectIndex.js

+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/GirdSelectIndex.js View File

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


Loading…
Cancel
Save