Commit 88af3dec authored by agping's avatar agping

经纪人修改

parent 746f6023
...@@ -126,11 +126,11 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -126,11 +126,11 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
var str = $.trim($(this).html()); var str = $.trim($(this).html());
if (str === "允许") { if (str === "允许") {
$(this).attr('class','btn1 btn-default is_show2'); $(this).attr('class','btn1 btn-default is_show2');
params.type = 1; params.type = 0;
$(this).html('解绑'); $(this).html('解绑');
} else if (str === "解绑") { } else if (str === "解绑") {
$(this).attr('class','btn1 btn-info is_show2'); $(this).attr('class','btn1 btn-info is_show2');
params.type = 0; params.type = 1;
$(this).html('允许'); $(this).html('允许');
}; };
$.ajax({//禁用 $.ajax({//禁用
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment