소스 검색

教师功能筛选条件添加

怀来职教中心中职
hwh2023 1 년 전
부모
커밋
210c105577
3개의 변경된 파일31개의 추가작업 그리고 1개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

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


불러오는 중...
취소
저장