var map;
function transProjectId(value,row,index) {
if(map){
return map[value];
}else {
map = {};
KaTeX parse error: Expected '}', got 'EOF' at end of input: .ajax({url:"{ctx}/projectmanagement/projectquery!getAllDataList.action",async: false,success:function(result){
for (let i = 0; i < result.length; i++) {
var p = result[i];
map[p.ID] = p.ProjectName;
}
}});
return map[value];
}