更新模板按钮icon

master
孤兰 3 weeks ago
parent 472d90e84a
commit 826ecbc475
  1. 24
      Tiobon.Core.Services/CommonServices.cs

@ -2470,7 +2470,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, 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<RootEntityTkey<int>>, 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<RootEntityTkey<int>>, 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

Loading…
Cancel
Save