From 34d36a15f339d331d668d4063cfdff50cffa5800 Mon Sep 17 00:00:00 2001
From: zhou zhou <zozhouo3o@gmail.com>
Date: 星期五, 17 四月 2026 15:11:32 +0800
Subject: [PATCH] #导出服务
---
rsf-design/src/views/reports/statistic-count/statisticCountPage.helpers.js | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/rsf-design/src/views/reports/statistic-count/statisticCountPage.helpers.js b/rsf-design/src/views/reports/statistic-count/statisticCountPage.helpers.js
index 26039f0..3a9fc5a 100644
--- a/rsf-design/src/views/reports/statistic-count/statisticCountPage.helpers.js
+++ b/rsf-design/src/views/reports/statistic-count/statisticCountPage.helpers.js
@@ -53,3 +53,22 @@
outAnfme: Number(row.outAnfme || 0)
}
}
+
+export function getStatisticCountReportColumns() {
+ return [
+ { source: 'dayTime', label: '缁熻鏃ユ湡' },
+ { source: 'count', label: '璁板綍鏁�', align: 'right' },
+ { source: 'inAnfmeCount', label: '鍏ュ簱绗旀暟', align: 'right' },
+ { source: 'outAnfmeCount', label: '鍑哄簱绗旀暟', align: 'right' },
+ { source: 'anfme', label: '鎬绘暟閲�', align: 'right' },
+ { source: 'inAnfme', label: '鍏ュ簱鏁伴噺', align: 'right' },
+ { source: 'outAnfme', label: '鍑哄簱鏁伴噺', align: 'right' }
+ ]
+}
+
+export function buildStatisticCountPrintRows(records = []) {
+ if (!Array.isArray(records)) {
+ return []
+ }
+ return records.map((record) => normalizeStatisticCountRow(record))
+}
--
Gitblit v1.9.1