qinxianzhangyao
2024-03-19 807bf444a4930a18ba56fd987d3261853391050d
src/views/system/biol/index.vue
@@ -2,18 +2,18 @@
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="姓名" prop="name">
        <el-input v-model="queryParams.name" placeholder="请输入姓名" style="width: 100px" @keyup.enter.native="handleQuery" />
        <el-input v-model="queryParams.name" placeholder="请输入姓名" style="width: 100px"
          @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable
          @keyup.enter.native="handleQuery" ref="inputName" @blur="hb" />
      </el-form-item>
      <el-form-item label="报告时间" prop="createTimeList">
        <el-date-picker clearable v-model="createTimeList" type="daterange" range-separator="-"
          start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" :default-time="['00:00:00', '23:00:00']"
              format="yyyy-MM-dd HH:mm:ss"
              value-format="yyyy-MM-dd HH:mm:ss"
          placeholder="请选择出报告时间"  @change="dateChangebirthday1">
        <el-date-picker clearable v-model="createTimeList" type="daterange" range-separator="-" start-placeholder="开始日期"
          end-placeholder="结束日期" :picker-options="pickerOptions" :default-time="['00:00:00', '23:00:00']"
          format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择出报告时间"
          @change="dateChangebirthday1">
        </el-date-picker>
      </el-form-item>
      <!-- <el-form-item label="单位名称" prop="firmId">
@@ -126,8 +126,8 @@
    <div class="pag">
      <div class="pag1">
        <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
          @pagination="getList" />
        <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
          :limit.sync="queryParams.pageSize" @pagination="getList" />
      </div>
    </div>
@@ -546,7 +546,6 @@
    },
    baogaoyulan() {
      const tjNumber = this.report[0];
      console.log(tjNumber)
      isPdfOrJimu(tjNumber).then((response) => {
        if (response.data.flag == "0") {
          const flag = true;
@@ -763,9 +762,11 @@
    },
    /** 查询体检记录列表 */
    getList() {
      console.log(this.queryParams)
      if (this.createTimeList) {
      this.queryParams.djbeginTime = this.createTimeList[0];
      this.queryParams.djendTime = this.createTimeList[1];
      }
      this.loading = true;
      getInfo().then((response) => {
        this.userIds = response.user.userId;