From ad47ec16d06f5205ac91e5a96dcbbc3bfe99717d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A4=E5=85=B0?= Date: Wed, 30 Apr 2025 17:19:57 +0800 Subject: [PATCH] CommonServices_FGhraStaffGroup_TBD4YN --- Tiobon.Core.Services/CommonServices.cs | 14 ++++++++++++++ .../Ghra/Ghra_StaffGroupServices.cs | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index 81e7eb85..26188cd7 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -2445,6 +2445,20 @@ public partial class CommonServices : BaseServices>, ICommon if (toolbar != null) toolbar.fnKey = "TBD2YN"; toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "DetailYN").FirstOrDefault(); if (toolbar != null) toolbar.fnKey = "TBD3YN"; + toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); + if (toolbar != null) toolbar.fnKey = "TBD4YN"; + + if(param.menuName == "F_GhraStaffGroup") + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD5YN", + fnTitle = "人员", + fnType = "row", + icon = "ghr-preview", + position = "left" + }); + break; case "F_PerformancePeriod": result.JM_PageControlT1.Toolbar.Insert(0, new Toolbar() diff --git a/Tiobon.Core.Services/Ghra/Ghra_StaffGroupServices.cs b/Tiobon.Core.Services/Ghra/Ghra_StaffGroupServices.cs index dacbd1d3..9b9659e9 100644 --- a/Tiobon.Core.Services/Ghra/Ghra_StaffGroupServices.cs +++ b/Tiobon.Core.Services/Ghra/Ghra_StaffGroupServices.cs @@ -141,7 +141,7 @@ namespace Tiobon.Core.Services }); return ServiceResult.OprateSuccess("查询成功!", result); } - + public class StaffInfoColumn() { public string StaffInfoColumnNo { get; set; }