From 4fd06ab01d6f62b168e2cb4eab695b423790cfae Mon Sep 17 00:00:00 2001 From: zch Date: Thu, 5 Jun 2025 08:55:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ems):=20=E4=BF=AE=E6=94=B9=E7=89=A9?= =?UTF-8?q?=E8=81=94=E5=92=8C=E6=8C=AF=E5=8A=A8=E6=9B=B2=E7=BA=BF=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E7=9A=84=E9=BB=98=E8=AE=A4=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将物联曲线报告和振动曲线报告的默认时间范围从全天改为上午9点到9点10分 - 这个修改适用于两个报告页面的 created钩子中初始化日期范围的逻辑 --- src/views/ems/report/currentIOTCurve/index.vue | 4 ++-- src/views/ems/report/currentVibrationCurve/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/ems/report/currentIOTCurve/index.vue b/src/views/ems/report/currentIOTCurve/index.vue index 52197c4..0853d10 100644 --- a/src/views/ems/report/currentIOTCurve/index.vue +++ b/src/views/ems/report/currentIOTCurve/index.vue @@ -156,8 +156,8 @@ export default { }, created() { const nowDate = parseTime(new Date(), '{y}-{m}-{d}') - this.daterangeRecordTime[0] = nowDate + ' 00:00:00' - this.daterangeRecordTime[1] = nowDate + ' 23:59:59' + this.daterangeRecordTime[0] = nowDate + ' 09:00:00' + this.daterangeRecordTime[1] = nowDate + ' 09:10:00' this.getTreeselect() this.getList() }, diff --git a/src/views/ems/report/currentVibrationCurve/index.vue b/src/views/ems/report/currentVibrationCurve/index.vue index 6adb795..ec860c1 100644 --- a/src/views/ems/report/currentVibrationCurve/index.vue +++ b/src/views/ems/report/currentVibrationCurve/index.vue @@ -155,8 +155,8 @@ export default { }, created() { const nowDate = parseTime(new Date(), '{y}-{m}-{d}') - this.daterangeRecordTime[0] = nowDate + ' 00:00:00' - this.daterangeRecordTime[1] = nowDate + ' 23:59:59' + this.daterangeRecordTime[0] = nowDate + ' 09:00:00' + this.daterangeRecordTime[1] = nowDate + ' 09:10:00' this.getTreeselect() this.getList() },