qx
2025-06-05 53606eac81e6d3a76937c4cb6f45ad61581cb4da
src/views/doctor/examination/index.vue
@@ -146,6 +146,12 @@
            <!-- </template> -->
          </el-table-column>
          <el-table-column
            label="年龄"
            align="center"
            prop="age"
            min-width="100"
          />
          <el-table-column
            label="手机号"
            align="center"
            prop="cusPhone"
@@ -328,7 +334,7 @@
                size="mini"
                type="text"
                @click="yijian(scope.row)"
                 v-if="yijiantype == N"
                 v-if="yijiantype == 'N'"
                >已检</el-button
              >
              <el-button
@@ -338,6 +344,7 @@
                @click="queryResultone(scope.row)"
                >结果</el-button
              >
              <!--  -->
              <!--  @click="chaxun(scope.row) " -->
            </template>
          </el-table-column>
@@ -363,6 +370,11 @@
            <el-table-column label="检测结果" prop="pro_result">
            </el-table-column>
            <el-table-column label="参考范围" prop="ckfw"> </el-table-column>
             <el-table-column label="异常标志" prop="ycbz">
               <template slot-scope="scope">
                {{ scope.row.ycbz == 0 ? "正常" : "异常" }}
               </template>
            </el-table-column>
          </el-table>
        </div>
@@ -520,7 +532,7 @@
  },
  methods: {
    changRed({ row }) {
      if (row.ycbz != "" && row.ycbz != null && row.ycbz === "1") {
      if (row.ycbz != "" && row.ycbz != null && row.ycbz === 1) {
        // 变颜色的条件
        return {
          color: "red", // 这个return的就是样式 可以是color 也可以是backgroundColor
@@ -867,8 +879,6 @@
      const proId = row.proId;
      resultList(tjNum, proId).then((res) => {
        this.jieguoList = res.data;
        console.log(this.jieguoList, 998877);
        this.jyjc = this.jieguoList[0].jyjc;
        const ycbz = this.jieguoList[0].ycbz;
        /* if (ycbz === "" || ycbz === null) {