StudentExaminationCourseList.js 608 B

1234567891011121314151617181920212223242526
  1. 
  2. var mnu;
  3. $(function () {
  4. mnu = $.SystemGeneral.getUrlParam("MNU");
  5. });
  6. //获取选中的数据
  7. function validChoose() {
  8. var d = [];
  9. $.each($("#dgStudentExaminationCourseList").cmsXDataTable("getSelections"), function (index) {
  10. d.push(this.ExaminationPlanID);
  11. });
  12. return d;
  13. }
  14. function reload() {
  15. $("#dgStudentExaminationCourseList").cmsXDataTable("load", $.getDataGridParams("dgStudentExaminationCourseList"));
  16. }
  17. function StudentExaminationCourse_Export() {
  18. var d = validChoose().join(',');
  19. $("[name='SelectedID']").val(d);
  20. $(document.forms[0]).submit();
  21. }