|
|
|
@ -1234,6 +1234,16 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeRemind").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD11YN", |
|
|
|
|
fnTitle = "提醒", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeTag").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
@ -1284,16 +1294,6 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeRemind").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD11YN", |
|
|
|
|
fnTitle = "提醒", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
@ -1308,62 +1308,22 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
if (toolbarRoles != null && toolbarRoles.Any()) |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeTag").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD6YN", |
|
|
|
|
fnTitle = "标签", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeRecycle").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD7YN", |
|
|
|
|
fnTitle = "回收", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeTalentPool").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD8YN", |
|
|
|
|
fnTitle = "加入人才库", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeBlacklist").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD9YN", |
|
|
|
|
fnTitle = "加入黑名单", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeDownLoad").Any()) |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeProcessRemind").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD10YN", |
|
|
|
|
fnTitle = "下载", |
|
|
|
|
fnKey = "TBD12YN", |
|
|
|
|
fnTitle = "提醒", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeProcessRemind").Any()) |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeReScheduleInterview").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD12YN", |
|
|
|
|
fnTitle = "提醒", |
|
|
|
|
fnKey = "TBD5YN", |
|
|
|
|
fnTitle = "重新推荐", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
@ -1389,16 +1349,6 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeReScheduleInterview").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD5YN", |
|
|
|
|
fnTitle = "重新推荐", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeApplyOffer").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
@ -1418,19 +1368,6 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "F_ResumeMaintenance_Hire"://录用 |
|
|
|
|
sql = $@"SELECT A.RoleId, B.RoleNo, B.RoleName
|
|
|
|
|
FROM Ghrs_UserRole A LEFT JOIN Ghrs_Role B ON A.RoleId = B.RoleId |
|
|
|
|
WHERE A.UserID = {App.User.ID} |
|
|
|
|
AND A.IsEnable = 1 |
|
|
|
|
AND B.IsEnable = 1 |
|
|
|
|
AND B.RoleNo LIKE 'RecruitResume%'";
|
|
|
|
|
toolbarRoles = DbAccess.QueryList<ToolbarRole>(sql); |
|
|
|
|
if (toolbarRoles != null && toolbarRoles.Any()) |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeTag").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
@ -1481,6 +1418,19 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case "F_ResumeMaintenance_Hire"://录用 |
|
|
|
|
sql = $@"SELECT A.RoleId, B.RoleNo, B.RoleName
|
|
|
|
|
FROM Ghrs_UserRole A LEFT JOIN Ghrs_Role B ON A.RoleId = B.RoleId |
|
|
|
|
WHERE A.UserID = {App.User.ID} |
|
|
|
|
AND A.IsEnable = 1 |
|
|
|
|
AND B.IsEnable = 1 |
|
|
|
|
AND B.RoleNo LIKE 'RecruitResume%'";
|
|
|
|
|
toolbarRoles = DbAccess.QueryList<ToolbarRole>(sql); |
|
|
|
|
if (toolbarRoles != null && toolbarRoles.Any()) |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeSendOffer").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
@ -1531,6 +1481,56 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeTag").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD6YN", |
|
|
|
|
fnTitle = "标签", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeRecycle").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD7YN", |
|
|
|
|
fnTitle = "回收", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeTalentPool").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD8YN", |
|
|
|
|
fnTitle = "加入人才库", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeBlacklist").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD9YN", |
|
|
|
|
fnTitle = "加入黑名单", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeDownLoad").Any()) |
|
|
|
|
result.JM_PageControlT1.Toolbar.Add(new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD10YN", |
|
|
|
|
fnTitle = "下载", |
|
|
|
|
fnType = "row", |
|
|
|
|
icon = "ess-icon-reject", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|