11
lkk
2025-03-25 227a1d5cff4538bea8398e9f40cf07910a2fec78
src/views/doctor/inspectCheck/index.vue
@@ -68,7 +68,6 @@
            align="center"
            label="选择"
            width="40"
            :selectable="isSelectable"
          >
          </el-table-column>
          <el-table-column
@@ -431,9 +430,9 @@
      }
      console.log("Query Params:", this.queryParams);
    },
    isSelectable(row) {
      return !!row.mzh;
    },
    // isSelectable(row) {
    //   return !!row.mzh;
    // },
    tableRowClassName({ row }) {
      return !row.mzh ? "row-disabled" : "";
    },
@@ -462,7 +461,6 @@
    fetchRightTableData() {
      const code = queryParams.tjNum;
      // if (!code) return;
      getJyTjList(code).then((response) => {
        this.checkList = response.data;
        this.loading = false;
@@ -502,19 +500,10 @@
            this.loading = false;
            this.exaLists = res.data;
            // const code = this.exaLists[0].mzh;
            if (
              this.exaLists &&
              this.exaLists.length > 0 &&
              this.exaLists[0].mzh
            ) {
              const code = this.queryParams.tjNum;
              getJyTjList(code).then((response) => {
                this.checkList = response.data;
              });
            } else {
              this.$message.error("查询失败,请稍后重试");
            }
          }
        })
        .catch((error) => {