1
wwl
2024-12-12 39af4bcc870587da7e50e11dc9c059684d6ee4ad
1
1个文件已修改
149 ■■■■ 已修改文件
src/views/doctor/checkAll/index.vue 149 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue
@@ -144,12 +144,19 @@
          width="130px"
        />
        <el-table-column
        <!-- <el-table-column
          label="体检时间"
          align="center"
          prop="tjTime"
          :show-overflow-tooltip="true"
          width="110px"
        /> -->
        <el-table-column
          label="审核时间"
          align="center"
          prop="shsj"
          :show-overflow-tooltip="true"
          width="180px"
        />
        <el-table-column
          label="完成时间"
@@ -163,10 +170,10 @@
          align="center"
          prop="tjStatus"
          :show-overflow-tooltip="true"
          width="50px"
          width="120px"
        >
          <template slot-scope="scope">
            <span>{{ scope.row.tjStatus == "1" ? "已检" : "未检" }}</span>
            <span>{{ scope.row.tjStatus == "1" ? "已审核" : "未审核" }}</span>
          </template>
        </el-table-column>
        <el-table-column
@@ -326,7 +333,9 @@
          >
        </div>
        <div class="btn1" v-if="msgjianqian == 'y' || msgjianqian == 'Y'">
          <el-button @click="jianqian()" type="primary"><span class="vertical-text">检前问诊</span></el-button>
          <el-button @click="jianqian()" type="primary"
            ><span class="vertical-text">检前问诊</span></el-button
          >
        </div>
        <div class="btn1">
@@ -345,9 +354,9 @@
          class="left"
          style="
            font-size: 14px;
            height: calc(100% - 11%);
            width: 1100px;
            margin-left: 10px;
            padding: 0 0 50px;
          "
        >
          <div v-for="(item, index) in changedate" :key="index">
@@ -636,7 +645,9 @@
                  <el-table-column type="expand">
                    <template slot-scope="props">
                      <div
                        v-if="props.row.advices && props.row.advices.length > 0"
                          v-if="
                            props.row.advices && props.row.advices.length > 0
                          "
                      >
                        <div
                          v-for="(jianyi, index1) in props.row.advices"
@@ -651,7 +662,11 @@
                    </template>
                  </el-table-column>
                  <el-table-column align="center" label="检测项目" width="335">
                    <el-table-column
                      align="center"
                      label="检测项目"
                      width="353"
                    >
                    <template slot-scope="scope">
                      <div>{{ scope.row.proName }}</div>
                    </template>
@@ -695,7 +710,9 @@
                  <el-table-column type="expand">
                    <template slot-scope="props">
                      <div
                        v-if="props.row.advices && props.row.advices.length > 0"
                          v-if="
                            props.row.advices && props.row.advices.length > 0
                          "
                      >
                        <div
                          v-for="(jianyi, index1) in props.row.advices"
@@ -710,7 +727,11 @@
                    </template>
                  </el-table-column>
                  <el-table-column align="center" label="检测项目" width="250">
                    <el-table-column
                      align="center"
                      label="检测项目"
                      width="232"
                    >
                    <template slot-scope="scope">
                      <div>{{ scope.row.proName }}</div>
                    </template>
@@ -719,7 +740,7 @@
                    align="center"
                    prop="proResult"
                    label="检测结果"
                    width="366"
                      width="403"
                  >
                  </el-table-column>
                </el-table>
@@ -747,7 +768,7 @@
                  <el-table-column
                    align="center"
                    label="部门"
                    width="185"
                    width="144"
                    prop="deptName"
                  >
                  </el-table-column>
@@ -764,11 +785,11 @@
                    align="center"
                    prop="type"
                    :show-overflow-tooltip="true"
                    width="60"
                    width="120"
                  >
                    <template slot-scope="scope">
                      <span v-if="scope.row.type == '0'">未检</span>
                      <span v-if="scope.row.type == '1'">已检</span>
                      <span v-if="scope.row.type == '0'">未审核</span>
                      <span v-if="scope.row.type == '1'">已审核</span>
                      <span v-if="scope.row.type == '2'">弃检</span>
                      <span v-if="scope.row.type == '3'">延期</span>
                    </template>
@@ -1319,7 +1340,6 @@
      cusobj: {},
      xiaojie: "",
      isdisabled: false,
      dialogVisible: false,
      src: "",
      url: "",
      userId: "",
@@ -2082,12 +2102,60 @@
          this.drawer = false;
        }
        } else {
          this.drawer = true;
          this.yichangjieguo();
          getInfo().then((response) => {
            this.userId = response.user.userId;
            if (this.userId) {
              let data = {
                userId: this.userId,
                tjNumber: this.tjNumber,
                state: 0,
              };
              getforceIn(data).then((res) => {
                this.MsgId = res.msg;
                this.drawer = true;
                getupdateCheckType(this.tjNumber).then((response) => {
                  this.changedate = response.data;
                  if (this.changedate) {
                    for (let i = 0; i < this.changedate.length; i++) {
                      this.remark = this.changedate[i].remark;
                    }
                    this.initialState = JSON.parse(
                      JSON.stringify(this.changedate)
                    );
                    this.changedate.forEach((item) => {
                      this.textarea1 = item.checkAdvice || "";
                      // this.remark = item.remark;
                      // item.sons.forEach((item3) => {
                      //   if (item3.standard.tjStandardGtValue === null) {
                      //     item3.standard.tjStandardGtValue = "";
                      //   }
                      //   if (item3.standard.tjStandardLtValue === null) {
                      //     item3.standard.tjStandardLtValue = "";
                      //   }
                      // });
                      // item.remark = "";
                    });
                    // 保存总检建议
                    this.totalCheckAdvice = this.changedate.map(
                      (item) => item.totalCheckAdvice
                    );
                  } else {
          this.$message({
                type: "warning",
                message: "请稍后重试",
                      message: "该客户没有体检项目数据",
              });
        }
                });
              });
            }
          });
        }
      });
      // 获取小结
@@ -2328,9 +2396,6 @@
.mainbox {
  position: relative;
}
.tanchu {
  background-color: red;
}
.btn {
  margin: 20px 0px;
}
@@ -2353,7 +2418,6 @@
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
}
/* 设置动画效果 */
@@ -2400,7 +2464,7 @@
}
.main {
  height: 700px;
  height: 800px;
  overflow: hidden;
}
@@ -2424,11 +2488,21 @@
  border-radius: 2em;
}
::v-deep .el-dialog {
  width: 1200px;
  height: 800px;
  width: 1700px;
  height: 900px;
}
::v-deep .el-dialog__header{
  padding: 8px;
}
::v-deep .el-dialog__body{
padding: 0;
}
::v-deep .el-button--medium  {
 padding: 10px;
}
::v-deep .el-dialog__headerbtn{
  // position: relative;
  top: 13px;
}
/* .el-dialog {
  width: 1264px;
@@ -2463,7 +2537,6 @@
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  z-index: 1000; /* 确保按钮层级在其他内容上方 */
  width: 300px;
  background-color: white; /* 可根据需要调整背景颜色 */
@@ -2481,24 +2554,24 @@
}
.box {
  display: flex;
  position: sticky;
  top: 0px;
  height: 85vh;
  overflow: auto; // 确保父容器可以滚动
  height: 100vh;
}
.rightbox {
  margin-left: 60px;
  overflow-y: scroll;
  position: sticky;
  top: 0px;
  position: fixed;
  top: 107px;
  right: 56px;
  width: 684px;
  .right {
    position: sticky;
    top: 0px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    // box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: calc(100vh - 100px); /* 假设你想为顶部和底部留出一些空间 */
    overflow-y: auto; /* 允许垂直滚动 */
    padding: 0 0 50px; /* 可选:添加一些内边距以避免内容紧贴边缘 */
  }
}
@@ -2524,6 +2597,12 @@
::v-deep .el-table--medium .el-table__cell {
  padding: 5px 0;
}
::-webkit-scrollbar {
  display: none;
}
::v-deep .el-drawer {
  padding: 0 0 50px;
}
</style>