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