//咨询列表查询接口 var data = {}; data.patientCode = "222" data.status = 1 //咨询状态 1未结束,2已结束,-1 已取消 data.page = 1; data.size = 15; mui.get("http://192.168.5.133:8080/ssgg/patient/consult/list", data, function(res){ console.info(res); if(res.status == '200'){ /*mui.openWindow({ url: 'phone-consulting-register-success.html', id: 'phone-consulting-register-success' });*/ } }); //聊天发送接口 var data = {}; data.consult = "11"; data.content = "22"; mui.post("http://192.168.5.133:8080/ssgg/patient/consult/reply", data, function(res){ console.info(res); if(res.status == '200'){ /*mui.openWindow({ url: 'phone-consulting-register-success.html', id: 'phone-consulting-register-success' });*/ } }); //聊天记录查询 var data = {}; data.consult = "11"; data.doctorCode = "22"; data.page = 1; data.pageSize = 15; mui.post("http://192.168.5.133:8080/ssgg/patient/consult/record", data, function(res){ console.info(res); if(res.status == '200'){ /*mui.openWindow({ url: 'phone-consulting-register-success.html', id: 'phone-consulting-register-success' });*/ } }); //网络评价接口 var data = {}; data.doctorCode = "22"; data.userCode = "33"; data.uname = "r4"; data.content = "好"; data.star = "5"; mui.post("http://192.168.5.133:8080/ssgg/patient/consult/comment_commit", data, function(res){ console.info(res); if(res.status == '200'){ /*mui.openWindow({ url: 'phone-consulting-register-success.html', id: 'phone-consulting-register-success' });*/ } }); //我的随访列表接口 var data = {}; data.patientCode = "111"; data.page = 1; data.size = 15; mui.post("http://192.168.5.133:8080/ssgg/patient/followup/record", data, function(res){ console.info(res); if(res.status == '200'){ /*mui.openWindow({ url: 'phone-consulting-register-success.html', id: 'phone-consulting-register-success' });*/ } });