|
|
|
@ -1970,7 +1970,16 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); |
|
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD4YN"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index = result.JM_PageControlT1.Toolbar.FindIndex(x => x.fnKey == "TBD1YN"); |
|
|
|
|
result.JM_PageControlT1.Toolbar.Insert(index + 1, new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD5YN", |
|
|
|
|
fnTitle = "发布", |
|
|
|
|
fnType = "table", |
|
|
|
|
icon = "ghr-publish", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
break; |
|
|
|
|
case "F_OpenCLassPublish": |
|
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); |
|
|
|
@ -1981,6 +1990,16 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD3YN"; |
|
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); |
|
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD4YN"; |
|
|
|
|
index = result.JM_PageControlT1.Toolbar.FindIndex(x => x.fnKey == "TBD1YN"); |
|
|
|
|
result.JM_PageControlT1.Toolbar.Insert(index + 1, new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD5YN", |
|
|
|
|
fnTitle = "开课", |
|
|
|
|
fnType = "table", |
|
|
|
|
icon = "ghr-publish", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
break; |
|
|
|
|
case "F_OpenCLassOpening": |
|
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); |
|
|
|
@ -1991,6 +2010,17 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD3YN"; |
|
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); |
|
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD4YN"; |
|
|
|
|
|
|
|
|
|
index = result.JM_PageControlT1.Toolbar.FindIndex(x => x.fnKey == "TBD1YN"); |
|
|
|
|
result.JM_PageControlT1.Toolbar.Insert(index + 1, new Toolbar() |
|
|
|
|
{ |
|
|
|
|
display = true, |
|
|
|
|
fnKey = "TBD5YN", |
|
|
|
|
fnTitle = "结案", |
|
|
|
|
fnType = "table", |
|
|
|
|
icon = "ghr-publish", |
|
|
|
|
position = "left" |
|
|
|
|
}); |
|
|
|
|
break; |
|
|
|
|
case "F_OpenCLassClose": |
|
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); |
|
|
|
|