StudentEvaluationEnter.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. var url = CMS_SystemConfig.VirtualDirectoryPath + "/StudentEvaluationEnter/EnterEdit";
  2. var mnu = "";
  3. //加载
  4. $(function () {
  5. mnu = $.SystemGeneral.getUrlParam("MNU");
  6. })
  7. //刷新
  8. function reload() {
  9. $("#dgStudentEvaluationEnterList").cmsXDataTable("load", $.getDataGridParams("dgStudentEvaluationEnterList"));
  10. }
  11. //获取选中的数据
  12. function validChoose() {
  13. var d = [];
  14. $.each($("#dgStudentEvaluationEnterList").cmsXDataTable("getSelections"), function (index) {
  15. d.push(this.EvaluationStudentID);
  16. });
  17. return d;
  18. }
  19. //点击进入评价
  20. function enterEdit(rowindex, rowdata) {
  21. var redirectTo = url + "?evaluationStudentSettingID=" + rowdata.EvaluationStudentSettingID + "&MNU=" + mnu;
  22. $.popupTopWindow('教学质量评价活动信息', redirectTo, (window.screen.availWidth * 0.6), (window.screen.availHeight * 0.65), reload, null);
  23. }
  24. //设置列颜色为红色
  25. function SetRedColumn(index, row, value) {
  26. return " <span style=\"color: red;\">" + value + "</span>";
  27. }
  28. //导出Excel
  29. function StudentEvaluationEnter_Export() {
  30. $("#formQuery").submit();
  31. }