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