qinxianzhangyao
2023-12-09 876f43e0fd34e084cc8a179a20afb51fe612eca3
src/views/doctor/check/index.vue
@@ -37,8 +37,14 @@
        <el-table-column label="出生日期" align="center" prop="cusBrithday" width="100px" />
        <el-table-column label="电话" align="center" prop="cusPhone" width="100px" />
        <el-table-column label="体检类型" align="center" prop="tjType" width="80px" />
        <el-table-column label="登记时间" align="center" prop="createTime" width="160px" />
        <el-table-column label="体检时间" align="center" prop="tjTime" width="100px" />
        <el-table-column label="登记时间" align="center" prop="tjTime" width="160px">
        </el-table-column>
        <el-table-column label="体检时间" align="center" prop="tjTime" width="100px">
          <template slot-scope="scope">
            <span>{{ parseTime(scope.row.tjTime, '{y}-{m}-{d}') }}</span>
          </template>
        </el-table-column>
        <el-table-column label="未检项" prop="notCheckeds" :show-overflow-tooltip="true" />
        <el-table-column label="操作" align="center" width="130px">
          <template slot-scope="scope">
@@ -372,20 +378,8 @@
            </div>
          </div>
        </el-col>
        <el-col :span="6" v-if="reportHistorydata.length >= 1">
          <el-table v-loading="loading" :data="reportHistorydata" border style="margin-top: 46px;">
            <el-table-column prop="createTime" label="检测时间">
            </el-table-column>
            <el-table-column label="操作" align="center" width="130px">
              <template slot-scope="scope">
                <el-button type="primary" icon="el-icon-share" size="mini" @click="handlecan(scope.row)"
                  title="查看"></el-button>
              </template>
            </el-table-column>
          </el-table>
        </el-col>
        <el-col :span="6" v-else>
          <div>暂无历史报告</div>
        <el-col :span="6">
          <Historicalreport :reportHistorydata="reportHistorydata"></Historicalreport>
        </el-col>
      </el-row>
@@ -439,6 +433,7 @@
import Public from "@/components/public";
import { getPdf } from "@/api/hosp/order";
import { getInfo } from "@/api/login";
import Historicalreport from "@/components/Historicalreport";
import {
  getProList,
  getSons,
@@ -461,7 +456,7 @@
export default {
  dicts: ["sys_user_sex", "sys_yes_no", "tj_result_type", "lj_positive"],
  name: "check",
  components: { Public },
  components: { Public, Historicalreport },
  data() {
    return {
      selected: false,
@@ -677,7 +672,7 @@
          }
        })
      }else {
      } else {
        let data = {
          proId: this.focusrow.proId,
          cusId: this.tableAll.cusId,
@@ -752,7 +747,7 @@
    // 搜索
    submitForm() {
      this.queryParams.pageNum = 1;
      this.queryParams.page = 1;
      this.getList();
      // this.loading = true;
      // (this.queryParams = {
@@ -1132,7 +1127,7 @@
        if (this.proParentList.xiaoJie.length != 0) {
          this.Parent.forEach((item3) => {
            if (item3.proId === this.nums) {
              this.proParentList.remark = item.remark;
              this.proParentList.remark = item3.remark;
            }
          });
        } else {