Browse Source

咨询列表bug

dell 8 years ago
parent
commit
baccda7790
1 changed files with 10 additions and 3 deletions
  1. 10 3
      app/js/consult.js

+ 10 - 3
app/js/consult.js

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