|
|
@ -232,9 +232,9 @@
|
|
|
|
</li>-->
|
|
|
|
</li>-->
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<li class="clearfix">
|
|
|
|
<li class="clearfix">
|
|
|
|
<% if User.current.admin? && @homework.homework_type == 1 %>
|
|
|
|
<%# if User.current.admin? && @homework.homework_type == 1 %>
|
|
|
|
<a href="javascript:void(0);" onclick="import_excel_score()" data-tip-down="请使用“导出成绩”的excel,成绩请填写在“教师评分”列" class="fl white-btn orange-btn mt10">导入成绩</a>
|
|
|
|
<!-- <a href="javascript:void(0);" onclick="import_excel_score()" data-tip-down="请使用“导出成绩”的excel,成绩请填写在“教师评分”列" class="fl white-btn orange-btn mt10">导入成绩</a>-->
|
|
|
|
<% end %>
|
|
|
|
<%# end %>
|
|
|
|
<% if User.current.admin? && @homework.homework_type == 4 %>
|
|
|
|
<% if User.current.admin? && @homework.homework_type == 4 %>
|
|
|
|
<% if @stundet_works.select {|work| work.work_status != 0}.length == 0 %>
|
|
|
|
<% if @stundet_works.select {|work| work.work_status != 0}.length == 0 %>
|
|
|
|
<%= link_to "导出实训报告", "javascript:void(0)", class: "fl white-btn orange-btn mt10", :onclick => "notice_box('该检索条件下没有已提交的作品,无法导出实训报告')", :id => "export_student_work_shixun" %>
|
|
|
|
<%= link_to "导出实训报告", "javascript:void(0)", class: "fl white-btn orange-btn mt10", :onclick => "notice_box('该检索条件下没有已提交的作品,无法导出实训报告')", :id => "export_student_work_shixun" %>
|
|
|
@ -244,9 +244,9 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if User.current.admin? %>
|
|
|
|
<%# if User.current.admin? %>
|
|
|
|
<a onclick="sonar()" data-tip-down="仅限振远使用" class="fl white-btn orange-btn mt10 ml25">质量检测</a>
|
|
|
|
<!-- <a onclick="sonar()" data-tip-down="仅限振远使用" class="fl white-btn orange-btn mt10 ml25">质量检测</a>-->
|
|
|
|
<% end %>
|
|
|
|
<%# end %>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="edu-find fr mr20 with20 pr">
|
|
|
|
<div class="edu-find fr mr20 with20 pr">
|
|
|
|
<div class="edu-find-input">
|
|
|
|
<div class="edu-find-input">
|
|
|
|