1234567891011121314151617181920212223242526272829 |
- $(function () {
- windowID = $.SystemGeneral.getUrlParam("WindowID");
- retakePlanStudentID = top.$("#" + windowID).data("inputData");
- });
- //获取选中的数据
- function validChoose() {
- var d = [];
- $.each($("#dgEducationMissionList").cmsXDataTable("getSelections"), function (index) {
- d.push(this);
- });
- return d;
- }
- function SelectMission_Confirm() {
- var d = validChoose();
- if (d.length == 0) {
- $.messager.alert("系统提示", "请选择您要重修的任务班信息。");
- return;
- }
- if (d.length > 1) {
- $.messager.alert("系统提示", "只能选择一个任务班进行重修。");
- return;
- }
- top.$("#" + windowID).data("resultData", { retakePlanStudentID: retakePlanStudentID, educationMission: d[0] });
- top.$("#" + windowID).dialog("close");
- }
|