Преглед изворни кода

金隅搜索条件

大厂分支
zhichao lei пре 4 година
родитељ
комит
397a86ba82
5 измењених фајлова са 14 додато и 4 уклоњено
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.cshtml
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.js
  5. +10
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuEnroll/StuEnrollService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.cshtml Прегледај датотеку

@@ -36,7 +36,7 @@
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">录取方式</div>
<div id="EnrollType" class="form-control"></div>
<div id="Admissions" class="form-control"></div>
</div>
<div class="col-xs-12 lr-form-item">
<object id="CertCtl" type="application/cert-reader" width="0" height="0">


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.js Прегледај датотеку

@@ -86,7 +86,7 @@ var bootstrap = function ($, learun) {
value: "classno",
text: "classname"
});
$('#EnrollType').lrDataItemSelect({ code: 'EnrollStudentType' });
$('#Admissions').lrDataItemSelect({ code: 'enrollType' });
//刷新
$('#lr_refresh').on('click', function () {
location.reload();


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.cshtml Прегледај датотеку

@@ -46,7 +46,7 @@
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">录取方式</div>
<div id="EnrollType" class="form-control"></div>
<div id="Admissions" class="form-control"></div>
</div>
</div>
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.js Прегледај датотеку

@@ -22,7 +22,7 @@ var bootstrap = function ($, learun) {
value: "year",
text: "year",
});
$('#EnrollType').lrDataItemSelect({ code: 'EnrollStudentType' });
$('#Admissions').lrDataItemSelect({ code: 'enrollType' });


$('#DeptNo').lrselect({


+ 10
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuEnroll/StuEnrollService.cs Прегледај датотеку

@@ -126,6 +126,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("RegistrationNo", "%" + queryParam["RegistrationNo"].ToString() + "%", DbType.String);
strSql.Append(" AND t.RegistrationNo Like @RegistrationNo ");
}
if (!queryParam["Admissions"].IsEmpty())
{
dp.Add("Admissions", queryParam["Admissions"].ToString() , DbType.String);
strSql.Append(" AND t.Admissions = @Admissions ");
}
if (!queryParam["DeptNo"].IsEmpty())
{
dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String);
@@ -814,6 +819,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("DeptNo", queryParam["DeptNo"].ToString(), DbType.String);
strSql.Append(" AND t.DeptNo = @DeptNo ");
}
if (!queryParam["Admissions"].IsEmpty())
{
dp.Add("Admissions", queryParam["Admissions"].ToString(), DbType.String);
strSql.Append(" AND t.Admissions = @Admissions ");
}
if (!queryParam["Grade"].IsEmpty())
{
dp.Add("Grade", queryParam["Grade"].ToString(), DbType.String);


Loading…
Откажи
Сачувај