|
|
@ -188,7 +188,7 @@
|
|
|
|
<label class="panel-form-label fl mr18">运营人员:</label>
|
|
|
|
<label class="panel-form-label fl mr18">运营人员:</label>
|
|
|
|
<span class="fl">
|
|
|
|
<span class="fl">
|
|
|
|
<input type="checkbox" <%= @user.business? ? "checked" : "" %> name="business" value="<%= @user.business? ? "1" : "0" %>" id="person_business" class="magic-checkbox" style="float:left; margin-top: 8px;">
|
|
|
|
<input type="checkbox" <%= @user.business? ? "checked" : "" %> name="business" value="<%= @user.business? ? "1" : "0" %>" id="person_business" class="magic-checkbox" style="float:left; margin-top: 8px;">
|
|
|
|
<label for="person_business"><%= @user.business? %></label>
|
|
|
|
<label for="person_business"></label>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="clearfix mb10 hascontont">
|
|
|
|
<li class="clearfix mb10 hascontont">
|
|
|
@ -621,6 +621,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#user_form_link").on("click",function(){
|
|
|
|
$("#user_form_link").on("click",function(){
|
|
|
|
|
|
|
|
var check = document.getElementById('person_business').checked;
|
|
|
|
|
|
|
|
if(check){
|
|
|
|
|
|
|
|
document.getElementById('person_business').value = "1";
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
document.getElementById('person_business').value = "0";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
my_account_form_submit();
|
|
|
|
my_account_form_submit();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
function my_account_form_submit(){
|
|
|
|
function my_account_form_submit(){
|
|
|
|