培养目标页面列表行信息显示修改

openi_sso
caishi 6 years ago
parent 9fe6c7322b
commit 882b6acd1f

@ -23,7 +23,7 @@
</tr> </tr>
<% @requirements.each_with_index do |req, index| %> <% @requirements.each_with_index do |req, index| %>
<tr class="sustainLine editTd"> <tr class="sustainLine editTd">
<td data-tip-down="<%= req.content %>"><%= index+1 %></td> <td data-tip-down="<%= req.content %>">指标点<%= index+1 %></td>
<% @subitem_objectives.each do |to| %> <% @subitem_objectives.each do |to| %>
<% checked = EcRequirementVsObjective.where(:ec_graduation_requirement_id => req.id, :ec_training_objective_id => to.id).first %> <% checked = EcRequirementVsObjective.where(:ec_graduation_requirement_id => req.id, :ec_training_objective_id => to.id).first %>
<td data-tip-down="<%= checked && checked.status ? "取消支撑" : "选择支撑" %>" data-req-id="<%= req.id %>" data-to-id="<%= to.id %>"> <td data-tip-down="<%= checked && checked.status ? "取消支撑" : "选择支撑" %>" data-req-id="<%= req.id %>" data-to-id="<%= to.id %>">

Loading…
Cancel
Save