beetlsql3-dev
姚丹ab 2 years ago
parent 420a72bc1a
commit b9bc20bc6f

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

Loading…
Cancel
Save