diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml
index 1408b196d..b6d40d429 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.cshtml
@@ -39,10 +39,10 @@
-
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
index 31097451c..fcd9ac5fe 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
+++ b/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);
- }, 280, 700);
+ }, 330, 700);
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
$('#ProvinceNo').lrDataSourceSelect({
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',
@@ -74,6 +74,27 @@ var bootstrap = function ($, learun) {
});
//职工状态
$('#IsInActiveStatus').lrDataItemSelect({ code: 'JobStatus' });
+ //编制类别
+ $('#CompilationCategory').lrDataItemSelect({
+ code: 'CompilationCategory', select: function (item) {
+ if (!!item && item.id == "02") {//编外
+ //用工类型
+ $('#EmployType').lrselectRefresh({
+ url: '/LR_SystemModule/DataItem/GetDetailList',
+ param: { itemCode: 'EmployType' },
+ value: 'F_ItemValue',
+ text: 'F_ItemName'
+ });
+ } else {
+ $('#EmployType').lrselectRefresh({
+ url: "",
+ data: []
+ });
+ }
+ }
+ });
+ //用工类型
+ $('#EmployType').lrselect();
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs
index 96839dc85..0a6dc0df2 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoEntity.cs
@@ -585,6 +585,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
///
[Column("PROFESSIONALTITLEGETTIME")]
public DateTime? ProfessionalTitleGetTime { get; set; }
+ ///
+ /// 用工类型
+ ///
+ [Column("EMPLOYTYPE")]
+ public string EmployType { get; set; }
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs
index 819953367..8e412e3eb 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/EmpInfo/EmpInfoService.cs
@@ -132,6 +132,16 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("IsInActiveStatus", queryParam["IsInActiveStatus"].ToString(), DbType.String);
strSql.Append(" AND t.IsInActiveStatus = @IsInActiveStatus ");
}
+ if (!queryParam["CompilationCategory"].IsEmpty())//编制类别
+ {
+ dp.Add("CompilationCategory", queryParam["CompilationCategory"].ToString(), DbType.String);
+ strSql.Append(" AND t.CompilationCategory = @CompilationCategory ");
+ }
+ if (!queryParam["EmployType"].IsEmpty())//用工类型
+ {
+ dp.Add("EmployType", queryParam["EmployType"].ToString(), DbType.String);
+ strSql.Append(" AND t.EmployType = @EmployType ");
+ }
return this.BaseRepository("CollegeMIS").FindList
(strSql.ToString(), dp, pagination);
}
catch (Exception ex)