From 2dcdbf960fa7049774d488817b4007461491983e Mon Sep 17 00:00:00 2001 From: panyuyi Date: Wed, 8 May 2024 11:50:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BB=B4=E4=BF=AE?= =?UTF-8?q?=E5=85=BB=E6=8A=A4=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../maintenance/maintenanceRecords/index.vue | 20 +++++++++++++------ .../maintenance/maintenanceRecords/index.vue | 20 +++++++++++++------ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue b/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue index 53a58ad..e858943 100644 --- a/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue +++ b/src/views/dike/runManage/maintenance/maintenanceRecords/index.vue @@ -288,10 +288,18 @@ export default { getTableData() { getDikeYhRecordList({ data: { - startCreatedTime: this.createTimeArr[0], - endCreatedTime: this.createTimeArr[1], - startUpdateTime: this.updateTimeArr[0], - endUpdateTime: this.updateTimeArr[1], + startCreatedTime: this.createTimeArr[0] + ? this.createTimeArr[0] + " 00:00:00" + : "", + endCreatedTime: this.createTimeArr[1] + ? this.createTimeArr[1] + " 23:59:59" + : "", + startUpdateTime: this.updateTimeArr[0] + ? this.updateTimeArr[0] + " 00:00:00" + : "", + endUpdateTime: this.updateTimeArr[1] + ? this.updateTimeArr[1] + " 23:59:59" + : "", minRepairCost: this.repairCostArr[0], maxRepairCost: this.repairCostArr[1], status: this.selectStatus, @@ -348,7 +356,7 @@ export default { class="w-360" type="daterange" range-separator="至" - value-format="yyyy-MM-dd 00:00:00" + value-format="yyyy-MM-dd" start-placeholder="开始日期" end-placeholder="结束日期" > @@ -359,7 +367,7 @@ export default { type="daterange" class="w-360" range-separator="至" - value-format="yyyy-MM-dd 00:00:00" + value-format="yyyy-MM-dd" start-placeholder="开始日期" end-placeholder="结束日期" > diff --git a/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue b/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue index 9e42b33..ccc833a 100644 --- a/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue +++ b/src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue @@ -277,10 +277,18 @@ export default { getTableData() { getSluiceYhRecordList({ data: { - startCreatedTime: this.createTimeArr[0], - endCreatedTime: this.createTimeArr[1], - startUpdateTime: this.updateTimeArr[0], - endUpdateTime: this.updateTimeArr[1], + startCreatedTime: this.createTimeArr[0] + ? this.createTimeArr[0] + " 00:00:00" + : "", + endCreatedTime: this.createTimeArr[1] + ? this.createTimeArr[1] + " 23:59:59" + : "", + startUpdateTime: this.updateTimeArr[0] + ? this.updateTimeArr[0] + " 00:00:00" + : "", + endUpdateTime: this.updateTimeArr[1] + ? this.updateTimeArr[1] + " 23:59:59" + : "", minRepairCost: this.repairCostArr[0], maxRepairCost: this.repairCostArr[1], status: this.selectStatus, @@ -337,7 +345,7 @@ export default { class="w-360" type="daterange" range-separator="至" - value-format="yyyy-MM-dd 00:00:00" + value-format="yyyy-MM-dd" start-placeholder="开始日期" end-placeholder="结束日期" > @@ -348,7 +356,7 @@ export default { type="daterange" class="w-360" range-separator="至" - value-format="yyyy-MM-dd 00:00:00" + value-format="yyyy-MM-dd" start-placeholder="开始日期" end-placeholder="结束日期" >