qx
qx
2025-06-05 26397c26fc109536f4329b47369cf0c5d9d58b69
src/views/doctor/examination/index.vue
@@ -52,6 +52,15 @@
          />
        </el-select>
      </el-form-item>
      <el-form-item label="项目" prop="tcm">
        <el-input
          v-model="queryParams.tcm"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 170px"
        />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
        <el-date-picker
          v-model="createTimeList"
@@ -137,9 +146,21 @@
            <!-- </template> -->
          </el-table-column>
          <el-table-column
            label="年龄"
            align="center"
            prop="age"
            min-width="100"
          />
          <el-table-column
            label="手机号"
            align="center"
            prop="cusPhone"
            min-width="100"
          />
          <el-table-column
            label="套餐名"
            align="center"
            prop="tcm"
            min-width="100"
          />
          <el-table-column
@@ -313,6 +334,7 @@
                size="mini"
                type="text"
                @click="yijian(scope.row)"
                 v-if="yijiantype == 'N'"
                >已检</el-button
              >
              <el-button
@@ -322,6 +344,7 @@
                @click="queryResultone(scope.row)"
                >结果</el-button
              >
              <!--  -->
              <!--  @click="chaxun(scope.row) " -->
            </template>
          </el-table-column>
@@ -347,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>
@@ -426,6 +454,7 @@
      loading: true,
      selectedTjNumber: "",
      drawer: false,
      yijiantype: null,
      type: null,
      CompanyList: [],
      CheckBox: {},
@@ -439,6 +468,7 @@
        name: null,
        beginTime: null,
        endTime: null,
        tcm:"",
        tjCompName: "",
      },
      // 绑定单选按钮
@@ -502,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
@@ -698,6 +728,7 @@
        beginTime: null,
        endTime: null,
        tjCompName: "",
        tcm:""
      }),
        (this.CheckBox.drugManufacturerId = "");
      this.handleQuery();
@@ -747,6 +778,10 @@
      typeOne(tjNumber).then((res) => {
        this.type = res.data;
      });
      getConfigKey("sfyccsyjan").then((res) => {
        this.yijiantype = res.msg;
      });
      cSWebGetPro(tjNumber).then((res) => {
@@ -844,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) {