From eb14fce6c7b8cd383970c72e8312f44d64c92173 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 22 八月 2024 11:23:05 +0800
Subject: [PATCH] feat:查询条件优化

---
 src/views/system/contract/score/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/system/contract/score/index.vue b/src/views/system/contract/score/index.vue
index d578e8c..399a0bb 100644
--- a/src/views/system/contract/score/index.vue
+++ b/src/views/system/contract/score/index.vue
@@ -388,12 +388,17 @@
       if (null != this.daterangeAuditingTime && '' != this.daterangeAuditingTime) {
         this.queryParams["auditingStartTime"] = this.daterangeAuditingTime[0];
         this.queryParams["auditingEndTime"] = this.daterangeAuditingTime[1];
+      } else {
+        this.queryParams["auditingStartTime"] = null;
+        this.queryParams["auditingEndTime"] = null;
       }
       if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) {
         this.queryParams["createStartTime"] = this.daterangeCreateTime[0];
         this.queryParams["createEndTime"] = this.daterangeCreateTime[1];
+      } else {
+        this.queryParams["createStartTime"] = null;
+        this.queryParams["createEndTime"] = null;
       }
-      console.log("this.queryParams", this.queryParams)
       listAuditing(this.queryParams).then(response => {
         this.auditingList = response.rows;
         this.total = response.total;

--
Gitblit v1.8.0