12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- var mnu = "";
- //加载
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- });
- function Student_Sava() {
- var userID = $("#UserID").val();
- var code = $("#LoginID").val();
- var ReplaceGraduateNo = $("#ReplaceGraduateNo").val();
- $.post('/Students/Verification', { userID: userID, code: code, ReplaceGraduateNo: ReplaceGraduateNo }, function (data) {
- if (data == "成功") {
- $(document.forms[0]).submit();
- } else {
- $.messager.alert("系统提示", data);
- }
- });
- }
- function QueryClassmajorComboGrid(data) {
- var schoolyearID = $(this)[0].SchoolyearID; //班级的毕业学年学期
- // var learnSystem = $(this)[0].LearnSystem;
- // var yearID = parseInt(schoolyearID) + parseInt(learnSystem);
- // var schoolcodeID = $(this)[0].SchoolcodeID;
- $.post('/Students/GetPlanningGraduateDate', { GradeMajorID: data.GrademajorID }, function (data) {
- if (data != "") {
- $("#PlanningGraduateDate").val(data);
- $("#PlanningGraduateDateStr").val(data);
- }
- });
- }
- //点击列表更新
- function edit(rowindex, rowdata) {
- showDialog(rowdata.EntityID);
- }
- function showDialog(id) {
- var redirectTo = "/DifferentDynamicResult/Edit?a=1";
- if (id) {
- redirectTo = redirectTo + '&id=' + id;
- }
- redirectTo = redirectTo + '&MNU=' + mnu;
- // top.$('#sysWindow').dialog({
- // title: '异动申请信息',
- // width: 800,
- // height: 500,
- // content: '<iframe id="iframe1" frameborder="0" scrolling="no" width="770" height="420" src="' + redirectTo + '"></iframe>',
- // modal: true
- // });
- $.popupTopWindow('异动详情', redirectTo, 800, 600, null, null);
- }
|