yxh
23 小时以前 a79d67f8a9a9fa02f9d25f987b9611af965c484f
src/views/project/donatefinishcheck/index.vue
@@ -1,6 +1,7 @@
<template>
  <div class="app-container">
    <el-form
      class="opo-query-form"
      :model="queryParams"
      ref="queryForm"
      :inline="true"
@@ -251,7 +252,7 @@
                size="small"
                v-model="form.completetime"
                type="date" format="yyyy-MM-dd"
                value-format="yyyy-MM-dd"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="选择完成时间"
              >
              </el-date-picker>
@@ -321,7 +322,7 @@
                    style="width: 90%"
                    v-model="scope.row.transplanttime"
                    type="date" format="yyyy-MM-dd"
                    value-format="yyyy-MM-dd"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    placeholder="选择器官获取时间"
                  >
                  </el-date-picker>
@@ -897,16 +898,10 @@
      // this.queryParams.residenceprovince = this.$refs.areaSelect.getSheng();
      // this.queryParams.residencecity = this.$refs.areaSelect.getShi();
      // this.queryParams.residencetown = this.$refs.areaSelect.getQu();
       if (this.starttime != "") {
        this.queryParams.starttime = this.starttime;
      } else {
        this.queryParams.starttime = "";
      }
      if (this.endtime != "") {
        this.queryParams.endtime = this.endtime;
      } else {
        this.queryParams.endtime = "";
      }
      // 未选时间范围时传 null:空串会让后端拼出 `donatetime >= ''`,
      // MySQL 严格模式会报 Incorrect DATETIME value: ''(见 CHANGELOG 2026-10-22)
      this.queryParams.starttime = this.starttime || null;
      this.queryParams.endtime = this.endtime || null;
      // this.queryParams.residenceprovince = this.$refs.areaSelect.getSheng();
      // this.queryParams.residencecity = this.$refs.areaSelect.getShi();
      // this.queryParams.residencetown = this.$refs.areaSelect.getQu();