{field:'typeId',title:'用户角色',width:100,sortable:true,align:'center',formatter:function(value,row,index){
var htmlObj = $.ajax({
url : "../queryRoleById",
type : "post",
async : false,
data : {id:value}
});
var text = htmlObj.responseText;
var json = JSON.parse(text);
return json.name;
}}
01-27
7056
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交