From 511d8dd2c6161a170f6d83b281b8b3d1e765ed49 Mon Sep 17 00:00:00 2001 From: LokerL Date: Wed, 4 Sep 2024 23:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2BUG=EF=BC=9B=E6=8A=A5=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复:月度均值报表和报表中心不再查询全部后代节点,仅查询本身和直接子节点;新增:报表中心导出为excel --- .../resources/mybatis/oil/ThDeviceMapper.xml | 14 +-- .../mybatis/oil/ThDeviceReportMapper.xml | 119 +++++++----------- ruoyi-ui/package.json | 3 +- .../dataStatistics/reportCenter/index.vue | 33 ++++- 4 files changed, 85 insertions(+), 84 deletions(-) diff --git a/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/ThDeviceMapper.xml b/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/ThDeviceMapper.xml index ccb7701..79448d8 100644 --- a/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/ThDeviceMapper.xml +++ b/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/ThDeviceMapper.xml @@ -49,13 +49,13 @@ diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 5926578..d5629d7 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -63,7 +63,8 @@ "vue-meta": "2.4.0", "vue-router": "3.4.9", "vuedraggable": "2.24.3", - "vuex": "3.6.0" + "vuex": "3.6.0", + "xlsx": "^0.18.5" }, "devDependencies": { "@vue/cli-plugin-babel": "4.4.6", diff --git a/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue b/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue index 37f3c12..0dd11cd 100644 --- a/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue +++ b/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue @@ -15,6 +15,9 @@ > + + 导出 +
@@ -84,6 +87,7 @@