|
@@ -253,7 +253,7 @@
|
|
|
|
|
|
<input id="btnSubmit" class="btn btn-primary" type="button" value="查询" onclick="goSearch()"/>
|
|
|
<input id="btnImport" class="btn" type="button" value="导入"/>
|
|
|
- <a href="###" class="btn hide" id="save-button"">绑定评卷员</a>
|
|
|
+ <input class="btn" type="button" value="绑定评卷员" disabled id="save-button"/>
|
|
|
<!-- <input id="btnExport" class="btn" type="button" value="导出"/> -->
|
|
|
|
|
|
<input id="btnEnable" class="btn" type="button" value="启用" onclick="goEnable(true)"/>
|
|
@@ -322,7 +322,11 @@
|
|
|
<c:if test="${marker.enable==false}">
|
|
|
<a href="javascript:void(0)" class="toggle-button" data-id="${marker.id}" data-value="true">启用</a>
|
|
|
</c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${(web_user.schoolAdmin==true||web_user.role=='SUBJECT_HEADER') && marker.reseting==false}">
|
|
|
<a href="${ctx}/admin/exam/marker/delete?markerId=${marker.id}">解绑</a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${web_user.schoolAdmin==true && marker.reseting==false}">
|
|
|
<a href="javascript:void(0)" class="release-button" data-id="${marker.id}">回收</a>
|
|
|
<a href="javascript:void(0)" class="task-button" data-id="${marker.id}" onclick="showTaskWin('${marker.id}');">设置评卷数</a>
|
|
|
<a href="javascript:void(0)" class="reSetPassword-button" data-id="${marker.id}"
|
|
@@ -680,9 +684,9 @@
|
|
|
$('#group-select').change(function () {
|
|
|
var groupNumber = $('#group-select').val();
|
|
|
if(groupNumber==''){
|
|
|
- $('#save-button').hide();
|
|
|
+ $('#save-button').attr("disabled",true);
|
|
|
}else{
|
|
|
- $('#save-button').show();
|
|
|
+ $('#save-button').attr("disabled",false);
|
|
|
}
|
|
|
});
|
|
|
$("#ids").change(function () {
|