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

@ -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);
});
//返回

Loading…
Cancel
Save