|
|
|
@ -52,7 +52,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-row">
|
|
|
|
|
<table class="layui-table">
|
|
|
|
|
<table class="layui-table" id="syTable">
|
|
|
|
|
<colgroup>
|
|
|
|
|
<col width="80">
|
|
|
|
|
<col width="300">
|
|
|
|
@ -78,7 +78,7 @@
|
|
|
|
|
{{# layui.each(d.list, function(index, item){ }}
|
|
|
|
|
<tr index="{{index}}">
|
|
|
|
|
<td><input type="checkbox" name="xt_id" {{item.useType !=null && item.useType !=0?'checked':''}}
|
|
|
|
|
lay-skin="primary" lay-filter="select_xt"></td>
|
|
|
|
|
lay-skin="primary" lay-filter="select_xt" value="{{item.typeId}}"></td>
|
|
|
|
|
<td>{{item.applicationName}}</td>
|
|
|
|
|
<td>
|
|
|
|
|
<select name="useType" lay-filter="select_useType_1">
|
|
|
|
@ -276,8 +276,11 @@
|
|
|
|
|
|
|
|
|
|
//加载课程数据
|
|
|
|
|
function loadkcInfo() {
|
|
|
|
|
var ret = Common.getAjax("/jlw/universitiesCollegesJurisdictionCurriculumResources/getAllByQuery.json", {
|
|
|
|
|
universitiesCollegesId: $("select[name='universitiesCollegesId']").val() || onUniversitiesCollegesId
|
|
|
|
|
var typeIds = '';
|
|
|
|
|
$("input[name='xt_id']:checked").each(function (obj) {typeIds += obj+',';});
|
|
|
|
|
var ret = Common.getAjax("/jlw/resourcesApplicationCourse/getAllByApplicationIds.json", {
|
|
|
|
|
universitiesCollegesId: $("select[name='universitiesCollegesId']").val() || onUniversitiesCollegesId,
|
|
|
|
|
applicationIds:typeIds.substring(0,typeIds.length-1)
|
|
|
|
|
});//获取课程系统
|
|
|
|
|
kcList = ret.data;
|
|
|
|
|
loadujr(kcList);
|
|
|
|
@ -316,6 +319,9 @@
|
|
|
|
|
} else {
|
|
|
|
|
$("input[name='allSelect_1']").prop("checked", false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
loadkcInfo();
|
|
|
|
|
|
|
|
|
|
form.render();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -419,6 +425,10 @@
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//选择授权院校
|
|
|
|
|
form.on('select(select_universitiesColleges)', function (obj) {
|
|
|
|
|
loadkcInfo();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//切换使用级别
|
|
|
|
|
form.on('select(select_useType_1)', function (obj) {
|
|
|
|
|