后台撤销授权功能优化 (前端)

dev_partners
杨树明 6 years ago
parent c7cc754046
commit 859e3e9a62

@ -0,0 +1,69 @@
<div class="task-popup" style="width:600px;">
<div class=" task-popup-title clearfix task-popup-bggrey">
撤销授权
</div>
<div class="mt15 ml30 pb20">
<div class="mr15">
<%= form_tag({:controller => 'courses', :action => 'join_course_multi_role'}, :remote => true, :method => :post, :id => 'new-watcher-form') do %>
<ul>
<li class="clearfix">
<label class="panel-form-label fl">撤销原因:</label>
</li>
<li class="ml20">
<span>
<input type="checkbox" name="role[]" value="1" id="join_course_role_1" class="ml-3 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_1" class="color4C4C4C">请如实填写您的个人资料</label>
</span>
<span>
<input type="checkbox" name="role[]" value="2" id="join_course_role_2" class="ml5 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_2" class="color4C4C4C">请如实填写您的学校/单位信息</label>
</span>
<span>
<input type="checkbox" name="role[]" value="3" id="join_course_role_3" class="ml5 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_3" class="color4C4C4C">请在职业栏中修改正确的身份信息</label>
</span>
<span>
<input type="checkbox" name="role[]" value="4" id="join_course_role_4" class="ml5 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_4" class="color4C4C4C">请填写您的推荐人信息</label>
</span>
<span>
<input type="checkbox" name="role[]" value="5" id="join_course_role_5" class="ml5 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_5" class="color4C4C4C">请告知获取平台资源的渠道,以及您的手机号,我们将主动联系您并授权使用</label>
</span>
<span>
<input type="checkbox" name="role[]" value="6" id="join_course_role_6" class="ml5 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_6" class="color4C4C4C">您好,您的账号试用期限已过</label>
</span>
<span>
<input type="checkbox" name="role[]" value="7" id="join_course_role_7" class="ml5 mr5 magic-checkbox" style="float:left; margin-top: 8px;"/>
<label for="join_course_role_7" class="color4C4C4C">其他</label>
</span>
</li>
<li class="clearfix mt10">
<label class="panel-form-label fl">备注说明:</label>
<textarea class="remarktextarea fl panel-box-sizing candiate_answer" name="question_answer[]" placeholder="为选择的撤销原因补充备注说明...."></textarea>
</li>
<li class="clearfix mt20 edu-txt-center mb20">
<a href="javascript:void(0);" class="task-btn mr10" onclick="hideModal()">取消</a>
<a href="javascript:void(0);" class="task-btn task-btn-orange ml20" onclick="submit_join_course();">确定</a>
</li>
</ul>
<% end %>
</div>
</div>
</div>
<script>
</script>

@ -37,7 +37,8 @@
<span>申请理由:<%= authorization.apply_reason %></span> <span>申请理由:<%= authorization.apply_reason %></span>
</li> </li>
<% if authorization.status == 2 %> <% if authorization.status == 2 %>
<li>原因:<span class="color-orange"><%= authorization.reason.blank? ? "空" : authorization.reason %></span></li> <li><span class="color-red">撤销原因:</span><span><%= authorization.reason.blank? ? "空" : authorization.reason %></span></li>
<li><span class="color-red">备注说明:</span><span><%= authorization.reason.blank? ? "空" : authorization.reason %></span></li>
<% end %> <% end %>
<div class="reason none"> <div class="reason none">
<li class="clearfix edu-form-border mb10"> <li class="clearfix edu-form-border mb10">

@ -892,4 +892,15 @@ html>body #ajax-indicator { position: fixed; }
.coolor838383{ .coolor838383{
color:#838383; color:#838383;
}
.color4C4C4C{
color:#4C4C4C;
}
.remarktextarea{
width: 500px;
margin-left: 20px;
text-indent: 25px;
min-height: 100px;
} }
Loading…
Cancel
Save