@@ -16,8 +16,8 @@ | |||||
<input id="StuCode" type="text" class="form-control" /> | <input id="StuCode" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | <div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | ||||
<div class="lr-form-item-title">考生号<font face="宋体">*</font></div> | |||||
<input id="ksh" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
<div class="lr-form-item-title">考生号</div> | |||||
<input id="ksh" type="text" class="form-control" /> | |||||
</div> | </div> | ||||
@*<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | @*<div class="col-xs-6 lr-form-item" data-table="StuInfoBasic"> | ||||
<div class="lr-form-item-title">通知书号<font face="宋体">*</font></div> | <div class="lr-form-item-title">通知书号<font face="宋体">*</font></div> | ||||
@@ -100,6 +100,7 @@ var bootstrap = function ($, learun) { | |||||
}; | }; | ||||
// 保存数据 | // 保存数据 | ||||
acceptClick = function (callBack) { | acceptClick = function (callBack) { | ||||
learun.layerClose('indexBed', ''); | |||||
if (!!callBack) { | if (!!callBack) { | ||||
callBack(); | callBack(); | ||||
} | } | ||||
@@ -70,7 +70,12 @@ var bootstrap = function ($, learun) { | |||||
$('#gridtable').lrAuthorizeJfGrid({ | $('#gridtable').lrAuthorizeJfGrid({ | ||||
url: top.$.rootUrl + '/PersonnelManagement/ClassPatrol/GetPageList', | url: top.$.rootUrl + '/PersonnelManagement/ClassPatrol/GetPageList', | ||||
headData: [ | headData: [ | ||||
{ label: "时间", name: "Time", width: 100, align: "left"}, | |||||
{ | |||||
label: "时间", name: "Time", width: 100, align: "left", | |||||
formatter: function (cellvalue) { | |||||
return learun.formatDate(cellvalue, 'yyyy-MM-dd'); | |||||
} | |||||
}, | |||||
{ label: "课节", name: "Section", width: 100, align: "left"}, | { label: "课节", name: "Section", width: 100, align: "left"}, | ||||
{ label: "教师", name: "EmpNo", width: 100, align: "left", | { label: "教师", name: "EmpNo", width: 100, align: "left", | ||||
formatterAsync: function (callback, value, row, op,$cell) { | formatterAsync: function (callback, value, row, op,$cell) { | ||||
@@ -376,7 +376,7 @@ sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 50 and DATEDIFF(YYYY, t.Bi | |||||
sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 40 and DATEDIFF(YYYY, t.Birthday, GETDATE()) <= 50 then 1 else 0 end) as age3, | sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 40 and DATEDIFF(YYYY, t.Birthday, GETDATE()) <= 50 then 1 else 0 end) as age3, | ||||
sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 30 and DATEDIFF(YYYY, t.Birthday, GETDATE()) <= 40 then 1 else 0 end) as age4, | sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 30 and DATEDIFF(YYYY, t.Birthday, GETDATE()) <= 40 then 1 else 0 end) as age4, | ||||
sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 20 and DATEDIFF(YYYY, t.Birthday, GETDATE()) <= 30 then 1 else 0 end) as age5 | sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 20 and DATEDIFF(YYYY, t.Birthday, GETDATE()) <= 30 then 1 else 0 end) as age5 | ||||
from empinfo t where t.Birthday is not null"); | |||||
from empinfo t where t.Birthday is not null and CheckMark = '1' "); | |||||
return this.BaseRepository("CollegeMIS").FindEntity<EmpInfoEntity>(strSql.ToString(), null); | return this.BaseRepository("CollegeMIS").FindEntity<EmpInfoEntity>(strSql.ToString(), null); | ||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||