|
@ -186,13 +186,26 @@ $(function() {
|
186
|
186
|
itemlist += '</div></a></li>';
|
187
|
187
|
$itemlist = $(itemlist);
|
188
|
188
|
$("#relevantExperts").append($itemlist);
|
189
|
|
var title = data.data.title || "";
|
190
|
|
var office = data.data.office || "";
|
191
|
|
if(title != "") {
|
192
|
|
title = title + " , ";
|
|
189
|
if(data.data.title) {
|
|
190
|
if(data.data.department) {
|
|
191
|
$itemlist.find("#usertitle").text(data.data.title +" , "+ data.data.department);
|
|
192
|
}else{
|
|
193
|
$itemlist.find("#usertitle").text(data.data.title);
|
|
194
|
}
|
|
195
|
}else{
|
|
196
|
if(data.data.office) {
|
|
197
|
if(data.data.department) {
|
|
198
|
$itemlist.find("#usertitle").text(data.data.office +" , "+ data.data.department);
|
|
199
|
}else{
|
|
200
|
$itemlist.find("#usertitle").text(data.data.office);
|
|
201
|
}
|
|
202
|
}else{
|
|
203
|
if(data.data.department) {
|
|
204
|
$itemlist.find("#usertitle").text(data.data.department);
|
|
205
|
}
|
|
206
|
}
|
193
|
207
|
}
|
194
|
208
|
$itemlist.find("#userName").text(data.data.name);
|
195
|
|
$itemlist.find("#usertitle").text(title + office);
|
196
|
209
|
$itemlist.find(".urlgo").attr("href", "information-brow.html?professorId="+data.data.id);
|
197
|
210
|
/*获取研究方向信息*/
|
198
|
211
|
var researchAreas = data.data.researchAreas;
|