List.cshtml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "List";
  5. //校区
  6. ComboGridOptions cgopCampus = new ComboGridOptions
  7. {
  8. TextField = "Name",
  9. ValueField = "CampusID",
  10. ID = "CampusDropdown",
  11. Name = "CampusDropdown",
  12. OnSelect = "queryCampus",
  13. GridOptions = new DataGridOptions
  14. {
  15. Columns = new List<DataGridColumn>()
  16. {
  17. //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CampusCode"), Align=AlignStyle.Center, Width=0.1 },
  18. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.12 }
  19. },
  20. IsCheckOnSelect = true,
  21. DataSourceUrl = Url.Content("~/Campus/List"),
  22. IsPagination = true,
  23. IsShowRowNumbers = true,
  24. IsSingleSelect = false,
  25. }
  26. };
  27. //院系所
  28. ComboGridOptions cgopCollege = new ComboGridOptions
  29. {
  30. TextField = "Name",
  31. ValueField = "CollegeID",
  32. ID = "CollegeDropdown",
  33. Name = "CollegeDropdown",
  34. OnSelect = "queryCollege",
  35. GridOptions = new DataGridOptions
  36. {
  37. Columns = new List<DataGridColumn>()
  38. {
  39. //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.1 },
  40. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 }
  41. },
  42. IsCheckOnSelect = true,
  43. DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
  44. IsPagination = true,
  45. IsShowRowNumbers = true,
  46. IsSingleSelect = false,
  47. }
  48. };
  49. //教研室
  50. ComboGridOptions cgopDepartment = new ComboGridOptions
  51. {
  52. TextField = "Name",
  53. ValueField = "DepartmentID",
  54. ID = "DepartmentDropdown",
  55. Name = "DepartmentDropdown",
  56. OnSelect = "reload",
  57. GridOptions = new DataGridOptions
  58. {
  59. Columns = new List<DataGridColumn>()
  60. {
  61. //new LinkButtonColumn { FieldName="No", HeaderText="开课教研室代码", Align=AlignStyle.Center, Width=0.1 },
  62. new BoundFieldColumn { FieldName="Name", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.2 }
  63. },
  64. IsCheckOnSelect = true,
  65. DataSourceUrl = Url.Content("~/Department/List"),
  66. IsPagination = true,
  67. IsShowRowNumbers = true,
  68. IsSingleSelect = false
  69. }
  70. };
  71. //年级
  72. ComboGridOptions cgopSchoolyear = new ComboGridOptions
  73. {
  74. TextField = "GradeID",
  75. ValueField = "GradeID",
  76. ID = "DictionarySchoolyear",
  77. Name = "DictionarySchoolyear",
  78. OnSelect = "querySchoolyear",
  79. GridOptions = new DataGridOptions
  80. {
  81. Columns = new List<DataGridColumn>()
  82. {
  83. new BoundFieldColumn { FieldName="GradeID", HeaderText="年级", Align=AlignStyle.Center, Width=0.1 }
  84. },
  85. IsCheckOnSelect = true,
  86. DataSourceUrl = Url.Content("~/Grademajor/GradeBindComboGridOptions"),
  87. IsPagination = true,
  88. IsShowRowNumbers = true,
  89. IsSingleSelect = false,
  90. }
  91. };
  92. //专业名称
  93. ComboGridOptions cgopStandard = new ComboGridOptions
  94. {
  95. TextField = "StandardName",
  96. ValueField = "StandardID",
  97. ID = "DictionaryStandard",
  98. Name = "DictionaryStandard",
  99. OnSelect = "queryStandard",
  100. GridOptions = new DataGridOptions
  101. {
  102. Columns = new List<DataGridColumn>()
  103. {
  104. new BoundFieldColumn { FieldName="StandardCode", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.06 },
  105. new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 }
  106. },
  107. IsCheckOnSelect = true,
  108. DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
  109. IsPagination = true,
  110. IsShowRowNumbers = true,
  111. IsSingleSelect = false,
  112. }
  113. };
  114. //学制
  115. ComboGridOptions cgopLearnSystem = new ComboGridOptions
  116. {
  117. TextField = "LearnSystem",
  118. ValueField = "LearnSystem",
  119. ID = "DictionaryLearnSystem",
  120. Name = "DictionaryLearnSystem",
  121. OnSelect = "reload",
  122. GridOptions = new DataGridOptions
  123. {
  124. Columns = new List<DataGridColumn>()
  125. {
  126. new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center }
  127. },
  128. IsCheckOnSelect = true,
  129. DataSourceUrl = Url.Content("~/Facultymajor/LearnSystem"),
  130. IsPagination = true,
  131. IsShowRowNumbers = true,
  132. IsSingleSelect = false,
  133. IsShowHeader = false
  134. }
  135. };
  136. //年级专业
  137. ComboGridOptions cgopGrademajor = new ComboGridOptions
  138. {
  139. TextField = "Name",
  140. ValueField = "GrademajorID",
  141. Name = "GrademajorComboGrid",
  142. ID = "GrademajorComboGrid",
  143. OnSelect = "queryGrademajor",
  144. GridOptions = new DataGridOptions
  145. {
  146. Columns = new List<DataGridColumn>()
  147. {
  148. new LinkButtonColumn { FieldName="Code", HeaderText="年级专业代码", Align=AlignStyle.Center, Width=0.1 },
  149. new BoundFieldColumn { FieldName="Name", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.3 }
  150. },
  151. PageSize = 5,
  152. IsCheckOnSelect = true,
  153. DataSourceUrl = Url.Content("~/Grademajor/List"),
  154. IsPagination = true,
  155. IsShowRowNumbers = true,
  156. IsSingleSelect = false
  157. }
  158. };
  159. //课程信息
  160. ComboGridOptions cgopCourse = new ComboGridOptions
  161. {
  162. TextField = "CourseName",
  163. ValueField = "CoursematerialID",
  164. ID = "CourseComboGrid",
  165. Name = "CourseComboGrid",
  166. OnSelect = "reload",
  167. GridOptions = new DataGridOptions
  168. {
  169. Columns = new List<DataGridColumn>()
  170. {
  171. new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.08 },
  172. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.15 }
  173. },
  174. PageSize = 5,
  175. IsCheckOnSelect = true,
  176. DataSourceUrl = Url.Content("~/Coursematerial/List"),
  177. IsPagination = true,
  178. IsShowRowNumbers = true,
  179. IsSingleSelect = false
  180. }
  181. };
  182. }
  183. @section scripts{
  184. <script src="~/Scripts/Business/EducationManage/ExecutablePlan.js" type="text/javascript"></script>
  185. <script type="text/javascript">
  186. var nonSelect = "@DropdownList.SELECT_ALL";
  187. //计划外-计划类型
  188. var outside = "@((int)EMIS.ViewModel.EM_PlanType.Outside)";
  189. //未提交-执行状态
  190. var notSubmitStatus = "@((int)EMIS.ViewModel.EM_ExecuteStatus.NotSubmited)";
  191. </script>
  192. }
  193. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  194. @Html.Position()
  195. <div class="p_SearchTitle">
  196. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  197. 查询条件</div>
  198. </div>
  199. <form id="formQuery" method="post" action="@Url.Content("~/ExecutablePlan/Excel")">
  200. @Html.PositionCondition()
  201. <div class="search_keyword">
  202. <div class="search_input">
  203. <ul>
  204. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  205. <li class="sv">
  206. @Html.DropdownList(new DropdownListOptions
  207. {
  208. ID = "SchoolyearDropdown",
  209. Name = "SchoolyearDropdown",
  210. BindType = DropdownListBindType.SelectAll,
  211. ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"),
  212. SelectedValue = BaseExtensions.GetCurrentSchoolYearID(),
  213. OnSelect = "reload"
  214. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  215. </li>
  216. @*<li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("Campus"):</li>
  217. <li class="sv">
  218. @Html.ComboGrid(cgopCampus, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  219. </li>*@
  220. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  221. <li class="sv">
  222. @Html.ComboGrid(cgopCollege, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  223. </li>
  224. <li class="sn" style="padding-left: 5px;">年级:</li>
  225. <li class="sv">
  226. @Html.ComboGrid(cgopSchoolyear, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  227. </li>
  228. <li class="sn" style="padding-left: 5px;">专业名称:</li>
  229. <li class="sv">
  230. @Html.ComboGrid(cgopStandard, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  231. </li>
  232. </ul>
  233. <ul>
  234. <li class="sn" style="padding-left: 5px;">@Html.RSLabel("EducationID"):</li>
  235. <li class="sv">
  236. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Education, DropdownListBindType.SelectAll,
  237. new ComboGridOptions
  238. {
  239. ID = "DictionaryEducation",
  240. Name = "DictionaryEducation",
  241. OnSelect = "reload"
  242. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  243. </li>
  244. <li class="sn" style="padding-left: 5px;">学习形式:</li>
  245. <li class="sv">
  246. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Learningform, DropdownListBindType.SelectAll,
  247. new ComboGridOptions
  248. {
  249. ID = "DictionaryLearningform",
  250. Name = "DictionaryLearningform",
  251. OnSelect = "reload"
  252. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  253. </li>
  254. <li class="sn" style="padding-left: 5px;">学制:</li>
  255. <li class="sv">
  256. @Html.ComboGrid(cgopLearnSystem, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  257. </li>
  258. <li class="sn" style="padding-left: 5px;color:red;">学位课程:</li>
  259. <li class="sv">
  260. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, DropdownListBindType.SelectAll,
  261. new ComboGridOptions
  262. {
  263. ID = "DictionaryIsMainCourse",
  264. Name = "DictionaryIsMainCourse",
  265. OnSelect = "reload"
  266. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  267. </li>
  268. </ul>
  269. <ul>
  270. @*<li class="sn" style="padding-left: 5px;color:red;">年级专业:</li>
  271. <li class="sv">
  272. @Html.ComboGrid(cgopGrademajor, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  273. </li>*@
  274. <li class="sn" style="padding-left: 5px;color:red;">课程名称:</li>
  275. <li class="sv">
  276. @Html.ComboGrid(cgopCourse, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  277. </li>
  278. <li class="sn" style="padding-left: 5px;color:red;">授课方式:</li>
  279. <li class="sv">
  280. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_TeachingMode, DropdownListBindType.SelectAll,
  281. new ComboGridOptions
  282. {
  283. ID = "DictionaryTeachingMode",
  284. Name = "DictionaryTeachingMode",
  285. OnSelect = "reload"
  286. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  287. </li>
  288. <li class="sn" style="padding-left: 5px;color:red;">处理方式:</li>
  289. <li class="sv">
  290. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_HandleMode, DropdownListBindType.SelectAll,
  291. new ComboGridOptions
  292. {
  293. ID = "DictionaryHandleMode",
  294. Name = "DictionaryHandleMode",
  295. OnSelect = "reload"
  296. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  297. </li>
  298. @*<li class="sn" style="padding-left: 5px;color:red;">计划类型:</li>
  299. <li class="sv">
  300. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.EM_PlanType, DropdownListBindType.SelectAll,
  301. new ComboGridOptions
  302. {
  303. ID = "DictionaryPlanType",
  304. Name = "DictionaryPlanType",
  305. OnSelect = "reload"
  306. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  307. </li>*@
  308. @*<li class="sn" style="padding-left: 5px;color:red;">在校状态:</li>
  309. <li class="sv">
  310. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_INOrOutSchoolStatus, new DropdownListOptions
  311. {
  312. ID = "DictionaryInschoolStatus",
  313. Name = "DictionaryInschoolStatus",
  314. BindType = DropdownListBindType.SelectAll,
  315. SelectedValue = (int)EMIS.ViewModel.CF_INOrOutSchoolStatus.Yes,
  316. OnSelect = "reload"
  317. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  318. </li>*@
  319. <li class="sn" style="padding-left: 5px;color:red;">状态:</li>
  320. <li class="sv">
  321. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.EM_ExecuteStatus, new DropdownListOptions
  322. {
  323. ID = "DictionaryApprovalStatus",
  324. Name = "DictionaryApprovalStatus",
  325. BindType = DropdownListBindType.SelectAll,
  326. SelectedValue = (int)EMIS.ViewModel.EM_ExecuteStatus.NotSubmited,
  327. OnSelect = "reload"
  328. }, new Dictionary<string, string> { { "data-condition", "dgExecutablePlanList" } })
  329. </li>
  330. </ul>
  331. </div>
  332. </div>
  333. </form>
  334. <div class="p_title">
  335. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  336. 执行计划列表</div>
  337. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  338. </div>
  339. @Html.PositionBatchModify()
  340. <div class="search_list">
  341. @Html.DataGrid(new DataGridOptions
  342. {
  343. Columns = new List<DataGridColumn>()
  344. {
  345. new CheckBoxFieldColumn{ HeaderText="", FieldName="ExecutablePlanID" },
  346. new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Handle="edit", Width=0.08 },
  347. //new BoundFieldColumn { FieldName="GrademajorCode", HeaderText="年级专业代码", Align=AlignStyle.Center, Width=0.08 },
  348. new BoundFieldColumn { FieldName="GrademajorName", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.06 },
  349. //new BoundFieldColumn { FieldName="GradeID", HeaderText="年级", Align=AlignStyle.Center, Width=0.03 },
  350. //new BoundFieldColumn { FieldName="StartSchoolcodeName", HeaderText="入学学期", Align=AlignStyle.Center, OrderFieldName="StartSchoolcodeID", Width=0.04 },
  351. //new BoundFieldColumn { FieldName="StartSchoolyearCode", HeaderText="入学学年学期", Align=AlignStyle.Center, Width=0.08 },
  352. //new BoundFieldColumn { FieldName="StandardCode", HeaderText="专业代码", Align=AlignStyle.Center, OrderFieldName="StandardID", Width=0.06 },
  353. //new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=10 },
  354. //new BoundFieldColumn { FieldName="EducationName", HeaderText=@EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, OrderFieldName="EducationID", Width=0.04, OverflowLength=4 },
  355. //new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center, OrderFieldName="LearningformID", Width=0.04, OverflowLength=4 },
  356. //new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center, Width=0.03 },
  357. //new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开课学年", Align=AlignStyle.Center, OrderFieldName="SchoolyearNumID", Width=0.04, CustomFormatFun="SetRedColumn" },
  358. //new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center, OrderFieldName="SchoolcodeID", Width=0.03, CustomFormatFun="SetRedColumn" },
  359. //new BoundFieldColumn { FieldName="StarttermName", HeaderText="开课学期", Align=AlignStyle.Center, OrderFieldName="StarttermID", Width=0.04, CustomFormatFun="SetRedColumn" },
  360. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 },
  361. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.06 },
  362. //new BoundFieldColumn { FieldName="CourseStructureName", HeaderText="课程结构", Align=AlignStyle.Center, OrderFieldName="CourseStructureID", Width=0.04, OverflowLength=4 },
  363. //new BoundFieldColumn { FieldName="CourseCategoryName", HeaderText="课程属性", Align=AlignStyle.Center, OrderFieldName="CourseCategoryID", Width=0.04, OverflowLength=4 },
  364. new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OrderFieldName="CourseTypeID", Width=0.04, OverflowLength=4 },
  365. //new BoundFieldColumn { FieldName="CourseQualityName", HeaderText="课程性质", Align=AlignStyle.Center, OrderFieldName="CourseQualityID", Width=0.04, OverflowLength=4 },
  366. new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
  367. new BoundFieldColumn { FieldName="TheoryCourse", HeaderText="理论学时", Align=AlignStyle.Center, Width=0.04 },
  368. new BoundFieldColumn { FieldName="Practicehours", HeaderText="实践学时", Align=AlignStyle.Center, Width=0.04 },
  369. new BoundFieldColumn { FieldName="Trialhours", HeaderText="实验学时", Align=AlignStyle.Center, Width=0.04 },
  370. new BoundFieldColumn { FieldName="Totalhours", HeaderText="总学时", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
  371. //new BoundFieldColumn { FieldName="TheoryWeeklyNum", HeaderText="理论周次", Align=AlignStyle.Center, Width=0.04 },
  372. //new BoundFieldColumn { FieldName="PracticeWeeklyNum", HeaderText="实践周次", Align=AlignStyle.Center, Width=0.04 },
  373. //new BoundFieldColumn { FieldName="TrialWeeklyNum", HeaderText="实验周次", Align=AlignStyle.Center, Width=0.04 },
  374. //new BoundFieldColumn { FieldName="SchoolweeksNum", HeaderText="总周次", Align=AlignStyle.Center, Width=0.03 },
  375. //new BoundFieldColumn { FieldName="WeeklyHours", HeaderText="周学时", Align=AlignStyle.Center, Width=0.03 },
  376. //new BoundFieldColumn { FieldName="WeeklyNum", HeaderText="每周次数", Align=AlignStyle.Center, Width=0.04 },
  377. //new BoundFieldColumn { FieldName="StartWeeklyNum", HeaderText="开始周次", Align=AlignStyle.Center, Width=0.04 },
  378. //new BoundFieldColumn { FieldName="EndWeeklyNum", HeaderText="结束周次", Align=AlignStyle.Center, Width=0.04 },
  379. new BoundFieldColumn { FieldName="StartEndWeeklyNum", HeaderText="起止周次", Align=AlignStyle.Center, Width=0.04 },
  380. //new BoundFieldColumn { FieldName="IsMainCourseName", HeaderText="学位课程", Align=AlignStyle.Center, OrderFieldName="IsMainCourse", Width=0.04 },
  381. //new BoundFieldColumn { FieldName="CourseFineName", HeaderText="精品课程", Align=AlignStyle.Center, OrderFieldName="CourseFineID", Width=0.04 },
  382. //new BoundFieldColumn { FieldName="PracticeTypeName", HeaderText="实践类型", Align=AlignStyle.Center, OrderFieldName="PracticeTypeID", Width=0.04 },
  383. //new BoundFieldColumn { FieldName="TeachinglanguageName", HeaderText="授课语言", Align=AlignStyle.Center, OrderFieldName="TeachinglanguageID", Width=0.04 },
  384. //new BoundFieldColumn { FieldName="ExaminationModeName", HeaderText="考试方式", Align=AlignStyle.Center, OrderFieldName="ExaminationModeID", Width=0.04 },
  385. //new BoundFieldColumn { FieldName="ResultTypeName", HeaderText="成绩类型", Align=AlignStyle.Center, OrderFieldName="ResultTypeID", Width=0.04 },
  386. new BoundFieldColumn { FieldName="DepartmentName", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.05, OverflowLength=5 },
  387. //new BoundFieldColumn { FieldName="CourseCollegeName", HeaderText=@EMIS.Utility.RSL.Get("CourseCollege"), Align=AlignStyle.Center, Width=0.05, OverflowLength=6 },
  388. new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.05, OverflowLength=6 },
  389. new LinkButtonColumn { FieldName="ClassGroupingName", HeaderText="上课类型", Align=AlignStyle.Center, Handle="editClassGrouping", Width=0.04, OverflowLength=4 },
  390. new BoundFieldColumn { FieldName="TeachingModeIDListName", HeaderText="授课方式", Align=AlignStyle.Center, OrderFieldName="", Width=0.04, OverflowLength=4, CustomFormatFun="SetRedColumn" },
  391. //new BoundFieldColumn { FieldName="TeachingPlaceIDListName", HeaderText="授课地点", Align=AlignStyle.Center, OrderFieldName="", Width=0.04, OverflowLength=4 },
  392. new LinkButtonColumn { FieldName="PlanRange", HeaderText="范围", Align=AlignStyle.Center, Handle="editPlanRange", Width=0.03 },
  393. new LinkButtonColumn { FieldName="StudentCount", HeaderText="人数", Align=AlignStyle.Center, Handle="editPlanStudent", Width=0.03 },
  394. new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", Align=AlignStyle.Center, OrderFieldName="HandleModeID", Width=0.04, OverflowLength=4, CustomFormatFun="SetRedColumn" },
  395. new BoundFieldColumn { FieldName="ExecuteStatusName", HeaderText="状态", Align=AlignStyle.Center, OrderFieldName="ExecuteStatus", Width=0.03, CustomFormatFun="SetRedColumn" }
  396. //new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.03, OverflowLength=3 }
  397. },
  398. CustomerRowStyleFun = "SetRedGrid",
  399. IsCheckOnSelect = true,
  400. DataSourceUrl = Url.Content("~/ExecutablePlan/List"),
  401. ID = "dgExecutablePlanList",
  402. IsPagination = true,
  403. IsShowRowNumbers = true,
  404. IsSingleSelect = false
  405. })
  406. </div>
  407. </div>