Commit 2d357651 authored by agping's avatar agping

客户列表 点击无效按钮 修改

parent e4554265
......@@ -158,11 +158,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
e.stopPropagation();
user.user_id = $(this).attr("data-id");
user.user_status = $(this).attr("data-status");
$(this).attr('class', 'btn1 btn-default is_invalid');
if(user.user_status*1 != -1){
if(!confirm('是否继续?')) {
if(!confirm('是否继续?')) {
return;
};
$(this).attr('class', 'btn1 btn-default is_invalid');
if(user.user_status*1 != -1){
$(this).hide();
user.isInvalid();
}
......
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