From 1280505bd995dd7f3f61b9572284ffb4ede2dca3 Mon Sep 17 00:00:00 2001 From: zch Date: Tue, 1 Jul 2025 18:11:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(ems):=20=E6=9B=B2=E7=BA=BF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E9=87=87=E6=A0=B7=E9=97=B4=E9=9A=94?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在温湿度曲线和振动曲线页面的查询表单中添加采样间隔选项 - 采样间隔范围为1分钟到1440分钟,支持自定义设置 - 重置功能中包含采样间隔,确保每次重置后恢复默认值 --- src/views/ems/report/currentIOTCurve/index.vue | 12 ++++++++++++ src/views/ems/report/currentVibrationCurve/index.vue | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/views/ems/report/currentIOTCurve/index.vue b/src/views/ems/report/currentIOTCurve/index.vue index 34d3ea8..27bd537 100644 --- a/src/views/ems/report/currentIOTCurve/index.vue +++ b/src/views/ems/report/currentIOTCurve/index.vue @@ -49,6 +49,16 @@ end-placeholder="结束时间" > + + + 分钟/点 + 搜索 重置 @@ -142,6 +152,7 @@ export default { recodeTime: null, remark: null, monitorIds: [], + samplingInterval: 1 // 采样间隔,默认1分钟(不采样) }, // 表单参数 form: {}, @@ -249,6 +260,7 @@ export default { resetQuery() { this.queryParams.monitorCode = null this.queryParams.monitorId = null + this.queryParams.samplingInterval = 1 // 重置采样间隔为默认值 this.resetForm('queryForm') this.handleQuery() }, diff --git a/src/views/ems/report/currentVibrationCurve/index.vue b/src/views/ems/report/currentVibrationCurve/index.vue index 801e9ad..23ca66c 100644 --- a/src/views/ems/report/currentVibrationCurve/index.vue +++ b/src/views/ems/report/currentVibrationCurve/index.vue @@ -49,6 +49,16 @@ end-placeholder="结束时间" > + + + 分钟/点 + 搜索 重置 @@ -127,6 +137,7 @@ export default { recodeTime: null, remark: null, monitorIds: [], + samplingInterval: 1 // 采样间隔,默认1分钟(不采样) }, // 表单参数 form: {}, @@ -240,6 +251,7 @@ export default { resetQuery() { this.queryParams.monitorCode = null this.queryParams.monitorId = null + this.queryParams.samplingInterval = 1 // 重置采样间隔为默认值 this.resetForm('queryForm') this.handleQuery() },