Browse Source

在聊天改变状态后返回咨询列表,改变咨询列表的咨询状态

wangaidan 8 years ago
parent
commit
fe76568dd8
1 changed files with 8 additions and 1 deletions
  1. 8 1
      app/js/chats.js

+ 8 - 1
app/js/chats.js

29
	var omsg_type = document.getElementById("msg-type");
29
	var omsg_type = document.getElementById("msg-type");
30
	var ochatFooter = document.getElementById("chatFooter");
30
	var ochatFooter = document.getElementById("chatFooter");
31
	
31
	
32
	mui.plusReady(function() {
33
		var self = plus.webview.currentWebview();
34
		console.log('当前聊天页面id==='+self.id);
35
	})
36
	
37
	
38
	
32
	//查看咨询内容
39
	//查看咨询内容
33
	(function lookContultCon(){
40
	(function lookContultCon(){
34
		var flag = true;
41
		var flag = true;
249
			/*返回咨询列表*/
256
			/*返回咨询列表*/
250
			var status = ostatus.getAttribute('status');
257
			var status = ostatus.getAttribute('status');
251
			
258
			
252
			var consultList = plus.webview.getWebviewById('html/consultlist.html');
259
			var consultList = plus.webview.getWebviewById('consultlist.html');
253
//			console.log(consultId)
260
//			console.log(consultId)
254
//			consultList.show();
261
//			consultList.show();
255
			mui.fire(consultList,'backlist',{'consultId':consultId,'status':status}); 
262
			mui.fire(consultList,'backlist',{'consultId':consultId,'status':status});