diff --git a/web/src/main/resources/templates/jlw/universitiesCollegesJurisdictionExperimentalSystem/add.html b/web/src/main/resources/templates/jlw/universitiesCollegesJurisdictionExperimentalSystem/add.html index 92e00339..896edbf6 100644 --- a/web/src/main/resources/templates/jlw/universitiesCollegesJurisdictionExperimentalSystem/add.html +++ b/web/src/main/resources/templates/jlw/universitiesCollegesJurisdictionExperimentalSystem/add.html @@ -652,22 +652,28 @@ if (t == false) { return false; } + layer.load(); var param = { universitiesCollegesId: universitiesCollegesId, UniversitiesCollegesJurisdictionExperimentalSystemListJson: JSON.stringify(xtList), UniversitiesCollegesJurisdictionCurriculumResourcesListJson: JSON.stringify(kcList) }; - var ret = Common.postAjax("/jlw/universitiesCollegesJurisdictionExperimentalSystem/addAll.json", param); - layer.msg(ret.code == 0 ? "保存成功!" : ret.msg, { - offset: ['50%'], - icon: ret.code == 0 ? 1 : 2, - time: 1500 //2秒关闭(如果不配置,默认是3秒) - }, function () { - if (ret.code == 0) { - parent.Lib.tableRefresh(); - Lib.closeFrame(); - } - }); + var ret; + setTimeout(function () { + ret= Common.postAjax("/jlw/universitiesCollegesJurisdictionExperimentalSystem/addAll.json", param); + layer.msg(ret.code == 0 ? "保存成功!" : ret.msg, { + offset: ['50%'], + icon: ret.code == 0 ? 1 : 2, + time: 1500 //2秒关闭(如果不配置,默认是3秒) + }, function () { + layer.closeAll() + if (ret.code == 0) { + parent.Lib.tableRefresh(); + Lib.closeFrame(); + } + }); + }, 10); + }); //返回