StudentChargeList.cshtml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeStandardView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "StudentChargeList";
  6. Guid? grademajorID = new Guid(Request["grademajorID"]);
  7. int? chargeYearID = Convert.ToInt32(Request["chargeYearID"]);
  8. Guid? chargeProjectID = new Guid(Request["chargeProjectID"]);
  9. int? inschoolStatus = Convert.ToInt32(Request["inschoolStatus"]);
  10. }
  11. @section scripts{
  12. <script src="~/Scripts/Business/ChargeManage/ChargeSituation/ChargeStandard.js" type="text/javascript"></script>
  13. <script type="text/javascript">
  14. var nonSelect = "@DropdownList.SELECT_ALL";
  15. function StudentCharge_Export() {
  16. $("#formQuery").submit();
  17. }
  18. </script>
  19. }
  20. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  21. <form id="formQuery" method="post" action="@Url.Content("~/ChargeStandard/GrademajorStudentChargeExcel?grademajorID=" + grademajorID + "&chargeYearID=" + chargeYearID + "&chargeProjectID=" + chargeProjectID + "&inschoolStatus=" + inschoolStatus)">
  22. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("ChaDetail")</div>
  23. </form>
  24. <div class="search_list">
  25. @Html.DataGrid(new DataGridOptions
  26. {
  27. Columns = new List<DataGridColumn>()
  28. {
  29. new CheckBoxFieldColumn { FieldName="UserID" },
  30. new BoundFieldColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center,Width=0.1 },
  31. new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center,Width=0.04 },
  32. new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center,Width=0.02 },
  33. new BoundFieldColumn { FieldName="ClassName", HeaderText="班级名称", Align=AlignStyle.Center,Width=0.1 },
  34. new BoundFieldColumn { FieldName="ChargeYear", HeaderText="缴费学年", Align=AlignStyle.Center,Width=0.04 },
  35. new BoundFieldColumn { FieldName="ChargeProjectStr", HeaderText="收费项目", Align=AlignStyle.Center,Width=0.04 },
  36. new BoundFieldColumn { FieldName="Amount", HeaderText="应收金额(¥)", Align=AlignStyle.Center,Width=0.06 },
  37. new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center,Width=0.04 },
  38. //new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center,Width=0.04 },
  39. new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center,Width=0.03, OverflowLength=5 }
  40. },
  41. PageSize = 30,
  42. IsCheckOnSelect = true,
  43. DataSourceUrl = Url.Content("~/ChargeStandard/StudentChargeList?grademajorID=" + grademajorID + "&chargeYearID=" + chargeYearID + "&chargeProjectID=" + chargeProjectID + "&inschoolStatus=" + inschoolStatus),
  44. IsPostBack = true,
  45. ID = "dgStudentChargeList",
  46. IsPagination = true,
  47. IsShowRowNumbers = true,
  48. IsSingleSelect = false
  49. })
  50. </div>
  51. </div>