Merge branches 'develop' and 'project_pack' of https://bdgit.educoder.net/Hjqreturn/pgfqe6ch8 into project_pack
commit
0d5748ab18
@ -0,0 +1,15 @@
|
||||
<div class="task-popup" style="width:400px;">
|
||||
<div class="task-popup-title clearfix task-popup-bggrey">修改</div>
|
||||
<%= form_for '', :url => update_depart_name_managements_path,:html => {:id => 'update_depart_name_form', :remote => true, :method => :post} do |f| %>
|
||||
<div class="task_popup_con edu-txt-center">
|
||||
<input type="hidden" name="depart_id" id="update_depart_name_depart_id" value="">
|
||||
<input type="text" name="depart_name" placeholder="输入新名称" maxlength="30" class="input-100-35"/>
|
||||
<p class="color-red none edu-txt-left" id="update_depart_name_notice"></p>
|
||||
|
||||
<div class="inline mt20">
|
||||
<a href="javascript:void(0);" class="task-btn task-btn-orange fr" onclick="submit_depart_name_form();">确定</a>
|
||||
<a href="javascript:void(0);" onclick="hideModal();" class="pop_close task-btn fr mr10">取消</a>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
$("#department_name_<%= @depart.id %>").html("<%= params[:depart_name] %>");
|
Loading…
Reference in new issue