1
wwl
2025-03-11 ad78625bb4b876018ac68c6f402c9b21d1a7b3bc
src/views/doctor/check/index.vue
@@ -555,7 +555,7 @@
                  >
                    <template slot-scope="scope">
                      <el-checkbox
                        v-model="scope.row.exceptionDesc"
                        v-model="scope.row.exceptionDesc"  @change="changDesc(scope.row)"
                      ></el-checkbox>
                    </template>
                  </el-table-column>
@@ -592,7 +592,7 @@
                        autosize
                        v-model="scope.row.conclusion"
                        autocomplete="off"
                        placeholder="请输入检测结果"
                        placeholder="请输入结果结论"
                        disabled
                      ></el-input>
                    </template>
@@ -1221,31 +1221,32 @@
          <div class="tab8">
            <div class="tab3">
              <el-form
                :model="queryParam1"
                ref="tableList"
                :inline="true"
                label-width="76px"
                style="margin-top: 10px"
              >
                <el-form-item>
                  <el-input
                    placeholder="输入关键字进行过滤"
                    v-model="queryParam1.nr"
                    clearable
                  >
                  </el-input>
                </el-form-item>
                <el-form-item>
                  <el-button
                    type="primary"
                    icon="el-icon-search"
                    size="mini"
                    @click="handleQuerys"
                    >搜索</el-button
                  >
                </el-form-item>
              </el-form>
  :model="queryParam1"
  ref="tableList"
  :inline="true"
  label-width="76px"
  style="margin-top: 10px"
  @submit.native.prevent
>
  <el-form-item>
    <el-input
      placeholder="输入关键字进行过滤"
      v-model="queryParam1.nr"
      clearable
      @keyup.enter.native="handleQuerys"
    >
    </el-input>
  </el-form-item>
  <el-form-item>
    <el-button
      type="primary"
      icon="el-icon-search"
      size="mini"
      @click="handleQuerys"
      native-type="button"
    >搜索</el-button>
  </el-form-item>
</el-form>
              <el-table
                ref="multipleTable"
                border
@@ -1418,6 +1419,7 @@
    return {
      remakes: "",
      titles: "",
      type: null,
      advice: "",
      idss: [],
      vaids: [],
@@ -1597,8 +1599,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 +1637,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 +1664,6 @@
        // 设置是否需要改变颜色
        if (ycbz === "1") {
          this.isRed = true; // 设置标识,改变字体颜色
          console.log(this.isRed, 444);
        } else {
          this.isRed = false; // 恢复默认颜色
        }
@@ -1788,6 +1801,15 @@
      //     this.doctorName = item.nickName
      //   }
      // })
    },
    changDesc(item){
      console.log(item)
      if(item.exceptionDesc == true){
        item.conclusion = "异常"
      }else{
         item.conclusion = "正常"
      }
    },
    myclass(row, column, rowIndex, columnIndex) {
@@ -1969,9 +1991,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 +2026,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 +2555,7 @@
            tjNumber: this.tjNumber,
            proParentId: this.nums,
          };
          this.loading = true;
          getParentId(data).then((response) => {
            this.proParentList = response.data;
            this.value = [];