su
su1124
2023-12-28 bddb36bcdc87debcd3d3f2928eef48cc5696e096
src/views/doctor/check/index.vue
@@ -701,7 +701,7 @@
          </div>
        </el-col>
        <el-col :span="6">
          <Historicalreport
          <Historicalreport v-show="lishi"
            :reportHistorydata="reportHistorydata"
          ></Historicalreport>
        </el-col>
@@ -754,7 +754,7 @@
      title="提示"
      :visible.sync="jianqians"
      width="1000px"
      :before-close="handleClose"
      :before-close="handleClose1"
    >
       <jianqianwenzhen
          :jianqianwenzhendata="jianqianwenzhendata"
@@ -768,6 +768,7 @@
<script>
import { getInfoById } from "@/api/hosp/history";
import jianqianwenzhen from "@/components/jianqianwenzhen";
import Public from "@/components/public";
import { getPdf } from "@/api/hosp/order";
@@ -794,6 +795,9 @@
  components: { Public, Historicalreport,jianqianwenzhen },
  data() {
    return {
      lishi:true,
      rowes:{},
      jianqianwenzhendata:[],
      jianqians:false,
      selected: false,
      checkval: false,
@@ -930,6 +934,9 @@
    },
    handleClose() {
      this.$tab.refreshPage();
    },
    handleClose1(){
      this.jianqians = false
    },
    // 获取医生
    selName(val) {
@@ -1322,6 +1329,7 @@
        cusId: this.tableAll.cusId,
      };
      reportHistory(data).then((res) => {
        console.log(res);
        this.loading = false;
        if (res.data[0] != null) {
          this.reportHistorydata = res.data;
@@ -1330,6 +1338,30 @@
    },
    jianqian() {
      let tjNumber = this.rowes.tjNumber;
       getInfoById(tjNumber).then((response) => {
        this.jianqianwenzhendata = response.data;
        if (this.form.xiyan == null) {
          this.form.xiyan = "1";
        }
        if (this.form.xiyanpinlv == null) {
          this.form.xiyanpinlv = "0";
        }
        if (this.form.xiyanyear == null) {
          this.form.xiyanyear = "0";
        }
        if (this.form.yinjiu == null) {
          this.form.yinjiu = "1";
        }
        if (this.form.yinjiupinlv == null) {
          this.form.yinjiupinlv = "0";
        }
        if (this.form.yinjiuyear == null) {
          this.form.yinjiuyear = "0";
        }
        this.form.tjAskHistorysList = response.data.tjAskHistorysList;
        // this.isdisabled= true
      });
      this.jianqians = true;
    },
@@ -1414,6 +1446,8 @@
    // 点击详情
    handleClick(row) {
      this.rowes = row;
      console.log(this.rowes);
      this.getDept(row.tjNumber);
      this.loading = true;
      this.drawer = true;