Procházet zdrojové kódy

教师功能筛选条件添加

怀来职教中心中职
hwh2023 před 1 rokem
rodič
revize
210c105577
3 změnil soubory, kde provedl 31 přidání a 1 odebrání
  1. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  3. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs

+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.cshtml Zobrazit soubor

@@ -46,6 +46,18 @@
<div class="lr-form-item-title">职称</div>
<input id="JobTitle" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">职务</div>
<input id="JobTitle" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">到校时间</div>
<input id="GroupDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#GroupDate').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">参加工作时间</div>
<input id="AddWorkDate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AddWorkDate').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">政治面貌</div>
<div id="PartyFaceNo"></div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Zobrazit soubor

@@ -15,7 +15,7 @@ var bootstrap = function ($, learun) {
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 330, 700);
}, 380, 700);
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
$('#ProvinceNo').lrDataSourceSelect({
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs Zobrazit soubor

@@ -62,6 +62,24 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
// dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String);
// strSql.Append(" AND t.DeptNo = @DeptNo ");
//}

if (!queryParam["JobTitle"].IsEmpty())
{
dp.Add("JobTitle", queryParam["JobTitle"].ToString(), DbType.String);
strSql.Append(" AND t.JobTitle = @JobTitle ");
}
if (!queryParam["GroupDate"].IsEmpty())
{
dp.Add("GroupDate", queryParam["GroupDate"].ToString(), DbType.String);
strSql.Append(" AND t.GroupDate = @GroupDate ");
}
if (!queryParam["AddWorkDate"].IsEmpty())
{
dp.Add("AddWorkDate", queryParam["AddWorkDate"].ToString(), DbType.String);
strSql.Append(" AND t.AddWorkDate = @AddWorkDate ");
}


if (!queryParam["ProvinceNo"].IsEmpty())
{
dp.Add("ProvinceNo", queryParam["ProvinceNo"].ToString(), DbType.String);


Načítá se…
Zrušit
Uložit