From 826ecbc475c2a4e09aeec86fa4a7f6f2384032f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A4=E5=85=B0?= Date: Wed, 4 Jun 2025 16:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A8=A1=E6=9D=BF=E6=8C=89?= =?UTF-8?q?=E9=92=AEicon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/CommonServices.cs | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index 0f6cd241..09916c96 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -2470,7 +2470,7 @@ public partial class CommonServices : BaseServices>, ICommon result.DT_Procedure.ExportExcel = result.DT_Procedure.EditProcedure.Replace("QueryGroupForm", "ExportGroupExcel"); break; - case "F_PerformancePeriodType": + case "F_PerformancePeriodType": case "F_GhraStaffGroup": toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); if (toolbar != null) toolbar.fnKey = "TBD1YN"; @@ -2491,7 +2491,7 @@ public partial class CommonServices : BaseServices>, ICommon icon = "ghr-preview", position = "left" }); - + break; case "F_PerformancePeriod": result.JM_PageControlT1.Toolbar.Insert(0, new Toolbar() @@ -2504,6 +2504,26 @@ public partial class CommonServices : BaseServices>, ICommon position = "left" }); break; + case "F_PerformanceTemplate": + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD1YN", + fnTitle = "模板设计", + fnType = "row", + icon = "ghr-icon-form-config", + position = "left" + }); + result.JM_PageControlT1.Toolbar.Add(new Toolbar() + { + display = true, + fnKey = "TBD2YN", + fnTitle = "流程设计", + fnType = "row", + icon = "ghr-icon-flow-design", + position = "left" + }); + break; } #endregion