|
|
@ -1999,6 +1999,14 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
fnType = "table", |
|
|
|
fnType = "table", |
|
|
|
icon = "ghr-publish", |
|
|
|
icon = "ghr-publish", |
|
|
|
position = "left" |
|
|
|
position = "left" |
|
|
|
|
|
|
|
}); result.JM_PageControlT1.Toolbar.Insert(index + 2, new Toolbar() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
display = true, |
|
|
|
|
|
|
|
fnKey = "TBD6YN", |
|
|
|
|
|
|
|
fnTitle = "取消发布", |
|
|
|
|
|
|
|
fnType = "table", |
|
|
|
|
|
|
|
icon = "ghr-publish", |
|
|
|
|
|
|
|
position = "left" |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "F_OpenCLassOpening": |
|
|
|
case "F_OpenCLassOpening": |
|
|
@ -2021,6 +2029,15 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
icon = "ghr-publish", |
|
|
|
icon = "ghr-publish", |
|
|
|
position = "left" |
|
|
|
position = "left" |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
result.JM_PageControlT1.Toolbar.Insert(index + 2, new Toolbar() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
display = true, |
|
|
|
|
|
|
|
fnKey = "TBD6YN", |
|
|
|
|
|
|
|
fnTitle = "取消开课", |
|
|
|
|
|
|
|
fnType = "table", |
|
|
|
|
|
|
|
icon = "ghr-publish", |
|
|
|
|
|
|
|
position = "left" |
|
|
|
|
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "F_OpenCLassClose": |
|
|
|
case "F_OpenCLassClose": |
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); |
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "NewYN").FirstOrDefault(); |
|
|
@ -2031,6 +2048,17 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD3YN"; |
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD3YN"; |
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); |
|
|
|
toolbar = result.JM_PageControlT1.Toolbar.Where(x => x.fnKey == "CopyYN").FirstOrDefault(); |
|
|
|
if (toolbar != null) toolbar.fnKey = "TBD4YN"; |
|
|
|
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; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|