|
@ -159,6 +159,11 @@ window.addEventListener('relogin', function(event) {
|
159
|
159
|
userId = event.detail.id;
|
160
|
160
|
console.log(userId);
|
161
|
161
|
initdata();
|
|
162
|
if(plus.nativeUI.showWaiting()){
|
|
163
|
console.log("showWaiting")
|
|
164
|
plus.nativeUI.closeWaiting();//关闭等待框
|
|
165
|
}
|
|
166
|
|
162
|
167
|
});
|
163
|
168
|
|
164
|
169
|
|
|
@ -301,7 +306,7 @@ function eachData(userid,datalist) {
|
301
|
306
|
proModify,
|
302
|
307
|
photoUrl,
|
303
|
308
|
consultType;
|
304
|
|
|
|
309
|
|
305
|
310
|
//咨询类型和状态
|
306
|
311
|
if(item['consultantId'] != userid){//收到咨询
|
307
|
312
|
title = "回复:" + item["consultTitle"];
|
|
@ -326,9 +331,11 @@ function eachData(userid,datalist) {
|
326
|
331
|
statusStyle = 'status-3';
|
327
|
332
|
}
|
328
|
333
|
}
|
|
334
|
};
|
|
335
|
|
|
336
|
if(item["professor"] == undefined){
|
|
337
|
return ;
|
329
|
338
|
}
|
330
|
|
|
331
|
|
//专家职称
|
332
|
339
|
(item["professor"]["title"])? zhicehng = item["professor"]["title"]: zhicehng = '';
|
333
|
340
|
(item["professor"]["office"])? zhiwei = ','+item["professor"]["office"]: zhiwei = '';
|
334
|
341
|
(item["professor"]["orgName"])? orgName = ','+item["professor"]["orgName"]: orgName = '';
|