|
@ -1,7 +1,7 @@
|
|
|
!function(){
|
|
|
var httpData=GetRequest();
|
|
|
var userInfo = JSON.parse(window.localStorage.getItem(httpRequest.agentName));
|
|
|
window.serviceItem=new Vue({
|
|
|
var httpData=GetRequest();
|
|
|
var userInfo = JSON.parse(window.localStorage.getItem(httpRequest.agentName));
|
|
|
top.serviceItem=new Vue({
|
|
|
el:"#app",
|
|
|
data:{
|
|
|
planids:httpData['planids'],
|
|
@ -114,10 +114,16 @@
|
|
|
var vm = this
|
|
|
var loginDoctor = JSON.parse(window.localStorage.getItem('wlyyAgent'));
|
|
|
var otherCode,otherName;
|
|
|
var planDetailId=data.planDetaiId;
|
|
|
if(loginDoctor.doctorType==1){
|
|
|
otherCode=data.familyDoctorCode;
|
|
|
otherName=data.familyDoctorName;
|
|
|
var planDetailId=undefined;
|
|
|
|
|
|
if(data.specialistDoctorCode==data.executeDoctorCode){
|
|
|
top.layer.msg('无法与自己聊天',{icon:5});
|
|
|
return ;
|
|
|
}
|
|
|
if((data.isMyTask==1) && (loginDoctor.uid==data.specialistDoctorCode)){
|
|
|
otherCode=data.executeDoctorCode;
|
|
|
otherName=data.executeDoctorCode;
|
|
|
planDetailId=data.planDetaiId
|
|
|
}else{
|
|
|
otherCode=data.specialistDoctorCode;
|
|
|
otherName=data.specialistDoctorName;
|