|
@ -164,7 +164,7 @@ function getPrescriptionInfo(){
|
|
|
width: '100%'
|
|
|
});
|
|
|
}else{
|
|
|
toastr && toastr.warning(res.msg);
|
|
|
showWarningMsg(res.msg)
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@ -189,7 +189,7 @@ function getPatientServiceType(){
|
|
|
$(".diseaseInfo").text("该居民为"+disease+"患者");
|
|
|
}
|
|
|
}else{
|
|
|
toastr && toastr.warning(res.msg);
|
|
|
showWarningMsg(res.msg)
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@ -278,9 +278,9 @@ function finish(){
|
|
|
$('.info-panel').html("咨询求助已结束");
|
|
|
$(".send-btn").addClass("disabled");
|
|
|
$("#file_head").attr("disabled", true);
|
|
|
toastr.success("已结束咨询");
|
|
|
showSuccessMsg("已结束咨询");
|
|
|
} else {
|
|
|
toastr.error(res.msg);
|
|
|
showErrorMsg(res.msg);
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@ -297,10 +297,7 @@ function bindEvents(){
|
|
|
}else{
|
|
|
var text = $.trim($("#input_content").text());
|
|
|
if(text.length == 0){
|
|
|
toastr.options = {
|
|
|
"positionClass": "toast-top-center",
|
|
|
}
|
|
|
toastr.warning('发送内容不能为空');
|
|
|
showWarningMsg('发送内容不能为空');
|
|
|
return false;
|
|
|
}else{
|
|
|
sendMessage(1, text);
|