TeacherCommunicate.js 867 B

123456789101112131415161718192021222324252627282930
  1. var mnu = "";
  2. //加载
  3. $(function () {
  4. mnu = $.SystemGeneral.getUrlParam("MNU");
  5. })
  6. $.parser.onComplete = function (context) {
  7. $("#cgbCourse").find(".combo-clear").attr("disabled", "disabled");
  8. };
  9. function reload() {
  10. $("#dgTeacherCommunicateList").cmsXDataTable("load", $.getDataGridParams("dgTeacherCommunicateList"));
  11. }
  12. function queryCourse() {
  13. try {
  14. var schoolyearID = $("#ddlSchoolyear").combobox("getValue");
  15. var jsonString = "({'QueryParamsDatas':'";
  16. if (schoolyearID != nonSelect) {
  17. jsonString += "Schoolyear|*|" + schoolyearID + "|@|";
  18. }
  19. jsonString += "'})";
  20. $("#cgbCourse").combogridX("reload", eval(jsonString));
  21. } catch (e) {
  22. }
  23. }
  24. function openQQ(rowIndex, rowData) {
  25. window.open("tencent://Message/?Uin=" + rowData.QQ + "&websiteName=q-zone.qq.com&Menu=yes");
  26. }