|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th width="9%">ID</th>
|
|
|
|
|
<th width="20%" class="edu-txt-left">实训套件名称</th>
|
|
|
|
|
<th width="18%" class="edu-txt-left">实训套件名称</th>
|
|
|
|
|
<th width="6%">阶段</th>
|
|
|
|
|
<th width="10%">技术体系</th>
|
|
|
|
|
<th width="10%">等级体系</th>
|
|
|
|
@ -75,6 +75,10 @@
|
|
|
|
|
<input type="checkbox" name="homepage_show" <%= c_shixun.status == 2 ? "" : "disabled" %> value="<%= c_shixun.id %>" <%= c_shixun.homepage_show ? "checked" : "" %> class="ml-3 mr5 magic-checkbox" id="homepage_show_<%= c_shixun.id %>">
|
|
|
|
|
<label style="top:0px;padding-left: 19px;" for="homepage_show_<%= c_shixun.id %>">首页</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="fl ml5">
|
|
|
|
|
<input type="checkbox" name="excellent" <%= c_shixun.status == 2 ? "" : "disabled" %> value="<%= c_shixun.id %>" <%= c_shixun.excellent ? "checked" : "" %> class="ml-3 mr5 magic-checkbox" id="excellent_<%= c_shixun.id %>">
|
|
|
|
|
<label style="top:0px;padding-left: 19px;" for="excellent_<%= c_shixun.id %>">金课</label>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<% end %>
|
|
|
|
@ -131,7 +135,16 @@
|
|
|
|
|
type: 'post',
|
|
|
|
|
dateType: "script"
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
$("input[name='excellent']").click(function(){
|
|
|
|
|
var subject_id = $(this).val();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url:"<%= excellent_subject_setting_managements_path %>",
|
|
|
|
|
data: {subject_id: subject_id},
|
|
|
|
|
type: 'post',
|
|
|
|
|
dateType: "script"
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
function select_repertoire(subject_id, rep_id){
|
|
|
|
|
$.ajax({
|
|
|
|
|