su
su1124
2024-01-30 b0d733958a618b9fc5ce0ee2fee5d2b146a7a748
src/views/system/visit/index.vue
@@ -6,7 +6,7 @@
          @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable ref="inputName"  @blur="handleQuery"
        <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable ref="inputName"  @blur="hb"
          @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
@@ -58,6 +58,7 @@
          <template slot-scope="scope">
            <span v-if="scope.row.tjCustomerSex == '0'">男</span>
            <span v-if="scope.row.tjCustomerSex == '1'">女</span>
            <span v-if="scope.row.tjCustomerSex == '2'">未知</span>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" height="10px" width="60px"
@@ -228,6 +229,21 @@
        </div>
      </div>
    </el-drawer>
    <el-dialog
      title="PDF 预览"
      :visible.sync="dialogVisible"
      :close-on-click-modal="false"
    >
      <div class="main">
        <iframe
          id="printIframe"
          :src="url"
          frameborder="0"
          style="width: 100%; height: 100%"
        ></iframe>
      </div>
    </el-dialog>
  </div>
</template>
@@ -577,6 +593,11 @@
      this.queryParams.pageNum = 1;
      this.getList();
    },
    hb() {
      if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    handleQuerys() {
      this.emerc = true;
      this.queryParam.pageNum = 1;