List.cshtml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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 = "DictionaryGrade",
  77. Name = "DictionaryGrade",
  78. OnSelect = "queryGrade",
  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 cgopClassmajor = new ComboGridOptions
  138. {
  139. TextField = "Name",
  140. ValueField = "ClassmajorID",
  141. Name = "ClassmajorComboGrid",
  142. ID = "ClassmajorComboGrid",
  143. OnSelect = "queryClassmajor",
  144. GridOptions = new DataGridOptions
  145. {
  146. Columns = new List<DataGridColumn>()
  147. {
  148. new LinkButtonColumn { FieldName="No", 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("~/Classmajor/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/EducationArrange/EducationMissionClassStudent.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("~/EducationMissionClassStudent/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", "dgEducationMissionClassStudentList" } })
  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", "dgEducationMissionClassStudentList" } })
  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", "dgEducationMissionClassStudentList" } })
  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", "dgEducationMissionClassStudentList" } })
  227. </li>
  228. </ul>
  229. <ul>
  230. <li class="sn" style="padding-left: 5px;">专业名称:</li>
  231. <li class="sv">
  232. @Html.ComboGrid(cgopStandard, new Dictionary<string, string> { { "data-condition", "dgEducationMissionClassStudentList" } })
  233. </li>
  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", "dgEducationMissionClassStudentList" } })
  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", "dgEducationMissionClassStudentList" } })
  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", "dgEducationMissionClassStudentList" } })
  257. </li>
  258. </ul>
  259. <ul>
  260. <li class="sn" style="padding-left: 5px;color:red;">班级名称:</li>
  261. <li class="sv">
  262. @Html.ComboGrid(cgopClassmajor, new Dictionary<string, string> { { "data-condition", "dgEducationMissionClassStudentList" } })
  263. </li>
  264. <li class="sn" style="padding-left: 5px;color:red;">课程名称:</li>
  265. <li class="sv">
  266. @Html.ComboGrid(cgopCourse, new Dictionary<string, string> { { "data-condition", "dgEducationMissionClassStudentList" } })
  267. </li>
  268. <li class="sn" style="padding-left: 5px;color:red;">在校状态:</li>
  269. <li class="sv">
  270. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_INOrOutSchoolStatus, new DropdownListOptions
  271. {
  272. ID = "DictionaryInschoolStatus",
  273. Name = "DictionaryInschoolStatus",
  274. BindType = DropdownListBindType.SelectAll,
  275. SelectedValue = (int)EMIS.ViewModel.CF_INOrOutSchoolStatus.Yes,
  276. OnSelect = "reload"
  277. }, new Dictionary<string, string> { { "data-condition", "dgEducationMissionClassStudentList" } })
  278. </li>
  279. <li class="sn" style="padding-left: 5px;color:red;">状态:</li>
  280. <li class="sv">
  281. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.EM_EducationMissionClassStatus, new DropdownListOptions
  282. {
  283. ID = "DictionaryApprovalStatus",
  284. Name = "DictionaryApprovalStatus",
  285. BindType = DropdownListBindType.SelectAll,
  286. OnSelect = "reload"
  287. }, new Dictionary<string, string> { { "data-condition", "dgEducationMissionClassStudentList" } })
  288. </li>
  289. </ul>
  290. </div>
  291. </div>
  292. </form>
  293. <div class="p_title">
  294. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  295. 任务名单列表</div>
  296. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  297. </div>
  298. @* @Html.PositionBatchModify()*@
  299. <div class="search_list">
  300. @Html.DataGrid(new DataGridOptions
  301. {
  302. Columns = new List<DataGridColumn>()
  303. {
  304. new CheckBoxFieldColumn{ HeaderText="", FieldName="EducationSchedulingClassID" },
  305. //new BoundFieldColumn { FieldName="UserID", HeaderText="UserID", Align=AlignStyle.Center, IsHidden=true },
  306. new LinkButtonColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 },
  307. new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 },
  308. new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, OrderFieldName="SexID", Width=0.02 },
  309. //new BoundFieldColumn { FieldName="BirthDate", HeaderText="出生日期", Align=AlignStyle.Center, Width=0.06, Formatter = Formatter.OnlyYearMonthDay },
  310. //new BoundFieldColumn { FieldName="NationName", HeaderText="民族", Align=AlignStyle.Center, OrderFieldName="NationID", Width=0.03 },
  311. //new BoundFieldColumn { FieldName="PoliticsName", HeaderText="政治面貌", Align=AlignStyle.Center, OrderFieldName="PoliticsID", Width=0.04 },
  312. new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, OrderFieldName="InSchoolStatusID", Width=0.04, CustomFormatFun="SetRedColumn" },
  313. //new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, OrderFieldName="StudentStatus", Width=0.04 },
  314. //new BoundFieldColumn { FieldName="GradeID", HeaderText="年级", Align=AlignStyle.Center, OrderFieldName="GradeID", Width=0.03 },
  315. //new BoundFieldColumn { FieldName="ClassNum", HeaderText="班序", Align=AlignStyle.Center, Width=0.02 },
  316. //new BoundFieldColumn { FieldName="ClassmajorNo", HeaderText="班级编号", Align=AlignStyle.Center, Width=0.06 },
  317. new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 },
  318. //new BoundFieldColumn { FieldName="GrademajorCode", HeaderText="年级专业代码", Align=AlignStyle.Center, Width=0.06 },
  319. //new BoundFieldColumn { FieldName="GrademajorName", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 },
  320. //new BoundFieldColumn { FieldName="StandardCode", HeaderText="专业代码", Align=AlignStyle.Center, OrderFieldName="StandardID", Width=0.06 },
  321. //new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, OrderFieldName="StandardID", Width=0.08 },
  322. //new BoundFieldColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, OrderFieldName="EducationID", Width=0.04 },
  323. //new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Align=AlignStyle.Center, OrderFieldName="LearningformID", Width=0.06 },
  324. //new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center, Width=0.03 },
  325. //new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.05, OverflowLength=6 },
  326. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 },
  327. //new BoundFieldColumn { FieldName="MissionName", HeaderText="任务名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=5 },
  328. //new BoundFieldColumn { FieldName="OrderNo", HeaderText="任务班序", Align=AlignStyle.Center, Width=0.04 },
  329. new BoundFieldColumn { FieldName="MissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=10 },
  330. //new BoundFieldColumn { FieldName="SchedulingClassName", HeaderText="排课班名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=5 },
  331. //new BoundFieldColumn { FieldName="MainScheduleClassName", HeaderText="主排课班级名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=8 },
  332. //new BoundFieldColumn { FieldName="MissionSourceName", HeaderText="任务来源", Align=AlignStyle.Center, OrderFieldName="MissionSourceID", Width=0.04, OverflowLength=4 },
  333. //new BoundFieldColumn { FieldName="MissionTypeName", HeaderText="任务类型", Align=AlignStyle.Center, OrderFieldName="MissionTypeID", Width=0.04, OverflowLength=4 },
  334. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 },
  335. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.08, OverflowLength=10 },
  336. //new BoundFieldColumn { FieldName="CourseStructureName", HeaderText="课程结构", Align=AlignStyle.Center, OrderFieldName="CourseStructureID", Width=0.04, OverflowLength=4 },
  337. //new BoundFieldColumn { FieldName="CourseCategoryName", HeaderText="课程属性", Align=AlignStyle.Center, OrderFieldName="CourseCategoryID", Width=0.04, OverflowLength=4 },
  338. new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OrderFieldName="CourseTypeID", Width=0.04, OverflowLength=4 },
  339. //new BoundFieldColumn { FieldName="CourseQualityName", HeaderText="课程性质", Align=AlignStyle.Center, OrderFieldName="CourseQualityID", Width=0.04, OverflowLength=4 },
  340. //new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开课学年", Align=AlignStyle.Center, OrderFieldName="SchoolyearNumID", Width=0.04, CustomFormatFun="SetRedColumn" },
  341. //new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center, OrderFieldName="SchoolcodeID", Width=0.03, CustomFormatFun="SetRedColumn" },
  342. //new BoundFieldColumn { FieldName="StarttermName", HeaderText="开课学期", Align=AlignStyle.Center, OrderFieldName="StarttermID", Width=0.04, CustomFormatFun="SetRedColumn" },
  343. new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
  344. //new BoundFieldColumn { FieldName="TheoryCourse", HeaderText="理论学时", Align=AlignStyle.Center, Width=0.04 },
  345. //new BoundFieldColumn { FieldName="Practicehours", HeaderText="实践学时", Align=AlignStyle.Center, Width=0.04 },
  346. //new BoundFieldColumn { FieldName="Trialhours", HeaderText="实验学时", Align=AlignStyle.Center, Width=0.04 },
  347. new BoundFieldColumn { FieldName="Totalhours", HeaderText="总学时", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
  348. new BoundFieldColumn { FieldName="ExecHours", HeaderText="执行学时", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
  349. //new BoundFieldColumn { FieldName="TheoryWeeklyNum", HeaderText="理论周次", Align=AlignStyle.Center, Width=0.04 },
  350. //new BoundFieldColumn { FieldName="PracticeWeeklyNum", HeaderText="实践周次", Align=AlignStyle.Center, Width=0.04 },
  351. //new BoundFieldColumn { FieldName="TrialWeeklyNum", HeaderText="实验周次", Align=AlignStyle.Center, Width=0.04 },
  352. //new BoundFieldColumn { FieldName="SchoolweeksNum", HeaderText="总周次", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
  353. //new BoundFieldColumn { FieldName="WeeklyHours", HeaderText="周学时", Align=AlignStyle.Center, Width=0.03 },
  354. //new BoundFieldColumn { FieldName="WeeklyNum", HeaderText="每周次数", Align=AlignStyle.Center, Width=0.04 },
  355. //new BoundFieldColumn { FieldName="StartWeeklyNum", HeaderText="开始周次", Align=AlignStyle.Center, Width=0.04 },
  356. //new BoundFieldColumn { FieldName="EndWeeklyNum", HeaderText="结束周次", Align=AlignStyle.Center, Width=0.04 },
  357. //new BoundFieldColumn { FieldName="StartEndWeeklyNum", HeaderText="起止周次", Align=AlignStyle.Center, Width=0.04 },
  358. new BoundFieldColumn { FieldName="ExecWeeklyNum", HeaderText="执行周次", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" },
  359. new BoundFieldColumn { FieldName="DepartmentName", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.05, OverflowLength=5 },
  360. //new BoundFieldColumn { FieldName="CourseCollegeName", HeaderText=@EMIS.Utility.RSL.Get("CourseCollege"), Align=AlignStyle.Center, Width=0.05, OverflowLength=6 },
  361. //new BoundFieldColumn { FieldName="ClassroomTypeName", HeaderText="教室类型", Align=AlignStyle.Center, OrderFieldName="ClassroomTypeID", Width=0.04 },
  362. //new BoundFieldColumn { FieldName="ClassroomName", HeaderText="教室名称", Align=AlignStyle.Center, Width=0.04, OverflowLength=3 },
  363. //new BoundFieldColumn { FieldName="IsNeedMaterialName", HeaderText="教材", Align=AlignStyle.Center, OrderFieldName="IsNeedMaterial", Width=0.02 },
  364. //new BoundFieldColumn { FieldName="TeachinglanguageName", HeaderText="授课语言", Align=AlignStyle.Center, OrderFieldName="TeachinglanguageID", Width=0.04 },
  365. //new BoundFieldColumn { FieldName="ExaminationModeName", HeaderText="考试方式", Align=AlignStyle.Center, OrderFieldName="ExaminationModeID", Width=0.04 },
  366. //new BoundFieldColumn { FieldName="ResultTypeName", HeaderText="成绩类型", Align=AlignStyle.Center, OrderFieldName="ResultTypeID", Width=0.04, OverflowLength=4 },
  367. new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", Align=AlignStyle.Center, OrderFieldName="HandleModeID", Width=0.04, OverflowLength=4, CustomFormatFun="SetRedColumn" },
  368. new BoundFieldColumn { FieldName="TeachingModeName", HeaderText="授课方式", Align=AlignStyle.Center, OrderFieldName="TeachingModeID", Width=0.04, OverflowLength=4, CustomFormatFun="SetRedColumn" },
  369. new BoundFieldColumn { FieldName="ApprovalStatusName", HeaderText="状态", Align=AlignStyle.Center, OrderFieldName="ApprovalStatus", Width=0.03, CustomFormatFun="SetRedColumn" }
  370. //new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.03, OverflowLength=3 }
  371. },
  372. IsCheckOnSelect = true,
  373. DataSourceUrl = Url.Content("~/EducationMissionClassStudent/List"),
  374. ID = "dgEducationMissionClassStudentList",
  375. IsPagination = true,
  376. IsShowRowNumbers = true,
  377. IsSingleSelect = false
  378. })
  379. </div>
  380. </div>