su
su1124
2024-01-25 3435a2b1b3e237ee53c98ae7c044d0e84cfa521c
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">
@@ -976,7 +976,7 @@
      :before-close="handleClose1"
    >
       <jianqianwenzhen
          :jianqianwenzhendata="jianqianwenzhendata"
          :jianqianwenzhendata="jianqianwenzhendata" v-if="flags"
        ></jianqianwenzhen>
      <span slot="footer" class="dialog-footer">
        <el-button @click="jianqians = false">取 消</el-button>
@@ -1021,10 +1021,13 @@
    "lj_positive",
    "tj_work",
    "tj_work_status",
    "tj_smoking_pinlv",
    "tj_work"
  ],
  name: "checkAll",
  data() {
    return {
      flags:false,
      jianqianwenzhendata:[],
      jianqians:false,
      sex: true,
@@ -1181,32 +1184,11 @@
        this.add0(mm)
      );
    },
    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
      });
     jianqian() {
      this.flags = true;
      this.jianqians = true;
      let tjNumber = this.tableAll.tjNumber;
      this.jianqianwenzhendata.push(tjNumber);
    },
    getList() {
      this.loading = true;
@@ -1365,6 +1347,12 @@
      this.startTime = val;
    },
     hb(){
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
    submitForm() {
      this.loading = true;