diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index ad7e92ee..a7691d45 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -970,7 +970,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD5YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ghr-icon-download", position = "left" @@ -1236,7 +1236,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD5YN", - fnTitle = "推荐", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0024", "推荐"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1246,7 +1246,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD11YN", - fnTitle = "提醒", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0001", "提醒"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1256,7 +1256,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD25YN", - fnTitle = "安排面试", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0096", "安排面试"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1265,7 +1265,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD26YN", - fnTitle = "转入待发offer", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0006", "转入待发offer"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1275,7 +1275,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD6YN", - fnTitle = "标签", + fnTitle = await QueryLangValue("Table|Ghrh_Resume|Tag", "标签"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1285,7 +1285,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD7YN", - fnTitle = "回收", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0027", "回收"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1295,7 +1295,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD8YN", - fnTitle = "加入人才库", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0016", "加入人才库"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1305,7 +1305,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD9YN", - fnTitle = "加入黑名单", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0018", "加入黑名单"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1315,7 +1315,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD10YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1339,7 +1339,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD12YN", - fnTitle = "提醒", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0001", "提醒"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1349,18 +1349,19 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD5YN", - fnTitle = "重新推荐", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0095", "重新推荐"), fnType = "row", icon = "ess-icon-reject", position = "left" }); if (toolbarRoles.Where(x => x.RoleNo == "RecruitResumeScheduleInterview").Any()) { + var name11 = await QueryLangValue("F_ResumeMaintenance_0096", "安排面试"); result.JM_PageControlT1.Toolbar.Add(new Toolbar() { display = true, fnKey = "TBD13YN", - fnTitle = "安排面试", + fnTitle = name11, fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1369,7 +1370,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD14YN", - fnTitle = "安排面试", + fnTitle = name11, fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1378,7 +1379,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD25YN", - fnTitle = "安排面试", + fnTitle = name11, fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1389,7 +1390,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD15YN", - fnTitle = "发起录用审批", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0097", "发起录用审批"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1398,7 +1399,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD26YN", - fnTitle = "转入待发offer", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0006", "转入待发offer"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1407,7 +1408,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD22YN", - fnTitle = "评估", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0098", "评估"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1417,7 +1418,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD6YN", - fnTitle = "标签", + fnTitle = await QueryLangValue("Table|Ghrh_Resume|Tag", "标签"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1427,7 +1428,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD7YN", - fnTitle = "回收", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0027", "回收"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1437,7 +1438,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD8YN", - fnTitle = "加入人才库", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0016", "加入人才库"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1447,7 +1448,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD9YN", - fnTitle = "加入黑名单", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0018", "加入黑名单"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1457,7 +1458,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD10YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1480,7 +1481,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD16YN", - fnTitle = "发offer", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0025", "发offer"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1490,7 +1491,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD17YN", - fnTitle = "提醒", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0001", "提醒"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1500,7 +1501,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD18YN", - fnTitle = "已报到", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0207", "已报到"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1510,7 +1511,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD19YN", - fnTitle = "未报到", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0010", "未报到"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1521,7 +1522,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD27YN", - fnTitle = "Offer下载", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0010", "F_ResumeMaintenance_0060"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1531,7 +1532,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD6YN", - fnTitle = "标签", + fnTitle = await QueryLangValue("Table|Ghrh_Resume|Tag", "标签"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1541,7 +1542,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD7YN", - fnTitle = "回收", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0027", "回收"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1551,7 +1552,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD8YN", - fnTitle = "加入人才库", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0016", "加入人才库"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1561,7 +1562,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD9YN", - fnTitle = "加入黑名单", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0018", "加入黑名单"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1571,7 +1572,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD10YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1595,7 +1596,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD5YN", - fnTitle = "推荐", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0024", "推荐"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1605,7 +1606,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD6YN", - fnTitle = "标签", + fnTitle = await QueryLangValue("Table|Ghrh_Resume|Tag", "标签"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1615,7 +1616,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD7YN", - fnTitle = "回收", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0027", "回收"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1625,7 +1626,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD9YN", - fnTitle = "加入黑名单", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0018", "加入黑名单"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1635,7 +1636,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD10YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1658,7 +1659,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD6YN", - fnTitle = "标签", + fnTitle = await QueryLangValue("Table|Ghrh_Resume|Tag", "标签"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1668,7 +1669,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD8YN", - fnTitle = "加入人才库", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0016", "加入人才库"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1678,7 +1679,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD9YN", - fnTitle = "加入黑名单", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0018", "加入黑名单"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1688,7 +1689,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD10YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1711,7 +1712,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD6YN", - fnTitle = "标签", + fnTitle = await QueryLangValue("Table|Ghrh_Resume|Tag", "标签"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1721,7 +1722,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD8YN", - fnTitle = "加入人才库", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0016", "加入人才库"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1731,7 +1732,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD7YN", - fnTitle = "回收", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0027", "回收"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1741,7 +1742,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD10YN", - fnTitle = "下载", + fnTitle = await QueryLangValue("GHR_Common_000254", "下载"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1753,7 +1754,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD20YN", - fnTitle = "约面", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0034", "约面"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1762,7 +1763,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD21YN", - fnTitle = "不合适", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0003", "不合适"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1773,7 +1774,7 @@ public partial class CommonServices : BaseServices>, ICommon { display = true, fnKey = "TBD22YN", - fnTitle = "评估", + fnTitle = await QueryLangValue("F_ResumeMaintenance_0098", "评估"), fnType = "row", icon = "ess-icon-reject", position = "left" @@ -1897,7 +1898,7 @@ public partial class CommonServices : BaseServices>, ICommon #endregion #region 多语返回处理 - if (param.menuName == "F_ResumeMaintenance_All" || + if (param.menuName == "F_ResumeMaintenance_All" || param.menuName == "F_ResumeMaintenance_Process" || param.menuName == "F_ResumeMaintenance_Hire" || param.menuName == "F_ResumeMaintenance_Talent_Pool" || @@ -3346,11 +3347,12 @@ public partial class CommonServices : BaseServices>, ICommon data1.Year = curentYear; var sort = flowReturn.JM_TableColumnT1.TableColumn.Where(x => x.field == "M1").SingleOrDefault()?.rowNum ?? 5; // 创建一个新的列表用于存储重新排序后的结果 + var name1 = await QueryLangValue("F_ResumeMaintenance_0216", "预算编制数"); List reorderedNumbers = new(); flowReturn.JM_TableColumnT1.TableColumn?.ForEach(x => { if (months.Where(o => o == x.label).Any()) - x.GroupName = "预算编制数"; + x.GroupName = name1; });