Commit e621cce3 authored by hujun's avatar hujun

经纪人列表编辑

parent 0c5b2d37
......@@ -127,7 +127,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
$.ajax({
url: '/index/getAuth2',
type: 'GET',
async: true,
// async: true,
dataType: 'json',
success: function (data) {
var temp=document.getElementById('get_auth_list').innerHTML;
......@@ -152,11 +152,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
$("#status").val(data.data.status);
//选中所属角色
$("#auth_group_id option").each(function () {
if ($(this).val() == data.data.auth_group_id) {
$(this).attr('selected','selected');
}
});
$("#auth_group_id").val(data.data.auth_group_id);
if(data.data.sex=='0'){
$("#sex0").attr('checked',true);
......
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