InSchoolSetting.js 820 B

123456789101112131415161718192021222324252627282930313233343536
  1. var url = CMS_SystemConfig.VirtualDirectoryPath + "/InSchoolSetting/Edit";
  2. var mnu = "";
  3. //加载
  4. $(function () {
  5. mnu = $.SystemGeneral.getUrlParam("MNU");
  6. })
  7. //刷新
  8. function reload() {
  9. $("#dgInSchoolSettingList").cmsXDataTable("load", $.getDataGridParams("dgInSchoolSettingList"));
  10. }
  11. //获取选中的数据
  12. function validChoose() {
  13. var d = [];
  14. $.each($("#dgInSchoolSettingList").cmsXDataTable("getSelections"), function (index) {
  15. d.push(this.InSchoolSettingID);
  16. });
  17. return d;
  18. }
  19. //设置
  20. function InSchoolSetting_Save() {
  21. $(document.forms[0]).submit();
  22. }
  23. //设置列颜色为红色
  24. function SetRedColumn(index, row, value) {
  25. return " <span style=\"color: red;\">" + value + "</span>";
  26. }
  27. //Excel导出
  28. function InSchoolSetting_Export() {
  29. $("#formQuery").submit();
  30. }