1234567891011121314151617181920212223242526 |
- var finalExaminationID;
- var mnu;
- var windowID;
- $(function () {
- finalExaminationID = $.SystemGeneral.getUrlParam("finalExaminationID");
- mnu = $.SystemGeneral.getUrlParam("MNU");
- windowID = $.SystemGeneral.getUrlParam("WindowID");
- });
- function Score_ExcelImport() {
- var obj = $("#file").val();
- if (obj == "") {
- $.messager.alert("系统提示", "请选择您要导入的文件。");
- return;
- }
- var url = CMS_SystemConfig.VirtualDirectoryPath + '/Score/Import?finalExaminationID=' + finalExaminationID;
- url += "&MNU=" + mnu + "&WindowID=" + windowID;
- $(document.forms[0]).attr('action', url);
- $(document.forms[0]).submit();
- }
- function Score_ExcelExport() {
- var url = CMS_SystemConfig.VirtualDirectoryPath + '/Score/Export?finalExaminationID=' + finalExaminationID;
- url += "&MNU=" + mnu + "&WindowID=" + windowID;
- $(document.forms[0]).attr('action', url);
- $(document.forms[0]).submit();
- }
|