Browse Source

取消关注后再发起咨询的bug修改

raolu 6 years ago
parent
commit
665fdabe37
1 changed files with 2 additions and 1 deletions
  1. 2 1
      html/yszx/js/doctor-homepage.js

+ 2 - 1
html/yszx/js/doctor-homepage.js

@ -107,7 +107,7 @@ function concernDoctor(addConsult){
        };
    sendPost(url, params, 'json', 'post', queryFailed, function(res){
        if(res.status == 200){
            console.log(res);
            docInfo.sign = 1;
            if(addConsult){
                is_consult_finished();
            }else{
@ -138,6 +138,7 @@ function cancelConcern(){
    sendPost(url, params, 'json', 'post', queryFailed, function(res){
        d.close();
        if(res.status == 200){
            docInfo.sign = -1;
            $("#isFocus").text("关注");
            $("#isFocus").addClass("grey");
            $("#isFocus").removeClass("disabled");