WXL
2024-07-04 a46f2000f85c91b0e118a0af1bc6022a16feadcb
测试完成
已修改2个文件
14 ■■■■■ 文件已修改
src/api/AiCentre/publicity.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/profile/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/AiCentre/publicity.js
@@ -27,7 +27,7 @@
// 新增或修改宣教模版
export function compilelibrary(data) {
    return request({
      url: "/smartor/library/saveOrUpdateScript",
      url: "/smartor/library/saveOrUpdateHeLibrary",
      method: "post",
      data: data,
    });
@@ -63,5 +63,4 @@
      data: data,
    });
  }
  
src/views/patient/patient/profile/index.vue
@@ -760,6 +760,9 @@
    };
  },
  created() {
    this.id = this.$route.query.id;
    this.getuserinfo();
    this.gettabList();
    this.$nextTick(function () {
      this.echartdom = document.getElementById("xyeCharts");
      this.xtechartdom = document.getElementById("xteCharts");
@@ -775,9 +778,6 @@
      this.xueyangechartsInit();
      this.twechartsInit();
    });
    this.id = this.$route.query.id;
    this.getuserinfo();
    this.gettabList();
  },
  methods: {
@@ -805,10 +805,13 @@
        this.userform = response.rows[0];
        // this.dynamicTags = response.rows[0].tagList;
        this.dynamicTags = response.rows[0].tagList.map(this.processElement);
        console.log(this.dynamicTags);
      });
      // 病史信息
      getmedicalhistory({ pid: this.id }).then((res) => {
        if (res.code == 200 && res.rows[0]) {
        this.form = res.rows[0];
        }
      });
      // 联系信息
      this.getcontactlist();
@@ -824,7 +827,7 @@
          this.$modal.msgError("基础信息修改失败");
        }
      });
      // 病史是
      // 病史
      this.medicalhistory();
    },
    // 病史