Bläddra i källkod

教师管理功能增加职工状态查询

金隅分支
liangkun 3 år sedan
förälder
incheckning
e220e6561a
4 ändrade filer med 12 tillägg och 1 borttagningar
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.cshtml
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml
  4. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.cshtml Visa fil

@@ -58,6 +58,10 @@
<div class="lr-form-item-title">是否审核</div>
<div id="CheckMark"></div>
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">职工状态</div>
<div id="IsInActiveStatus"></div>
</div>
</div>
</div>
</div>


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Visa fil

@@ -72,6 +72,8 @@ var bootstrap = function ($, learun) {
url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTreeNoCheck',
// 访问数据接口参数
});
//职工状态
$('#IsInActiveStatus').lrDataItemSelect({ code: 'JobStatus' });
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml Visa fil

@@ -20,7 +20,7 @@
<div class="listDotT" id="F_FullHead"></div>
<div class="listDotTime">
<span>发布时间:<span id="F_CreateDate"></span></span>
<span>发布:<span id="F_CreateUserName"></span></span>
<span>信息来源:<span id="F_CreateUserName"></span></span>
<span>公告类别:<span id="F_Category"></span></span>
</div>
<div class="listDotBox" id="F_NewsContent">


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs Visa fil

@@ -127,6 +127,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("CheckMark", queryParam["CheckMark"].ToString(), DbType.String);
strSql.Append(" AND t.CheckMark = @CheckMark ");
}
if (!queryParam["IsInActiveStatus"].IsEmpty())//职工状态
{
dp.Add("IsInActiveStatus", queryParam["IsInActiveStatus"].ToString(), DbType.String);
strSql.Append(" AND t.IsInActiveStatus = @IsInActiveStatus ");
}
return this.BaseRepository("CollegeMIS").FindList<EmpInfoEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)


Laddar…
Avbryt
Spara