feige
2024-03-04 0947adf188a83eecf0a6a545cea25c97f7ce17f0
ruoyi-ui/src/views/healthy/healthYear.vue
@@ -1275,7 +1275,8 @@
        } else {
          this.HealthyBaseList = response.data;
        console.log("----------00000000-----------")
        console.log(this.HealthyBaseList)
          //血型的
          if (this.HealthyBaseList.bloodClass.a === 1) {
            this.selectedBloodType = 'a';
@@ -2007,6 +2008,7 @@
      };
      console.log(111)
      console.log(this.bloodData)
      if(isObjectEmpty(this.bloodData)){
        this.HealthyBaseList.bloodClass = this.HealthyBaseList.bloodClass;
      }else {
@@ -2122,11 +2124,11 @@
        this.HealthNowList.otherDiseaseClass = this.otherDiseaseTypeData;
      }
      this.$refs['elForm'].validate(valid => {
        if (valid) {
          if (this.HealthyBaseList!== undefined) {
            updateHealthBase(this.HealthyBaseList).then(response => {
              this.$modal.msgSuccess("修改成功11");
              // this.open = false;
              this.btn=false
@@ -2134,7 +2136,7 @@
              this.dsb = true
              this.isShow_2=false
              this.isShow = true
            this.getList();
            });
          } else {
            this.$modal.msgSuccess("修改失败");
@@ -2153,7 +2155,7 @@
              this.dsb = true
              this.isShow_2=false
              this.isShow = true
   this.getList();
            });
          } else {
            this.$modal.msgSuccess("修改失败");
@@ -2172,7 +2174,7 @@
              this.dsb = true
              this.isShow_2=false
              this.isShow = true
   this.getList();
            });
          } else {
            this.$modal.msgSuccess("修改失败");
@@ -2191,7 +2193,7 @@
              this.dsb = true
              this.isShow_2=false
              this.isShow = true
   this.getList();
            });
          } else {
            this.$modal.msgSuccess("修改失败");
@@ -2200,7 +2202,7 @@
        }
      })
      // 刷新页面
      this.getList();
    },
    //年度健康报告
    toYearhealthy(){