Selaa lähdekoodia

解决bug4475 【PC随访】问卷调查,点击发送填写请求没有反应

raolu 7 vuotta sitten
vanhempi
commit
9864c3c9ea
1 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 6 6
      js/buz/fv-survey.js

+ 6 - 6
js/buz/fv-survey.js

@ -32,11 +32,11 @@ function bindEvents(){
        e.stopPropagation();
        var $this = $(this),
            $box = $this.closest(".box"),
            json = $box.data(json),
            jsonObj = $box.data('json'),
            params = {
                followupid: fv_id,
                prescriptioncode: prescriptioncode,
                type: json.type //1身体异常症状问卷,2体征及生活方式调查问卷
                prescriptioncode: prescriptionCode,
                type: jsonObj.type //1身体异常症状问卷,2体征及生活方式调查问卷
            };
        
        consultingAPI.importfollowupcontent(params).then(function(res){
@ -52,11 +52,11 @@ function bindEvents(){
        e.stopPropagation();
        var $this = $(this),
            $box = $this.closest(".box"),
            json = $box.data(json),
            jsonObj = $box.data('json'),
            params = {
                followupid: fv_id,
                prescriptioncode: prescriptioncode,
                type: json.type //1身份异常症状问卷,2体征及生活方式调查问卷
                prescriptionCode: prescriptionCode,
                type: jsonObj.type //1身份异常症状问卷,2体征及生活方式调查问卷
            };
        consultingAPI.addPrescriptionFollowupContentConsult(params).then(function(res){
                if(res.status == 200){