su
su1124
2024-02-05 f684f2df6dd0ab7f0d15f59ab61dcff952b8ce2b
src/views/doctor/checkAll/index.vue
@@ -24,7 +24,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="submitForm"
          @blur="submitForm"
          @blur="hb"
        ></el-input>
      </el-form-item>
      <el-form-item label="体检时间" prop="tjTime">
@@ -975,9 +975,10 @@
      width="1000px"
      :before-close="handleClose1"
    >
       <jianqianwenzhen
          :jianqianwenzhendata="jianqianwenzhendata"
        ></jianqianwenzhen>
      <jianqianwenzhen
        :jianqianwenzhendata="jianqianwenzhendata"
        v-if="flags"
      ></jianqianwenzhen>
      <span slot="footer" class="dialog-footer">
        <el-button @click="jianqians = false">取 消</el-button>
      </span>
@@ -1011,7 +1012,7 @@
  components: {
    ViewPdf,
    Historicalreport,
    jianqianwenzhen
    jianqianwenzhen,
  },
  dicts: [
    "dict_tjtype",
@@ -1021,12 +1022,15 @@
    "lj_positive",
    "tj_work",
    "tj_work_status",
    "tj_smoking_pinlv",
    "tj_work",
  ],
  name: "checkAll",
  data() {
    return {
      jianqianwenzhendata:[],
      jianqians:false,
      flags: false,
      jianqianwenzhendata: [],
      jianqians: false,
      sex: true,
      activeName: "1",
      wenzhen: false,
@@ -1182,31 +1186,10 @@
      );
    },
    jianqian() {
      let tjNumber = this.tableAll.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.flags = true;
      this.jianqians = true;
      let tjNumber = this.tableAll.tjNumber;
      this.jianqianwenzhendata.push(tjNumber);
    },
    getList() {
      this.loading = true;
@@ -1363,6 +1346,12 @@
    // 时间
    dateChangebirthday1(val) {
      this.startTime = val;
    },
    hb() {
      if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
@@ -1535,7 +1524,7 @@
      const tjNumber = row.tjNumber;
      revoke(tjNumber).then((response) => {
        this.$modal.msgSuccess("撤回成功");
        if(response.code == 200){
        if (response.code == 200) {
          this.loading = false;
          this.getList();
        }
@@ -1570,8 +1559,8 @@
          getfiedState(data).then((res) => {});
        });
    },
    handleClose1(){
      this.jianqians = false
    handleClose1() {
      this.jianqians = false;
    },
    // 生成报告
    // generate(row) {