From a79d67f8a9a9fa02f9d25f987b9611af965c484f Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 22 十月 2026 18:41:01 +0800
Subject: [PATCH] 修改了风格

---
 src/views/project/donatereview/index.vue |   23 +++++++++--------------
 1 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/src/views/project/donatereview/index.vue b/src/views/project/donatereview/index.vue
index 9f06523..6fb27c5 100644
--- a/src/views/project/donatereview/index.vue
+++ b/src/views/project/donatereview/index.vue
@@ -1,6 +1,7 @@
 <template>
   <div class="app-container">
     <el-form
+      class="opo-query-form"
       :model="queryParams"
       ref="queryForm"
       :inline="true"
@@ -395,9 +396,9 @@
                 clearable
                 size="small"
                 v-model="form.birthday"
-                type="date"
+                type="date" format="yyyy-MM-dd"
                 style="width: 174px"
-                value-format="yyyy:MM:dd HH:mm:ss"
+                value-format="yyyy-MM-dd HH:mm:ss"
                 placeholder="閫夋嫨鍑虹敓鏃ユ湡"
               >
               </el-date-picker>
@@ -756,8 +757,8 @@
                 clearable
                 size="small"
                 v-model="form.reporttime"
-                type="date"
-                value-format="yyyy-MM-dd  HH:mm:ss"
+                type="date" format="yyyy-MM-dd"
+                value-format="yyyy-MM-dd HH:mm:ss"
                 placeholder="閫夋嫨鎶ュ憡鏃堕棿"
               >
               </el-date-picker>
@@ -1115,16 +1116,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;
       listDonatebaseinfo(this.queryParams).then((response) => {
         console.log("getlist", response.rows);
         this.donatebaseinfoList = response.rows;

--
Gitblit v1.9.3