1
wwl
2025-03-05 cb1f69717eed3b6a61b6c61a8934bac752782b2d
src/views/doctor/check/index.vue
@@ -1418,6 +1418,7 @@
    return {
      remakes: "",
      titles: "",
      type: null,
      advice: "",
      idss: [],
      vaids: [],
@@ -1597,8 +1598,14 @@
      return "";
    },
    getbzlist() {
      this.loading = true;
      getDeptAdvice(this.queryParam1).then((response) => {
        this.deptAdviceList = response.data.list;
        if(response.data.list){
          this.deptAdviceList = response.data.list;
          this.loading = false
        }
        this.total1 = response.data.total;
      });
    },
@@ -1629,13 +1636,19 @@
    },
    // 检查检验结果按钮
    result() {
      this.openOne = true;
      let tjNumber = this.tableAll.tjNumber;
      console.log(tjNumber, 999);
      console.log(this.tableAll.tjNumber,666);
      getXm(tjNumber).then((res) => {
        console.log(res, 666);
        this.xiangmuList = res.data;
        if(this.xiangmuList.length > 0){
          this.openOne = true;
        }
        else{
          this.openOne = false;
          this.$modal.msgWarning("暂无项目与检查检验结果")
        }
      });
    },
    queryResultone(row) {
@@ -1650,7 +1663,6 @@
        // 设置是否需要改变颜色
        if (ycbz === "1") {
          this.isRed = true; // 设置标识,改变字体颜色
          console.log(this.isRed, 444);
        } else {
          this.isRed = false; // 恢复默认颜色
        }
@@ -1969,9 +1981,9 @@
      });
    },
    hb() {
      if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
     /*  if (this.queryParams.tjNumber != "") {
        // this.submitForm();
      } */
    },
    propoChange() {
      this.cusobj = { sex: this.tableAll.cusSex, isZj: 1 };
@@ -2004,6 +2016,7 @@
      this.loading = true;
      this.queryParams.type = this.tjStatus;
      getProList(this.queryParams).then((response) => {
        console.log(response,333);
        if (response.code == 200) {
          this.loading = false;
          if (response.data) {
@@ -2532,6 +2545,7 @@
            tjNumber: this.tjNumber,
            proParentId: this.nums,
          };
          this.loading = true;
          getParentId(data).then((response) => {
            this.proParentList = response.data;
            this.value = [];