|
|
@@ -48,7 +48,8 @@ var bootstrap = function ($, learun) { |
|
|
|
label: "出生日期", name: "Birthday", width: 100, align: "left", |
|
|
|
formatter: function (cellvalue) { |
|
|
|
return learun.formatDate(cellvalue, 'yyyy-MM-dd'); |
|
|
|
} }, |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "身份证号", name: "IdentityCardNo", width: 150, align: "left" }, |
|
|
|
{ |
|
|
|
label: "民族", name: "NationalityNo", width: 100, align: "left", |
|
|
@@ -170,6 +171,12 @@ var bootstrap = function ($, learun) { |
|
|
|
page.search(); |
|
|
|
}, |
|
|
|
search: function (param) { |
|
|
|
if (learun.clientdata.get(['userinfo']).account.toLowerCase() != "system") {//登录用户是system时,列表展示所有学生;其他用户登录时,必须选择左侧班级才能查看学生; |
|
|
|
if (Class == "" || Class == undefined || Class == null) { |
|
|
|
learun.alert.warning("请选择左侧班级!"); |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
param = param || {}; |
|
|
|
param.ClassNo = Class; |
|
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
|