EvaluationEnter.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. var url = CMS_SystemConfig.VirtualDirectoryPath + "/EvaluationEnter/Edit";
  2. var mnu = "";
  3. //加载
  4. $(function () {
  5. mnu = $.SystemGeneral.getUrlParam("MNU");
  6. });
  7. function reload() {
  8. $("#dgEvaluationEnterList").cmsXDataTable("load", $.getDataGridParams("dgEvaluationEnterList"));
  9. }
  10. //获取选中的教学任务班数据
  11. function validChoose() {
  12. var d = [];
  13. $.each($("#dgEvaluationEnterList").cmsXDataTable("getSelections"), function (index) {
  14. d.push(this.EducationMissionClassID);
  15. });
  16. return d;
  17. }
  18. //点击进入评价
  19. function edit(rowindex, rowdata) {
  20. var redirectTo = url;
  21. redirectTo = redirectTo + '?evaluationSettingID=' + rowdata.EvaluationSettingID + "&evaluationTableID=" + rowdata.EvaluationTableID + "&evaluationEnterID=" + rowdata.EvaluationEnterID + "&IsEvaluation=" + rowdata.IsEvaluation;
  22. redirectTo = redirectTo + '&MNU=' + mnu;
  23. $.popupTopWindow('进入评价信息', redirectTo, 850, 600, null, null);
  24. }
  25. function showDialog(id) {
  26. var redirectTo = url;
  27. if (id) {
  28. redirectTo = redirectTo + '?id=' + id;
  29. }
  30. redirectTo = redirectTo + '&MNU=' + mnu;
  31. $.popupTopWindow('进入评价信息', redirectTo, 850, 600, null, null);
  32. }
  33. //进入评价导出
  34. function EvaluationEntry_Export() {
  35. $("#formQuery").submit();
  36. }