Reentry.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. var mnu = "";
  2. //加载
  3. $(function () {
  4. mnu = $.SystemGeneral.getUrlParam("MNU");
  5. });
  6. //联动查询
  7. function queryStandard(data) {
  8. reload();
  9. }
  10. function queryCollege(data) {
  11. var campusID = $("#cbgCampus").combogridX("getValue");
  12. var collegeID = $("#cbgCollege").combogridX("getValue");
  13. var collegeJsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|'})";
  14. $("#cbgCollege").combogridX("reload", eval(collegeJsonString));
  15. var standardJsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|";
  16. standardJsonString += "CollegeDropdown|*|" + collegeID + "|@|'})";
  17. $("#cbgStandard").combogridX("reload", eval(standardJsonString));
  18. reload();
  19. }
  20. function reload() {
  21. $("#dgList").cmsXDataTable("load", $.getDataGridParams("dgList"));
  22. }
  23. //获取选中的数据
  24. function validChoose() {
  25. var d = [];
  26. $.each($("#dgList").cmsXDataTable("getSelections"), function (index) {
  27. d.push(this.EntityID);
  28. });
  29. return d;
  30. }
  31. function Reentry_Export() {
  32. $("#formQuery").submit();
  33. }