qx
qx
2025-02-13 8e4792300d095bdc94e7ec8cd6b5ef1ad3fc4b0c
src/views/team/disease/index.vue
@@ -97,6 +97,7 @@
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          style="margin: 0 15px;"
          >查询</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
@@ -105,7 +106,7 @@
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
    <el-row :gutter="10" class="mb8" style="margin-left: 8px;">
      <el-col :span="1.5">
        <el-button type="primary" size="mini" @click="tongji"
          >统计病种</el-button
@@ -331,7 +332,7 @@
  },
  created() {
    // this.getNowTime();
    this.getList();
    this.getcomp();
    this.geticd();
    this.getdate();
@@ -343,7 +344,7 @@
            moment(res.data).format("YYYY-MM-DD 00:00:00"),
            moment(res.data).format("YYYY-MM-DD 23:59:00")
          ];;
        console.log(this.createTimeList,111);
          this.getList();
      });
    },
    // / 处理默认选中当前日期
@@ -367,8 +368,14 @@
    },
    // 团检病种页面查询人员列表
    getList() {
      this.queryParams.beginTime = this.createTimeList[0];
      if(this.createTimeList){
        this.queryParams.beginTime = this.createTimeList[0];
      this.queryParams.endTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      }
      getPeopleList(this.queryParams).then((res) => {
        this.tableData = res.data.voList;
        this.total = res.data.total;
@@ -437,6 +444,7 @@
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.createTimeList=[]
      this.resetForm("queryForm");
      this.handleQuery();
      this.loading = true;