Commit a41df2e7 authored by xinyuandu's avatar xinyuandu

独家权限修改

parent b379d923
......@@ -506,9 +506,10 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
if(check_auth('index/editExclusive')) {
$('.is_dujia').find('input').removeAttr("readonly");
} else if ( ( business.name + '-' + business.phone ) === data.data.name) {
('.is_dujia').find('input').removeAttr("readonly");
$('.is_dujia').find('input').removeAttr("readonly");
} else {
$('input').attr("readonly","readonly")
$('.is_dujia').find('input').removeAttr("readonly");
//$('input').attr("readonly","readonly")
}
}
} else {
......
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